From 3081be5225384652eb54db71781f71d42bbb8823 Mon Sep 17 00:00:00 2001 From: jinna Date: Sat, 28 Mar 2026 19:24:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BE=E6=89=8B=E5=85=8D=E8=B4=A3=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/exemption/components/checkDialog.vue | 4 ++-- .../productionTesting/productionQuality.vue | 16 ++++++++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/views/exemption/components/checkDialog.vue b/src/views/exemption/components/checkDialog.vue index 21bfce6..3eeca47 100644 --- a/src/views/exemption/components/checkDialog.vue +++ b/src/views/exemption/components/checkDialog.vue @@ -39,8 +39,8 @@ export default { span: 24, type: 'radio', dicData: [ - { label: '审批通过', value: 0 }, - { label: '审批不通过', value: 1 }, + { label: '审批通过', value: 1 }, + { label: '审批不通过', value: 0 }, ], rules: [{ required: true, message: '请输入姓名', trigger: 'blur' }], }, diff --git a/src/views/productionTesting/productionQuality.vue b/src/views/productionTesting/productionQuality.vue index e09132e..2b2fad1 100644 --- a/src/views/productionTesting/productionQuality.vue +++ b/src/views/productionTesting/productionQuality.vue @@ -250,7 +250,7 @@ @click="addSpecimen()" /> --> - + @@ -969,10 +969,16 @@ export default { }, methods: { - addSpecimen(){ + addSpecimen(row){ + if(row.checkUserRealName != null && row.checkUserRealName != ''){ + return + } this.thicknessData.push({}) }, removeSpecimen(index,row){ + if(row.checkUserRealName != null && row.checkUserRealName != ''){ + return + } this.thicknessData.splice(index,1) let arr = this.getDChyData.filter(item => JSON.stringify(item) === JSON.stringify(row)) console.log('arr=============',arr) @@ -980,11 +986,17 @@ export default { }, addRules(data,row){ console.log('row=============',row) + if(row.checkUserRealName != null && row.checkUserRealName != ''){ + return + } data.push({ isDel:2 }) }, removeRules(data,index,row){ + if(row.checkUserRealName != null && row.checkUserRealName != ''){ + return + } if(row.isDel != 1){ data.splice(index,1) }else{