|  |  |  | 
|---|
|  |  |  | toolbar: '#toolbar', | 
|---|
|  |  |  | cellMinWidth: 50, | 
|---|
|  |  |  | height: 'full-120', | 
|---|
|  |  |  | where:{cstmr : 0}, | 
|---|
|  |  |  | cols: [[ | 
|---|
|  |  |  | {type: 'checkbox'} | 
|---|
|  |  |  | // ,{field: 'id', align: 'center',title: 'ID'} | 
|---|
|  |  |  | 
|---|
|  |  |  | ,{field: 'model', align: 'center',title: '通用型号', hide: true} | 
|---|
|  |  |  | ,{field: 'cstmr', align: 'center',title: '客户', hide: true} | 
|---|
|  |  |  | ,{field: 'batch', align: 'center',title: '批号'} | 
|---|
|  |  |  | ,{field: 'other', align: 'center',title: '其他', hide: true} | 
|---|
|  |  |  | ,{field: 'other', align: 'center',title: '库区'} | 
|---|
|  |  |  | ,{field: 'rowBeg', align: 'center',title: '开始排'} | 
|---|
|  |  |  | ,{field: 'rowEnd', align: 'center',title: '结束排'} | 
|---|
|  |  |  | ,{field: 'bayBeg', 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) { | 
|---|
|  |  |  | 
|---|
|  |  |  | layDateRender(mData); | 
|---|
|  |  |  | form.val('detail', mData); | 
|---|
|  |  |  | form.on('submit(editSubmit)', function (data) { | 
|---|
|  |  |  | data.field.cstmr = 0; | 
|---|
|  |  |  | var loadIndex = layer.load(2); | 
|---|
|  |  |  | $.ajax({ | 
|---|
|  |  |  | url: baseUrl+"/locRule/"+(mData?'update':'add')+"/auth", | 
|---|