feature/2.19.1.2501.01-薪酬批量操作

This commit is contained in:
lys 2025-06-04 15:34:58 +08:00
parent 004deaeea3
commit c4963d138c
1 changed files with 2 additions and 2 deletions

View File

@ -140,11 +140,11 @@ class StandingBook extends Component {
Modal.confirm({
title: getLabel(111, "确认信息"), content: getLabel(388758, "确认要删除吗?"),
onOk: () => {
const delDataLen = this.state.selectedRowKeys.length;
API.batSiaccountDelete({ ids: this.state.selectedRowKeys }).then(({ status, errormsg }) => {
if (status) {
message.success(getLabel(502230, "删除成功"));
this.wfListRef.wrappedInstance.batDelQueryList(this.state.selectedRowKeys.length);
this.setState({ selectedRowKeys: [] });
this.setState({ selectedRowKeys: [] }, () => this.wfListRef.wrappedInstance.batDelQueryList(delDataLen));
} else {
message.error(errormsg);
}