smartRack 추가
This commit is contained in:
parent
92ed8e701d
commit
cbcf8aa837
@ -2157,6 +2157,18 @@ export const useTrestle = () => {
|
||||
rackRows: rack.rackRowsCd,
|
||||
}
|
||||
})
|
||||
|
||||
let smartRackParams = Object.values(smartRackGroup).map((smartRack, index) => {
|
||||
return {
|
||||
seq: index,
|
||||
itemId: smartRack[0].rackId,
|
||||
rackFittingCnt: smartRack[0].supFitQty,
|
||||
rackRows: smartRack[0].rackRowsCd,
|
||||
}
|
||||
})
|
||||
|
||||
rackParams = [...rackParams, ...smartRackParams]
|
||||
|
||||
const parent = canvas.getObjects().find((obj) => obj.id === surface.parentId)
|
||||
const roofMaterialIndex = parent.roofMaterial.index
|
||||
const moduleSelection = moduleSelectionData?.roofConstructions?.find((construction) => construction.roofIndex === roofMaterialIndex)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user