| | |
| | | inboundOrderNo: "", |
| | | upperOrderNo: "", |
| | | remark: "", |
| | | orderStatus: "", |
| | | warehouseId: "", |
| | | supplierId: "", |
| | | createType: "", |
| | | isTestMaterials: "", |
| | | operator: "", |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { |
| | | title: "鍗曟嵁绫诲瀷", |
| | | required: true, |
| | | field: "orderType", |
| | | type: "select", |
| | | dataKey: "inOrderType", |
| | | data: [], |
| | | hidden: true |
| | | }, |
| | | { |
| | | field: "inboundOrderNo", |
| | | title: "鍗曟嵁缂栧彿", |
| | | type: "string", |
| | | readonly: true, |
| | | }, |
| | | { |
| | | title: "涓婃父鍗曟嵁缂栧彿", |
| | |
| | | type: "textarea", |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "涓氬姟绫诲瀷", |
| | | field: "businessType", |
| | | type: "select", |
| | | dataKey: "businessType", |
| | | data: [], |
| | | require: true, |
| | | }, |
| | | { |
| | | title: "鏄惁鍒嗘壒", |
| | | field: "isBatch", |
| | | type: "select", |
| | | dataKey: "enable", |
| | | data: [], |
| | | require: true, |
| | | }, |
| | | { |
| | | title: "鍘傚尯", |
| | | field: "factoryArea", |
| | | type: "string", |
| | | }, |
| | | ] |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | inboundOrderNo: "", |
| | |
| | | title: "涓氬姟绫诲瀷", |
| | | field: "businessType", |
| | | type: "select", |
| | | dataKey: "documentTypeEmun", |
| | | dataKey: "inboundbusinessType", |
| | | data: [], |
| | | }, |
| | | { |
| | |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | bind: { key: "materielInfo", data: [] }, |
| | | edit: { type: "" }, |
| | | }, |
| | | { |
| | | field: "batchNo", |
| | |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "" }, |
| | | required: true |
| | | }, |
| | | { |
| | |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | required: true, |
| | | edit: { type: "" }, |
| | | }, |
| | | { |
| | | field: "orderQuantity", |
| | |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "number" }, |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "barcodeQty", |
| | | title: "鏉$爜鏁伴噺", |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "number" }, |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "barcodeUnit", |
| | | title: "鏉$爜鍗曚綅", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "" }, |
| | | required: true, |
| | | }, |
| | | { |
| | |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "" }, |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "orderDetailStatus", |