Browse Source

move stock in form location

master
kelvinsuen 2 months ago
parent
commit
daba65f64b
3 changed files with 2 additions and 4 deletions
  1. +1
    -1
      src/components/PoDetail/QcStockInModal.tsx
  2. +1
    -1
      src/components/PutAwayScan/PutAwayModal.tsx
  3. +0
    -2
      src/components/StockIn/StockInForm.tsx

+ 1
- 1
src/components/PoDetail/QcStockInModal.tsx View File

@@ -19,7 +19,7 @@ import { Dispatch, SetStateAction, useCallback, useEffect, useMemo, useState } f
import { FormProvider, SubmitErrorHandler, SubmitHandler, useForm } from "react-hook-form"; import { FormProvider, SubmitErrorHandler, SubmitHandler, useForm } from "react-hook-form";
import { StockInLineRow } from "./PoInputGrid"; import { StockInLineRow } from "./PoInputGrid";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import StockInForm from "./StockInForm";
import StockInForm from "../StockIn/StockInForm";
import QcComponent from "./QcComponent"; import QcComponent from "./QcComponent";
import PutAwayForm from "./PutAwayForm"; import PutAwayForm from "./PutAwayForm";
import { GridRowModes, GridRowSelectionModel, useGridApiRef } from "@mui/x-data-grid"; import { GridRowModes, GridRowSelectionModel, useGridApiRef } from "@mui/x-data-grid";


+ 1
- 1
src/components/PutAwayScan/PutAwayModal.tsx View File

@@ -30,7 +30,7 @@ import { useTranslation } from "react-i18next";
import { useSearchParams } from "next/navigation"; import { useSearchParams } from "next/navigation";
import { useQrCodeScannerContext } from "../QrCodeScannerProvider/QrCodeScannerProvider"; import { useQrCodeScannerContext } from "../QrCodeScannerProvider/QrCodeScannerProvider";
import LoadingComponent from "../General/LoadingComponent"; import LoadingComponent from "../General/LoadingComponent";
import StockInForm from "../PoDetail/StockInForm";
import StockInForm from "../StockIn/StockInForm";
import { arrayToDateString, INPUT_DATE_FORMAT } from "@/app/utils/formatUtil"; import { arrayToDateString, INPUT_DATE_FORMAT } from "@/app/utils/formatUtil";
import { QrCodeScanner } from "../QrCodeScannerProvider/QrCodeScannerProvider"; import { QrCodeScanner } from "../QrCodeScannerProvider/QrCodeScannerProvider";
import { msg } from "../Swal/CustomAlerts"; import { msg } from "../Swal/CustomAlerts";


src/components/PoDetail/StockInForm.tsx → src/components/StockIn/StockInForm.tsx View File

@@ -28,8 +28,6 @@ import {
} from "@mui/x-data-grid"; } from "@mui/x-data-grid";
import InputDataGrid from "../InputDataGrid"; import InputDataGrid from "../InputDataGrid";
import { TableRow } from "../InputDataGrid/InputDataGrid"; import { TableRow } from "../InputDataGrid/InputDataGrid";
import TwoLineCell from "./TwoLineCell";
import QcSelect from "./QcSelect";
import { QcItemWithChecks } from "@/app/api/qc"; import { QcItemWithChecks } from "@/app/api/qc";
import { GridEditInputCell } from "@mui/x-data-grid"; import { GridEditInputCell } from "@mui/x-data-grid";
import { StockInLine } from "@/app/api/stockIn"; import { StockInLine } from "@/app/api/stockIn";

Loading…
Cancel
Save