Commit f4cb1546 authored by krysent's avatar krysent

批次号修改

parent 434df50b
...@@ -236,6 +236,18 @@ function Instore(props) { ...@@ -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({ const handlePrint = useReactToPrint({
content: () => printRef.current.dom.current, content: () => printRef.current.dom.current,
}); });
...@@ -322,11 +334,7 @@ function Instore(props) { ...@@ -322,11 +334,7 @@ function Instore(props) {
valueType: "select", valueType: "select",
width: 180, width: 180,
request: async () => { request: async () => {
let res = await doFetch({ return await getPCHlist();
url: "/ngic-workmanship/wmsMaterieLabel/selectionByStatus",
params: { status: "1" },
});
return res?.data?.dataList;
}, },
fieldProps: { fieldProps: {
allowClear: true, 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