diff --git a/pc4mobx/hrmSalary/pages/custom-pages/lingyue/vouncherSummary/index.js b/pc4mobx/hrmSalary/pages/custom-pages/lingyue/vouncherSummary/index.js index 5ea76966..00c34eb9 100644 --- a/pc4mobx/hrmSalary/pages/custom-pages/lingyue/vouncherSummary/index.js +++ b/pc4mobx/hrmSalary/pages/custom-pages/lingyue/vouncherSummary/index.js @@ -143,7 +143,7 @@ class Index extends Component { API.pushUCAndSave(payload).then(({ status, data, errormsg }) => { this.setState({ loading: false }); if (status) { - message.success(data.errMsg); + data.status ? message.success(data.errMsg) : message.error(data.errMsg); this.setState({ visible: false }); setTimeout(() => window.close(), 1500); } else {