| | |
| | | {align: 'center', title: '明细', toolbar: '#tbLook', minWidth: 160}, |
| | | {field: 'createTime$', title: '创建时间', minWidth: 200}, |
| | | {field: 'settle$', align: 'center', title: '状态', templet: '#settleTpl', minWidth: 160}, |
| | | {field: 'memo', align: 'center',title: '备注', hide: true} |
| | | |
| | | {field: 'memo', align: 'center',title: '备注', hide: true}, |
| | | {align: 'center', title: '操作', toolbar: '#operate', width: 260} |
| | | ]], |
| | | request: { |
| | | pageName: 'curr', |
| | |
| | | {field: 'anfme', title: '数量'}, |
| | | {field: 'workQty', title: '作业数量'}, |
| | | {field: 'qty', title: '完成数量', style: 'font-weight: bold'}, |
| | | {field: 'owner$', title: '规格'}, |
| | | {field: 'payment$', title: '规格'} |
| | | |
| | | {field: 'weight', title: '重量'} |
| | | ]], |
| | | request: { |
| | | pageName: 'curr', |
| | |
| | | }); |
| | | }else if (layEvent === 'wrkTrace'){ |
| | | showWrkTrace(data.id); |
| | | } |
| | | else if (layEvent === 'printExcel'){ |
| | | printExcel(data); |
| | | } |
| | | }); |
| | | |
| | |
| | | } |
| | | }) |
| | | } |
| | | function printExcel(data){ |
| | | layer.confirm('确定导出Excel吗', {shadeClose: true}, function(){ |
| | | layer.closeAll(); |
| | | layer.load(1, {shade: [0.1,'#fff']}); |
| | | // location.href = "http://192.168.4.121:8082/stwms/orderCheck/printExport/auth?orderNo="+data.orderNo; |
| | | location.href = baseUrl+"/orderLog/printExport/auth?orderNo="+data.orderNo; |
| | | layer.closeAll('loading'); |
| | | }); |
| | | } |
| | | }); |