diff --git a/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js b/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js index 59ae2f76..a36349c4 100644 --- a/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js +++ b/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js @@ -28,9 +28,9 @@ import TableRecord from "../components/tableRecord"; import { dataCollectCondition } from "./columns"; import { removePropertyCondition } from "../../../util/response"; import { convertToUrlString } from "../../../util/url"; +import { postFetch } from "../../../util/request"; import Layout from "../layout"; import moment from "moment"; -import { postFetch } from "../../../util/request"; const getKey = WeaTools.getKey; const getLabel = WeaLocaleProvider.getLabel; @@ -106,7 +106,7 @@ class Index extends Component { */ getAdvanceCondition = async () => { const { cumDeductStore: { form } } = this.props; - const { data: authTaxAgent } = postFetch("/api/bs/hrmsalary/taxAgent/listAuth", { filterType: "QUERY_DATA" }); + const { data: authTaxAgent } = await postFetch("/api/bs/hrmsalary/taxAgent/listAuth", { filterType: "QUERY_DATA" }); getCumDeductSaCondition().then(({ status, data }) => { if (status) { this.setState({ @@ -267,7 +267,6 @@ class Index extends Component { handleAddData = (title = "新建", editId = {}) => { const { cumDeductStore: { addForm } } = this.props; const { slidePayload, taxAgentOption } = this.state; - console.log(270,taxAgentOption); const conditions = _.map(dataCollectCondition, (it, idx) => { if (idx === 0) { return {