| | |
| | | var table = layui.table; |
| | | var $ = layui.jquery; |
| | | var layer = layui.layer; |
| | | var layDate = layui.laydate; |
| | | var form = layui.form; |
| | | var admin = layui.admin; |
| | | var laydate = layui.laydate; |
| | | |
| | | // 日期时间范围 |
| | | laydate.render({ |
| | | elem: '#ID-laydate-range-datetime', |
| | | type: 'datetime', |
| | | range: true |
| | | }); |
| | | |
| | | // 数据渲染 |
| | | tableIns = table.render({ |
| | |
| | | headers: {token: localStorage.getItem('token')}, |
| | | url: baseUrl+'/saasLog/list/auth', |
| | | page: true, |
| | | limit: 15, |
| | | limits: [15, 30, 50, 100, 200, 500], |
| | | // toolbar: '#toolbar', |
| | | totalRow: true, // 开启合计行 |
| | | limit: 16, |
| | | limits: [16, 50, 100, 200, 500,2000,5000,10000], |
| | | toolbar: '#toolbar', |
| | | cellMinWidth: 50, |
| | | height: 'full-120', |
| | | cols: [[ |
| | | {type: 'checkbox'} |
| | | //{type: 'checkbox'} |
| | | ,{field: 'id', align: 'center',title: 'id', hide:true} |
| | | ,{field: 'locNo', align: 'center',title: '库位'} |
| | | ,{field: 'type$', align: 'center',title: '操作类型'} |
| | | ,{field: 'matnr', align: 'center',title: '物料号'} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'createByName', align: 'center',title: '操作人'} |
| | | ,{field: 'matnr', align: 'center',title: '牌号'} |
| | | ,{field: 'batch', align: 'center',title: '批号'} |
| | | ,{field: 'packageNo', align: 'center',title: '包号'} |
| | | ,{field: 'targetLocNo', align: 'center',title: '目标库位'} |
| | | ,{field: 'owner', align: 'center',title: '主体'} |
| | | ,{field: 'workshop', align: 'center',title: '车间'} |
| | | ,{field: 'anfme', align: 'center',title: '数量',totalRow:true} |
| | | // ,{field: 'createByName', align: 'center',title: '操作人'} |
| | | ,{field: 'ioTime$', align: 'center',title: '操作时间'} |
| | | ,{field: 'createBy', align: 'center',title: '', hide:true} |
| | | |
| | | |
| | | ]], |
| | | request: { |