|  |  |  | 
|---|
|  |  |  | var cols = [ | 
|---|
|  |  |  | {type: 'checkbox'} | 
|---|
|  |  |  | ,{field: 'tagId$', align: 'center',title: '归类', templet: '#tagTpl'} | 
|---|
|  |  |  | ,{field: 'storeMax', align: 'center',title: '库存上限',width: 90} | 
|---|
|  |  |  | ,{field: 'storeMin', align: 'center',title: '库存下限',width: 90} | 
|---|
|  |  |  | ,{field: 'storeMaxDate', align: 'center',title: '库龄上限(天)',width: 90} | 
|---|
|  |  |  | // ,{field: 'storeMax', align: 'center',title: '库存上限',width: 90} | 
|---|
|  |  |  | // ,{field: 'storeMin', align: 'center',title: '库存下限',width: 90} | 
|---|
|  |  |  | // ,{field: 'storeMaxDate', align: 'center',title: '库龄上限(天)',width: 90} | 
|---|
|  |  |  | ,{field: 'status$', align: 'center',title: '状态'} | 
|---|
|  |  |  | ]; | 
|---|
|  |  |  | cols.push.apply(cols, matCols); | 
|---|
|  |  |  | 
|---|
|  |  |  | break; | 
|---|
|  |  |  | case 'exportData': | 
|---|
|  |  |  | layer.confirm('确定导出Excel吗', {shadeClose: true}, function(){ | 
|---|
|  |  |  | layer.load(2, {time: 600*1000}); | 
|---|
|  |  |  | var titles=[]; | 
|---|
|  |  |  | var fields=[]; | 
|---|
|  |  |  | obj.config.cols[0].map(function (col) { | 
|---|