Commit f4cb1546 authored by krysent's avatar krysent

批次号修改

parent 434df50b
......@@ -236,6 +236,18 @@ function Instore(props) {
}));
}
const getPCHlist = async () => {
let res = await doFetch({
url: "/ngic-workmanship/wmsMaterieLabel/selectionByStatus",
params: { status: "1" },
});
return res?.data?.dataList;
};
useEffect(() => {
getPCHlist();
}, [drawprops?.visible]);
const handlePrint = useReactToPrint({
content: () => printRef.current.dom.current,
});
......@@ -322,11 +334,7 @@ function Instore(props) {
valueType: "select",
width: 180,
request: async () => {
let res = await doFetch({
url: "/ngic-workmanship/wmsMaterieLabel/selectionByStatus",
params: { status: "1" },
});
return res?.data?.dataList;
return await getPCHlist();
},
fieldProps: {
allowClear: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment