diff --git a/pc4mobx/hrmSalary/components/customTab/index.less b/pc4mobx/hrmSalary/components/customTab/index.less index 46edc22f..8216feb0 100644 --- a/pc4mobx/hrmSalary/components/customTab/index.less +++ b/pc4mobx/hrmSalary/components/customTab/index.less @@ -1,5 +1,6 @@ .tabWrapper { display: flex; + border-bottom: 1px solid rgb(234, 234, 234); .weaTab { flex: 1; } @@ -8,7 +9,7 @@ padding-right: 10px; line-height: 47px; height: 47px; - border-bottom: 1px solid rgb(234, 234, 234); + .tabSearchLabel { margin-right: 20px; color: #484848; diff --git a/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js b/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js index 9a2f3235..32f56850 100644 --- a/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js +++ b/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js @@ -156,6 +156,7 @@ export default class CumDeduct extends React.Component { } return newColumn; }); + console.log("newColumns:", newColumns) return newColumns; } @@ -307,7 +308,6 @@ export default class CumDeduct extends React.Component { comsWeaTableStore={tableStore} // table store hasOrder={true} // 是否启用排序 needScroll={true} // 是否启用table内部列表滚动,将自适应到父级高度 - getColumns={this.getColumns} onOperatesClick={this.onOperatesClick.bind(this)} /> diff --git a/pc4mobx/hrmSalary/pages/ledger/index.js b/pc4mobx/hrmSalary/pages/ledger/index.js index ab5ab90f..5315efff 100644 --- a/pc4mobx/hrmSalary/pages/ledger/index.js +++ b/pc4mobx/hrmSalary/pages/ledger/index.js @@ -250,11 +250,9 @@ export default class Ledger extends React.Component { }) } else if(currentStep == 3) { saveAdjustmentRule().then(() => { - nextStep() + this.setState({stepSlideVisible: false}) }) - } else if(currentStep == 4) { - this.setState({stepSlideVisible: false}) - } + } } return ( diff --git a/pc4mobx/hrmSalary/pages/ledger/salaryItemForm.js b/pc4mobx/hrmSalary/pages/ledger/salaryItemForm.js index 07e2ba27..b3554303 100644 --- a/pc4mobx/hrmSalary/pages/ledger/salaryItemForm.js +++ b/pc4mobx/hrmSalary/pages/ledger/salaryItemForm.js @@ -8,6 +8,7 @@ import { inject, observer } from 'mobx-react'; import { toJS } from 'mobx'; import CanMoveItem from './step3/canMoveItem' import UserInfoSelected from './step3/UserInfoSelect' +import PreviewSalaryModal from './step3/previewSalaryModal' @inject('ledgerStore') @@ -16,7 +17,8 @@ export default class SalaryItemForm extends React.Component { constructor(props) { super(props) this.state = { - addCategoryVisible: false + addCategoryVisible: false, + previewVisible: false } const { ledgerStore: { empFieldList }} = this.props; empFieldList(); @@ -54,14 +56,20 @@ export default class SalaryItemForm extends React.Component { setItemGroups(newItemGroups) } + // 预览点击事件 + handlePreview() { + this.setState({previewVisible: true}) + } + render() { const {ledgerStore: {itemGroups, salaryItems, empBrowserList, setAddCategoryVisible, addCategoryVisible}} = this.props; + const { previewVisible } = this.state; return (
例:薪资所属月是2021-11(即核算员工11月的工资)
+例:薪资所属月是{getCurrentYearMonth()}(即核算员工{getCurrentMonth()}月的工资)
根据您当前的选择,相应的周期为:
2021-11-01至2021-11-30
+{this.getStartDate(salaryCycleType, salaryCycleFromDay)}至{this.getMonth(salaryCycleType)}-30
2021-12
+{this.getMonth(taxCycleType)}
2021-11-01至2021-11-30
+{this.getStartDate(attendCycleType, attendCycleFromDay)}至{this.getMonth(attendCycleType)}-30
引用2021-11的福利台账数据
+引用{this.getMonth(socialSecurityCycleType)}的福利台账数据