From c031ca025cbd1230158a39d29e46f30e77edff02 Mon Sep 17 00:00:00 2001 From: bjang03 Date: Thu, 9 May 2024 16:46:47 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=B7=A5=E5=BA=8F=E6=8A=A5=E5=B7=A5-?= =?UTF-8?q?=E5=A1=AB=E6=8A=A5=E9=A1=B5=E9=9D=A2=E5=88=A0=E9=99=A4=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E5=90=8E=E6=97=A0=E6=B3=95=E5=B0=86=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E5=90=8C=E6=AD=A5=E5=88=B0storage=E5=86=85?= =?UTF-8?q?=E5=AD=98=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mes/workScheduling/processReportForm.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/mes/workScheduling/processReportForm.vue b/src/pages/mes/workScheduling/processReportForm.vue index 3189a01..d059b29 100644 --- a/src/pages/mes/workScheduling/processReportForm.vue +++ b/src/pages/mes/workScheduling/processReportForm.vue @@ -106,11 +106,12 @@ function remove(index: number){ if (list.value.length > 1) { _confirm('确定要删除吗?',function(){ tempList.forEach(person=>{ - if(person.personCode != list.value[index].personCode){ + if(person.personCode == list.value[index].personCode){ person.checked = false } }) list.value.splice(index, 1) + debugger }) }else{ _toast("最少需要上报一项")