From a9ea77b9a84efa7c4bf36b85b45cb79edc5366c8 Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Thu, 20 Mar 2025 13:46:32 +0800 Subject: [PATCH] =?UTF-8?q?custom-=E4=B8=AD=E8=88=AA=E5=AF=8C=E5=A3=AB?= =?UTF-8?q?=E8=BE=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/pages/ruleConfig/conditions.js | 9 +++++++++ pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pc4mobx/hrmSalary/pages/ruleConfig/conditions.js b/pc4mobx/hrmSalary/pages/ruleConfig/conditions.js index 43fd37fa..967fb536 100644 --- a/pc4mobx/hrmSalary/pages/ruleConfig/conditions.js +++ b/pc4mobx/hrmSalary/pages/ruleConfig/conditions.js @@ -206,6 +206,15 @@ export const conditions = [ lanId: 111, labelcol: 8, viewAttr: 2 + }, + { + conditionType: "SWITCH", + domkey: ["ACCT_FILE_ADD_UP_SITUATION"], + fieldcol: 10, + label: "是否核算归档时生成往期累计", + lanId: 111, + labelcol: 8, + viewAttr: 2 } ], title: "薪资核算", diff --git a/pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js b/pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js index 2608bb44..901765ca 100644 --- a/pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js +++ b/pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js @@ -164,6 +164,7 @@ class RuleConfig extends Component { case "TAX_DECLARATION_DATE_TYPE": case "SHOT_EMP_BTN": case "SALARY_ACCT_SYNC_TYPE": + case "ACCT_FILE_ADD_UP_SITUATION": if (!this.handleDebounce) { this.handleDebounce = _.debounce(() => { const confTitle = { @@ -184,7 +185,8 @@ class RuleConfig extends Component { ATTENDANCE_SERIAL_COLLECTION_BTN: getLabel(111, "考勤引用是否采集班次数据"), TAX_DECLARATION_DATE_TYPE: getLabel(111, "申报日期类型"), SHOT_EMP_BTN: getLabel(111, "启用组织快照"), - SALARY_ACCT_SYNC_TYPE: getLabel(111, "是否采用线程池") + SALARY_ACCT_SYNC_TYPE: getLabel(111, "是否采用线程池"), + ACCT_FILE_ADD_UP_SITUATION: getLabel(111, "是否核算归档时生成往期累计") }; this.unifiedSettings(key, confTitle[key]); this.handleDebounce = null;