diff --git a/src/app/(main)/report/AsyncItemCodeAutocomplete.tsx b/src/app/(main)/report/AsyncItemCodeAutocomplete.tsx index a1f68151..9bcb214e 100644 --- a/src/app/(main)/report/AsyncItemCodeAutocomplete.tsx +++ b/src/app/(main)/report/AsyncItemCodeAutocomplete.tsx @@ -192,7 +192,6 @@ const AsyncItemCodeAutocomplete: React.FC = ({ }, }} onInputChange={(_, next, reason) => { - if (reason === "blur") return; if (reason === "reset") { setInputValue(""); onInputValueChange?.(""); diff --git a/src/app/(main)/report/page.tsx b/src/app/(main)/report/page.tsx index 1c69d010..0bd8e61b 100644 --- a/src/app/(main)/report/page.tsx +++ b/src/app/(main)/report/page.tsx @@ -765,7 +765,6 @@ export default function ReportPage() { pendingItemCodeInputRef.current[field.name] = ""; return; } - if (reason === "blur") return; pendingItemCodeInputRef.current[field.name] = input; }} onChange={(event, newValue, reason) => { diff --git a/src/components/StockTakeManagement/ApproverStockTake.tsx b/src/components/StockTakeManagement/ApproverStockTake.tsx index a4c0754a..503c82c6 100644 --- a/src/components/StockTakeManagement/ApproverStockTake.tsx +++ b/src/components/StockTakeManagement/ApproverStockTake.tsx @@ -605,6 +605,7 @@ const ApproverStockTake: React.FC = ({ )} {hasSecond && ( + <> = ({ currentQty={stockTakeHiddenOnHand(detail)} threshold={qtyGapWarnPercent} /> + )} {(() => {