|
|
|
@@ -4318,7 +4318,22 @@ const JobPickExecution: React.FC<Props> = ({ filterArgs, onBackToList }) => { |
|
|
|
}} |
|
|
|
> |
|
|
|
{lot.lotNo ? ( |
|
|
|
isInventoryLotLineUnavailable(lot) && |
|
|
|
/* |
|
|
|
|
|
|
|
*/ |
|
|
|
lot.lotAvailability === "expired" ? ( |
|
|
|
<> |
|
|
|
{lot.lotNo}{" "} |
|
|
|
<Box |
|
|
|
component="span" |
|
|
|
sx={{ fontSize: "0.85rem", lineHeight: 1.4 }} |
|
|
|
> |
|
|
|
{t( |
|
|
|
"is expired. Please check around have available QR code or not.", |
|
|
|
)} |
|
|
|
</Box> |
|
|
|
</> |
|
|
|
) : isInventoryLotLineUnavailable(lot) && |
|
|
|
!( |
|
|
|
String( |
|
|
|
lot.stockOutLineStatus || "", |
|
|
|
@@ -4341,18 +4356,7 @@ const JobPickExecution: React.FC<Props> = ({ filterArgs, onBackToList }) => { |
|
|
|
)} |
|
|
|
</Box> |
|
|
|
</> |
|
|
|
) : lot.lotAvailability === "expired" ? ( |
|
|
|
<> |
|
|
|
{lot.lotNo}{" "} |
|
|
|
<Box |
|
|
|
component="span" |
|
|
|
sx={{ fontSize: "0.85rem", lineHeight: 1.4 }} |
|
|
|
> |
|
|
|
{t( |
|
|
|
"is expired. Please check around have available QR code or not.", |
|
|
|
)} |
|
|
|
</Box> |
|
|
|
</> |
|
|
|
|
|
|
|
) : ( |
|
|
|
lot.lotNo |
|
|
|
) |
|
|
|
@@ -4662,7 +4666,6 @@ const JobPickExecution: React.FC<Props> = ({ filterArgs, onBackToList }) => { |
|
|
|
); |
|
|
|
}} |
|
|
|
disabled={ |
|
|
|
lot.lotAvailability === "expired" || |
|
|
|
lot.stockOutLineStatus === |
|
|
|
"completed" || |
|
|
|
(Number(lot.stockOutLineId) > 0 && |
|
|
|
@@ -4742,8 +4745,6 @@ const JobPickExecution: React.FC<Props> = ({ filterArgs, onBackToList }) => { |
|
|
|
"partially_completed" || |
|
|
|
lot.stockOutLineStatus === |
|
|
|
"partially_complete" || |
|
|
|
lot.lotAvailability === "expired" || |
|
|
|
isLotAvailabilityExpired(lot) || |
|
|
|
isUnavailableLot || |
|
|
|
(Number(lot.stockOutLineId) > 0 && |
|
|
|
issuePickedQtyBySolId[ |
|
|
|
|