@@ -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, | ||||
@@ -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 { |
@@ -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"; | ||||
@@ -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"; | ||||