Browse Source

jo match first fix

production
CANCERYS\kw093 13 hours ago
parent
commit
f76c352288
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      src/components/Jodetail/JobPickExecutionsecondscan.tsx

+ 4
- 6
src/components/Jodetail/JobPickExecutionsecondscan.tsx View File

@@ -1206,12 +1206,10 @@ const JobPickExecution: React.FC<Props> = ({ filterArgs, onBack }) => {
const completedMatchQty = Number(lot.matchQty ?? 0);
const isSubmitted = lot.matchQty > 0;
const isUnavailable =
lot.lotAvailability === "expired" ||
lot.lotAvailability === "status_unavailable" ||
lot.lotAvailability === "rejected";
const rowLocked = itemCompleted || isUnavailable;
// Matching is post-pick: source lot available/unavailable must not lock the row.
// Still lock rejected lots and already-matched items.
const isRejected = lot.lotAvailability === "rejected";
const rowLocked = itemCompleted || isRejected;
return (
<TableRow
key={`${lot.pickOrderLineId}-${lot.lotId}`}


Loading…
Cancel
Save