| | |
| | | }, |
| | | ], |
| | | [ |
| | | |
| | | { |
| | | title: "ç©æç¼ç ", |
| | | field: "materielCode", |
| | | type: "select", |
| | | required: true, |
| | | // dataKey: "MaterielCodes", |
| | | data: [], |
| | | type: "string", |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "éè´åå·", |
| | | field: "purchaseOrderNo", |
| | | type: "select", |
| | | // dataKey: "purchaseOrderNos", |
| | | data: [], |
| | | required: true, |
| | | type: "string", |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "ç©æè§æ ¼", |
| | | field: "materielSpec", |
| | | type: "string", |
| | | }, |
| | | ], |
| | | [ |
| | |
| | | { |
| | | title: "æ°é", |
| | | field: "quantity", |
| | | required: true, |
| | | type:"int" |
| | | }, |
| | | ], |
| | | [ |
| | |
| | | palletCode: "", |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [{ title: "æ¹æ¬¡å·", field: "lotNo", type: "like" }], |
| | | [ |
| | | { title: "éè´åå·", field: "purchaseOrderNo", type: "like" }, |
| | | { title: "ç©æç¼å·", field: "materielCode", type: "like" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "materielName", |
| | | title: "ç©æåç§°", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "materielSpec", |
| | | title: "ç©æè§æ ¼", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "warehouseId", |
| | | title: "ä»åº", |
| | | type: "string", |
| | |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "supplierCode", |
| | | title: "ä¾åºåç¼å·", |
| | | type: "string", |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "lotNo", |
| | | title: "æ¹æ¬¡å·", |
| | | type: "string", |