[1130] 【HANASYS DESIGN】ラックレス工法で千鳥配置できない

랙리스 공법인 경우 설치 안되는 현상 수정
This commit is contained in:
hyojun.choi 2025-06-26 09:52:04 +09:00
parent 88a22c1ed1
commit 66b626b3ea

View File

@ -1556,7 +1556,7 @@ export const useTrestle = () => {
//랙 없음 인 경우 지지금구 설치 //랙 없음 인 경우 지지금구 설치
const installBracketWithOutRack = (surface, exposedBottomModules, leftExposedHalfBottomModules, rightExposedHalfBottomPoints, isChidory) => { const installBracketWithOutRack = (surface, exposedBottomModules, leftExposedHalfBottomModules, rightExposedHalfBottomPoints, isChidory) => {
let { rackQty, rackIntvlPct, moduleIntvlHor, moduleIntvlVer, lessSupFitQty, lessSupFitIntvlPct, moduleMaxRows } = surface.trestleDetail let { rackQty, rackIntvlPct, moduleIntvlHor, moduleIntvlVer, lessSupFitQty, lessSupFitIntvlPct, moduleMaxRows } = surface.trestleDetail
const checkList = [] let checkList = []
exposedBottomModules.forEach((module) => { exposedBottomModules.forEach((module) => {
checkList.push(module.leftRows, module.rightRows, module.centerRows) checkList.push(module.leftRows, module.rightRows, module.centerRows)
@ -1569,6 +1569,9 @@ export const useTrestle = () => {
rightExposedHalfBottomPoints.forEach((module) => { rightExposedHalfBottomPoints.forEach((module) => {
checkList.push(module.leftRows, module.rightRows, module.centerRows) checkList.push(module.leftRows, module.rightRows, module.centerRows)
}) })
checkList = checkList.filter((item) => item !== undefined && item !== null)
const isAllCheckMaxRows = checkList.every((item) => item <= moduleMaxRows) const isAllCheckMaxRows = checkList.every((item) => item <= moduleMaxRows)
if (!isAllCheckMaxRows) { if (!isAllCheckMaxRows) {