From f79d6716b2376ee1117749404d419ac6e1a4219f Mon Sep 17 00:00:00 2001 From: "CANCERYS\\kw093" Date: Mon, 20 Apr 2026 12:02:27 +0800 Subject: [PATCH] update product process list tab 0 --- .../ProductionProcess/ProductionProcessPage.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/ProductionProcess/ProductionProcessPage.tsx b/src/components/ProductionProcess/ProductionProcessPage.tsx index f2d43df..e790a24 100644 --- a/src/components/ProductionProcess/ProductionProcessPage.tsx +++ b/src/components/ProductionProcess/ProductionProcessPage.tsx @@ -33,9 +33,10 @@ const ProductionProcessPage: React.FC = ({ printerCo } | null>(null); const [tabIndex, setTabIndex] = useState(0); /** 列表搜尋/分頁:保留在切換工單詳情時,返回後仍為同一條件 */ - const [productionListState, setProductionListState] = useState( - createDefaultProductionProcessListPersistedState, - ); + const [productionListState, setProductionListState] = useState(() => ({ + ...createDefaultProductionProcessListPersistedState(), + date: "", + })); const [waitingPutawayListState, setWaitingPutawayListState] = useState( createDefaultProductionProcessListPersistedState, ); @@ -213,7 +214,7 @@ const ProductionProcessPage: React.FC = ({ printerCo {