custom/钱智

This commit is contained in:
lys 2025-11-25 09:16:31 +08:00
parent 0f2b63c980
commit 139cba4d4a
1 changed files with 2 additions and 2 deletions

View File

@ -93,10 +93,10 @@ class Index extends Component {
case "batGrant":
case "batWithdraw":
this.setState({ batLoading: true });
batAPI[key]({ salarySendIds: this.state.selectedRowKeys }).then(({ status, errormsg }) => {
batAPI[key]({ salarySendIds: this.state.selectedRowKeys }).then(({ status, data, errormsg }) => {
this.setState({ batLoading: false });
if (status) {
message.success(getLabel(111, "操作成功!"));
message.success(data ?? getLabel(111, "操作成功!"));
this.getPayrollList(this.props);
} else {
message.error(errormsg);