薪资账套新增时切换上一步页面列表可删除数据回显失败的bug修复

This commit is contained in:
黎永顺 2022-11-16 17:08:16 +08:00
parent 165ee3d7ba
commit 79d1f42a12
2 changed files with 2 additions and 4 deletions

View File

@ -63,10 +63,7 @@
overflow-y: scroll;
.salaryBarWrapper {
height: 47px;
line-height: 47px;
padding-left: 10px;
padding-right: 10px;
padding: 10px;
.warningspan {
float: right;

View File

@ -551,6 +551,7 @@ export class LedgerStore {
let result = { ...item };
if (result.items) {
result.items = result.items.map((i, index) => ({
canDelete: i.canDelete,
salaryItemId: i.salaryItemId,
sortedIndex: index + 1,
formulaId: i.formulaId,