| | |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { |
| | | title: "设备编号", |
| | | required: true, |
| | | field: "deviceCode", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "设备名称", |
| | | required: true, |
| | | field: "deviceName", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "设备类型", |
| | | required: true, |
| | | field: "deviceType", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "设备状态", |
| | | required: true, |
| | | field: "deviceStatus", |
| | | type: "string", |
| | | }, |
| | | ], |
| | | [ |
| | | { title: "设备IP", required: true, field: "deviceIp", type: "string" }, |
| | | { |
| | | title: "设备端口", |
| | | required: true, |
| | | field: "devicePort", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "PLC类型", |
| | | required: true, |
| | | field: "devicePlcType", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "备注", |
| | | field: "deviceRemark", |
| | | type: "string", |
| | | }, |
| | | |
| | | ], |
| | | ]); |
| | | const searchFormFields = ref({ |
| | |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "设备编号", field: "deviceCode" }, |
| | | { title: "设备类型", field: "deviceType" }, |
| | | { title: "设备状态", field: "deviceStatus" }, |
| | | { title: "物料编号", field: "materielCode", type: "like" }, |
| | | { title: "物料名称", field: "materielName", type: "like" }, |
| | | { title: "出库单主键", field: "orderId", type: "int" }, |
| | | { title: "批次号", field: "batchNo", type: "like" }, |
| | | ], |
| | | [ |
| | | { |
| | | field: "orderDetailStatus",title: "订单明细状态",type: "select",dataKey:"orderDetailStatusEnum", data: [] |
| | | }, |
| | | { title: "创建者", field: "creater", type: "like" }, |
| | | { title: "创建时间", field: "createDate", type: "datetime" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "materielCode", |
| | |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "materielName", |
| | | title: "物料名称", |
| | | field: "remark", |
| | | title: "备注", |
| | | type: "string", |
| | | width: 150, |
| | | width: 600, |
| | | align: "left", |
| | | color:"red" |
| | | }, |
| | | |
| | | { |
| | | field: "batchNo", |
| | | title: "批次号", |
| | | type: "decimal", |
| | | width: 90, |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "lockQuantity", |
| | | title: "锁定数量", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | |
| | | { |
| | | field: "overOutQuantity", |
| | | title: "已出数量", |
| | | type: "string", |
| | | width: 200, |
| | | width: 80, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "orderDetailStatus", |
| | | title: "订单明细状态", |
| | | type: "string", |
| | | width: 180, |
| | | align: "left", |
| | | width: 90, |
| | | bind: { key: "orderDetailStatusEnum", data: [] }, |
| | | }, |
| | | { |
| | | field: "locationName", |
| | | title: "指定出库货位", |
| | | type: "string", |
| | | width: 200, |
| | | }, |
| | | { |
| | | field: "creater", |
| | |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "remark", |
| | | title: "备注", |
| | | field: "materielName", |
| | | title: "物料名称", |
| | | type: "string", |
| | | width: 100, |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "lockQuantity", |
| | | title: "锁定数量", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | |
| | | }, |
| | | }); |
| | | </script> |
| | | |