批量审核

This commit is contained in:
wangshiming
2022-01-18 18:48:29 +08:00
parent 958b468a51
commit c4e4441354
2 changed files with 11 additions and 9 deletions

View File

@ -68,6 +68,10 @@ export class OrderManagementRiskComponent implements OnInit {
},
};
}
search() {
this.st?.load(1);
this.getGoodsSourceStatistical()
}
get selectedRows() {
return this.st?.list.filter(item => item.checked) || [];
}
@ -420,9 +424,8 @@ export class OrderManagementRiskComponent implements OnInit {
if (res) {
this.service.msgSrv.success('审核通过成功!');
this.isVisibleRE = false;
this.st.reload()
} else {
this.service.msgSrv.error(res?.msg);
this.st?.load(1);
this.getGoodsSourceStatistical()
}
});
}
@ -447,9 +450,8 @@ export class OrderManagementRiskComponent implements OnInit {
if (res) {
this.service.msgSrv.success('审核拒绝成功!');
this.isVisibleRE = false;
this.st.reload()
} else {
this.service.msgSrv.error(res?.msg);
this.st?.load(1);
this.getGoodsSourceStatistical()
}
});
}