release/2.15.1.2407.01-个税

This commit is contained in:
黎永顺 2024-07-23 11:12:06 +08:00
parent 97d87f614b
commit f86a7c412e
4 changed files with 17 additions and 17 deletions

View File

@ -254,7 +254,7 @@ export const employeedeclareExportTemplate = params => {
};
//个税申报表申报数据-下载申报内置算税结果
export const exportGetDeclareTaxResultFeedback = params => {
return postExportFetch("/api/bs/hrmsalary/taxdeclaration/exportGetDeclareTaxResultFeedback", params);
return postExportFetch("/api/bs/hrmsalary/taxdeclaration/exportGetCompanyIncomes", params);
};
//个税申报表申报数据-数据导入
export const taxdeclarationImportData = (params) => {

View File

@ -97,7 +97,7 @@ class Index extends Component {
effectiveTime: effectiveTime1 ? `${effectiveTime1},${effectiveTime2}` : "",
operateTime: operateTime1 ? `${operateTime1},${operateTime2}` : ""
};
window.open(`${window.location.origin}/api/bs/hrmsalary/salaryArchive/adjustRecord/exportSalaryItemList?${convertToUrlString(payload)}`, "_target");
window.open(`${window.location.origin}/api/bs/hrmsalary/salaryArchive/adjustRecord/exportSalaryItemList?${convertToUrlString(payload)}`, "_blank");
this.handleDebounce = null;
}, 500);
}

View File

@ -55,20 +55,20 @@ class TaxDeclarationInfo extends Component {
];
let dropMenuDatas = [];
if (["DECLARE_SUCCESS_NO_PAY", "DECLARE_SUCCESS_UNPAID", "DECLARE_SUCCESS_PAID", "DECLARE_SUCCESS_PAYING"].includes(declareInfo.declareStatus)) {
// dropMenuDatas = dropMenuDatas.concat([
// {
// key: "exportGetDeclareTaxResultFeedback",
// icon: <i className="icon-coms-download2"/>,
// content: getLabel(111, "下载申报内置算税结果"),
// onClick: onOperate
// },
// {
// key: "onlineComparison",
// icon: <i className="icon-coms-Journal-o"/>,
// content: getLabel(111, "在线对比"),
// onClick: onOperate
// }
// ]);
dropMenuDatas = dropMenuDatas.concat([
{
key: "exportGetDeclareTaxResultFeedback",
icon: <i className="icon-coms-download2"/>,
content: getLabel(111, "下载申报内置算税结果"),
onClick: onOperate
},
{
key: "onlineComparison",
icon: <i className="icon-coms-Journal-o"/>,
content: getLabel(111, "在线对比"),
onClick: onOperate
}
]);
}
return (
<div className="taxDeclarationInfo_layout">

View File

@ -315,7 +315,7 @@ class Index extends Component {
};
onlineComparison = () => {
const [__, taxDeclarationId] = this.state.selectedKey.split("%%");
window.open(`${window.location.origin}/spa/hrmSalary/static/index.html#/main/hrmSalary/declareDetail/${taxDeclarationId}`, "_target");
window.open(`${window.location.origin}/spa/hrmSalary/static/index.html#/main/hrmSalary/declareDetail/${taxDeclarationId}`, "_blank");
};
handleTabEdit = (tabKey, type) => {
if (type === "remove") {