Commit fae99b52 authored by krysent's avatar krysent

new

parent 0de147ee
......@@ -10,6 +10,7 @@ import { useModel } from "umi";
import PrintDom from "./printdom";
import { PrintQrCode } from "@/components/PrintCode";
import { EditableProTable } from "@ant-design/pro-table";
const keytoval = {
one: 1,
two: 2,
......@@ -257,12 +258,12 @@ function Instore(props) {
}, [drawprops?.visible]);
const defaultFields = useMemo(() => {
let option = {
options: PchList,
allowClear: true,
showSearch: true,
};
console.log("pchlist:", option);
// let option = {
// options: PchList,
// allowClear: true,
// showSearch: true,
// };
// console.log("pchlist:", option);
return {
four: {
materieInstoreNo: {
......@@ -339,7 +340,13 @@ function Instore(props) {
key: "labelId",
valueType: "select",
width: 180,
fieldProps: option,
request: async (params) => {
let res = await doFetch({
url: "/ngic-workmanship/wmsMaterieLabel/selectionByStatus",
params: { status: "1" },
});
return res?.data?.dataList;
},
formItemProps: () => {
return {
rules: [{ required: true, message: "此项为必填项" }],
......@@ -829,7 +836,7 @@ function Instore(props) {
],
}),
};
}, [ PchList]);
}, [PchList]);
// const defaultFields = useMemo(() => {
// console.log(PchList);
......
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