diff --git a/pc4mobx/hrmSalary/pages/salary/taxAgent.js b/pc4mobx/hrmSalary/pages/salary/taxAgent.js index 4ab69a82..03e55f5d 100644 --- a/pc4mobx/hrmSalary/pages/salary/taxAgent.js +++ b/pc4mobx/hrmSalary/pages/salary/taxAgent.js @@ -2,7 +2,6 @@ import React, { Component } from "react"; import { inject, observer } from "mobx-react"; import { Button, message, Modal } from "antd"; import { WeaCheckbox, WeaFormItem, WeaInputSearch, WeaLocaleProvider, WeaSearchGroup, WeaTop } from "ecCom"; -import { apiflowBillingConfigStatus } from "../../apis/intelligentCalculateSalarySettings"; import ComHint from "./components/comHint"; import TaxAgentTable from "./components/taxAgentTable"; import TaxAgentSlide from "./components/taxAgentSlide"; @@ -35,7 +34,6 @@ class TaxAgent extends Component { componentDidMount() { this.getTaxAgentBaseForm(); this.getPermission(); - this.apiflowBillingConfigStatus(); } getTaxAgentBaseForm = () => { @@ -54,12 +52,6 @@ class TaxAgent extends Component { } }); }; - apiflowBillingConfigStatus = () => { - const { taxAgentSlideProps } = this.state; - apiflowBillingConfigStatus().then(({ status, data }) => { - if (status) this.setState({ taxAgentSlideProps: { ...taxAgentSlideProps, salaryOn: data } }); - }); - }; /* * Author: 黎永顺 * Description:开启关闭个税扣缴义务人开关