Commit 97db4688 authored by jzc's avatar jzc

调整字段显示

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