diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/standingBook.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/standingBook.js index 36b019f7..4d4d5212 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/standingBook.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/standingBook.js @@ -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); }