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;