From 61f2b764406121d4e8d251e6ebb75f8b12cff28a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Wed, 13 Dec 2023 11:12:18 +0800 Subject: [PATCH 1/6] =?UTF-8?q?feature/2.9.10.2312.02-=E7=A4=BE=E4=BF=9D?= =?UTF-8?q?=E6=A1=A3=E6=A1=88=E4=B8=AA=E4=BA=BA=E5=92=8C=E5=85=AC=E5=8F=B8?= =?UTF-8?q?=E5=9F=BA=E6=95=B0=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/apis/archive.js | 5 +++++ pc4mobx/hrmSalary/pages/ruleConfig/index.js | 25 +++++++++++++++++---- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/pc4mobx/hrmSalary/apis/archive.js b/pc4mobx/hrmSalary/apis/archive.js index a8a0516b..6faaad01 100644 --- a/pc4mobx/hrmSalary/apis/archive.js +++ b/pc4mobx/hrmSalary/apis/archive.js @@ -1,9 +1,14 @@ import { WeaTools } from "ecCom"; +import { postFetch } from "../util/request"; //薪资档案-薪资档案列表 export const getArchiveList = params => { return postFetch("/api/bs/hrmsalary/salaryArchive/list", params); }; +//薪资档案的高级搜索 +export const getSaCondition = params => { + return WeaTools.callApi("/api/bs/hrmsalary/archives/getSearchCondition", "get", params); +}; //薪资档案-获取薪资档案详情表单 export const getArchiveForm = params => { return WeaTools.callApi("/api/bs/hrmsalary/salaryArchive/getForm", "get", params); diff --git a/pc4mobx/hrmSalary/pages/ruleConfig/index.js b/pc4mobx/hrmSalary/pages/ruleConfig/index.js index 6a2bf87a..893afa11 100644 --- a/pc4mobx/hrmSalary/pages/ruleConfig/index.js +++ b/pc4mobx/hrmSalary/pages/ruleConfig/index.js @@ -38,7 +38,8 @@ export default class Index extends Component { confValue: "0", withDrawTaxDeclaration: "0", extEmpsWitch: "0", - salaryAcctFixedColumns: 0 + salaryAcctFixedColumns: 0, + welBaseDiffByPerAndCom: "0", }, showEncryptOperationButton: "", progressVisible: false, @@ -66,7 +67,8 @@ export default class Index extends Component { ascOrDesc = "", orderRule = "", showEncryptOperationButton, matchEmployeeMode: rule = "", taxDeclarationFunction: operateTaxDeclaration = "1", salaryArchiveDelete: confValue, salaryAcctEmployeeRule: matchRule, WITHDRAW_TAX_DECLARATION: withDrawTaxDeclaration = "0", - OPEN_APPLICATION_ENCRYPT: enctry = "1", extEmpsWitch = "0", salaryAcctFixedColumns = "0" + OPEN_APPLICATION_ENCRYPT: enctry = "1", extEmpsWitch = "0", salaryAcctFixedColumns = "0", + welBaseDiffByPerAndCom = "0", } } = sysInfo; // const { data: { ascOrDesc, orderRule } } = orderRules; @@ -87,7 +89,8 @@ export default class Index extends Component { saveParams: { ...saveParams, ascOrDesc, orderRule, rule, enctry, matchRule, confValue, withDrawTaxDeclaration, salaryAcctFixedColumns, - extEmpsWitch, operateTaxDeclaration: (operateTaxDeclaration && operateTaxDeclaration !== "0") ? "1" : "0" + extEmpsWitch, operateTaxDeclaration: (operateTaxDeclaration && operateTaxDeclaration !== "0") ? "1" : "0", + welBaseDiffByPerAndCom } }); } @@ -307,6 +310,13 @@ export default class Index extends Component { confValue: !_.isNil(val) ? val.toString() : "0" }); break; + case "welBaseDiffByPerAndCom": + this.saveSysOperate({ + title: getLabel(111, "福利档案基数区分个人和公司"), + module: "basic", confKey: key, + confValue: val + }); + break; default: break; } @@ -342,7 +352,8 @@ export default class Index extends Component { confValue, withDrawTaxDeclaration, extEmpsWitch, - salaryAcctFixedColumns + salaryAcctFixedColumns, + welBaseDiffByPerAndCom } = saveParams; return (
@@ -398,6 +409,12 @@ export default class Index extends Component { onChange={val => this.handleChange("confValue", val)}/> + + + this.handleChange("welBaseDiffByPerAndCom", val)}/> + + Date: Wed, 13 Dec 2023 17:21:16 +0800 Subject: [PATCH 2/6] =?UTF-8?q?feature/2.9.10.2312.02-=E7=A4=BE=E4=BF=9D?= =?UTF-8?q?=E6=A1=A3=E6=A1=88=E4=B8=AA=E4=BA=BA=E5=92=8C=E5=85=AC=E5=8F=B8?= =?UTF-8?q?=E5=9F=BA=E6=95=B0=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/socialSecurityBenefits/welfareArchive/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js index b87b8299..641b282e 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js @@ -666,6 +666,7 @@ export const getWelfareSearchsForm = (form, condition, onChange = () => void (0) />; }; const { socialBase, fundBase, otherBase, runStatuses } = extraFormField; + console.log(socialBase); const { isFormInit } = form; const formParams = form.getFormParams(); let group = []; From 8c061711903a2df4469def091864793ce2bfa8e7 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, 14 Dec 2023 09:54:27 +0800 Subject: [PATCH 3/6] =?UTF-8?q?feature/2.9.10.2312.02-=E7=A4=BE=E4=BF=9D?= =?UTF-8?q?=E6=A1=A3=E6=A1=88=E4=B8=AA=E4=BA=BA=E5=92=8C=E5=85=AC=E5=8F=B8?= =?UTF-8?q?=E5=9F=BA=E6=95=B0=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../socialSecurityBenefits/welfareArchive/config.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js index 641b282e..162a6af1 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js @@ -696,8 +696,8 @@ export const getWelfareSearchsForm = (form, condition, onChange = () => void (0) return _.reduce(group, (pre, cur) => { if (cur.props.title === getLabel(543194, "社保基础信息") && _.every(socialBase.items, o => o.items.length > 0)) { return [...pre, cur, - ]; + ]; } else if (cur.props.title === getLabel(543197, "公积金基础信息") && _.every(fundBase.items, o => o.items.length > 0)) { return [...pre, cur, void (0) }; const BenefitBaseComponent = (props) => { - const { dataSource, value, onChange, onSameChange, runStatuses } = props; + const { dataSource, dataSourceCom, value, onChange, onSameChange, runStatuses } = props; + const [comFields] = dataSourceCom || []; + const list = !_.isNil(comFields) ? _.map(dataSource, o => ({ + ...o, + items: [...o.items, ...comFields.items] + })) : dataSource; + console.log(list); return { _.map(dataSource, item => { From cf47cdeb56cb7965b1e7566141e2dfda17007ff4 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, 14 Dec 2023 14:14:32 +0800 Subject: [PATCH 4/6] =?UTF-8?q?feature/2.9.10.2312.02-=E7=A4=BE=E4=BF=9D?= =?UTF-8?q?=E6=A1=A3=E6=A1=88=E4=B8=AA=E4=BA=BA=E5=92=8C=E5=85=AC=E5=8F=B8?= =?UTF-8?q?=E5=9F=BA=E6=95=B0=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../welfareEditArchiveSlide/index.js | 37 ++++++++-- .../components/welfareTableList/index.js | 20 +++++- .../welfareArchive/config.js | 72 ++++++++++++++----- 3 files changed, 104 insertions(+), 25 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareEditArchiveSlide/index.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareEditArchiveSlide/index.js index fef6d30f..fd20049f 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareEditArchiveSlide/index.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareEditArchiveSlide/index.js @@ -43,13 +43,33 @@ class Index extends Component { archivesStore: { welfareProfileForm }, socialBase, fundBase, otherBase, runStatuses, employeeId, paymentOrganization, socialBaseData, fundBaseData, othersBaseData } = props; + let socialComData = {}, fundComData = {}, otherComData = {}; + if (!_.isNil(socialBase.comItems) && !_.isNil(socialBase.comData)) { + _.forEach(getConditionDomkeys(socialBase.comItems), o => ({ + ...socialComData, + [`${o}_com`]: socialBase.comData[o] + })); + } + if (!_.isNil(fundBase.comItems) && !_.isNil(fundBase.comData)) { + _.forEach(getConditionDomkeys(fundBase.comItems), o => ({ + ...fundComData, + [`${o}_com`]: fundBase.comData[o] + })); + } + if (!_.isNil(otherBase.comItems) && !_.isNil(otherBase.comData)) { + _.forEach(getConditionDomkeys(otherBase.comItems), o => ({ + ...otherComData, + [`${o}_com`]: otherBase.comData[o] + })); + } const payload = { employeeId, paymentOrganization, welfareTypeEnum: "" }; API.getBaseForm(payload).then(({ status, data }) => { if (status) { const { data: result } = data; const formData = { ...result, ...socialBaseData, ...fundBaseData, ...othersBaseData, - ...socialBase.data, ...fundBase.data, ...otherBase.data + ...socialBase.data, ...fundBase.data, ...otherBase.data, + ...socialComData, ...fundComData, ...otherComData }; this.setState({ formData, @@ -120,7 +140,7 @@ class Index extends Component { } }); }; - covertPayload = (welfareType, underTakeType, paymentForm) => { + covertPayload = (welfareType, underTakeType, paymentForm, paymentComForm) => { const { archivesStore: { welfareProfileForm } } = this.props; const welfareData = welfareProfileForm.getFormParams(); const { formData } = this.state; @@ -136,13 +156,20 @@ class Index extends Component { if (formData[cur] || formData[cur] === 0) return { ...pre, [cur]: toDecimal_n(formData[cur], 2).toString() }; return { ...pre, [cur]: "0" }; }, {})) : "", + paymentComForm: !_.isEmpty(paymentComForm) ? JSON.stringify(_.reduce(paymentComForm, (pre, cur) => { + if (formData[`${cur}_com`] || formData[`${cur}_com`] === 0) return { + ...pre, + [cur]: toDecimal_n(formData[`${cur}_com`], 2).toString() + }; + return { ...pre, [cur]: "0" }; + }, {})) : "", welfareType, validate: welfareData[`${underTakeType}SchemeId`] ? !!welfareData[`${underTakeType}StartTime`] : true }; }; save = async () => { - const socailPayload = this.covertPayload("SOCIAL_SECURITY", "social", getConditionDomkeys(this.props.socialBase.items)), - fundPayload = this.covertPayload("ACCUMULATION_FUND", "fund", getConditionDomkeys(this.props.fundBase.items)), - otherPayload = this.covertPayload("OTHER", "other", getConditionDomkeys(this.props.otherBase.items)); + const socailPayload = this.covertPayload("SOCIAL_SECURITY", "social", getConditionDomkeys(this.props.socialBase.items), getConditionDomkeys(this.props.socialBase.comItems || [])), + fundPayload = this.covertPayload("ACCUMULATION_FUND", "fund", getConditionDomkeys(this.props.fundBase.items), getConditionDomkeys(this.props.fundBase.comItems || [])), + otherPayload = this.covertPayload("OTHER", "other", getConditionDomkeys(this.props.otherBase.items), getConditionDomkeys(this.props.otherBase.comItems || [])); if (!(socailPayload.validate && fundPayload.validate && otherPayload.validate)) { message.warning(getLabel(111, "请维护起始缴纳月!")); return; diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareTableList/index.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareTableList/index.js index 7abea7c9..ae5ed977 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareTableList/index.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareTableList/index.js @@ -240,11 +240,11 @@ class Index extends Component { this.getPaymentForm({ ...payload, welfareTypeEnum: welfareTypeEnum[type], schemeId }) .then(({ status, data }) => { if (status) { - const { data: defVal, items } = data; + const { data: defVal, items, comData, comItems } = data; this.setState({ welfareEditSlide: { ...this.state.welfareEditSlide, [`${type}Base`]: data } }, () => { - this.archiveSlideRef.wrappedInstance.updateFormData(_.reduce(getConditionDomkeys(items), (pre, cur) => { + const perData = _.reduce(getConditionDomkeys(items), (pre, cur) => { const minNum = !_.isNil(getConditionFields(items)[cur].min) ? Number(getConditionFields(items)[cur].min) : undefined, maxNum = !_.isNil(getConditionFields(items)[cur].max) ? Number(getConditionFields(items)[cur].max) : undefined; const val = !_.isNil(defVal) ? Number(defVal[cur]) : 0; @@ -252,7 +252,21 @@ class Index extends Component { ...pre, [cur]: (val < minNum && !!minNum) ? minNum : (val > maxNum && !!maxNum) ? maxNum : val }; - }, {})); + }, {}); + if (!_.isNil(comItems)) { + const comDataTmpv = _.reduce(getConditionDomkeys(comItems), (pre, cur) => { + const minNum = !_.isNil(getConditionFields(comItems)[cur].min) ? Number(getConditionFields(comItems)[cur].min) : undefined, + maxNum = !_.isNil(getConditionFields(comItems)[cur].max) ? Number(getConditionFields(comItems)[cur].max) : undefined; + const val = !_.isNil(comData) ? Number(comData[cur]) : 0; + return { + ...pre, + [`${cur}_com`]: (val < minNum && !!minNum) ? minNum : (val > maxNum && !!maxNum) ? maxNum : val + }; + }, {}); + this.archiveSlideRef.wrappedInstance.updateFormData({ ...perData, ...comDataTmpv }); + return; + } + this.archiveSlideRef.wrappedInstance.updateFormData({ ...perData }); }); } }); diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js index 162a6af1..17c79b3e 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js @@ -666,7 +666,6 @@ export const getWelfareSearchsForm = (form, condition, onChange = () => void (0) />; }; const { socialBase, fundBase, otherBase, runStatuses } = extraFormField; - console.log(socialBase); const { isFormInit } = form; const formParams = form.getFormParams(); let group = []; @@ -695,30 +694,69 @@ export const getWelfareSearchsForm = (form, condition, onChange = () => void (0) }); return _.reduce(group, (pre, cur) => { if (cur.props.title === getLabel(543194, "社保基础信息") && _.every(socialBase.items, o => o.items.length > 0)) { - return [...pre, cur, - ]; + if (!_.isNil(socialBase.comItems) && _.every(socialBase.comItems, o => o.items.length > 0)) { + return [ + ...pre, cur, + ({ ...o, title: `${o.title}(${getLabel(500201, "个人")})` }))} + value={payload} onChange={onExtraChange} onSameChange={onSameChange} runStatuses={runStatuses}/>, + ({ + ...o, title: `${o.title}(${getLabel(1851, "公司")})`, + items: _.map(o.items, g => ({ ...g, domkey: [`${getKey(g)}_com`] })) + }))} + value={payload} onChange={onExtraChange} onSameChange={onSameChange} runStatuses={runStatuses}/> + ]; + } else { + return [...pre, cur, + ]; + } } else if (cur.props.title === getLabel(543197, "公积金基础信息") && _.every(fundBase.items, o => o.items.length > 0)) { - return [...pre, cur, - ]; + if (!_.isNil(fundBase.comItems) && _.every(fundBase.comItems, o => o.items.length > 0)) { + return [ + ...pre, cur, + ({ ...o, title: `${o.title}(${getLabel(500201, "个人")})` }))} + value={payload} onChange={onExtraChange} onSameChange={onSameChange} runStatuses={runStatuses}/>, + ({ + ...o, title: `${o.title}(${getLabel(1851, "公司")})`, + items: _.map(o.items, g => ({ ...g, domkey: [`${getKey(g)}_com`] })) + }))} + value={payload} onChange={onExtraChange} onSameChange={onSameChange} runStatuses={runStatuses}/> + ]; + } else { + return [...pre, cur, + ]; + } } else if (cur.props.title === getLabel(543198, "其他福利基础信息") && _.every(otherBase.items, o => o.items.length > 0)) { - return [...pre, cur, - ]; + if (!_.isNil(fundBase.comItems) && _.every(fundBase.comItems, o => o.items.length > 0)) { + return [ + ...pre, cur, + ({ ...o, title: `${o.title}(${getLabel(500201, "个人")})` }))} + value={payload} onChange={onExtraChange} onSameChange={onSameChange} runStatuses={runStatuses}/>, + ({ + ...o, title: `${o.title}(${getLabel(1851, "公司")})`, + items: _.map(o.items, g => ({ ...g, domkey: [`${getKey(g)}_com`] })) + }))} + value={payload} onChange={onExtraChange} onSameChange={onSameChange} runStatuses={runStatuses}/> + ]; + } else { + return [...pre, cur, + ]; + } } return [...pre, cur]; }, []); }; const BenefitBaseComponent = (props) => { - const { dataSource, dataSourceCom, value, onChange, onSameChange, runStatuses } = props; - const [comFields] = dataSourceCom || []; - const list = !_.isNil(comFields) ? _.map(dataSource, o => ({ - ...o, - items: [...o.items, ...comFields.items] - })) : dataSource; - console.log(list); + const { dataSource, value, onChange, onSameChange, runStatuses } = props; return { _.map(dataSource, item => { From 446aaf2cad3e8f2c7f079b2cd2ff450fb9900e10 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, 15 Dec 2023 13:37:21 +0800 Subject: [PATCH 5/6] =?UTF-8?q?feature/2.9.10.2312.02-=E7=A4=BE=E4=BF=9D?= =?UTF-8?q?=E6=A1=A3=E6=A1=88=E4=B8=AA=E4=BA=BA=E5=92=8C=E5=85=AC=E5=8F=B8?= =?UTF-8?q?=E5=9F=BA=E6=95=B0=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../welfareEditArchiveSlide/index.js | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareEditArchiveSlide/index.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareEditArchiveSlide/index.js index fd20049f..4e7c7836 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareEditArchiveSlide/index.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareEditArchiveSlide/index.js @@ -45,22 +45,28 @@ class Index extends Component { } = props; let socialComData = {}, fundComData = {}, otherComData = {}; if (!_.isNil(socialBase.comItems) && !_.isNil(socialBase.comData)) { - _.forEach(getConditionDomkeys(socialBase.comItems), o => ({ - ...socialComData, - [`${o}_com`]: socialBase.comData[o] - })); + _.forEach(getConditionDomkeys(socialBase.comItems), o => { + socialComData = { + ...socialComData, + [`${o}_com`]: socialBase.comData[o] + }; + }); } if (!_.isNil(fundBase.comItems) && !_.isNil(fundBase.comData)) { - _.forEach(getConditionDomkeys(fundBase.comItems), o => ({ - ...fundComData, - [`${o}_com`]: fundBase.comData[o] - })); + _.forEach(getConditionDomkeys(fundBase.comItems), o => { + fundComData = { + ...fundComData, + [`${o}_com`]: fundBase.comData[o] + }; + }); } if (!_.isNil(otherBase.comItems) && !_.isNil(otherBase.comData)) { - _.forEach(getConditionDomkeys(otherBase.comItems), o => ({ - ...otherComData, - [`${o}_com`]: otherBase.comData[o] - })); + _.forEach(getConditionDomkeys(otherBase.comItems), o => { + otherComData = { + ...otherComData, + [`${o}_com`]: otherBase.comData[o] + }; + }); } const payload = { employeeId, paymentOrganization, welfareTypeEnum: "" }; API.getBaseForm(payload).then(({ status, data }) => { From 1a8c6d59241667202a9bf9f06dc71986abb3df17 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, 29 Dec 2023 10:04:54 +0800 Subject: [PATCH 6/6] =?UTF-8?q?feature/2.9.10.2312.02-=E7=A4=BE=E4=BF=9D?= =?UTF-8?q?=E6=A1=A3=E6=A1=88=E4=B8=AA=E4=BA=BA=E5=92=8C=E5=85=AC=E5=8F=B8?= =?UTF-8?q?=E5=9F=BA=E6=95=B0=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/socialSecurityBenefits/welfareArchive/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js index 17c79b3e..911e5913 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js @@ -732,7 +732,7 @@ export const getWelfareSearchsForm = (form, condition, onChange = () => void (0) onSameChange={onSameChange} runStatuses={runStatuses}/>]; } } else if (cur.props.title === getLabel(543198, "其他福利基础信息") && _.every(otherBase.items, o => o.items.length > 0)) { - if (!_.isNil(fundBase.comItems) && _.every(fundBase.comItems, o => o.items.length > 0)) { + if (!_.isNil(otherBase.comItems) && _.every(otherBase.comItems, o => o.items.length > 0)) { return [ ...pre, cur,