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