薪资账套-保存去掉薪资项目的功能内容项
This commit is contained in:
parent
1d2705931f
commit
da841c8dcc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue