From 3c33fc7a3a276de9bb1be902fd1b5e45b9f0be1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Thu, 12 Sep 2024 13:53:47 +0800 Subject: [PATCH] =?UTF-8?q?feature/2.15.1.2407.01-=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 {