薪资档案、薪资核算编辑前端控制保留位数
This commit is contained in:
parent
ea1a46839d
commit
e83db15bc7
|
|
@ -510,6 +510,7 @@ public class SalaryAcctResultBO {
|
|||
.itemFormulaContent(itemFormulaContent)
|
||||
// .canEdit(Objects.equals(Optional.ofNullable(salaryItemPO).map(SalaryItemPO::getUseInEmployeeSalary).orElse(0), 0))
|
||||
.canEdit(true)
|
||||
.pattern(salarySobItemPO.getPattern())
|
||||
.build();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -68,6 +68,9 @@ public class SalaryAcctResultDetailDTO {
|
|||
|
||||
//是否可编辑
|
||||
private Boolean canEdit;
|
||||
|
||||
// 保留小数位数
|
||||
private Integer pattern;
|
||||
}
|
||||
|
||||
@Data
|
||||
|
|
|
|||
|
|
@ -376,6 +376,7 @@ public class SalaryArchiveWrapper extends Service {
|
|||
salaryItemMap.put("name", s.getName());
|
||||
salaryItemMap.put("value", optionalItem.isPresent() ? optionalItem.get().getItemValue() : "");
|
||||
salaryItemMap.put("dataType", s.getDataType());
|
||||
salaryItemMap.put("pattern", s.getPattern());
|
||||
salaryItems.add(salaryItemMap);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue