|  |  |  | 
|---|
|  |  |  | function getCol() { | 
|---|
|  |  |  | var cols = [ | 
|---|
|  |  |  | {field: 'oneday', align: 'center', title: '入库日期', width: 200} | 
|---|
|  |  |  | ,{field: 'matnr', align: 'center',title: '商品编号'} | 
|---|
|  |  |  | ,{field: 'matnr', align: 'center',title: '规格'} | 
|---|
|  |  |  | ,{field: 'maktx', align: 'center',title: '商品名称'} | 
|---|
|  |  |  | ,{field: 'anfme', align: 'center',title: '数量'} | 
|---|
|  |  |  | ]; | 
|---|
|  |  |  | 
|---|
|  |  |  | limitName: 'pageSize' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | parseData: function (res) { | 
|---|
|  |  |  | $('#countNum').text(res.data.sum + '个'); | 
|---|
|  |  |  | return { | 
|---|
|  |  |  | 'code': res.code, | 
|---|
|  |  |  | 'msg': res.msg, | 
|---|
|  |  |  | 'count': res.data.total, | 
|---|
|  |  |  | 'data': res.data.records | 
|---|
|  |  |  | 'count': res.data.page.total, | 
|---|
|  |  |  | 'data': res.data.page.records | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | response: { | 
|---|