|
|
|
@@ -573,6 +573,9 @@ const WorkbenchPickExecution: React.FC<Props> = ({ filterArgs }) => { |
|
|
|
const res = await workbenchScanPick({ |
|
|
|
stockOutLineId: row.stockOutLineId, |
|
|
|
lotNo: row.lotNo.trim(), |
|
|
|
...(Number.isFinite(Number(row.stockInLineId)) && Number(row.stockInLineId) > 0 |
|
|
|
? { stockInLineId: Number(row.stockInLineId) } |
|
|
|
: {}), |
|
|
|
...(typeof qtyValue === "number" && Number.isFinite(qtyValue) ? { qty: qtyValue } : {}), |
|
|
|
userId, |
|
|
|
}); |
|
|
|
@@ -765,7 +768,7 @@ const WorkbenchPickExecution: React.FC<Props> = ({ filterArgs }) => { |
|
|
|
); |
|
|
|
const res = await workbenchScanPick({ |
|
|
|
stockOutLineId: workbenchLotLabelContextLot.stockOutLineId, |
|
|
|
stockInLineId: inventoryLotLineId, |
|
|
|
inventoryLotLineId, |
|
|
|
lotNo, |
|
|
|
...(typeof qty === "number" && Number.isFinite(qty) |
|
|
|
? { qty } |
|
|
|
|