|
@@ -48,6 +48,10 @@
|
|
|
</el-link>
|
|
</el-link>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
+ <template v-slot:apsWorkOrderCode="{ row }">
|
|
|
|
|
+ <label>{{ row.apsWorkOrderCode || '' }}</label>
|
|
|
|
|
+ </template>
|
|
|
|
|
+
|
|
|
<template v-slot:priority="{ row }">
|
|
<template v-slot:priority="{ row }">
|
|
|
<div style="display: flex">
|
|
<div style="display: flex">
|
|
|
<el-input v-model="row.priority" type="number" size="mini" :min="0" :max="10" @change="priorityChange(row)"
|
|
<el-input v-model="row.priority" type="number" size="mini" :min="0" :max="10" @change="priorityChange(row)"
|
|
@@ -226,6 +230,12 @@ export default {
|
|
|
placeholder: '',
|
|
placeholder: '',
|
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ label: "生产订单号:",
|
|
|
|
|
+ value: 'apsWorkOrderCode',
|
|
|
|
|
+ type: "input",
|
|
|
|
|
+ labelWidth: 100,
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
label: "计划编码:",
|
|
label: "计划编码:",
|
|
|
value: 'productionPlanCode',
|
|
value: 'productionPlanCode',
|
|
@@ -362,7 +372,6 @@ export default {
|
|
|
// },
|
|
// },
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
- prop: 'code',
|
|
|
|
|
slot: 'code',
|
|
slot: 'code',
|
|
|
label: '生产工单号',
|
|
label: '生产工单号',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
@@ -376,13 +385,17 @@ export default {
|
|
|
// },
|
|
// },
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
- prop: 'QRcode',
|
|
|
|
|
slot: 'QRcode',
|
|
slot: 'QRcode',
|
|
|
label: '二维码',
|
|
label: '二维码',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
minWidth: 110
|
|
minWidth: 110
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ label: "生产订单号",
|
|
|
|
|
+ slot: 'apsWorkOrderCode',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ minWidth: 110
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
prop: 'productionPlanCode',
|
|
prop: 'productionPlanCode',
|
|
|
label: '计划编号',
|
|
label: '计划编号',
|
|
@@ -555,12 +568,28 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
immediate: true
|
|
immediate: true
|
|
|
|
|
+ },
|
|
|
|
|
+ tabValue: {
|
|
|
|
|
+ handler(newVal) {
|
|
|
|
|
+ if (newVal === '6') {
|
|
|
|
|
+ this.newColumns.splice(3,1)
|
|
|
|
|
+ }else {
|
|
|
|
|
+ if (this.newColumns[3].label !== '生产订单号') {
|
|
|
|
|
+ this.newColumns.splice(3,0,{
|
|
|
|
|
+ label: "生产订单号",
|
|
|
|
|
+ slot: 'apsWorkOrderCode',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ minWidth: 110
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ immediate: true
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
this.getFieldModel();
|
|
this.getFieldModel();
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
mounted() {
|
|
mounted() {
|
|
|
|
|
|
|
|
this.reload()
|
|
this.reload()
|