diff --git a/src/components/JoSearch/JoSearch.tsx b/src/components/JoSearch/JoSearch.tsx index 9568ac3..2cb7fd7 100644 --- a/src/components/JoSearch/JoSearch.tsx +++ b/src/components/JoSearch/JoSearch.tsx @@ -46,7 +46,7 @@ const JoSearch: React.FC = ({ defaultInputs, bomCombo }) => { const [totalCount, setTotalCount] = useState(0) const [isCreateJoModalOpen, setIsCreateJoModalOpen] = useState(false) - console.log(inputs) + // console.log(inputs) const [inventoryData, setInventoryData] = useState([]); const [detailedJos, setDetailedJos] = useState>(new Map()); @@ -137,7 +137,7 @@ const JoSearch: React.FC = ({ defaultInputs, bomCombo }) => { const searchCriteria: Criterion[] = useMemo(() => [ { label: t("Code"), paramName: "code", type: "text" }, { label: t("Item Name"), paramName: "itemName", type: "text" }, - { label: t("Plan Start From"), label2: t("Plan Start To"), paramName: "planStart", type: "datetimeRange" }, + { label: t("Plan Start"), label2: t("Plan Start To"), paramName: "planStart", type: "datetimeRange" }, ], [t]) const columns = useMemo[]>( diff --git a/src/i18n/zh/jo.json b/src/i18n/zh/jo.json index e419f50..26776d1 100644 --- a/src/i18n/zh/jo.json +++ b/src/i18n/zh/jo.json @@ -271,5 +271,6 @@ "Total (Verified + Bad + Missing) must equal Required quantity": "驗證數量 + 不良數量 + 缺失數量必須等於需求數量", "BOM Status": "材料預備狀況", "Estimated Production Date": "預計生產日期", - "Plan Start": "預計生產日期" + "Plan Start": "預計生產日期", + "Plan Start To": "預計生產日期(至)" }