| | |
| | | toolbar: '#toolbar', |
| | | cellMinWidth: 50, |
| | | cols: [[ |
| | | {type: 'checkbox'} |
| | | // {type: 'checkbox'} |
| | | // ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80} |
| | | // ,{field: 'id', align: 'center',title: '编号'} |
| | | ,{field: 'trayNo', align: 'center',title: '序列号'} |
| | | {field: 'trayNo', align: 'center',title: '序列号', sort: true} |
| | | ,{field: 'start', align: 'center',title: '起始', templet:function(row){ |
| | | var html = "<input value='start' type='checkbox' disabled='disabled' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'"; |
| | | if(row.start === 'Y'){html += " checked ";} |
| | |
| | | ,{field: 'memo', align: 'center',title: '备注', hide:true} |
| | | // ,{field: 'modiTime$', align: 'center',title: '修改时间'} |
| | | // ,{field: 'modiUser$', align: 'center',title: '修改人员',event: 'modiUser', style: 'cursor:pointer'} |
| | | ,{field: 'appeTime$', align: 'center',title: '添加时间'} |
| | | ,{field: 'appeTime$', align: 'center',title: '添加时间', sort: true} |
| | | ,{field: 'appeUser$', align: 'center',title: '添加人员'} |
| | | |
| | | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150} |
| | | // ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150} |
| | | ]], |
| | | request: { |
| | | pageName: 'curr', |
| | |
| | | </div> |
| | | <script type="text/html" id="toolbar"> |
| | | <div class="layui-btn-container"> |
| | | <button class="layui-btn layui-btn-primary" id="btn-tray" lay-event="btnTray">生成托盘码</button> |
| | | <button class="layui-btn layui-btn-normal" id="btn-tray" lay-event="btnTray">生成托盘码</button> |
| | | <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData">导出</button> |
| | | </div> |
| | | </script> |