Merge pull request 'dev' (#579) from dev into prd-deploy

Reviewed-on: #579
This commit is contained in:
ysCha 2026-01-12 16:57:33 +09:00
commit 8a1e0fa638

View File

@ -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> */}