From 23549160d23885c8870fb0362a2942d002c15bdd Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Fri, 28 Jul 2023 10:29:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=AE=A1=E7=90=86=E6=A8=A1?= =?UTF-8?q?=E5=9D=97(=E5=B7=A5=E8=89=BA=E5=8D=95=E9=80=89=E6=A1=86?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/pro/order/index.vue | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/views/mes/pro/order/index.vue b/src/views/mes/pro/order/index.vue index f44400b..f8f1094 100644 --- a/src/views/mes/pro/order/index.vue +++ b/src/views/mes/pro/order/index.vue @@ -284,6 +284,15 @@ + + + + + + + + @@ -357,6 +366,8 @@ }, data() { return { + // 工艺list + routes: [], // 表单参数 form: {}, // 新增模块 @@ -432,6 +443,7 @@ splitNum: null, productDate: null, shiftId: null, + routeCode: null, formFields: [], }, // 表单校验 @@ -531,7 +543,14 @@ /** 拆分提交按钮 */ batchBtn() { // 判断数据不能为空 - if (this.splitForm.splitNum == null || this.splitForm.shiftId == null || this.splitForm.prodLineCode == null){ + if (this.splitForm.splitNum == null || this.splitForm.shiftId == null || this.splitForm.prodLineCode == null || this.splitForm.routeCode == null){ + this.$message({ + message:'数据不能为空!', + type:'warning' + }) + return; + } + if (this.splitForm.routeCode == null){ this.$message({ message:'数据不能为空!', type:'warning' @@ -569,6 +588,7 @@ shiftId : this.splitForm.shiftId, splitNum : this.splitForm.splitNum, product : this.productData[0], + routeCode : this.splitForm.routeCode } let check = 1; @@ -808,6 +828,7 @@ getprodLineShift(row.orderType).then(response => { this.proline = response.data.lines; this.workShift = response.data.shifts; + this.routes = response.data.routes; }); //获取换算值 if (row.children !== undefined){