Browse Source

1、工序报工-填报页面删除人员后无法将选中状态同步到storage内存中

master
bjang03 7 months ago
parent
commit
c031ca025c
  1. 3
      src/pages/mes/workScheduling/processReportForm.vue

3
src/pages/mes/workScheduling/processReportForm.vue

@ -106,11 +106,12 @@ function remove(index: number){
if (list.value.length > 1) { if (list.value.length > 1) {
_confirm('确定要删除吗?',function(){ _confirm('确定要删除吗?',function(){
tempList.forEach(person=>{ tempList.forEach(person=>{
if(person.personCode != list.value[index].personCode){ if(person.personCode == list.value[index].personCode){
person.checked = false person.checked = false
} }
}) })
list.value.splice(index, 1) list.value.splice(index, 1)
debugger
}) })
}else{ }else{
_toast("最少需要上报一项") _toast("最少需要上报一项")

Loading…
Cancel
Save