| | |
| | | sortName: "TaskId" |
| | | }); |
| | | const editFormFields = ref({ |
| | | "taskNum": "", |
| | | "palletCode": "" |
| | | "grade": "", |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { "title": "任务号", "field": "taskNum", "type": "text" }, |
| | | { "title": "托盘号", "field": "palletCode", "type": "text" }, |
| | | { "title": "任务类型", "field": "taskType", "type": "select", dataKey: "TaskType", data: [] }, |
| | | { "title": "任务状态", "field": "taskState", "type": "select", dataKey: "TaskStatus", data: [] }, |
| | | |
| | | ], |
| | | [ |
| | | { "title": "起始位置", "field": "sourceAddress", type: "text" }, |
| | | { "title": "当前位置", "field": "currentAddress", type: "text" }, |
| | | { "title": "下一位置", "field": "nextAddress", type: "text" }, |
| | | { "title": "目标位置", "field": "targetAddress", type: "text" }, |
| | | { "title": "优先级", "field": "grade", type: "text" }, |
| | | ], |
| | | ]); |
| | | const searchFormFields = ref({ |
| | |
| | | { field: 'targetAddress', title: '目标位置', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'grade', title: '优先级', type: 'int', width: 60, align: 'left' }, |
| | | { field: 'productionLine', title: '产线', type: 'string', width: 70, align: 'left', bind: { key: "ProductionLine", data: [] } }, |
| | | { field: 'processCode', title: '工序', type: 'string', width: 90, align: 'left' }, |
| | | { field: 'errorMessage', title: '异常信息', type: 'string', width: 110, align: 'left',sort: true }, |
| | | { field: 'dispatchertime', title: '任务下发时间', type: 'datetime', width: 150, align: 'left', sort: true }, |
| | | { field: 'remark', title: '备注', type: 'string', width: 110, align: 'left',hidden: true, }, |
| | | { field: 'createDate', title: '创建时间', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | |
| | | { field: 'locationCode', title: '货位号', type: 'string', width: 110, hidden: true, align: 'left' }, |
| | | { field: 'materialNo', title: '物料编号', type: 'string', width: 110, hidden: true, align: 'left' }, |
| | | { field: 'targetAddress', title: '目标地址', type: 'string', width: 110, hidden: true, align: 'left' }, |
| | | { field: 'processCode', title: '工序', type: 'string', width: 90, align: 'left' }, |
| | | { field: 'createID', title: '创建ID', type: 'int', sort: true, width: 100, hidden: true, align: 'left' }, |
| | | { field: 'modifyID', title: '修改人ID', type: 'int', sort: true, width: 100, hidden: true, align: 'left' },]); |
| | | const detail = ref({ |