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 (
{getLabel(542604, "薪资所属月")}: {salarySobCycle.salaryMonth} diff --git a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/sxwzEstablishTemp.js b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/sxwzEstablishTemp.js new file mode 100644 index 00000000..67d4f32e --- /dev/null +++ b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/sxwzEstablishTemp.js @@ -0,0 +1,22 @@ +/* + * Author: 黎永顺 + * name:陕西万众-创建模板 + * Description: + * Date: 2024/1/5 + */ +import React, { Component } from "react"; +import { WeaLocaleProvider } from "ecCom"; + +const getLabel = WeaLocaleProvider.getLabel; + +class SxwzEstablishTemp extends Component { + render() { + return ( +
+ +
+ ); + } +} + +export default SxwzEstablishTemp;