From 73d9270e828697a9d9b2bf2df34b3d45c4e95e3c Mon Sep 17 00:00:00 2001 From: "CANCERYS\\kw093" Date: Sun, 26 Apr 2026 15:26:48 +0800 Subject: [PATCH] update --- src/components/PickOrderSearch/WorkbenchPickExecution.tsx | 5 ++++- src/i18n/zh/pickOrder.json | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/PickOrderSearch/WorkbenchPickExecution.tsx b/src/components/PickOrderSearch/WorkbenchPickExecution.tsx index fa9c0a4..db09547 100644 --- a/src/components/PickOrderSearch/WorkbenchPickExecution.tsx +++ b/src/components/PickOrderSearch/WorkbenchPickExecution.tsx @@ -573,6 +573,9 @@ const WorkbenchPickExecution: React.FC = ({ 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 = ({ filterArgs }) => { ); const res = await workbenchScanPick({ stockOutLineId: workbenchLotLabelContextLot.stockOutLineId, - stockInLineId: inventoryLotLineId, + inventoryLotLineId, lotNo, ...(typeof qty === "number" && Number.isFinite(qty) ? { qty } diff --git a/src/i18n/zh/pickOrder.json b/src/i18n/zh/pickOrder.json index 1c5d458..7610a83 100644 --- a/src/i18n/zh/pickOrder.json +++ b/src/i18n/zh/pickOrder.json @@ -261,6 +261,7 @@ "Verified successfully!": "驗證成功!", "Cancel": "取消", "storing": "待品檢入倉", + "pick successful": "提料成功", "Scan": "掃描", "Scanned": "已掃描", "Loading data...": "正在載入數據...",