custom/陕西万众-薪资账套薪资核算配置
This commit is contained in:
parent
f808856de6
commit
08d4ed70ba
|
|
@ -5,8 +5,7 @@
|
||||||
* Date: 2023/9/14
|
* Date: 2023/9/14
|
||||||
*/
|
*/
|
||||||
import React, { Component } from "react";
|
import React, { Component } from "react";
|
||||||
import { WeaHelpfulTip, WeaLocaleProvider } from "ecCom";
|
import { WeaHelpfulTip, WeaLocaleProvider, WeaTab } from "ecCom";
|
||||||
import { Button } from "antd";
|
|
||||||
import { getColumnDesc, getSalarySobCycle } from "../../../../../apis/calculate";
|
import { getColumnDesc, getSalarySobCycle } from "../../../../../apis/calculate";
|
||||||
import { sysConfCodeRule } from "../../../../../apis/ruleconfig";
|
import { sysConfCodeRule } from "../../../../../apis/ruleconfig";
|
||||||
import EditCalcAdvanceSearchPannel from "./editCalcAdvanceSearchPannel";
|
import EditCalcAdvanceSearchPannel from "./editCalcAdvanceSearchPannel";
|
||||||
|
|
@ -21,7 +20,7 @@ class Index extends Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
this.state = {
|
this.state = {
|
||||||
salarySobCycle: {}, showSearchAd: false,
|
salarySobCycle: {}, showSearchAd: false, selectedKey: "",
|
||||||
columnDesc: {}, formulaTd: "", showTotalCell: false
|
columnDesc: {}, formulaTd: "", showTotalCell: false
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -54,22 +53,26 @@ class Index extends Component {
|
||||||
};
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { salarySobCycle, showSearchAd, formulaTd, columnDesc, showTotalCell } = this.state;
|
const { salarySobCycle, showSearchAd, formulaTd, columnDesc, showTotalCell, selectedKey } = this.state;
|
||||||
const { routeParams: { salaryAcctRecordId } } = this.props;
|
const { routeParams: { salaryAcctRecordId } } = this.props;
|
||||||
const formulaObj = _.get(columnDesc, [formulaTd]) || {};
|
const formulaObj = _.get(columnDesc, [formulaTd]) || {};
|
||||||
return (
|
return (
|
||||||
<div className="salary-edit-calc-content">
|
<div className="salary-edit-calc-content">
|
||||||
<div className="salary-flex-between weapp-salary-tb-tip">
|
<div className="sxwz-tab-edit-wrapper">
|
||||||
<div>
|
<WeaTab
|
||||||
<span>{getLabel(542604, "薪资所属月")}:</span>
|
datas={[]} keyParam="viewcondition" selectedKey={selectedKey} showAddBtn
|
||||||
<span>{salarySobCycle.salaryMonth}</span>
|
buttons={[<div>
|
||||||
<WeaHelpfulTip
|
<span>{getLabel(542604, "薪资所属月")}:</span>
|
||||||
width={200} placement="topLeft"
|
<span>{salarySobCycle.salaryMonth}</span>
|
||||||
title={<SalaryMonthTip {...salarySobCycle}/>}
|
<WeaHelpfulTip
|
||||||
style={{ marginLeft: 10 }}
|
width={200} placement="topLeft"
|
||||||
/>
|
title={<SalaryMonthTip {...salarySobCycle}/>}
|
||||||
</div>
|
style={{ marginLeft: 10 }}
|
||||||
<div></div>
|
/>
|
||||||
|
</div>]} leftStyle={{ width: "calc(100% - 180px)" }}
|
||||||
|
type="editable-inline"
|
||||||
|
onChange={(v) => this.setState({ selectedKey: v })}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="salary-flex-between formula-detail-area">
|
<div className="salary-flex-between formula-detail-area">
|
||||||
<div className="formula-detail">
|
<div className="formula-detail">
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,12 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
//陕西万众
|
||||||
|
.sxwz-tab-edit-wrapper {
|
||||||
|
.wea-tab .wea-tab-right {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.salary-flex-between {
|
.salary-flex-between {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue