roofGap null 처리

This commit is contained in:
hyojun.choi 2025-02-06 19:37:22 +09:00
parent c9696158e9
commit a242ca0361

View File

@ -199,7 +199,7 @@ export function useRoofAllocationSetting(id) {
roofWidth: item.width === null || item.width === undefined ? 0 : Number(item.width),
roofHeight: item.length === null || item.length === undefined ? 0 : Number(item.length),
roofHajebichi: item.hajebichi === null || item.hajebichi === undefined ? 0 : Number(item.hajebichi),
roofGap: item.raft === null || item.raft === undefined ? 'HEI_455' : item.raft,
roofGap: !item.raft ? item.raftBaseCd : item.raft,
roofLayout: item.layout === null || item.layout === undefined ? 'P' : item.layout,
roofPitch: item.pitch === null || item.pitch === undefined ? 4 : Number(item.pitch),
roofAngle: item.angle === null || item.angle === undefined ? 21.8 : Number(item.angle),