From 77876d5ac5cb5f5a6c86302e01f9b8aeb021f7e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=93=E8=B1=86=E8=B1=86?= <3346088772@qq.comcd> Date: Thu, 22 Feb 2024 13:42:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=89=BA=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/pro/proroute/routeprocess.vue | 48 ++++++++++++++++----- 1 file changed, 37 insertions(+), 11 deletions(-) diff --git a/src/views/mes/pro/proroute/routeprocess.vue b/src/views/mes/pro/proroute/routeprocess.vue index e8db1dd..0125063 100644 --- a/src/views/mes/pro/proroute/routeprocess.vue +++ b/src/views/mes/pro/proroute/routeprocess.vue @@ -304,8 +304,8 @@ /> - - + + - + 出库 @@ -471,7 +471,8 @@ export default { lineName: "", pointName: "", TypeId: false, - // Typefile: false, + Typefile: false, + warehousing: false, // 表单参数 form: { originalName: "", @@ -568,14 +569,25 @@ export default { handleNodeClick(data) { if (data.machineryTypeId == 229) { this.TypeId = true; - // this.Typefile = false; + this.Typefile = false; + this.warehousing = false; this.form.originalName = ""; this.form.url = ""; - } else { + this.form.exitType = ""; + } else if (data.machineryTypeId == 230) { this.TypeId = false; - // this.Typefile = true; + this.Typefile = false; + this.warehousing = true; this.form.lineId = ""; this.form.pointId = ""; + this.form.exitType = "0"; + } else { + this.TypeId = false; + this.Typefile = true; + this.warehousing = false; + this.form.lineId = ""; + this.form.pointId = ""; + this.form.exitType = ""; } this.form.machineryTypeName = data.machineryTypeName; }, @@ -693,7 +705,7 @@ export default { this.reset(); if (this.form.machineryTypeId == null) { this.TypeId = false; - // this.Typefile = false; + this.Typefile = false; } this.open = true; this.title = "添加工艺组成"; @@ -713,14 +725,28 @@ export default { }); if (row.machineryTypeId == null) { this.TypeId = false; - // this.Typefile = false; + this.Typefile = false; } else { if (row.machineryTypeId == 229) { this.TypeId = true; - // this.Typefile = false; + this.Typefile = false; + this.warehousing = false; + this.form.originalName = ""; + this.form.url = ""; + this.form.exitType = ""; + } else if (row.machineryTypeId == 230) { + this.TypeId = false; + this.Typefile = false; + this.warehousing = true; + this.form.lineId = ""; + this.form.pointId = ""; } else { this.TypeId = false; - // this.Typefile = true; + this.Typefile = true; + this.warehousing = false; + this.form.lineId = ""; + this.form.pointId = ""; + this.form.exitType = ""; } } var name = {};