custom/陕西万众-薪资账套薪资核算配置

This commit is contained in:
黎永顺 2024-01-05 14:47:08 +08:00
parent 08d4ed70ba
commit e3e9e85338
2 changed files with 29 additions and 4 deletions

View File

@ -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 (
<div className="salary-edit-calc-content">
<div className="sxwz-tab-edit-wrapper">
<WeaTab
datas={[]} keyParam="viewcondition" selectedKey={selectedKey} showAddBtn
datas={tabInfo} keyParam="tabKey" selectedKey={selectedKey} showAddBtn
buttons={[<div>
<span>{getLabel(542604, "薪资所属月")}</span>
<span>{salarySobCycle.salaryMonth}</span>

View File

@ -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 (
<div>
</div>
);
}
}
export default SxwzEstablishTemp;