roofGap null 처리
This commit is contained in:
parent
c9696158e9
commit
a242ca0361
@ -199,7 +199,7 @@ export function useRoofAllocationSetting(id) {
|
|||||||
roofWidth: item.width === null || item.width === undefined ? 0 : Number(item.width),
|
roofWidth: item.width === null || item.width === undefined ? 0 : Number(item.width),
|
||||||
roofHeight: item.length === null || item.length === undefined ? 0 : Number(item.length),
|
roofHeight: item.length === null || item.length === undefined ? 0 : Number(item.length),
|
||||||
roofHajebichi: item.hajebichi === null || item.hajebichi === undefined ? 0 : Number(item.hajebichi),
|
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,
|
roofLayout: item.layout === null || item.layout === undefined ? 'P' : item.layout,
|
||||||
roofPitch: item.pitch === null || item.pitch === undefined ? 4 : Number(item.pitch),
|
roofPitch: item.pitch === null || item.pitch === undefined ? 4 : Number(item.pitch),
|
||||||
roofAngle: item.angle === null || item.angle === undefined ? 21.8 : Number(item.angle),
|
roofAngle: item.angle === null || item.angle === undefined ? 21.8 : Number(item.angle),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user