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

Merged
ysCha merged 1 commits from dev into dev-deploy 2025-06-26 11:06:54 +09:00

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) {