| | |
| | | |
| | | // 数据渲染 |
| | | tableIns = table.render({ |
| | | elem: '#orderSettle', |
| | | elem: '#orderSettleTab', |
| | | headers: {token: localStorage.getItem('token')}, |
| | | url: baseUrl+'/orderSettle/list/auth', |
| | | page: true, |
| | |
| | | // ,{field: 'createTime$', align: 'center',title: '添加时间'} |
| | | ,{field: 'updateBy$', align: 'center',title: '修改人员'} |
| | | ,{field: 'updateTime$', align: 'center',title: '修改时间'} |
| | | ,{field: 'memo', align: 'center',title: '备注'} |
| | | ,{field: 'memo', align: 'center',title: '备注', hide: true} |
| | | |
| | | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150} |
| | | ]], |
| | |
| | | }); |
| | | |
| | | // 监听头工具栏事件 |
| | | table.on('toolbar(orderSettle)', function (obj) { |
| | | table.on('toolbar(orderSettleTab)', function (obj) { |
| | | var checkStatus = table.checkStatus(obj.config.id); |
| | | switch(obj.event) { |
| | | case 'addData': |
| | |
| | | }); |
| | | |
| | | // 监听行工具事件 |
| | | table.on('tool(orderSettle)', function(obj){ |
| | | table.on('tool(orderSettleTab)', function(obj){ |
| | | var data = obj.data; |
| | | switch (obj.event) { |
| | | // 详情 |