| | |
| | | |
| | | $('#wrkNo').val(parent.wrkNo); |
| | | $('#wmsWrkNo').val(parent.wmsWrkNo); |
| | | |
| | | // 数据渲染 |
| | | tableIns = table.render({ |
| | | elem: '#wrkMast', |
| | |
| | | cellMinWidth: 50, |
| | | cols: [[ |
| | | {type: 'checkbox'} |
| | | , {field: 'wmsWrkNo', align: 'center', title: 'WMS任务号', sort: true, width: 85} |
| | | , {field: 'wrkNo', align: 'center', title: '任务号', sort: true, width: 85} |
| | | , {field: 'wmsWrkNo', align: 'center', title: 'WMS任务号', sort: true, width: 120} |
| | | , {field: 'wrkNo', align: 'center', title: '任务号', sort: true, width: 120} |
| | | , {field: 'ioTime$', align: 'center', title: '任务时间', sort: true, width: 160} |
| | | , {field: 'durationTime', align: 'center', title: '持续时长', width: 160} |
| | | , {field: 'wrkSts$', align: 'center', title: '任务状态'} |
| | |
| | | if (res.code === 403) { |
| | | top.location.href = baseUrl + "/"; |
| | | } |
| | | $(".layui-table-body, .layui-table-box, .layui-table-cell").css('overflow','visible');//解决layui数据表格中嵌套下拉框显示问题 |
| | | $(".layui-table-body, .layui-table-box, .layui-table-cell").css('overflow', 'visible');//解决layui数据表格中嵌套下拉框显示问题 |
| | | pageCurr = curr; |
| | | limit(); |
| | | form.on('checkbox(tableCheckbox)', function (data) { |
| | |
| | | break; |
| | | case 'commandShow'://查看指令 |
| | | wrkNo = data.wrkNo; |
| | | wmsWrkNo = data.wmsWrkNo; |
| | | layer.open({ |
| | | type: 2, |
| | | title: 'WMS任务指令', |
| | |
| | | area: [top.detailWidth, top.detailHeight], |
| | | shadeClose: true, |
| | | content: '../commandManage/commandManage.html', |
| | | success: function(layero, index){ |
| | | success: function (layero, index) { |
| | | } |
| | | }); |
| | | break; |