From 7f148071d7c2b6399b434710913e3274fe87006d Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 8 May 2026 08:44:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=85=89=E8=8A=AF=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E5=A1=AB=E5=86=99=E6=97=B6=E4=B8=8D=E8=89=AF=E9=A1=B9=E6=9C=AA?= =?UTF-8?q?=E6=B8=85=E9=9B=B6=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_gx/f_mlogs_form.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/wpm_gx/f_mlogs_form.vue b/src/views/wpm_gx/f_mlogs_form.vue index 5459815c..d3bd5717 100644 --- a/src/views/wpm_gx/f_mlogs_form.vue +++ b/src/views/wpm_gx/f_mlogs_form.vue @@ -519,7 +519,7 @@ export default { that.defectform[item.defect_name] = 0; }) that.qct_defects=res.qct_defects; - if(that.mlogdefect.length>0){ + if(that.mlogdefect.length>0&&that.mode!=='add'){ that.qct_defects.forEach(item => { that.mlogdefect.forEach(item2=>{ if(item.defect==item2.defect){ @@ -552,7 +552,7 @@ export default { that.defectform[item.defect_name] = 0; }) that.qct_defects=res.qct_defects; - if(that.mlogdefect.length>0){ + if(that.mlogdefect.length>0&&that.mode!=='add'){ that.qct_defects.forEach(item => { that.mlogdefect.forEach(item2=>{ if(item.defect==item2.defect){