diff --git a/pc4mobx/hrmSalary/pages/declareDetail/index.js b/pc4mobx/hrmSalary/pages/declareDetail/index.js index 56e3bff9..366ba404 100644 --- a/pc4mobx/hrmSalary/pages/declareDetail/index.js +++ b/pc4mobx/hrmSalary/pages/declareDetail/index.js @@ -272,15 +272,16 @@ class Index extends Component { taxAgentId, taxYearMonth: taxYearMonth + "-01", reportType: this.state.reportType }; - this.setState({ loading: { ...this.state.loading, issuance: true } }); - taxPaymentWithheldVoucherGet(payload).then(({ status, data, errormsg }) => { - this.setState({ loading: { ...this.state.loading, issuance: false } }); - if (status && !_.isEmpty(data.vouchers)) { - window.open(`${window.ecologyContentPath || ""}/spa/hrmSalary/static/index.html#/main/hrmSalary/enterprisePayCertificationDetail?${convertToUrlString(payload)}`); - } else { - message.error(errormsg || ""); - } - }).catch(() => this.setState({ loading: { ...this.state.loading, issuance: false } })); + window.open(`${window.ecologyContentPath || ""}/spa/hrmSalary/static/index.html#/main/hrmSalary/enterprisePayCertificationDetail?${convertToUrlString(payload)}`); + // this.setState({ loading: { ...this.state.loading, issuance: true } }); + // taxPaymentWithheldVoucherGet(payload).then(({ status, data, errormsg }) => { + // this.setState({ loading: { ...this.state.loading, issuance: false } }); + // if (status && !_.isEmpty(data.vouchers)) { + // window.open(`${window.ecologyContentPath || ""}/spa/hrmSalary/static/index.html#/main/hrmSalary/enterprisePayCertificationDetail?${convertToUrlString(payload)}`); + // } else { + // message.error(errormsg || ""); + // } + // }).catch(() => this.setState({ loading: { ...this.state.loading, issuance: false } })); }; export = () => { const [incomeCategory, taxDeclarationId] = this.state.selectedKey.split("%%");