Przeglądaj źródła

update product process list tab 0

stable1
CANCERYS\kw093 2 tygodni temu
rodzic
commit
f79d6716b2
1 zmienionych plików z 5 dodań i 4 usunięć
  1. +5
    -4
      src/components/ProductionProcess/ProductionProcessPage.tsx

+ 5
- 4
src/components/ProductionProcess/ProductionProcessPage.tsx Wyświetl plik

@@ -33,9 +33,10 @@ const ProductionProcessPage: React.FC<ProductionProcessPageProps> = ({ 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<ProductionProcessPageProps> = ({ printerCo
<ProductionProcessList
printerCombo={printerCombo}
qcReady={false}
disableDateFilter={true}
disableDateFilter={false}
listPersistedState={productionListState}
onListPersistedStateChange={setProductionListState}
onSelectProcess={(jobOrderId) => {


Ładowanie…
Anuluj
Zapisz