From 6c8b056407623068b1ccf619fa7a61d4c4b445bf Mon Sep 17 00:00:00 2001 From: "cyril.tsui" Date: Wed, 27 Aug 2025 20:49:46 +0800 Subject: [PATCH] rename --- src/components/PoDetail/PoQcStockInModal.tsx | 2 +- src/components/PoDetail/{PutawayForm.tsx => PutAwayForm1.tsx} | 2 +- src/components/PoDetail/QcStockInModalVer2.tsx | 4 +--- src/components/PoDetail/QrModal.tsx | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) rename src/components/PoDetail/{PutawayForm.tsx => PutAwayForm1.tsx} (99%) diff --git a/src/components/PoDetail/PoQcStockInModal.tsx b/src/components/PoDetail/PoQcStockInModal.tsx index 6abb07c..f531115 100644 --- a/src/components/PoDetail/PoQcStockInModal.tsx +++ b/src/components/PoDetail/PoQcStockInModal.tsx @@ -28,7 +28,7 @@ import { useSearchParams } from "next/navigation"; import { StockInLineRow } from "./PoInputGrid"; import EscalationForm from "./EscalationForm"; import StockInForm from "./StockInForm"; -import PutAwayForm from "./PutAwayForm"; +import PutAwayForm from "./PutAwayForm1"; import { INPUT_DATE_FORMAT, stockInLineStatusMap, diff --git a/src/components/PoDetail/PutawayForm.tsx b/src/components/PoDetail/PutAwayForm1.tsx similarity index 99% rename from src/components/PoDetail/PutawayForm.tsx rename to src/components/PoDetail/PutAwayForm1.tsx index 67f366b..cff66bb 100644 --- a/src/components/PoDetail/PutawayForm.tsx +++ b/src/components/PoDetail/PutAwayForm1.tsx @@ -81,7 +81,7 @@ const style = { width: "auto", }; -const PutAwayForm: React.FC = ({ itemDetail, warehouse, disabled, printerCombo }) => { +const PutAwayForm: React.FC = ({ itemDetail, warehouse, disabled, printerCombo }) => { const { t } = useTranslation("purchaseOrder"); const apiRef = useGridApiRef(); const { diff --git a/src/components/PoDetail/QcStockInModalVer2.tsx b/src/components/PoDetail/QcStockInModalVer2.tsx index 52fddb8..060425a 100644 --- a/src/components/PoDetail/QcStockInModalVer2.tsx +++ b/src/components/PoDetail/QcStockInModalVer2.tsx @@ -19,12 +19,10 @@ import { StockInLineRow } from "./PoInputGrid"; import { useTranslation } from "react-i18next"; import StockInForm from "./StockInForm"; import StockInFormVer2 from "./StockInFormVer2"; -import PutawayForm from "./PutawayForm"; import QcComponent from "./QcComponent"; import { dummyPutawayLine, dummyQCData } from "./dummyQcTemplate"; import QcFormVer2 from "./QcFormVer2"; -import PutAwayForm from "./PutAwayForm"; -import { dummyPutAwayLine, dummyQCData } from "./dummyQcTemplate"; +import PutAwayForm from "./PutAwayForm1"; import { useGridApiRef } from "@mui/x-data-grid"; import {submitDialogWithWarning} from "../Swal/CustomAlerts"; import { INPUT_DATE_FORMAT, arrayToDateString, arrayToInputDateString, dayjsToInputDateString } from "@/app/utils/formatUtil"; diff --git a/src/components/PoDetail/QrModal.tsx b/src/components/PoDetail/QrModal.tsx index 6aaa0cd..9ccad02 100644 --- a/src/components/PoDetail/QrModal.tsx +++ b/src/components/PoDetail/QrModal.tsx @@ -20,7 +20,7 @@ import { StockInLineEntry, updateStockInLine, } from "@/app/api/po/actions"; -import PutAwayForm from "./PutAwayForm"; +import PutAwayForm from "./PutAwayForm1"; import { StockInLine } from "@/app/api/po"; import { WarehouseResult } from "@/app/api/warehouse"; import { QrCodeInfo } from "@/app/api/qrcode";