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 (