custom/钱智
This commit is contained in:
parent
0f2b63c980
commit
139cba4d4a
|
|
@ -93,10 +93,10 @@ class Index extends Component {
|
||||||
case "batGrant":
|
case "batGrant":
|
||||||
case "batWithdraw":
|
case "batWithdraw":
|
||||||
this.setState({ batLoading: true });
|
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 });
|
this.setState({ batLoading: false });
|
||||||
if (status) {
|
if (status) {
|
||||||
message.success(getLabel(111, "操作成功!"));
|
message.success(data ?? getLabel(111, "操作成功!"));
|
||||||
this.getPayrollList(this.props);
|
this.getPayrollList(this.props);
|
||||||
} else {
|
} else {
|
||||||
message.error(errormsg);
|
message.error(errormsg);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue