From c3918482accfa9025a55e7cd44193cb99fcf255c Mon Sep 17 00:00:00 2001 From: A0010407 Date: Wed, 20 Sep 2023 22:13:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=BA=8F=E6=9F=A5=E7=9C=8B=20?= =?UTF-8?q?=E5=9B=9E=E6=98=BE=E9=94=99=E8=AF=AF=20+=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=B2=A1=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/technology/process/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/technology/process/index.vue b/src/views/technology/process/index.vue index bba5463..2ed0723 100644 --- a/src/views/technology/process/index.vue +++ b/src/views/technology/process/index.vue @@ -707,9 +707,15 @@ export default { // 查询明细按钮操作 handleView(row) { this.reset(); + this.selectMaterielListtag = []; const processId = row.processId || this.ids; getProcess(processId).then((response) => { this.form = response.data; + if (this.form.equipment != "" && this.form.equipment != null) { + this.selectMaterielListtag = JSON.parse( + JSON.stringify(this.form.equipment.split(",")) + ); + } this.open = true; this.title = "查看工序信息"; this.optType = "view"; @@ -727,7 +733,7 @@ export default { getProcess(processId).then((response) => { this.form = response.data; console.log(this.form); - if (this.form.equipment != "") { + if (this.form.equipment != "" && this.form.equipment != null) { this.selectMaterielListtag = JSON.parse( JSON.stringify(this.form.equipment.split(",")) );