|  |  |  | 
|---|
|  |  |  | toolbar: '#toolbar', | 
|---|
|  |  |  | cellMinWidth: 50, | 
|---|
|  |  |  | cols: [[ | 
|---|
|  |  |  | {type: 'checkbox'} | 
|---|
|  |  |  | ,{field: 'wrkNo', align: 'center',title: '工作号',sort: true} | 
|---|
|  |  |  | // {type: 'checkbox'} | 
|---|
|  |  |  | {field: 'wrkNo', align: 'center',title: '工作号',sort: true} | 
|---|
|  |  |  | ,{field: 'ioTime$', align: 'center',title: '工作时间',sort: true, hide:true} | 
|---|
|  |  |  | ,{field: 'wrkSts$', align: 'center',title: '工作状态'} | 
|---|
|  |  |  | ,{field: 'ioType$', align: 'center',title: '入出库类型'} | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 每秒刷新 | 
|---|
|  |  |  | setInterval(function () { | 
|---|
|  |  |  | $(".layui-laypage-btn")[0].click(); | 
|---|
|  |  |  | if ($(".layui-laypage-btn").length > 0) { | 
|---|
|  |  |  | $(".layui-laypage-btn")[0].click(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, 1000); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 监听排序事件 | 
|---|
|  |  |  | 
|---|
|  |  |  | ,{field: 'tbpos', align: 'center',title: '行项目'} | 
|---|
|  |  |  | ,{field: 'zmatid', align: 'center',title: '物料标签ID'} | 
|---|
|  |  |  | ,{field: 'maktx', align: 'center',title: '物料描述'} | 
|---|
|  |  |  | ,{field: 'model', align: 'center',title: '产品代码'} | 
|---|
|  |  |  | ,{field: 'werks', align: 'center',title: '工厂'} | 
|---|
|  |  |  | ,{field: 'anfme', align: 'center',title: '数量'} | 
|---|
|  |  |  | ,{field: 'altme', align: 'center',title: '单位'} | 
|---|