| | |
| | | data: [], |
| | | }, |
| | | { |
| | | field: "orderNo", |
| | | title: "单据编号", |
| | | type: "string", |
| | | }, |
| | | field: "warehouseId", |
| | | title: "仓库ID", |
| | | type: "select", |
| | | dataKey:"warehouses", |
| | | data:[] |
| | | }, |
| | | { |
| | | field: "orderNo", |
| | | title: "单据编号", |
| | | type: "string", |
| | | readonly:true |
| | | }, |
| | | { |
| | | title: "单据状态", |
| | | field: "orderStatus", |
| | | type: "select", |
| | | dataKey: "inboundState", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "上游单据编号", |
| | | field: "upperOrderNo", |
| | | type: "string", |
| | | readonly:true |
| | | }, |
| | | |
| | | ], |
| | | [ |
| | | { |
| | | title: "创建方式", |
| | | field: "createType", |
| | | type: "select", |
| | | dataKey: "createType", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "备注", |
| | |
| | | ], |
| | | [ |
| | | { |
| | | title: "出入库类型", |
| | | field: "inoutType", |
| | | type: "select", |
| | | dataKey: "inoutTypeEnum", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "所属仓库", |
| | | field: "warehouseId", |
| | | type: "select", |
| | | dataKey: "warehouses", |
| | | data: [], |
| | | }, |
| | | { title: "创建者", field: "creater", type: "like" }, |
| | | { title: "创建时间", field: "createDate", type: "datetime" }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "创建方式", |
| | | field: "createType", |
| | | type: "select", |
| | | dataKey: "createType", |
| | | data: [], |
| | | }, |
| | | { title: "创建者", field: "creater", type: "like" }, |
| | | { title: "创建时间", field: "createDate", type: "datetime" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "warehouseId", |
| | | title: "仓库", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | bind:{key:"warehouses",data:[]} |
| | | }, |
| | | |
| | | { |
| | | field: "orderNo", |
| | | title: "单据编号", |
| | | type: "string", |
| | | width: 120, |
| | | width: 170, |
| | | align: "left", |
| | | link: true, |
| | | }, |
| | |
| | | }, |
| | | { |
| | | field: "orderType", |
| | | title: "单据类型", |
| | | title: "单据大类", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | bind: { key: "inOrderType", data: [] }, |
| | | }, |
| | | { |
| | | field: "inoutType", |
| | | title: "出入库类型", |
| | | type: "select", |
| | | width: 90, |
| | | align: "left", |
| | | bind: { key: "inoutTypeEnum", data: [] }, |
| | | }, |
| | | { |
| | | field: "orderStatus", |
| | |
| | | width: 150, |
| | | align: "left", |
| | | edit: { type: "" }, |
| | | |
| | | }, |
| | | { |
| | | field: "materielName", |
| | |
| | | edit: { type: "" }, |
| | | }, |
| | | { |
| | | field: "batchNo", |
| | | title: "批次号", |
| | | type: "decimal", |
| | | width: 90, |
| | | field: "supplierBatch", |
| | | title: "供应商批次号", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | edit: { type: "" }, |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "batchNo", |
| | | title: "内部批次号", |
| | | type: "string", |
| | | width: 130, |
| | | align: "left", |
| | | readonly:true, |
| | | |
| | | }, |
| | | { |
| | | field: "orderQuantity", |
| | |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "number" }, |
| | | required: true, |
| | | }, |
| | | { |
| | |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | edit: { type: "number" }, |
| | | }, |
| | | { |
| | | field: "overInQuantity", |
| | |
| | | { |
| | | field: "orderDetailStatus", |
| | | title: "订单明细状态", |
| | | type: "string", |
| | | type: "select", |
| | | width: 180, |
| | | align: "left", |
| | | bind: { key: "orderDetailStatusEnum", data: [] }, |
| | | edit: { type: "number" }, |
| | | }, |
| | | { |
| | | field: "creater", |