| @@ -533,7 +533,7 @@ const PoDetail: React.FC<Props> = ({ po, qc, warehouse, printerCombo }) => { | |||||
| <TableCell align="center"> | <TableCell align="center"> | ||||
| <TextField | <TextField | ||||
| id="dnQty" | id="dnQty" | ||||
| label="輸入採購來貨數量" | |||||
| label="此批送貨數量" | |||||
| type="text" // Use type="text" to allow validation in the change handler | type="text" // Use type="text" to allow validation in the change handler | ||||
| variant="outlined" | variant="outlined" | ||||
| defaultValue={polInputList[rowIndex]?.dnQty ?? ''} | defaultValue={polInputList[rowIndex]?.dnQty ?? ''} | ||||
| @@ -591,7 +591,7 @@ const closeNewModal = useCallback(() => { | |||||
| // headerName: `${t("start")} | ${t("qc")} | ${t("escalation")} | ${t( | // headerName: `${t("start")} | ${t("qc")} | ${t("escalation")} | ${t( | ||||
| // "stock in", | // "stock in", | ||||
| // )} | ${t("putaway")} | ${t("delete")}`, | // )} | ${t("putaway")} | ${t("delete")}`, | ||||
| headerName: "動作", | |||||
| headerName: "操作", | |||||
| // headerName: "start | qc | escalation | stock in | putaway | delete", | // headerName: "start | qc | escalation | stock in | putaway | delete", | ||||
| width: 350, //200 | width: 350, //200 | ||||
| // flex: 2, | // flex: 2, | ||||
| @@ -51,7 +51,6 @@ import { useQrCodeScannerContext } from "../QrCodeScannerProvider/QrCodeScannerP | |||||
| import dayjs from "dayjs"; | import dayjs from "dayjs"; | ||||
| import arraySupport from "dayjs/plugin/arraySupport"; | import arraySupport from "dayjs/plugin/arraySupport"; | ||||
| import { dummyPutAwayLine } from "./dummyQcTemplate"; | import { dummyPutAwayLine } from "./dummyQcTemplate"; | ||||
| import { PrinterCombo } from "@/app/api/settings/printer"; | |||||
| import { GridRowModesModel } from "@mui/x-data-grid"; | import { GridRowModesModel } from "@mui/x-data-grid"; | ||||
| dayjs.extend(arraySupport); | dayjs.extend(arraySupport); | ||||
| @@ -60,7 +59,6 @@ interface Props { | |||||
| warehouse: WarehouseResult[]; | warehouse: WarehouseResult[]; | ||||
| disabled: boolean; | disabled: boolean; | ||||
| // qc: QcItemWithChecks[]; | // qc: QcItemWithChecks[]; | ||||
| printerCombo: PrinterCombo[]; | |||||
| setRowModesModel: Dispatch<SetStateAction<GridRowModesModel>>; | setRowModesModel: Dispatch<SetStateAction<GridRowModesModel>>; | ||||
| } | } | ||||
| type EntryError = | type EntryError = | ||||
| @@ -83,7 +81,7 @@ const style = { | |||||
| width: "auto", | width: "auto", | ||||
| }; | }; | ||||
| const PutAwayForm: React.FC<Props> = ({ itemDetail, warehouse, disabled, printerCombo, setRowModesModel }) => { | |||||
| const PutAwayForm: React.FC<Props> = ({ itemDetail, warehouse, disabled, setRowModesModel }) => { | |||||
| const { t } = useTranslation("purchaseOrder"); | const { t } = useTranslation("purchaseOrder"); | ||||
| const apiRef = useGridApiRef(); | const apiRef = useGridApiRef(); | ||||
| const { | const { | ||||
| @@ -32,5 +32,5 @@ | |||||
| "Reset": "重置", | "Reset": "重置", | ||||
| "Search": "搜尋", | "Search": "搜尋", | ||||
| "Release": "發佈", | "Release": "發佈", | ||||
| "Actions": "動作" | |||||
| "Actions": "操作" | |||||
| } | } | ||||
| @@ -2,7 +2,7 @@ | |||||
| "code": "編號", | "code": "編號", | ||||
| "FG & Material Demand Forecast Detail": "FG 及材料需求預測詳情", | "FG & Material Demand Forecast Detail": "FG 及材料需求預測詳情", | ||||
| "Release": "發佈", | "Release": "發佈", | ||||
| "Actions": "動作", | |||||
| "Actions": "操作", | |||||
| "Product": "產品", | "Product": "產品", | ||||
| "Details": "詳情", | "Details": "詳情", | ||||
| "View BoM": "查看 BoM", | "View BoM": "查看 BoM", | ||||
| @@ -34,7 +34,7 @@ | |||||
| " (Selected)": " (已選擇)", | " (Selected)": " (已選擇)", | ||||
| "Total FG Item": "總成品項目", | "Total FG Item": "總成品項目", | ||||
| "Release": "發佈", | "Release": "發佈", | ||||
| "Actions": "動作", | |||||
| "Actions": "操作", | |||||
| "FG Demand List (7 Days)": "成品需求列表(7 天)", | "FG Demand List (7 Days)": "成品需求列表(7 天)", | ||||
| "FG Demand Date": "成品需求日期", | "FG Demand Date": "成品需求日期", | ||||
| "FG Demand Qty": "成品需求數量", | "FG Demand Qty": "成品需求數量", | ||||
| @@ -1,4 +1,4 @@ | |||||
| { | { | ||||
| "Release": "發佈", | "Release": "發佈", | ||||
| "Actions": "動作" | |||||
| "Actions": "操作" | |||||
| } | } | ||||