feature/2.12.1.2403.02-个税-外籍人员信息报送
This commit is contained in:
parent
1a06b46faf
commit
ba0c516263
|
|
@ -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("%%");
|
||||
|
|
|
|||
Loading…
Reference in New Issue