From 9e1fee040d7268884329622e293d650ac731fc16 Mon Sep 17 00:00:00 2001 From: jinna Date: Mon, 30 Mar 2026 22:42:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/productionTesting/productionQuality.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/productionTesting/productionQuality.vue b/src/views/productionTesting/productionQuality.vue index 56b3682..5172cea 100644 --- a/src/views/productionTesting/productionQuality.vue +++ b/src/views/productionTesting/productionQuality.vue @@ -39,7 +39,7 @@ 检验结果 @@ -165,7 +165,7 @@ circle type="danger" icon="el-icon-delete" - @click="removeRules(scope.row.wpItemDetailList,subScope.$index, scope.row)" + @click="removeRules(scope.row.wpItemDetailList,subScope.$index, scope.row,subScope.row)" /> @@ -997,11 +997,11 @@ export default { isDel:2 }) }, - removeRules(data,index,row){ + removeRules(data,index,row,val){ if(row.checkUserRealName != null && row.checkUserRealName != ''){ return } - if(row.isDel != 1){ + if(val.isDel != 1){ data.splice(index,1) }else{ this.$message.error('该数据不可删除')