薪资账套-保存去掉薪资项目的功能内容项

This commit is contained in:
黎永顺 2023-03-06 15:18:22 +08:00
parent 1d2705931f
commit da841c8dcc
1 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,7 @@ class LedgerSlide extends Component {
return {
...item,
items: _.map(item.items, it => {
delete it.formulaContent;
// if (it.id && it.id.length > 4) delete it.id;
return { ...it };
})
@ -126,6 +127,7 @@ class LedgerSlide extends Component {
}),
items: _.map(_.find(itemGroups, it => it.name === "未分类").items, child => {
// if (child.id && child.id.length > 4) delete child.id;
delete child.formulaContent;
return { ...child };
}) || [],
salarySobId: salarySobId || saveSalarySobId