From 4d2058b180951384bc3d6cfb8003fdb32edff7ef 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, 11 Jul 2024 15:05:00 +0800
Subject: [PATCH 11/60] hotfix/2.14.2.2406.02
---
.../reportView/components/reportContent.js | 22 +++++++++++++------
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js b/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js
index a7808410..98486950 100644
--- a/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js
+++ b/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js
@@ -6,7 +6,7 @@
*/
import React, { Component } from "react";
import { Spin } from "antd";
-import { WeaEchart } from "ecCom";
+import { WeaEchart, WeaLocaleProvider } from "ecCom";
import RightOptions from "./rightOptions";
import ChartsRangeSettingsModal from "./chartsRangeSettingsModal";
import { mapBarOptions, mapLineOptions, mapPieOptions } from "./condition";
@@ -15,6 +15,8 @@ import PovitpivotChartModal from "./povitpivotChartModal";
import { getSalaryMonthValue } from "./statisticalMicroSettingsSlide";
import "../index.less";
+const getLabel = WeaLocaleProvider.getLabel;
+
class ReportContent extends Component {
constructor(props) {
super(props);
@@ -33,7 +35,8 @@ class ReportContent extends Component {
rangSet: {
visible: false, reportId: "",
rangeVal: {}
- }
+ },
+ pageInfo: { current: 0, pageSize: 10, total: 0 }
};
}
@@ -76,24 +79,29 @@ class ReportContent extends Component {
}
};
postMessageToChild = (payload) => {
+ const i18n = {
+ "共": getLabel(18609, "共"), "条": getLabel(18256, "条"),
+ "总计": getLabel(523, "总计")
+ };
const childFrameObj = document.getElementById("atdTable");
const { dataSource, columns, showSum, countResult } = payload;
childFrameObj && childFrameObj.contentWindow.postMessage(JSON.stringify({
- dataSource, columns, showSum, countResult
+ dataSource, columns, showSum, countResult, i18n
}), "*");
};
reportStatisticsReportGetData = (params) => {
+ const { pageInfo } = this.state;
const { id, dimensionId, isShare, timeType, salaryEndMonth: end, salaryStartMonth: start } = params;
const [salaryStartMonth, salaryEndMonth] = getSalaryMonthValue(timeType);
const payload = {
- id, dimensionId, isShare,
+ id, dimensionId, isShare, ...pageInfo,
salaryStartMonth: (salaryStartMonth || start) + "-01", salaryEndMonth: (salaryEndMonth || end) + "-01"
};
this.setState({ loading: true });
reportStatisticsReportGetData(payload).then(({ status, data }) => {
this.setState({ loading: false });
if (status && id.toString() === data.reportId.toString()) {
- const { countResult, columns, pageInfo: { list } } = data;
+ const { countResult, columns, pageInfo: { list, pageNum, pageSize, total } } = data;
this.setState({
countResult,
columns: _.map(columns, it => ({
@@ -244,8 +252,8 @@ class ReportContent extends Component {
viewType === "dataView" ?
: this.renderCharts()
}
From 8df63d4a8c13660430d4b695b13566620cadf91a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Mon, 15 Jul 2024 11:35:53 +0800
Subject: [PATCH 12/60] hotfix/2.14.2.2406.02
---
.../reportView/components/reportContent.js | 26 ++++++++++---------
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js b/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js
index 98486950..2fc4c28b 100644
--- a/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js
+++ b/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js
@@ -36,7 +36,7 @@ class ReportContent extends Component {
visible: false, reportId: "",
rangeVal: {}
},
- pageInfo: { current: 0, pageSize: 10, total: 0 }
+ pageInfo: { current: 1, pageSize: 10, total: 0 }
};
}
@@ -59,9 +59,9 @@ class ReportContent extends Component {
handleReceive = ({ data }) => {
const { type, payload: { id, params } = {} } = data;
if (type === "init") {
- const { columns, countResult, dataSource } = this.state;
+ const { columns, countResult, dataSource, pageInfo } = this.state;
this.postMessageToChild({
- columns, countResult, dataSource,
+ columns, countResult, dataSource, pageInfo,
showSum: !_.isEmpty(countResult)
});
} else if (type === "turn") {
@@ -75,6 +75,8 @@ class ReportContent extends Component {
visible: true, id: pivotId, dimensionId, dimensionValue, isShare
}
});
+ } else if (id === "PAGEINFO") {
+ this.setState({ pageInfo: { ...this.state.pageInfo, ...params } }, () => this.reportStatisticsReportGetData(this.props.report));
}
}
};
@@ -84,14 +86,14 @@ class ReportContent extends Component {
"总计": getLabel(523, "总计")
};
const childFrameObj = document.getElementById("atdTable");
- const { dataSource, columns, showSum, countResult } = payload;
+ const { dataSource, columns, showSum, countResult, pageInfo } = payload;
childFrameObj && childFrameObj.contentWindow.postMessage(JSON.stringify({
- dataSource, columns, showSum, countResult, i18n
+ dataSource, columns, showSum, countResult, i18n, pageInfo
}), "*");
};
reportStatisticsReportGetData = (params) => {
const { pageInfo } = this.state;
- const { id, dimensionId, isShare, timeType, salaryEndMonth: end, salaryStartMonth: start } = params;
+ const { id, dimension, dimensionId, isShare, timeType, salaryEndMonth: end, salaryStartMonth: start } = params;
const [salaryStartMonth, salaryEndMonth] = getSalaryMonthValue(timeType);
const payload = {
id, dimensionId, isShare, ...pageInfo,
@@ -103,7 +105,8 @@ class ReportContent extends Component {
if (status && id.toString() === data.reportId.toString()) {
const { countResult, columns, pageInfo: { list, pageNum, pageSize, total } } = data;
this.setState({
- countResult,
+ countResult, dataSource: list || [],
+ pageInfo: dimension === getLabel(111, "人员") ? { ...pageInfo, current: pageNum, pageSize, total } : null,
columns: _.map(columns, it => ({
...it,
dataIndex: it.column, width: it.width ? it.width + "px" : 150,
@@ -113,12 +116,11 @@ class ReportContent extends Component {
dataIndex: child.column, width: child.width ? child.width + "px" : 150,
title: child.text, align: "center"
})) : []
- })),
- dataSource: list || []
+ }))
}, () => {
this.postMessageToChild({
columns: this.state.columns, countResult: this.state.countResult,
- dataSource: this.state.dataSource,
+ dataSource: this.state.dataSource, pageInfo: this.state.pageInfo,
showSum: !_.isEmpty(this.state.countResult)
});
});
@@ -252,8 +254,8 @@ class ReportContent extends Component {
viewType === "dataView" ?
: this.renderCharts()
}
From b3493270882c5c7cf98e59325c25639244e0fb68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Mon, 15 Jul 2024 17:14:55 +0800
Subject: [PATCH 13/60] =?UTF-8?q?feature/2.14.5.2406.03-=E5=B7=A5=E8=B5=84?=
=?UTF-8?q?=E5=8D=95=E6=9F=A5=E7=9C=8B=E8=AF=A6=E6=83=85=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=87=AA=E5=AE=9A=E4=B9=89=E5=88=97=E7=9A=84?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pc4mobx/hrmSalary/index.js | 4 +-
.../components/advanceInputBtn/index.js | 27 ++++
.../components/advanceInputBtn/index.less | 28 ++++
.../components/salaryDetailList/index.js | 130 ++++++++++++++++++
.../salaryDetailSearchPannel/index.js | 37 +++++
.../components/salaryMonthHelpfulTip.js | 37 +++++
.../pages/payroll/payrollDetail/index.less | 72 ++++++++++
.../payroll/payrollDetail/payrollDetail.js | 106 ++++++++++++++
.../payrollDetail/payrollGrantDetail.js | 62 ---------
pc4mobx/hrmSalary/stores/payroll.js | 1 +
10 files changed, 441 insertions(+), 63 deletions(-)
create mode 100644 pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/advanceInputBtn/index.js
create mode 100644 pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/advanceInputBtn/index.less
create mode 100644 pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/salaryDetailList/index.js
create mode 100644 pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/salaryDetailSearchPannel/index.js
create mode 100644 pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/salaryMonthHelpfulTip.js
create mode 100644 pc4mobx/hrmSalary/pages/payroll/payrollDetail/payrollDetail.js
delete mode 100644 pc4mobx/hrmSalary/pages/payroll/payrollDetail/payrollGrantDetail.js
diff --git a/pc4mobx/hrmSalary/index.js b/pc4mobx/hrmSalary/index.js
index aff0d014..0d936a80 100644
--- a/pc4mobx/hrmSalary/index.js
+++ b/pc4mobx/hrmSalary/index.js
@@ -24,7 +24,8 @@ import Calculate from "./pages/calculate/calculate"; //重构的薪资核算页
// import Payroll from "./pages/payroll";
import Payroll from "./pages/payrollRelease"; //重构的工资单发放页面
import PayrollGrant from "./pages/payroll/payrollGrant";
-import PayrollDetail from "./pages/payroll/payrollDetail";
+import PayrollDetail from "./pages/payroll/payrollDetail/payrollDetail";
+import PayrollDetailDemo from "./pages/payroll/payrollDetail";
// import Declare from "./pages/declare";
import Declare from "./pages/declare/declare"; //重构的个税申报表
import TaxRate from "./pages/taxRate";
@@ -149,6 +150,7 @@ const Routes = (
+
diff --git a/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/advanceInputBtn/index.js b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/advanceInputBtn/index.js
new file mode 100644
index 00000000..82c06533
--- /dev/null
+++ b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/advanceInputBtn/index.js
@@ -0,0 +1,27 @@
+import React, { Component } from "react";
+import { inject, observer } from "mobx-react";
+import { Button } from "antd";
+import { WeaInputSearch, WeaLocaleProvider } from "ecCom";
+import "./index.less";
+
+const getLabel = WeaLocaleProvider.getLabel;
+
+@inject("payrollStore")
+@observer
+class Index extends Component {
+ render() {
+ const { payrollStore: { detailListConditionForm } } = this.props;
+ return (
+
+ detailListConditionForm.updateFields({ username: v })}
+ onSearch={this.props.onAdvanceSearch}
+ />
+
+
+ );
+ }
+}
+
+export default Index;
diff --git a/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/advanceInputBtn/index.less b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/advanceInputBtn/index.less
new file mode 100644
index 00000000..1a3d7283
--- /dev/null
+++ b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/advanceInputBtn/index.less
@@ -0,0 +1,28 @@
+.advance-search {
+ display: flex;
+ align-items: center;
+ position: relative;
+ top: -2.5px;
+
+ .wea-advanced-search {
+ top: 2px;
+ left: -1px;
+ height: 28px;
+ line-height: 1;
+ border-radius: 0;
+ position: relative;
+ color: #474747;
+ padding: 4px 15px;
+ }
+
+ .wea-advanced-search:hover {
+ border: 1px solid #dadada;
+ color: #474747;
+ }
+
+ .text-elli {
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ }
+}
diff --git a/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/salaryDetailList/index.js b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/salaryDetailList/index.js
new file mode 100644
index 00000000..fc64f6a8
--- /dev/null
+++ b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/salaryDetailList/index.js
@@ -0,0 +1,130 @@
+/*
+ *
+ * 查看工资单详情-列表
+ * @Author: 黎永顺
+ * @Date: 2024/7/15
+ * @Wechat:
+ * @Email: 971387674@qq.com
+ * @description:
+*/
+import React, { Component } from "react";
+import { inject, observer } from "mobx-react";
+import { toJS } from "mobx";
+import { WeaLocaleProvider } from "ecCom";
+import { Spin } from "antd";
+import { WeaTableNew } from "comsMobx";
+import * as API from "../../../../../apis/payroll";
+import { getQueryString } from "../../../../../util/url";
+
+const getLabel = WeaLocaleProvider.getLabel;
+const WeaTableComx = WeaTableNew.WeaTable;
+
+@inject("payrollStore")
+@observer
+class Index extends Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ loading: false, dataSource: [], visible: false, updateSum: true, payload: {},
+ pageInfo: { current: 1, pageSize: 10, total: 0 }
+ };
+ }
+
+ componentDidMount() {
+ window.addEventListener("message", this.handleReceive, false);
+ }
+
+ componentWillUnmount() {
+ window.removeEventListener("message", this.handleReceive, false);
+ }
+
+ componentWillReceiveProps(nextProps, nextContext) {
+ if (nextProps.isQuery !== this.props.isQuery) {
+ console.log("componentWillReceiveProps", nextProps.isQuery);
+ }
+ }
+
+ handleReceive = async ({ data }) => {
+ const { type, payload: { id, params } = {} } = data;
+ if (type === "init") {
+ this.getPayrollDetailList();
+ } else if (type === "turn") {
+ switch (id) {
+ default:
+ break;
+ }
+ }
+ };
+ getPayrollDetailList = () => {
+ const { pageInfo } = this.state;
+ const salarySendId = getQueryString("id");
+ const { payrollStore: { detailListConditionForm: form, salaryTableStore } } = this.props;
+ const payload = {
+ salarySendId, ...pageInfo, ...form.getFormParams(),
+ departmentIds: form.getFormParams().departmentIds ? form.getFormParams().departmentIds.split(",") : [],
+ subCompanyIds: form.getFormParams().subCompanyIds ? form.getFormParams().subCompanyIds.split(",") : []
+ };
+ API.getPayrollDetailList(payload).then(({ status, data }) => {
+ if (status) {
+ const { dataKey, pageInfo, datas: dataSource } = data;
+ const { datas } = dataKey;
+ const { pageNum: current, pageSize, total } = pageInfo;
+ salaryTableStore.getDatas(datas);
+ this.setState({ payload, dataSource, pageInfo: { ...pageInfo, current, pageSize, total } });
+ }
+ });
+ };
+ getColumns = () => {
+ const { payrollStore: { salaryTableStore }, showTotalCell } = this.props;
+ const { dataSource, pageInfo, selectedRowKeys, payload, updateSum } = this.state;
+ const columns = _.filter(toJS(salaryTableStore.columns), (item) => item.display === "true");
+ const sumRowlistUrl = showTotalCell ? "/api/bs/hrmsalary/salaryBill/send/sum" : "";
+ if (!_.isEmpty(columns)) {
+ this.postMessageToChild({
+ dataSource, pageInfo, selectedRowKeys, showTotalCell, calcDetail: true, tableScrollHeight: 154,
+ sumRowlistUrl, payload: { ...payload, updateSum },
+ columns: _.map(columns, (it, idx) => ({
+ ...it, width: it.oldWidth, fixed: (idx === 1 || idx === 0 || idx === 2) ? "left" : "",
+ ellipsis: true
+ }))
+ });
+ }
+ return [];
+ };
+ postMessageToChild = (payload) => {
+ const i18n = {
+ "共": getLabel(18609, "共"), "条": getLabel(18256, "条"),
+ "总计": getLabel(523, "总计")
+ };
+ const childFrameObj = document.getElementById("atdTable");
+ childFrameObj && childFrameObj.contentWindow.postMessage(JSON.stringify({ ...payload, i18n }), "*");
+ };
+
+
+ render() {
+ const { payrollStore: { salaryTableStore } } = this.props;
+ const { loading, pageInfo } = this.state;
+ const { pageSize, total } = pageInfo;
+ const columnNum = total > 10 ? pageSize + 1 : total + 1;
+ return (
+
+
+
+
+
+
+ );
+ }
+}
+
+export default Index;
diff --git a/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/salaryDetailSearchPannel/index.js b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/salaryDetailSearchPannel/index.js
new file mode 100644
index 00000000..8d1243f7
--- /dev/null
+++ b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/salaryDetailSearchPannel/index.js
@@ -0,0 +1,37 @@
+import React, { Component } from "react";
+import { inject, observer } from "mobx-react";
+import { WeaLocaleProvider } from "ecCom";
+import { getSearchs } from "../../../../../util";
+import { Button } from "antd";
+
+const getLabel = WeaLocaleProvider.getLabel;
+
+@inject("payrollStore")
+@observer
+class Index extends Component {
+ render() {
+ const { payrollStore: { detailListConditionForm }, conditions } = this.props;
+ return (
+
+
+ {getSearchs(detailListConditionForm, conditions, 2, false)}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+ }
+}
+
+export default Index;
diff --git a/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/salaryMonthHelpfulTip.js b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/salaryMonthHelpfulTip.js
new file mode 100644
index 00000000..91654775
--- /dev/null
+++ b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/components/salaryMonthHelpfulTip.js
@@ -0,0 +1,37 @@
+/*
+ *
+ * 薪资所属月-提示框
+ * @Author: 黎永顺
+ * @Date: 2024/7/15
+ * @Wechat:
+ * @Email: 971387674@qq.com
+ * @description:
+*/
+import React, { Component } from "react";
+import { WeaHelpfulTip, WeaLocaleProvider } from "ecCom";
+
+const getLabel = WeaLocaleProvider.getLabel;
+
+class SalaryMonthHelpfulTip extends Component {
+ render() {
+ const { salarySendDetailBaseInfo = {} } = this.props;
+ const { salarySobCycle: { salaryCycle, taxCycle, attendCycle, socialSecurityCycle } } = salarySendDetailBaseInfo;
+ const { fromDate, endDate } = salaryCycle;
+ const { fromDate: aFromDate, endDate: aEndDate } = attendCycle;
+ return (
+
+ {getLabel(111, "薪资周期")}
+ {fromDate}{getLabel(111, "至")}{endDate}
+ {getLabel(111, "税款所属期")}
+ {taxCycle}
+ {getLabel(111, "考勤取值周期")}
+ {aFromDate}{getLabel(111, "至")}{aEndDate}
+ {getLabel(111, "福利台账月份")}
+ {`${getLabel(111, "引用")}${socialSecurityCycle}${getLabel(111, "的福利台账数据")}`}
+ }/>
+ );
+ }
+}
+
+export default SalaryMonthHelpfulTip;
diff --git a/pc4mobx/hrmSalary/pages/payroll/payrollDetail/index.less b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/index.less
index 01a180a0..c78ed091 100644
--- a/pc4mobx/hrmSalary/pages/payroll/payrollDetail/index.less
+++ b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/index.less
@@ -31,3 +31,75 @@
}
}
}
+
+//查看工资单详情-重构
+.salary-payroll-details-layout {
+ .ant-spin-nested-loading, .ant-spin-container {
+ height: 100%;
+ }
+
+ .salary-payroll-details {
+ padding: 0 16px 16px;
+
+ .salary-tb-tip {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ height: 40px;
+ }
+
+ .salary-payroll-template-name {
+ vertical-align: middle;
+ margin-left: 40px;
+ }
+
+ .label {
+ margin-right: 10px;
+ }
+
+ }
+
+ .searchAdvanced-condition-hide {
+ display: none;
+ }
+
+ .searchAdvanced-condition-container {
+ background: #FFF;
+ margin-bottom: 10px;
+ border: 1px solid #e5e5e5;
+
+ .wea-search-buttons {
+ border-top: 1px solid #dadada;
+ padding: 15px 0;
+ }
+
+ .wea-advanced-searchsAd {
+ height: 246px;
+ overflow: hidden auto;
+
+ .formItem-delete {
+ position: absolute;
+ top: 0;
+ right: -40px;
+ }
+
+ .searchAdvanced-commonSelect {
+ border-top: 1px solid #ebebeb;
+ margin: 0 25px;
+ padding: 10px 0;
+ }
+
+ .custom-advance-largeSpacing {
+ padding-left: 26px;
+
+ .link {
+ border: none;
+ border-radius: 0;
+ padding: 12px 10px 12px 26px;
+ color: #2db7f5
+ }
+ }
+
+ }
+ }
+}
diff --git a/pc4mobx/hrmSalary/pages/payroll/payrollDetail/payrollDetail.js b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/payrollDetail.js
new file mode 100644
index 00000000..99c7fbb8
--- /dev/null
+++ b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/payrollDetail.js
@@ -0,0 +1,106 @@
+/*
+ *
+ * 查看工资单详情-重构页面
+ * @Author: 黎永顺
+ * @Date: 2024/7/15
+ * @Wechat:
+ * @Email: 971387674@qq.com
+ * @description:
+*/
+import React, { Component } from "react";
+import { inject, observer } from "mobx-react";
+import { WeaLocaleProvider, WeaTop } from "ecCom";
+import { Button } from "antd";
+import AdvanceInputBtn from "./components/advanceInputBtn";
+import SalaryMonthHelpfulTip from "./components/salaryMonthHelpfulTip";
+import SalaryDetailSearchPannel from "./components/salaryDetailSearchPannel";
+import SalaryDetailList from "./components/salaryDetailList";
+import { getQueryString } from "../../../util/url";
+import { removePropertyCondition } from "../../../util/response";
+import { sysConfCodeRule } from "../../../apis/ruleconfig";
+import * as API from "../../../apis/payroll";
+import cs from "classnames";
+import "./index.less";
+
+const getLabel = WeaLocaleProvider.getLabel;
+
+@inject("taxAgentStore", "payrollStore")
+@observer
+class PayrollDetail extends Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ salarySendDetailBaseInfo: {}, showSearchAd: false, isQuery: false, conditions: [],
+ showTotalCell: false
+ };
+ }
+
+ async componentDidMount() {
+ const id = getQueryString("id");
+ const { payrollStore: { detailListConditionForm } } = this.props;
+ const [{ data: salarySendDetailBaseInfo }, { data }, { data: confCode }] = await Promise.all([
+ API.getPayrollInfo({ id }), API.getPayrollDetailSa(),
+ sysConfCodeRule({ code: "OPEN_ACCT_RESULT_SUM" })
+ ]);
+ this.setState({
+ salarySendDetailBaseInfo, showTotalCell: confCode === "1",
+ conditions: removePropertyCondition(data.condition)
+ }, () => detailListConditionForm.initFormFields(this.state.conditions));
+ }
+
+ render() {
+ const { salarySendDetailBaseInfo, showSearchAd, conditions, isQuery, showTotalCell } = this.state;
+ const { taxAgentStore: { showOperateBtn }, payrollStore: { salaryTableStore } } = this.props;
+ const { salaryMonth, template } = salarySendDetailBaseInfo;
+ const dropMenuDatas = [
+ {
+ key: "BTN_COLUMN",
+ icon: