| | |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/basic/materielCodeInfo.js"; |
| | | import { Key } from "@element-plus/icons-vue"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | |
| | | title: "浠撳簱", |
| | | field: "warehouseId", |
| | | type: "select", |
| | | dataKey: "areainfo", |
| | | dataKey: "warehouseNuber", |
| | | data: [], |
| | | required: true, |
| | | }, |
| | |
| | | { |
| | | title: "鐗╂枡缂栫爜", |
| | | field: "materielCode", |
| | | type: "select", |
| | | type: "string", |
| | | data: [], |
| | | required: true, |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "閲囪喘鍗曞彿", |
| | | title: "鍏ュ簱鍗曞彿", |
| | | field: "purchaseOrderNo", |
| | | type: "select", |
| | | type: "string", |
| | | data: [], |
| | | required: true, |
| | | }, |
| | |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | palletCode: "", |
| | | purchaseOrderNo: "", |
| | | warehouseId: "", |
| | | materielCode: "", |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "閲囪喘鍗曞彿", field: "purchaseOrderNo", type: "like" }, |
| | | { title: "鍏ュ簱鍗曞彿", field: "purchaseOrderNo", type: "like" }, |
| | | { title: "浠撳簱", field: "warehouseId", type: "select" ,dataKey: "warehouseNuber", data: [] }, |
| | | { title: "鐗╂枡缂栧彿", field: "materielCode", type: "like" }, |
| | | ], |
| | | ]); |
| | |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | bind: { key: "MaterielNames", data: [] }, |
| | | // bind: { key: "MaterielNames", data: [] }, |
| | | }, |
| | | { |
| | | field: "warehouseId", |
| | | title: "浠撳簱", |
| | | type: "string", |
| | | type: "select", |
| | | width: 90, |
| | | align: "left", |
| | | bind: { key: "areainfo", data: [] }, |
| | | bind: { key: "warehouseNuber", data: [] }, |
| | | data: [], |
| | | }, |
| | | { |
| | | field: "purchaseOrderNo", |
| | | title: "閲囪喘鍗曞彿", |
| | | title: "鍏ュ簱鍗曞彿", |
| | | type: "string", |
| | | width: 160, |
| | | align: "left", |