From 2831cf3e47889669a1108c0c4b2fdd113e5f58d5 Mon Sep 17 00:00:00 2001 From: shaoyong Date: Thu, 30 May 2024 09:05:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E4=BD=93=E7=AE=A1=E7=90=86=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/mesLine/index.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/mes/mesLine/index.vue b/src/views/mes/mesLine/index.vue index 1432828e..be30dbcb 100644 --- a/src/views/mes/mesLine/index.vue +++ b/src/views/mes/mesLine/index.vue @@ -158,7 +158,7 @@ - + @@ -175,14 +175,13 @@ - + @@ -364,8 +363,10 @@ export default { this.$refs["form"].validate((valid) => { if (valid) { if (this.form.id != null) { - this.form.processList = this.form.processItems.map(item => item.value); - this.form.qualityList = this.form.processItems.map(item => item.quality); + this.form.processItems?.forEach(item => { + this.form.processList.push(item.value); + this.form.qualityList.push(item.quality); + }); updateMesLine(this.form).then((response) => { this.$modal.msgSuccess("修改成功"); this.open = false;