薪资账套薪资项目基础信息排序bug修改

This commit is contained in:
黎永顺 2023-02-06 17:10:01 +08:00
parent b72dcc3e6b
commit 95e8d0d8c5
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class LedgerSalaryItem extends Component {
this.setState({ empFields }, () => {
const { empFields, itemGroups } = this.state;
const { onSaveSalaryItem } = this.props;
onSaveSalaryItem(empFields, itemGroups);
onSaveSalaryItem(_.map(empFields, (it, idx) => ({ ...it, sortedIndex: idx })), itemGroups);
});
};
/*