| | |
| | | sortName: "id", |
| | | }); |
| | | const editFormFields = ref({ |
| | | deviceCode: "", |
| | | deviceName: "", |
| | | deviceType: "", |
| | | deviceStatus: "", |
| | | deviceIp: "", |
| | | devicePort: "", |
| | | devicePlcType: "", |
| | | deviceRemark: "", |
| | | materielCode: "", |
| | | materielName: "", |
| | | orderNo: "", |
| | | serialNumber: "", |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "物料编号", field: "materielCode",type:"like"}, |
| | | { title: "物料名称", field: "materielName",type:"like" }, |
| | | { title: "物料详情", field: "orderNo" ,type:"like"}, |
| | | |
| | | |
| | | { title: "物料编号", field: "materielCode",type :"like"}, |
| | | { title: "物料名称", field: "materielName",type :"like"}, |
| | | { title: "单据编号", field: "orderNo",type :"like"}, |
| | | { title: "关联库存编号", field: "stockId",type :"int"}, |
| | | ], |
| | | [ |
| | | { title: "物料批次", field: "batchNo",type:"like" }, |
| | | { title: "物料批次详情", field: "batchNoName",type:"like" }, |
| | | { title: "重量", field: "stockQuantity",type:"like" }, |
| | | { title: "批次号", field: "batchNo",type :"like"}, |
| | | {title: "库存明细状态",field: "status",type: "select",dataKey:"stockStatusEmun", data: []}, |
| | | { title: "供应商批次", field: "supplierBatch",type :"like"}, |
| | | { title: "创建日期",field: "createDate",type: "datetime"}, |
| | | ], |
| | | [ |
| | | { |
| | | title: "库存明细状态", |
| | | field: "stockQuantity", |
| | | type:"like" |
| | | }, |
| | | { |
| | | field: "stockId", |
| | | title: "库存信息主键", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | ] |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | |
| | | // sort:true, |
| | | }, |
| | | { |
| | | field: "orderNo", |
| | | title: "物料详情", |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | // sort:true, |
| | | }, |
| | | { |
| | | field: "batchNo", |
| | | title: "物料批次", |
| | | type: "string", |
| | |
| | | align: "left", |
| | | // sort:true, |
| | | }, |
| | | // { |
| | | // field: "serialNumber", |
| | | // title: "包号", |
| | | // type: "string", |
| | | // width: 50, |
| | | // align: "left", |
| | | // sort:true, |
| | | // }, |
| | | // { |
| | | // field: "batchNoName", |
| | | // title: "物料批次详情", |
| | | // type: "int", |
| | | // width: 120, |
| | | // align: "left", |
| | | // // sort:true, |
| | | // }, |
| | | { |
| | | field: "orderNo", |
| | | title: "单据编号", |
| | | type: "string", |
| | | width: 180, |
| | | align: "left", |
| | | |
| | | }, |
| | | { |
| | | field: "supplierBatch", |
| | | title: "供应商批次", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "stockQuantity", |
| | | title: "重量", |
| | | title: "物料数量", |
| | | type: "string", |
| | | width: 80, |
| | | align: "left", |
| | | // sort:true, |
| | | }, |
| | | { |
| | | field: "status", |
| | |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | // sort:true, |
| | | bind: { key: "stockStatusEmun", data: [] }, |
| | | }, |
| | | { |