dev #579
@ -649,12 +649,18 @@ export default function StepUp(props) {
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{pcsItem.serQtyList.map((item, serQtyIdx) => {
|
||||
{pcsItem?.serQtyList?.map((item, serQtyIdx) => {
|
||||
return (
|
||||
<tr
|
||||
key={`row-${serQtyIdx}`}
|
||||
className={`${item.selected ? 'on' : ''}`}
|
||||
style={{ cursor: allocationType === 'auto' ? 'pointer' : 'default' }}
|
||||
onClick={() => {
|
||||
if (stepUp?.pcsItemList.length !== 1) {
|
||||
return
|
||||
}
|
||||
handleRowClick(idx, serQtyIdx, item.paralQty)
|
||||
}}
|
||||
>
|
||||
<td
|
||||
className="al-r"
|
||||
@ -667,6 +673,7 @@ export default function StepUp(props) {
|
||||
<td className="al-r">
|
||||
{/* 2025.12.04 select 추가 */}
|
||||
{idx === 0 ? (
|
||||
stepUp?.pcsItemList.length !== 1 ? (
|
||||
<select
|
||||
className="select-light dark table-select"
|
||||
defaultValue={item.paralQty}
|
||||
@ -696,6 +703,9 @@ export default function StepUp(props) {
|
||||
</select>
|
||||
) : (
|
||||
<>{item.paralQty}</>
|
||||
)
|
||||
) : (
|
||||
<>{item.paralQty}</>
|
||||
)}
|
||||
</td>
|
||||
{/* <td className="al-r">{item.paralQty}</td> */}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user