Просмотр исходного кода

fix the compile error

production
PC-20260115JRSN\Administrator 6 часов назад
Родитель
Сommit
3a23199f00
3 измененных файлов: 2 добавлений и 2 удалений
  1. +0
    -1
      src/app/(main)/report/AsyncItemCodeAutocomplete.tsx
  2. +0
    -1
      src/app/(main)/report/page.tsx
  3. +2
    -0
      src/components/StockTakeManagement/ApproverStockTake.tsx

+ 0
- 1
src/app/(main)/report/AsyncItemCodeAutocomplete.tsx Просмотреть файл

@@ -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?.("");


+ 0
- 1
src/app/(main)/report/page.tsx Просмотреть файл

@@ -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) => {


+ 2
- 0
src/components/StockTakeManagement/ApproverStockTake.tsx Просмотреть файл

@@ -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}
/> />
</>
)} )}
{(() => { {(() => {


Загрузка…
Отмена
Сохранить