{
- return (
-
- );
- }
- }
- ] : [...columns]}
- dataSource={dataSource}
- loading={loading.query}
- pagination={pagination}
- rowSelection={rowSelection}
- scroll={{ x: 900 }}
- />
+
+
+
);
}
}
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regression.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regression.js
index 841500e9..e525dd28 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regression.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regression.js
@@ -134,7 +134,7 @@ class Regression extends Component {
selectKey={selectKey}
/>
-
+ {/**/}
this.regListRef = dom}
@@ -152,7 +152,7 @@ class Regression extends Component {
onCancel={this.handleCloseModal}
onSave={this.handleSave}
/>
-
+ {/**/}
);
From 37f60c287558c08fab34aee7c4ce9db099360547 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, 6 Apr 2023 13:30:23 +0800
Subject: [PATCH 4/5] =?UTF-8?q?=E7=A4=BE=E4=BF=9D=E7=A6=8F=E5=88=A9?=
=?UTF-8?q?=E5=8F=B0=E8=B4=A6=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2=E6=9B=BF?=
=?UTF-8?q?=E6=8D=A2=E8=A1=A8=E6=A0=BC=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=90=88?=
=?UTF-8?q?=E8=AE=A1=E8=A1=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../standingBookDetail/components/normal.js | 6 +++--
.../standingBookDetail/components/regList.js | 22 ++++++++++++++-----
2 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js
index 8efddabf..e10d3591 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js
@@ -115,12 +115,14 @@ export default class NormalIndex extends Component {
return sysConfCodeRule({ code: "OPEN_ACCT_RESULT_SUM" });
};
siaccountDetailCommonListSum = () => {
+ const { searchValue: userName } = this.state;
const { billMonth, paymentOrganization } = this.props;
- return siaccountDetailCommonListSum({ billMonth, paymentOrganization });
+ return siaccountDetailCommonListSum({ billMonth, paymentOrganization, userName });
};
siaccountDetailSupplementaryListSum = () => {
+ const { searchValue: userName } = this.state;
const { billMonth, paymentOrganization } = this.props;
- return siaccountDetailSupplementaryListSum({ billMonth, paymentOrganization });
+ return siaccountDetailSupplementaryListSum({ billMonth, paymentOrganization, userName });
};
componentWillUnmount() {
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regList.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regList.js
index 3c24e94e..477de105 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regList.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regList.js
@@ -79,15 +79,19 @@ class RegList extends Component {
sysConfCodeRule = () => {
return sysConfCodeRule({ code: "OPEN_ACCT_RESULT_SUM" });
};
- siaccountDetailRecessionListSum = () => {
+ siaccountDetailRecessionListSum = (module = {}) => {
+ const paymentStatus = "3";
+ const creator = Number(getQueryString("creator"));
const billMonth = getQueryString("billMonth");
const paymentOrganization = getQueryString("paymentOrganization");
- return siaccountDetailRecessionListSum({ billMonth, paymentOrganization });
+ return siaccountDetailRecessionListSum({ creator, paymentStatus, billMonth, paymentOrganization, ...module });
};
- siaccountDetailBalanceListSum = () => {
+ siaccountDetailBalanceListSum = (module = {}) => {
+ const paymentStatus = "3";
+ const creator = Number(getQueryString("creator"));
const billMonth = getQueryString("billMonth");
const paymentOrganization = getQueryString("paymentOrganization");
- return siaccountDetailBalanceListSum({ billMonth, paymentOrganization });
+ return siaccountDetailBalanceListSum({ creator, paymentStatus, billMonth, paymentOrganization, ...module });
};
componentWillReceiveProps(nextProps, nextContext) {
@@ -103,8 +107,12 @@ class RegList extends Component {
handleResetSelectRowKeys = (selectedRowKeys) => {
this.setState({ selectedRowKeys });
};
- recessionList = (module) => {
+ recessionList = async (module) => {
const { type } = this.props;
+ const { status: sysStatus, data: sysData } = await this.sysConfCodeRule();
+ const { data: { sumRow: siaccountSum } } = type === "regression" ?
+ await this.siaccountDetailRecessionListSum({ ...module }) :
+ await this.siaccountDetailBalanceListSum({ ...module });
const { loading, pageInfo } = this.state;
const billMonth = getQueryString("billMonth");
const paymentOrganization = getQueryString("paymentOrganization");
@@ -125,7 +133,9 @@ class RegList extends Component {
this.setState({
pageInfo: { ...pageInfo, current, pageSize, total },
dataSource,
- columns
+ columns,
+ showSum: sysStatus && sysData === "1",
+ siaccountSum
}, () => this.postMessageToChild());
}
}).catch(() => {
From f9eb7b9a1d30ea8d66830add6627da13ff54ab8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Fri, 7 Apr 2023 17:27:20 +0800
Subject: [PATCH 5/5] =?UTF-8?q?=E4=BA=A7=E5=93=81=E8=96=AA=E8=B5=84?=
=?UTF-8?q?=E8=B4=A6=E5=A5=97-=E7=A4=BE=E4=BF=9D=E7=A6=8F=E5=88=A9?=
=?UTF-8?q?=E5=8F=B0=E8=B4=A6=E6=A0=B8=E7=AE=97=E6=80=BB=E8=AE=A1=E8=A1=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../standingBookDetail/components/normal.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js
index e10d3591..9f67ea87 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js
@@ -116,12 +116,14 @@ export default class NormalIndex extends Component {
};
siaccountDetailCommonListSum = () => {
const { searchValue: userName } = this.state;
- const { billMonth, paymentOrganization } = this.props;
+ const billMonth = getQueryString("billMonth");
+ const paymentOrganization = getQueryString("paymentOrganization");
return siaccountDetailCommonListSum({ billMonth, paymentOrganization, userName });
};
siaccountDetailSupplementaryListSum = () => {
const { searchValue: userName } = this.state;
- const { billMonth, paymentOrganization } = this.props;
+ const billMonth = getQueryString("billMonth");
+ const paymentOrganization = getQueryString("paymentOrganization");
return siaccountDetailSupplementaryListSum({ billMonth, paymentOrganization, userName });
};