From d787674f7665dea66273a01f445f69bc7cddeb98 Mon Sep 17 00:00:00 2001 From: "MSI\\derek" Date: Tue, 17 Jun 2025 18:41:08 +0800 Subject: [PATCH] update --- src/components/PoDetail/PoDetail.tsx | 4 ++-- src/components/PoDetail/PutawayForm.tsx | 4 ++-- src/components/PoSearch/PoSearch.tsx | 2 +- src/i18n/zh/purchaseOrder.json | 4 +++- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/PoDetail/PoDetail.tsx b/src/components/PoDetail/PoDetail.tsx index 8721824..a45f0e3 100644 --- a/src/components/PoDetail/PoDetail.tsx +++ b/src/components/PoDetail/PoDetail.tsx @@ -283,7 +283,7 @@ const PoDetail: React.FC = ({ po, qc, warehouse }) => { {/* {purchaseOrder.code} - {currPoStatus} */} - {purchaseOrder.code} - {purchaseOrder.status} + {purchaseOrder.code} - {t(`${purchaseOrder.status.toLowerCase()}`)} @@ -338,7 +338,7 @@ const PoDetail: React.FC = ({ po, qc, warehouse }) => { onClose={onCloseScanner} warehouse={warehouse} /> - + {/* tab 1 */} diff --git a/src/components/PoDetail/PutawayForm.tsx b/src/components/PoDetail/PutawayForm.tsx index 6f29848..ed509f5 100644 --- a/src/components/PoDetail/PutawayForm.tsx +++ b/src/components/PoDetail/PutawayForm.tsx @@ -349,7 +349,7 @@ const PutawayForm: React.FC = ({ itemDetail, warehouse, disabled }) => { getOptionLabel={(option) => option.label} options={options} renderInput={(params) => ( - + )} /> @@ -371,7 +371,7 @@ const PutawayForm: React.FC = ({ itemDetail, warehouse, disabled }) => { /> - + {/* = ({ onClose={onCloseScanner} warehouse={warehouse} /> - + <> diff --git a/src/i18n/zh/purchaseOrder.json b/src/i18n/zh/purchaseOrder.json index 94589b0..9178773 100644 --- a/src/i18n/zh/purchaseOrder.json +++ b/src/i18n/zh/purchaseOrder.json @@ -75,6 +75,7 @@ "reportQty": "上報數量", + "Default Warehouse": "預設倉庫", "Select warehouse": "選擇倉庫", "Putaway Detail": "上架詳情", "LotNo": "批號", @@ -84,5 +85,6 @@ "Reject": "拒絕", "submit": "提交", - "print": "列印" + "print": "列印", + "bind": "綁定" } \ No newline at end of file