feature/2.14.4.2406.02-个税部分接口改造

This commit is contained in:
黎永顺 2024-07-04 18:50:31 +08:00
parent 92d72d3eac
commit 4e29c4ed93
3 changed files with 17 additions and 14 deletions

View File

@ -332,15 +332,16 @@ class PaymentBtn extends Component {
const { paymentDialog } = this.state; const { paymentDialog } = this.state;
return ( return (
<React.Fragment> <React.Fragment>
<Dropdown.Button <Button type="ghost" onClick={this.handleTripartiteContributions}>{getLabel(111, "三方缴款")}</Button>
onClick={this.handleTripartiteContributions} {/*<Dropdown.Button*/}
overlay={ {/* onClick={this.handleTripartiteContributions}*/}
<Menu onClick={this.handleMenuChange}> {/* overlay={*/}
<Menu.Item key="bank_voucher_payment">{getLabel(111, "银行端凭证缴款")}</Menu.Item> {/* <Menu onClick={this.handleMenuChange}>*/}
<Menu.Item key="destory_voucher">{getLabel(111, "作废缴款凭证")}</Menu.Item> {/* <Menu.Item key="bank_voucher_payment">{getLabel(111, "银行端凭证缴款")}</Menu.Item>*/}
</Menu> {/* <Menu.Item key="destory_voucher">{getLabel(111, "作废缴款凭证")}</Menu.Item>*/}
} {/* </Menu>*/}
type="ghost">{getLabel(111, "三方缴款")}</Dropdown.Button> {/* }*/}
{/* type="ghost">{getLabel(111, "三方缴款")}</Dropdown.Button>*/}
<PaymentDialog <PaymentDialog
{...paymentDialog} {...paymentDialog}
onCancel={this.handleCancel} onCancel={this.handleCancel}

View File

@ -388,9 +388,9 @@ class Index extends Component {
<Button type="ghost" <Button type="ghost"
loading={loading.cancel} loading={loading.cancel}
onClick={() => confirmDialog("cancel", () => this.handleOperateDeclare("cancel", { reportType }))}>{getLabel(111, "作废申报")}</Button>, onClick={() => confirmDialog("cancel", () => this.handleOperateDeclare("cancel", { reportType }))}>{getLabel(111, "作废申报")}</Button>,
<Button type="ghost" // <Button type="ghost"
loading={loading.refreshingPay} // loading={loading.refreshingPay}
onClick={this.taxPaymentVoucherStatusSync}>{getLabel(111, "刷新缴款状态")}</Button> // onClick={this.taxPaymentVoucherStatusSync}>{getLabel(111, "刷新缴款状态")}</Button>
)); ));
if (!intelCalcSalaryStatus) { if (!intelCalcSalaryStatus) {
if (["NOT_DECLARE", "DECLARE_FAIL"].includes(declareInfo.declareStatus)) { if (["NOT_DECLARE", "DECLARE_FAIL"].includes(declareInfo.declareStatus)) {

View File

@ -21,7 +21,8 @@ import {
employeedeclareList4Add, employeedeclareList4Add,
employeedeclareList4Update, employeedeclareList4Update,
employeedeclareRefresh, employeedeclareRefresh,
employeeDelete, employeeInvalid, employeeDelete,
employeeInvalid,
getDeclareFeedback getDeclareFeedback
} from "../../apis/declare"; } from "../../apis/declare";
import { advanceConditions, submitStatus } from "./constants"; import { advanceConditions, submitStatus } from "./constants";
@ -146,7 +147,8 @@ class Index extends Component {
"总计": getLabel(523, "总计"), "编辑": getLabel(501169, "编辑"), "总计": getLabel(523, "总计"), "编辑": getLabel(501169, "编辑"),
"操作": getLabel(30585, "操作"), "删除": getLabel(535052, "删除"), "操作": getLabel(30585, "操作"), "删除": getLabel(535052, "删除"),
"共": getLabel(83698, "共"), "条": getLabel(18256, "条"), "共": getLabel(83698, "共"), "条": getLabel(18256, "条"),
"加载中": getLabel(83698, "加载中"), "作废": getLabel(111, "作废") "加载中": getLabel(83698, "加载中")
// "作废": getLabel(111, "作废")
}; };
const childFrameObj = document.getElementById("atdTable"); const childFrameObj = document.getElementById("atdTable");
childFrameObj && childFrameObj.contentWindow.postMessage(JSON.stringify({ ...payload, i18n }), "*"); childFrameObj && childFrameObj.contentWindow.postMessage(JSON.stringify({ ...payload, i18n }), "*");