From e3e9e8533865a84a0600d64eee3d46cf65c97255 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, 5 Jan 2024 14:47:08 +0800 Subject: [PATCH] =?UTF-8?q?custom/=E9=99=95=E8=A5=BF=E4=B8=87=E4=BC=97-?= =?UTF-8?q?=E8=96=AA=E8=B5=84=E8=B4=A6=E5=A5=97=E8=96=AA=E8=B5=84=E6=A0=B8?= =?UTF-8?q?=E7=AE=97=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../doCalc/components/salaryEditCalc/index.js | 11 ++++++---- .../salaryEditCalc/sxwzEstablishTemp.js | 22 +++++++++++++++++++ 2 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/sxwzEstablishTemp.js diff --git a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/index.js b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/index.js index b05643f1..2611aff9 100644 --- a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/index.js +++ b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/index.js @@ -20,8 +20,11 @@ class Index extends Component { constructor(props) { super(props); this.state = { - salarySobCycle: {}, showSearchAd: false, selectedKey: "", - columnDesc: {}, formulaTd: "", showTotalCell: false + salarySobCycle: {}, showSearchAd: false, selectedKey: "calc-", + columnDesc: {}, formulaTd: "", showTotalCell: false, + tabInfo: [ + { tabKey: "calc-", title: getLabel(111, "默认"), editable: false } + ] }; } @@ -53,14 +56,14 @@ class Index extends Component { }; render() { - const { salarySobCycle, showSearchAd, formulaTd, columnDesc, showTotalCell, selectedKey } = this.state; + const { salarySobCycle, showSearchAd, formulaTd, columnDesc, showTotalCell, selectedKey, tabInfo } = this.state; const { routeParams: { salaryAcctRecordId } } = this.props; const formulaObj = _.get(columnDesc, [formulaTd]) || {}; return (