feature/2.9.9.2312.01-工资单查看页面重构
This commit is contained in:
parent
b5dba954c6
commit
7db9e03b0d
|
|
@ -24,7 +24,7 @@ export const dealTemplate = (itemTypeList, type) => {
|
|||
const { items, groupName, groupId } = group;
|
||||
if (items.length !== 0) {
|
||||
items.forEach((item) => {
|
||||
item.salaryItemValue = item.salaryItemValue || "100";
|
||||
item.salaryItemValue = !_.isNil(item.salaryItemValue) ? item.salaryItemValue : "100";
|
||||
});
|
||||
if (items.length % 2 && type === "pc") items.push({});
|
||||
// 未分类不展示标题
|
||||
|
|
|
|||
Loading…
Reference in New Issue