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("最少需要上报一项")