|
|
@@ -3709,16 +3709,18 @@ paginatedData.map((row, index) => { |
|
|
{rejectDisplay} |
|
|
{rejectDisplay} |
|
|
</Box> |
|
|
</Box> |
|
|
</> |
|
|
</> |
|
|
|
|
|
) : |
|
|
|
|
|
|
|
|
|
|
|
lot.lotAvailability === 'expired' ? ( |
|
|
|
|
|
<> |
|
|
|
|
|
{lot.lotNo}{' '} |
|
|
|
|
|
{t('is expired. Please check around have available QR code or not.')} |
|
|
|
|
|
</> |
|
|
) : isInventoryLotLineUnavailable(lot) ? ( |
|
|
) : isInventoryLotLineUnavailable(lot) ? ( |
|
|
<> |
|
|
<> |
|
|
{lot.lotNo}{' '} |
|
|
{lot.lotNo}{' '} |
|
|
{t('is unavable. Please check around have available QR code or not.')} |
|
|
{t('is unavable. Please check around have available QR code or not.')} |
|
|
</> |
|
|
</> |
|
|
) : lot.lotAvailability === 'expired' ? ( |
|
|
|
|
|
<> |
|
|
|
|
|
{lot.lotNo}{' '} |
|
|
|
|
|
{t('is expired. Please check around have available QR code or not.')} |
|
|
|
|
|
</> |
|
|
|
|
|
) : ( |
|
|
) : ( |
|
|
lot.lotNo |
|
|
lot.lotNo |
|
|
) |
|
|
) |
|
|
@@ -3978,7 +3980,6 @@ paginatedData.map((row, index) => { |
|
|
})); |
|
|
})); |
|
|
}} |
|
|
}} |
|
|
disabled={ |
|
|
disabled={ |
|
|
lot.lotAvailability === 'expired' || |
|
|
|
|
|
lot.stockOutLineStatus === 'completed' || |
|
|
lot.stockOutLineStatus === 'completed' || |
|
|
(Number(lot.stockOutLineId) > 0 && actionBusyBySolId[Number(lot.stockOutLineId)] === true) |
|
|
(Number(lot.stockOutLineId) > 0 && actionBusyBySolId[Number(lot.stockOutLineId)] === true) |
|
|
} |
|
|
} |
|
|
@@ -4002,8 +4003,6 @@ paginatedData.map((row, index) => { |
|
|
lot.stockOutLineStatus === 'completed' || |
|
|
lot.stockOutLineStatus === 'completed' || |
|
|
lot.stockOutLineStatus === 'checked' || |
|
|
lot.stockOutLineStatus === 'checked' || |
|
|
lot.stockOutLineStatus === 'partially_completed' || |
|
|
lot.stockOutLineStatus === 'partially_completed' || |
|
|
lot.lotAvailability === 'expired' || |
|
|
|
|
|
isLotAvailabilityExpired(lot) || |
|
|
|
|
|
|
|
|
|
|
|
// 使用 issue form 後,禁用「Just Completed」(避免再次点击造成重复提交) |
|
|
// 使用 issue form 後,禁用「Just Completed」(避免再次点击造成重复提交) |
|
|
(Number(lot.stockOutLineId) > 0 && issuePickedQtyBySolId[Number(lot.stockOutLineId)] !== undefined) || |
|
|
(Number(lot.stockOutLineId) > 0 && issuePickedQtyBySolId[Number(lot.stockOutLineId)] !== undefined) || |
|
|
|