|  |  | 
 |  |  | var pageCurr; | 
 |  |  | function getCol() { | 
 |  |  |     var cols = [ | 
 |  |  |         {field: 'anfme', align: 'center',title: '库存数量', style: 'font-weight: bold'} | 
 |  |  |     ]; | 
 |  |  |     arrRemove(detlCols, "field", "anfme") | 
 |  |  |     arrRemove(detlCols, "field", "zpallet") | 
 |  |  |     cols.push.apply(cols, detlCols); | 
 |  |  |     // cols.push({field: 'anfme', align: 'center',title: '数量', style: 'font-weight: bold'} | 
 |  |  |     // ) | 
 |  |  |     return cols; | 
 |  |  | } | 
 |  |  | // function getCol() { | 
 |  |  | //     var cols = [ | 
 |  |  | //         {field: 'anfme', align: 'center',title: '库存数量', style: 'font-weight: bold'} | 
 |  |  | //     ]; | 
 |  |  | //     arrRemove(detlCols, "field", "anfme") | 
 |  |  | //     arrRemove(detlCols, "field", "zpallet") | 
 |  |  | //     cols.push.apply(cols, detlCols); | 
 |  |  | //     // cols.push({field: 'anfme', align: 'center',title: '数量', style: 'font-weight: bold'} | 
 |  |  | //     // ) | 
 |  |  | //     return cols; | 
 |  |  | // } | 
 |  |  |  | 
 |  |  | layui.use(['table','laydate', 'form'], function(){ | 
 |  |  |     var table = layui.table; | 
 |  |  | 
 |  |  |         even: true, | 
 |  |  |         toolbar: '#toolbar', | 
 |  |  |         cellMinWidth: 50, | 
 |  |  |         cols: [getCol()], | 
 |  |  |         cols: [[ | 
 |  |  |             {field: 'lkQty', title:'立库数量', align: 'center', width:150}, | 
 |  |  |             {field: 'erpQty', title:'ERP数量', align: 'center', width:150}, | 
 |  |  |             {field: 'matnr', title:'产品编码', align: 'center'}, | 
 |  |  |             {field: 'specs', title:'产品规格', align: 'center'}, | 
 |  |  |             {field: 'maktx', title:'产品名称', align: 'center'} | 
 |  |  |         ]], | 
 |  |  |         request: { | 
 |  |  |             pageName: 'curr', | 
 |  |  |             pageSize: 'limit' |