hotfix/2.12.1.2404.02
This commit is contained in:
parent
0241c017b8
commit
7dee340ab8
|
|
@ -55,6 +55,7 @@ class LedgerSalaryItemBaseInfo extends Component {
|
|||
const options = _.map(empFieldListOptions, o => ({
|
||||
...o, disabled: _.map(dataSource, g => g.fieldId).includes(o.key)
|
||||
}));
|
||||
if (_.isEmpty(dataSource) || _.isEmpty(options)) return null;
|
||||
return (
|
||||
<WeaSearchGroup needTigger={false} showGroup title={<TitleComp onPreview={onPreview}/>}>
|
||||
<div className="userInfoWrapper">
|
||||
|
|
|
|||
|
|
@ -290,6 +290,7 @@ class SalaryItemSettings extends Component {
|
|||
render() {
|
||||
const { onChangeSalaryItem, salaryBillItemNameSet } = this.props;
|
||||
const { dataList, modalPayload, checkedValue } = this.state;
|
||||
if (_.isEmpty(dataList)) return null;
|
||||
return (
|
||||
<div className="salaryItemSettingWrapper">
|
||||
<WeaSortable
|
||||
|
|
|
|||
Loading…
Reference in New Issue