feature/2.9.9.2312.01-工资单查看页面重构

This commit is contained in:
黎永顺 2023-12-20 10:18:58 +08:00
parent b5dba954c6
commit 7db9e03b0d
1 changed files with 1 additions and 1 deletions

View File

@ -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({});
// 未分类不展示标题