diff --git a/src/components/floor-plan/modal/circuitTrestle/step/StepUp.jsx b/src/components/floor-plan/modal/circuitTrestle/step/StepUp.jsx index 969c7506..a7e8932e 100644 --- a/src/components/floor-plan/modal/circuitTrestle/step/StepUp.jsx +++ b/src/components/floor-plan/modal/circuitTrestle/step/StepUp.jsx @@ -288,8 +288,12 @@ export default function StepUp(props) { // 행 선택 핸들러 함수 추가 const handleRowClick = (mainIdx, subIdx) => { + // 자동 승압 설정인 경우만 실행 + if (allocationType !== 'auto') return + let tempStepUpListData = [...stepUpListData] let selectedData = {} + tempStepUpListData[0].pcsItemList[mainIdx].serQtyList.forEach((item, index) => { if (index === subIdx) { selectedData = item @@ -449,7 +453,7 @@ export default function StepUp(props) { key={`row-${serQtyIdx}`} className={`${item.selected ? 'on' : ''}`} onClick={() => handleRowClick(idx, serQtyIdx)} - style={{ cursor: 'pointer' }} + style={{ cursor: allocationType === 'auto' ? 'pointer' : 'default' }} > {item.serQty} {item.paralQty}