| | |
| | | cellMinWidth: 50, |
| | | height: 'full-120', |
| | | cols: [[ |
| | | {type: 'checkbox'} |
| | | ,{field: 'wmsWrkNo', align: 'center',title: 'WMS任务号',width: 110} |
| | | ,{field: 'wmsStatus$', align: 'center',title: 'WMS任务状态',width: 130} |
| | | {title:'操作', align: 'center', toolbar: '#operate', width: 110} |
| | | ,{field: 'taskNo', align: 'center',title: 'WMS任务号',width: 110} |
| | | ,{field: 'status$', align: 'center',title: '任务状态',width: 130} |
| | | ,{field: 'wrkNo', align: 'center',title: '任务号'} |
| | | ,{field: 'createTime$', align: 'center',title: '任务时间',width: 170} |
| | | ,{field: 'durationTime', align: 'center',title: '持续时长',width: 150} |
| | | ,{field: 'ioType$', align: 'center',title: '任务类型'} |
| | | ,{field: 'ioPri', align: 'center',title: '优先级'} |
| | | ,{field: 'sourceStaNo$', align: 'center',title: '源站'} |
| | | ,{field: 'staNo$', align: 'center',title: '目标站'} |
| | | ,{field: 'sourceLocNo', align: 'center',title: '源库位'} |
| | | ,{field: 'locNo', align: 'center',title: '目标库位'} |
| | | ,{field: 'locSts', align: 'center',title: '库位状态'} |
| | | ,{field: 'barcode', align: 'center',title: '条码'} |
| | | // ,{field: 'picking', align: 'center',title: '拣料'} |
| | | // ,{field: 'modiUser$', align: 'center',title: '修改人员'} |
| | | // ,{field: 'modiTime$', align: 'center',title: '修改时间'} |
| | | // ,{field: 'appeUser$', align: 'center',title: '创建者'} |
| | | ,{field: 'appeTime$', align: 'center',title: '添加时间'} |
| | | ,{field: 'startPoint', align: 'center',title: '起点'} |
| | | ,{field: 'targetPoint', align: 'center',title: '终点'} |
| | | ,{field: 'memo', align: 'center',title: '备注'} |
| | | |
| | | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width: 110} |
| | | // ,{field: 'assignTime$', align: 'center',title: '派发时间',width: 170} |
| | | // ,{field: 'executeTime$', align: 'center',title: '执行时间',width: 170} |
| | | // ,{field: 'completeTime$', align: 'center',title: '完结时间',width: 170} |
| | | // ,{field: 'cancelTime$', align: 'center',title: '取消时间',width: 170} |
| | | ]], |
| | | request: { |
| | | pageName: 'curr', |
| | |
| | | var data = obj.data; |
| | | switch (obj.event) { |
| | | case 'distribute'://派发 |
| | | layer.confirm('确认派发该笔任务?', {title: 'WMS任务号:' + data.wmsWrkNo, shadeClose: true}, function () { |
| | | layer.confirm('确认派发该笔任务?', {title: 'WMS任务号:' + data.taskNo, shadeClose: true}, function () { |
| | | $.ajax({ |
| | | url: baseUrl + "/wmsWrk/distribute/auth", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | data: { |
| | | wmsWrkNo: data.wmsWrkNo |
| | | taskNo: data.taskNo |
| | | }, |
| | | method: 'POST', |
| | | success: function (res) { |