custom/钱智
This commit is contained in:
parent
0f2b63c980
commit
139cba4d4a
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue