Commit 97db4688 authored by jzc's avatar jzc

调整字段显示

parent 93f2a653
......@@ -97,6 +97,7 @@
<view class="prod-body-left-task">
<zb-table :columns="tableColumn" :stripe="true" @rowClick="rowClick"
@numclik = "numclik"
@toggleRowSelection="toggleRowSelection" @toggleAllSelection="toggleAllSelection" :border="true"
:data="tableData"></zb-table>
</view>
......@@ -367,18 +368,40 @@ export default {
type: 'selection',
width: 35
},
{
name: 'arrangeCode',
label: '编排单号',
width: 140,
func:"numclik"
},
{
name: 'startTime',
label: '计划开始时间',
width: 140,
func:"numclik"
},
{
name: 'endTime',
label: '计划结束时间',
width: 140,
},
{
name: 'quantity',
label: '待加工数量',
width: 140,
},
{
name: 'status',
label: '订单状态',
label: '状态',
filters: {
'START': '生产中',
// 'START': '生产中',
// 'PAUSE': '暂停',
// 'NORMARL': '未开始'
'PREPARE': '未开工',
'BEGINNING': '已开工',
'PAUSE': '暂停',
'NORMARL': '未开始'
'ERROR_STOP': '异常停工',
'FINISH': '完工'
},
width: 60,
align: "center"
......@@ -398,15 +421,15 @@ export default {
label: '生产单号',
width: 120,
},
{
name: 'itemCode',
label: '物料编号',
width: 110,
},
{
name: 'itemName',
label: '物料名称'
},
// {
// name: 'itemCode',
// label: '物料编号',
// width: 110,
// },
// {
// name: 'itemName',
// label: '物料名称'
// },
{
name: 'processName',
label: '工序',
......@@ -472,6 +495,9 @@ export default {
uni.$off('taskStatusChanged');
},
methods: {
numclik(...arg){
console.log('99999999', arg)
},
changeWorkstation() {
uni.$emit('changeWorkstation');
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment