diff --git a/src/views/plan/workorder/index.vue b/src/views/plan/workorder/index.vue index 42134916..5aeae24d 100644 --- a/src/views/plan/workorder/index.vue +++ b/src/views/plan/workorder/index.vue @@ -387,7 +387,7 @@ - + @@ -467,6 +467,8 @@ export default { dicts: ['product_type', 'workorder_type', 'shift_type'], data() { return { + // 变更校验车数书否显示 + checkType: false, // 暂存线体code proLineCode: null, // 打印 @@ -718,6 +720,11 @@ export default { getOrderAndWork(this.selectWork).then(response => { this.splitData.push(response.data.workOrder) this.productData.push(response.data.order) + if(this.productData[0].prodType == 'white') { + this.checkType = true + }else { + this.checkType = false + } this.refreshProTable = false // 先将refreshProTable设置为false,隐藏表格 this.refreshWorkerTable = false // 先将refreshProTable设置为false,隐藏表格