Quellcode durchsuchen

update product process list tab 0

stable1
CANCERYS\kw093 vor 2 Wochen
Ursprung
Commit
f79d6716b2
1 geänderte Dateien mit 5 neuen und 4 gelöschten Zeilen
  1. +5
    -4
      src/components/ProductionProcess/ProductionProcessPage.tsx

+ 5
- 4
src/components/ProductionProcess/ProductionProcessPage.tsx Datei anzeigen

@@ -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) => {


Laden…
Abbrechen
Speichern