row 선택 시 병렬 수 0으로 가는 현상 수정 #527
@ -659,7 +659,7 @@ export default function StepUp(props) {
|
||||
<td
|
||||
className="al-r"
|
||||
onClick={() => {
|
||||
handleRowClick(idx, serQtyIdx)
|
||||
handleRowClick(idx, serQtyIdx, item.paralQty)
|
||||
}}
|
||||
>
|
||||
{item.serQty}
|
||||
@ -682,7 +682,11 @@ export default function StepUp(props) {
|
||||
</option>
|
||||
)}
|
||||
{Array.from(
|
||||
{ length: originPcsVoltageStepUpList[index].pcsItemList[idx].serQtyList[serQtyIdx].paralQty },
|
||||
{
|
||||
length: originPcsVoltageStepUpList[index]
|
||||
? originPcsVoltageStepUpList[index]?.pcsItemList[idx].serQtyList[serQtyIdx].paralQty
|
||||
: item.paralQty,
|
||||
},
|
||||
(_, i) => i + 1,
|
||||
).map((num) => (
|
||||
<option key={num} value={num}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user