|  |  |  | 
|---|
|  |  |  | var pageCurr; | 
|---|
|  |  |  | function getCol() { | 
|---|
|  |  |  | var cols = [ | 
|---|
|  |  |  | {field: 'appe_time', title: '入库时间', align: 'center', width: 200} | 
|---|
|  |  |  | {field: 'appeTime$', title: '入库时间', align: 'center', width: 200} | 
|---|
|  |  |  | ,{field: 'stay_time', align: 'center',title: '滞留天数'} | 
|---|
|  |  |  | ,{field: 'loc_no', align: 'center',title: '库位号'} | 
|---|
|  |  |  | ,{field: 'zpallet', align: 'center',title: '货架条码', hide: false} | 
|---|
|  |  |  | // ,{field: 'suppCode', align: 'center',title: '货架码', hide: false} | 
|---|
|  |  |  | ,{field: 'matnr', align: 'center',title: '商品编码'} | 
|---|
|  |  |  | ,{field: 'anfme', align: 'center',title: '数量'} | 
|---|
|  |  |  | ,{field: 'batch', align: 'center',title: '批次自由项', hide: true} | 
|---|
|  |  |  | ,{field: 'maktx', align: 'center',title: '商品名称'} | 
|---|
|  |  |  | ,{field: 'order_no', align: 'center',title: '单据编号', hide: false} | 
|---|
|  |  |  | ,{field: 'three_code', align: 'center',title: '销售订单号'} | 
|---|
|  |  |  | ,{field: 'deadTime', align: 'center',title: '销售订单行号' ,hide: true} | 
|---|
|  |  |  | ,{field: 'specs', align: 'center',title: '规格型号', hide: true} | 
|---|
|  |  |  | ,{field: 'model', align: 'center',title: '通用型号', hide: true} | 
|---|
|  |  |  | ,{field: 'processSts$', align: 'center',title: '工序', hide: true} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ,{field: 'brand', align: 'center',title: '商品分类编码', hide: true} | 
|---|
|  |  |  | ,{field: 'color', align: 'center',title: '商品分类名称', hide: true} | 
|---|
|  |  |  | ,{field: 'unit', align: 'center',title: '计量单位', hide: true} | 
|---|
|  |  |  | ,{field: 'price', align: 'center',title: '进项税', hide: true} | 
|---|
|  |  |  | ,{field: 'units', align: 'center',title: '销项税', hide: true} | 
|---|
|  |  |  | ,{field: 'dsDate', align: 'center',title: '启用日期', hide: true} | 
|---|
|  |  |  | ,{field: 'appeUser$', align: 'center',title: '用户'} | 
|---|
|  |  |  | ,{field: 'dInvCreateDatetime', align: 'center',title: '建档日期', hide: true} | 
|---|
|  |  |  | ]; | 
|---|
|  |  |  | cols.push.apply(cols, detlCols); | 
|---|
|  |  |  | //cols.push.apply(cols, detlCols); | 
|---|
|  |  |  | return cols; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | switch(obj.event) { | 
|---|
|  |  |  | 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) { | 
|---|