瀏覽代碼

update product process list tab 0

stable1
CANCERYS\kw093 2 週之前
父節點
當前提交
f79d6716b2
共有 1 個檔案被更改,包括 5 行新增4 行删除
  1. +5
    -4
      src/components/ProductionProcess/ProductionProcessPage.tsx

+ 5
- 4
src/components/ProductionProcess/ProductionProcessPage.tsx 查看文件

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


Loading…
取消
儲存