Browse Source

rename

master
cyril.tsui 12 hours ago
parent
commit
6c8b056407
4 changed files with 4 additions and 6 deletions
  1. +1
    -1
      src/components/PoDetail/PoQcStockInModal.tsx
  2. +1
    -1
      src/components/PoDetail/PutAwayForm1.tsx
  3. +1
    -3
      src/components/PoDetail/QcStockInModalVer2.tsx
  4. +1
    -1
      src/components/PoDetail/QrModal.tsx

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

@@ -28,7 +28,7 @@ import { useSearchParams } from "next/navigation";
import { StockInLineRow } from "./PoInputGrid"; import { StockInLineRow } from "./PoInputGrid";
import EscalationForm from "./EscalationForm"; import EscalationForm from "./EscalationForm";
import StockInForm from "./StockInForm"; import StockInForm from "./StockInForm";
import PutAwayForm from "./PutAwayForm";
import PutAwayForm from "./PutAwayForm1";
import { import {
INPUT_DATE_FORMAT, INPUT_DATE_FORMAT,
stockInLineStatusMap, stockInLineStatusMap,


src/components/PoDetail/PutawayForm.tsx → src/components/PoDetail/PutAwayForm1.tsx View File

@@ -81,7 +81,7 @@ const style = {
width: "auto", width: "auto",
}; };


const PutAwayForm: React.FC<Props> = ({ itemDetail, warehouse, disabled, printerCombo }) => {
const PutAwayForm: React.FC<Props> = ({ itemDetail, warehouse, disabled, printerCombo }) => {
const { t } = useTranslation("purchaseOrder"); const { t } = useTranslation("purchaseOrder");
const apiRef = useGridApiRef(); const apiRef = useGridApiRef();
const { const {

+ 1
- 3
src/components/PoDetail/QcStockInModalVer2.tsx View File

@@ -19,12 +19,10 @@ import { StockInLineRow } from "./PoInputGrid";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import StockInForm from "./StockInForm"; import StockInForm from "./StockInForm";
import StockInFormVer2 from "./StockInFormVer2"; import StockInFormVer2 from "./StockInFormVer2";
import PutawayForm from "./PutawayForm";
import QcComponent from "./QcComponent"; import QcComponent from "./QcComponent";
import { dummyPutawayLine, dummyQCData } from "./dummyQcTemplate"; import { dummyPutawayLine, dummyQCData } from "./dummyQcTemplate";
import QcFormVer2 from "./QcFormVer2"; 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 { useGridApiRef } from "@mui/x-data-grid";
import {submitDialogWithWarning} from "../Swal/CustomAlerts"; import {submitDialogWithWarning} from "../Swal/CustomAlerts";
import { INPUT_DATE_FORMAT, arrayToDateString, arrayToInputDateString, dayjsToInputDateString } from "@/app/utils/formatUtil"; import { INPUT_DATE_FORMAT, arrayToDateString, arrayToInputDateString, dayjsToInputDateString } from "@/app/utils/formatUtil";


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

@@ -20,7 +20,7 @@ import {
StockInLineEntry, StockInLineEntry,
updateStockInLine, updateStockInLine,
} from "@/app/api/po/actions"; } from "@/app/api/po/actions";
import PutAwayForm from "./PutAwayForm";
import PutAwayForm from "./PutAwayForm1";
import { StockInLine } from "@/app/api/po"; import { StockInLine } from "@/app/api/po";
import { WarehouseResult } from "@/app/api/warehouse"; import { WarehouseResult } from "@/app/api/warehouse";
import { QrCodeInfo } from "@/app/api/qrcode"; import { QrCodeInfo } from "@/app/api/qrcode";


Loading…
Cancel
Save