| | |
| | | const table = ref({ |
| | | key: "id", |
| | | footer: "Foots", |
| | | cnName: "搴撳瓨淇℃伅", |
| | | cnName: "绌烘《淇℃伅", |
| | | name: "warehouse", |
| | | url: "/Warehouse/", |
| | | sortName: "CreateDate" |
| | |
| | | type: "string" |
| | | }, |
| | | { |
| | | title: "鐗╂枡绫诲瀷", |
| | | field: "materialType", |
| | | type: "select", |
| | | dataKey: "WarehouseTypeEnum" |
| | | title: "浠e彿", |
| | | field: "materiaCode", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "澶囨敞", |
| | | field: "remark", |
| | | type: "string", |
| | | } |
| | | ] |
| | | ]); |
| | |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "鐗╂枡鍚嶇О", field: "materialName",type:"like" }, |
| | | { title: "鐗╂枡绫诲瀷", field:"materialType",type:"select",dataKey:"WarehouseTypeEnum",data:[]}, |
| | | { title: "浠e彿", field: "materiaCode",type:"like" }, |
| | | { title: "澶囨敞", field: "remark",type:"like" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | field: "materialName", |
| | | title: "鐗╂枡鍚嶇О", |
| | | type: "string", |
| | | width: 90, |
| | | width: 120, |
| | | align: "left" |
| | | }, |
| | | { |
| | | field: "materialType", |
| | | title: "鐗╂枡绫诲瀷", |
| | | type: "int", |
| | | width: 90, |
| | | align: "left", |
| | | bind: { |
| | | key: "WarehouseTypeEnum", |
| | | data: [] |
| | | } |
| | | field: "materiaCode", |
| | | title: "浠e彿", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left" |
| | | }, |
| | | { |
| | | field: "remark", |
| | | title: "澶囨敞", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left" |
| | | }, |
| | | { |
| | | field: "creater", |