From 7cd450ef1bdaf93e972e9439607829a151ef5c6f Mon Sep 17 00:00:00 2001 From: "CANCERYS\\kw093" Date: Wed, 21 Jan 2026 12:30:38 +0800 Subject: [PATCH] update printer select --- src/components/FinishedGoodSearch/FinishedGoodSearch.tsx | 4 ++-- src/components/Jodetail/JodetailSearch.tsx | 2 +- src/i18n/zh/do.json | 3 ++- src/i18n/zh/pickOrder.json | 2 ++ 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/FinishedGoodSearch/FinishedGoodSearch.tsx b/src/components/FinishedGoodSearch/FinishedGoodSearch.tsx index 4795fd6..4637e41 100644 --- a/src/components/FinishedGoodSearch/FinishedGoodSearch.tsx +++ b/src/components/FinishedGoodSearch/FinishedGoodSearch.tsx @@ -606,7 +606,7 @@ const handleAssignByLane = useCallback(async ( {t("A4 Printer")}: printer.type === 'A4')} getOptionLabel={(option) => option.name || option.label || option.code || `Printer ${option.id}` } @@ -623,7 +623,7 @@ const handleAssignByLane = useCallback(async ( {t("Label Printer")}: printer.type === 'Label')} getOptionLabel={(option) => option.name || option.label || option.code || `Printer ${option.id}` } diff --git a/src/components/Jodetail/JodetailSearch.tsx b/src/components/Jodetail/JodetailSearch.tsx index edb0b9d..7012e25 100644 --- a/src/components/Jodetail/JodetailSearch.tsx +++ b/src/components/Jodetail/JodetailSearch.tsx @@ -452,7 +452,7 @@ const JodetailSearch: React.FC = ({ pickOrders, printerCombo }) => { {t("Select Printer")}: printer.type === 'A4')} getOptionLabel={(option) => option.name || option.label || option.code || `Printer ${option.id}` } diff --git a/src/i18n/zh/do.json b/src/i18n/zh/do.json index f043879..4c6584d 100644 --- a/src/i18n/zh/do.json +++ b/src/i18n/zh/do.json @@ -15,7 +15,8 @@ "Warning: Some delivery orders do not have matching trucks for the target date.": "警告:部分送貨訂單於目標日期沒有可匹配的車輛。", "Truck Availability Warning": "車輛可用性警告", "Problem DO(s): ": "問題送貨訂單", - + "Fetching all matching records...": "正在獲取所有匹配的記錄...", + "Loading...": "正在加載...", "Available Trucks": "可用車輛", "No trucks available": "沒有車輛可用", "Code": "門店訂單編號", diff --git a/src/i18n/zh/pickOrder.json b/src/i18n/zh/pickOrder.json index 127d5cd..d63e378 100644 --- a/src/i18n/zh/pickOrder.json +++ b/src/i18n/zh/pickOrder.json @@ -13,6 +13,8 @@ "NotEscalated": "無上報", "Assigned To": "已分配", "Skip": "跳過", + "Fetching all matching records...": "正在獲取所有匹配的記錄...", + "Do you want to start?": "確定開始嗎?", "Start": "開始", "Pick Order Code(s)": "提料單編號",