From c4154ebc1108ab761151faffa8bce0d20c036050 Mon Sep 17 00:00:00 2001 From: "CANCERYS\\kw093" Date: Thu, 9 Apr 2026 20:31:13 +0800 Subject: [PATCH] update --- .../FinishedGoodSearch/GoodPickExecutiondetail.tsx | 6 +++--- src/components/InventorySearch/InventoryLotLineTable.tsx | 2 +- src/components/Jodetail/newJobPickExecution.tsx | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/FinishedGoodSearch/GoodPickExecutiondetail.tsx b/src/components/FinishedGoodSearch/GoodPickExecutiondetail.tsx index 43fd63e..f729d6a 100644 --- a/src/components/FinishedGoodSearch/GoodPickExecutiondetail.tsx +++ b/src/components/FinishedGoodSearch/GoodPickExecutiondetail.tsx @@ -3848,14 +3848,14 @@ paginatedData.map((lot, index) => { variant="outlined" size="small" onClick={() => handlePickExecutionForm(lot)} - /* + disabled={ lot.lotAvailability === 'expired' || lot.stockOutLineStatus === 'completed' || (Number(lot.stockOutLineId) > 0 && actionBusyBySolId[Number(lot.stockOutLineId)] === true) } - */ - disabled={true} + + // disabled={true} sx={{ fontSize: '0.7rem', py: 0.5, diff --git a/src/components/InventorySearch/InventoryLotLineTable.tsx b/src/components/InventorySearch/InventoryLotLineTable.tsx index 172122e..d4a29b7 100644 --- a/src/components/InventorySearch/InventoryLotLineTable.tsx +++ b/src/components/InventorySearch/InventoryLotLineTable.tsx @@ -780,7 +780,7 @@ const prevAdjustmentModalOpenRef = useRef(false); label={t("Print Qty")} type="number" value={printQty} - onChange={(e) => setPrintQty(Math.max(1, parseInt(e.target.value) || 1))} + onChange={(e) => setPrintQty(Math.max(1, parseInt(e.target.value) ))} inputProps={{ min: 1 }} fullWidth /> diff --git a/src/components/Jodetail/newJobPickExecution.tsx b/src/components/Jodetail/newJobPickExecution.tsx index e2fcfec..9df7d42 100644 --- a/src/components/Jodetail/newJobPickExecution.tsx +++ b/src/components/Jodetail/newJobPickExecution.tsx @@ -2979,7 +2979,7 @@ const sortedData = [...sourceData].sort((a, b) => { variant="outlined" size="small" onClick={() => handlePickExecutionForm(lot)} - /* + disabled={ lot.lotAvailability === "expired" || lot.stockOutLineStatus === "completed" || @@ -2988,8 +2988,8 @@ const sortedData = [...sourceData].sort((a, b) => { (Number(lot.stockOutLineId) > 0 && actionBusyBySolId[Number(lot.stockOutLineId)] === true) } - */ - disabled={true} + + //disabled={true} sx={{ fontSize: '0.7rem', py: 0.5,