Commit b88f621b authored by jzc's avatar jzc

修复pad端展示

parent 5e12827b
...@@ -535,6 +535,22 @@ export default { ...@@ -535,6 +535,22 @@ export default {
type: 'selection', type: 'selection',
width: 35 width: 35
}, },
{
name: 'status',
label: '状态',
filters: {
// 'START': '生产中',
// 'PAUSE': '暂停',
// 'NORMARL': '未开始'
'PREPARE': '未开工',
'START': '已开工',
'PAUSE': '暂停',
'ERROR_STOP': '异常停工',
'FINISHED': '完工'
},
width: 60,
align: "center"
},
{ {
name: 'arrangeCode', name: 'arrangeCode',
label: '编排单号', label: '编排单号',
...@@ -557,37 +573,21 @@ export default { ...@@ -557,37 +573,21 @@ export default {
label: '待加工数量', label: '待加工数量',
width: 140, width: 140,
}, },
{
name: 'status',
label: '状态',
filters: {
// 'START': '生产中',
// 'PAUSE': '暂停',
// 'NORMARL': '未开始'
'PREPARE': '未开工',
'BEGINNING': '已开工',
'PAUSE': '暂停',
'ERROR_STOP': '异常停工',
'FINISH': '完工'
},
width: 60,
align: "center"
},
// { // {
// name: 'date', // name: 'date',
// label: '批号', // label: '批号',
// width: 50, // width: 50,
// }, // },
{ // {
name: 'taskCode', // name: 'taskCode',
label: '任务单号', // label: '任务单号',
width: 110, // width: 110,
}, // },
{ // {
name: 'workorderCode', // name: 'workorderCode',
label: '生产单号', // label: '生产单号',
width: 120, // width: 120,
}, // },
// { // {
// name: 'itemCode', // name: 'itemCode',
// label: '物料编号', // label: '物料编号',
...@@ -620,12 +620,12 @@ export default { ...@@ -620,12 +620,12 @@ export default {
width: 60, width: 60,
align: "center" align: "center"
}, },
{ // {
name: 'clientName', // name: 'clientName',
label: '作业人员', // label: '作业人员',
width: 60, // width: 60,
align: "center" // align: "center"
}, // },
], ],
dModelData: [], dModelData: [],
tableSelectData: [], tableSelectData: [],
...@@ -844,7 +844,7 @@ export default { ...@@ -844,7 +844,7 @@ export default {
this.knifeTempVisible = true this.knifeTempVisible = true
return return
} else { } else {
return this.$u.toast('该刀模版具不属于该工单') return this.$u.toast('该任务不需刀模板上下机记录')
} }
this.addDModelRecord(params) this.addDModelRecord(params)
}, },
......
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