|  |  |  | 
|---|
|  |  |  | {type: 'checkbox'} | 
|---|
|  |  |  | // ,{field: 'id', align: 'center',title: 'ID'} | 
|---|
|  |  |  | ,{field: 'barcode',title: '条码'} | 
|---|
|  |  |  | ,{field: 'matnr', align: 'center',title: '商品编号', minWidth: 250, width: 250} | 
|---|
|  |  |  | ,{field: 'batch', align: 'center',title: '批号', hide: true} | 
|---|
|  |  |  | ,{field: 'matnr', align: 'center',title: '物料号', minWidth: 250, width: 250} | 
|---|
|  |  |  | ,{field: 'batch', align: 'center',title: '序列码', hide: true} | 
|---|
|  |  |  | ,{field: 'settle$', align: 'center',title: '状态', templet: '#settleTpl',  minWidth: 160, width: 160} | 
|---|
|  |  |  | // ,{field: 'status$', align: 'center',title: '状态'} | 
|---|
|  |  |  | // ,{field: 'createTime$', align: 'center',title: '添加时间'} | 
|---|
|  |  |  | 
|---|
|  |  |  | break; | 
|---|
|  |  |  | case 'exportData': | 
|---|
|  |  |  | admin.confirm('确定导出Excel吗', {shadeClose: true}, function(){ | 
|---|
|  |  |  | layer.load(2, {time: 600*1000}); | 
|---|
|  |  |  | var titles=[]; | 
|---|
|  |  |  | var fields=[]; | 
|---|
|  |  |  | obj.config.cols[0].map(function (col) { | 
|---|
|  |  |  | 
|---|
|  |  |  | admin.open({ | 
|---|
|  |  |  | type: 1, | 
|---|
|  |  |  | area: '600px', | 
|---|
|  |  |  | title: (mData ? '修改' : '添加') + '订单状态', | 
|---|
|  |  |  | title: (mData ? '修改' : '添加') + '数据', | 
|---|
|  |  |  | content: $('#editDialog').html(), | 
|---|
|  |  |  | success: function (layero, dIndex) { | 
|---|
|  |  |  | layDateRender(mData); | 
|---|