From f74760bb93dde7d4a916863fc013399bd1254d90 Mon Sep 17 00:00:00 2001 From: "CANCERYS\\kw093" Date: Thu, 9 Apr 2026 22:30:02 +0800 Subject: [PATCH] disbale edit button again --- .../FinishedGoodSearch/GoodPickExecutiondetail.tsx | 6 +++--- src/components/Jodetail/newJobPickExecution.tsx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/FinishedGoodSearch/GoodPickExecutiondetail.tsx b/src/components/FinishedGoodSearch/GoodPickExecutiondetail.tsx index f729d6a..f1363cb 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/Jodetail/newJobPickExecution.tsx b/src/components/Jodetail/newJobPickExecution.tsx index 9df7d42..e2fcfec 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,