From 3c74b1807dfe46ac5258cdaeb8a81493c2588fa8 Mon Sep 17 00:00:00 2001 From: "cyril.tsui" Date: Fri, 29 Aug 2025 12:12:18 +0800 Subject: [PATCH] quick update --- src/components/PoDetail/PoDetail.tsx | 2 +- src/components/PoDetail/PoInputGrid.tsx | 2 +- src/components/PoDetail/PutAwayForm.tsx | 4 +--- src/i18n/zh/items.json | 2 +- src/i18n/zh/project.json | 2 +- src/i18n/zh/schedule.json | 2 +- src/i18n/zh/translation.json | 2 +- 7 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/components/PoDetail/PoDetail.tsx b/src/components/PoDetail/PoDetail.tsx index e02d92a..b1c13df 100644 --- a/src/components/PoDetail/PoDetail.tsx +++ b/src/components/PoDetail/PoDetail.tsx @@ -533,7 +533,7 @@ const PoDetail: React.FC = ({ po, qc, warehouse, printerCombo }) => { { // headerName: `${t("start")} | ${t("qc")} | ${t("escalation")} | ${t( // "stock in", // )} | ${t("putaway")} | ${t("delete")}`, - headerName: "動作", + headerName: "操作", // headerName: "start | qc | escalation | stock in | putaway | delete", width: 350, //200 // flex: 2, diff --git a/src/components/PoDetail/PutAwayForm.tsx b/src/components/PoDetail/PutAwayForm.tsx index 1454dc9..839d749 100644 --- a/src/components/PoDetail/PutAwayForm.tsx +++ b/src/components/PoDetail/PutAwayForm.tsx @@ -51,7 +51,6 @@ import { useQrCodeScannerContext } from "../QrCodeScannerProvider/QrCodeScannerP import dayjs from "dayjs"; import arraySupport from "dayjs/plugin/arraySupport"; import { dummyPutAwayLine } from "./dummyQcTemplate"; -import { PrinterCombo } from "@/app/api/settings/printer"; import { GridRowModesModel } from "@mui/x-data-grid"; dayjs.extend(arraySupport); @@ -60,7 +59,6 @@ interface Props { warehouse: WarehouseResult[]; disabled: boolean; // qc: QcItemWithChecks[]; - printerCombo: PrinterCombo[]; setRowModesModel: Dispatch>; } type EntryError = @@ -83,7 +81,7 @@ const style = { width: "auto", }; -const PutAwayForm: React.FC = ({ itemDetail, warehouse, disabled, printerCombo, setRowModesModel }) => { +const PutAwayForm: React.FC = ({ itemDetail, warehouse, disabled, setRowModesModel }) => { const { t } = useTranslation("purchaseOrder"); const apiRef = useGridApiRef(); const { diff --git a/src/i18n/zh/items.json b/src/i18n/zh/items.json index 196fd52..40fcdcf 100644 --- a/src/i18n/zh/items.json +++ b/src/i18n/zh/items.json @@ -32,5 +32,5 @@ "Reset": "重置", "Search": "搜尋", "Release": "發佈", -"Actions": "動作" +"Actions": "操作" } \ No newline at end of file diff --git a/src/i18n/zh/project.json b/src/i18n/zh/project.json index 8ab9eeb..7522b1c 100644 --- a/src/i18n/zh/project.json +++ b/src/i18n/zh/project.json @@ -2,7 +2,7 @@ "code": "編號", "FG & Material Demand Forecast Detail": "FG 及材料需求預測詳情", "Release": "發佈", - "Actions": "動作", + "Actions": "操作", "Product": "產品", "Details": "詳情", "View BoM": "查看 BoM", diff --git a/src/i18n/zh/schedule.json b/src/i18n/zh/schedule.json index 44230ec..e35b7f1 100644 --- a/src/i18n/zh/schedule.json +++ b/src/i18n/zh/schedule.json @@ -34,7 +34,7 @@ " (Selected)": " (已選擇)", "Total FG Item": "總成品項目", "Release": "發佈", - "Actions": "動作", + "Actions": "操作", "FG Demand List (7 Days)": "成品需求列表(7 天)", "FG Demand Date": "成品需求日期", "FG Demand Qty": "成品需求數量", diff --git a/src/i18n/zh/translation.json b/src/i18n/zh/translation.json index b2b46f8..1453320 100644 --- a/src/i18n/zh/translation.json +++ b/src/i18n/zh/translation.json @@ -1,4 +1,4 @@ { "Release": "發佈", - "Actions": "動作" + "Actions": "操作" } \ No newline at end of file