From 42dcc5ee70625ef6e06d5487bc04e8b80962bfdb Mon Sep 17 00:00:00 2001 From: shaoyong Date: Sat, 13 Jan 2024 17:21:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=BF=87=E7=A8=8B=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/quality/qcProduce/index.vue | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/src/views/quality/qcProduce/index.vue b/src/views/quality/qcProduce/index.vue index 8bedf17..b5f40c8 100644 --- a/src/views/quality/qcProduce/index.vue +++ b/src/views/quality/qcProduce/index.vue @@ -196,7 +196,7 @@ - + @@ -332,9 +332,19 @@ - - - + + + + + + + + + + + + + @@ -435,8 +445,6 @@ export default { total: 0, // 生产过程检验任务表格数据 qcProduceList: [], - checkTypeList:[], - defectTypeList: [], // 弹出层标题 title: "", // 是否显示弹出层 @@ -622,7 +630,7 @@ export default { this.form.defects = this.defectTypeList; this.open = true; this.title = "添加生产过程检验任务"; - + }, /** 修改按钮操作 */ handleUpdate(row) { @@ -630,6 +638,9 @@ export default { const recordId = row.recordId || this.ids getQcProduce(recordId).then(response => { this.form = response.data; + if (this.form.defects == null) { + this.form.defects = this.defectTypeList; + } this.open = true; this.title = "修改生产过程检验任务";