| @@ -192,7 +192,6 @@ const AsyncItemCodeAutocomplete: React.FC<Props> = ({ | |||||
| }, | }, | ||||
| }} | }} | ||||
| onInputChange={(_, next, reason) => { | onInputChange={(_, next, reason) => { | ||||
| if (reason === "blur") return; | |||||
| if (reason === "reset") { | if (reason === "reset") { | ||||
| setInputValue(""); | setInputValue(""); | ||||
| onInputValueChange?.(""); | onInputValueChange?.(""); | ||||
| @@ -765,7 +765,6 @@ export default function ReportPage() { | |||||
| pendingItemCodeInputRef.current[field.name] = ""; | pendingItemCodeInputRef.current[field.name] = ""; | ||||
| return; | return; | ||||
| } | } | ||||
| if (reason === "blur") return; | |||||
| pendingItemCodeInputRef.current[field.name] = input; | pendingItemCodeInputRef.current[field.name] = input; | ||||
| }} | }} | ||||
| onChange={(event, newValue, reason) => { | onChange={(event, newValue, reason) => { | ||||
| @@ -605,6 +605,7 @@ const ApproverStockTake: React.FC<ApproverStockTakeProps> = ({ | |||||
| )} | )} | ||||
| {hasSecond && ( | {hasSecond && ( | ||||
| <> | |||||
| <Stack direction="row" spacing={1} alignItems="center"> | <Stack direction="row" spacing={1} alignItems="center"> | ||||
| <Radio | <Radio | ||||
| size="small" | size="small" | ||||
| @@ -666,6 +667,7 @@ const ApproverStockTake: React.FC<ApproverStockTakeProps> = ({ | |||||
| currentQty={stockTakeHiddenOnHand(detail)} | currentQty={stockTakeHiddenOnHand(detail)} | ||||
| threshold={qtyGapWarnPercent} | threshold={qtyGapWarnPercent} | ||||
| /> | /> | ||||
| </> | |||||
| )} | )} | ||||
| {(() => { | {(() => { | ||||