diff --git a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/customCalcExportDialog/index.js b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/customCalcExportDialog/index.js index 9d76e00f..c3e1f838 100644 --- a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/customCalcExportDialog/index.js +++ b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/customCalcExportDialog/index.js @@ -11,6 +11,7 @@ import { inject, observer } from "mobx-react"; import { WeaCheckbox, WeaDialog, WeaLocaleProvider, WeaSearchGroup } from "ecCom"; import { customCacheExportField } from "../../../../../apis/calculate"; import { convertToUrlString } from "../../../../../util/url"; +import "./index.less"; const { getLabel } = WeaLocaleProvider; @@ -85,7 +86,7 @@ class Index extends Component { } return ( { + if (checked === "1") { + this.setState({ + itemsCheckeds: _.reduce(this.props.itemsByGroup, (pre, cur) => { + return [...pre, ..._.map(cur.salaryItems, it => it.salaryItemId)]; + }, []) + }); + } else { + this.setState({ itemsCheckeds: [] }); + } + }; render() { const { showOnlyChecked, itemsCheckeds } = this.state; @@ -72,8 +83,14 @@ class AddHeaderFieldsModal extends Component { , ]} - bottomLeft={} + bottomLeft={ + + + + + } > { _.map(dataSource, item => { diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/acctResult/importModal/index.less b/pc4mobx/hrmSalary/pages/calculateDetail/acctResult/importModal/index.less index 1de6458c..1afe4e6c 100644 --- a/pc4mobx/hrmSalary/pages/calculateDetail/acctResult/importModal/index.less +++ b/pc4mobx/hrmSalary/pages/calculateDetail/acctResult/importModal/index.less @@ -2,6 +2,11 @@ .wea-search-group { .wea-title { padding-left: 0 !important; + font-weight: 700 !important; + } + + .ant-col-8 { + padding: 0 8px !important; } .wea-content {