diff --git a/pc4mobx/hrmSalary/pages/payroll/components/waterMarkSetModal.js b/pc4mobx/hrmSalary/pages/payroll/components/waterMarkSetModal.js index aeaee2aa..927e1fbd 100644 --- a/pc4mobx/hrmSalary/pages/payroll/components/waterMarkSetModal.js +++ b/pc4mobx/hrmSalary/pages/payroll/components/waterMarkSetModal.js @@ -8,6 +8,7 @@ import React, { Component } from "react"; import { WeaError, WeaFormItem, + WeaHelpfulTip, WeaInputNumber, WeaLocaleProvider, WeaSearchGroup, @@ -100,14 +101,18 @@ class WaterMarkSetModal extends Component { - this.setState({ wmClassify })} - /> +
+ this.setState({ wmClassify })} + /> + +
{ diff --git a/pc4mobx/hrmSalary/pages/payroll/index.js b/pc4mobx/hrmSalary/pages/payroll/index.js index 75fe7f6f..c974b699 100644 --- a/pc4mobx/hrmSalary/pages/payroll/index.js +++ b/pc4mobx/hrmSalary/pages/payroll/index.js @@ -351,9 +351,11 @@ export default class Payroll extends React.Component { { this.setState({ templateSearchValue: value }); - }} onSearch={(value) => { - this.handleTemplateSearch(value); - }}/> + }} + onSearch={(value) => { + this.handleTemplateSearch(value); + }} + /> ); } else if (this.state.selectedKey === "2") { diff --git a/pc4mobx/hrmSalary/pages/ruleConfig/index.js b/pc4mobx/hrmSalary/pages/ruleConfig/index.js index 675273ea..6f088528 100644 --- a/pc4mobx/hrmSalary/pages/ruleConfig/index.js +++ b/pc4mobx/hrmSalary/pages/ruleConfig/index.js @@ -244,7 +244,14 @@ export default class Index extends Component { }; render() { - const { saveParams, matchRuleOptions, orderOptions, ascOptions, employeeOptions } = this.state; + const { + saveParams, + matchRuleOptions, + orderOptions, + ascOptions, + employeeOptions, + showEncryptOperationButton + } = this.state; const { orderRule, ascOrDesc, rule, enctry, operateTaxDeclaration, matchRule } = saveParams; return (
@@ -274,15 +281,15 @@ export default class Index extends Component { /> - {/*{*/} - {/* !_.isEmpty(enctryItems) &&*/} - - - this.handleChange("enctry", val)}/> - - - {/*}*/} + { + showEncryptOperationButton === "true" && + + + this.handleChange("enctry", val)}/> + + + } { this.loading = true; - API.getPayrollTemplateList({ ...params, ...this.templateTablePageInfo }).then(res => { + API.getPayrollTemplateList({ ...this.templateTablePageInfo, ...params }).then(res => { if (res.status) { this.templateTableColumns = res.data.columns; this.templateTableDataSource = res.data.list;