|  |  |  | 
|---|
|  |  |  | function getCol() { | 
|---|
|  |  |  | var cols = [ | 
|---|
|  |  |  | {field: 'locNo$', align: 'center',title: '库位号'}, | 
|---|
|  |  |  | {field: 'matnr', align: 'center',title: '商品编号', sort:true} | 
|---|
|  |  |  | {field: 'matnr', align: 'center',title: '规格', sort:true} | 
|---|
|  |  |  | ,{field: 'maktx', align: 'center',title: '商品名称', sort:true} | 
|---|
|  |  |  | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false} | 
|---|
|  |  |  | ,{field: 'batch', align: 'center',title: '序列码', width: 300, sort:true} | 
|---|
|  |  |  | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true} | 
|---|
|  |  |  | ,{field: 'batch', align: 'center',title: '箱号', width: 300, sort:true} | 
|---|
|  |  |  | ,{field: 'anfme', align: 'center',title: '数量'} | 
|---|
|  |  |  | ,{field: 'zpallet', align: 'center',title: '托盘条码'} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ,{field: 'specs', align: 'center',title: '配置'} | 
|---|
|  |  |  | ,{field: 'model', align: 'center',title: '代码', hide: true} | 
|---|
|  |  |  | ,{field: 'specs', align: 'center',title: '接头'} | 
|---|
|  |  |  | ,{field: 'model', align: 'center',title: '卷号', hide: false} | 
|---|
|  |  |  | ,{field: 'color', align: 'center',title: '颜色', hide: true} | 
|---|
|  |  |  | ,{field: 'brand', align: 'center',title: '品牌', hide: true} | 
|---|
|  |  |  | ,{field: 'brand', align: 'center',title: '木箱类型', hide: true} | 
|---|
|  |  |  | ,{field: 'brand$', align: 'center',title: '木箱类型', hide: false} | 
|---|
|  |  |  | ,{field: 'unit', align: 'center',title: '单位', hide: true} | 
|---|
|  |  |  | ,{field: 'price', align: 'center',title: '单价', hide: true} | 
|---|
|  |  |  | ,{field: 'price', align: 'center',title: '长度', hide: false} | 
|---|
|  |  |  | ,{field: 'sku', align: 'center',title: 'sku', hide: true} | 
|---|
|  |  |  | ,{field: 'units', align: 'center',title: '单位量', hide: true} | 
|---|
|  |  |  | ,{field: 'barcode', align: 'center',title: '条码', hide: true} | 
|---|
|  |  |  | ,{field: 'origin', align: 'center',title: '产地', hide: true} | 
|---|
|  |  |  | ,{field: 'origin', align: 'center',title: '木箱位置', hide: false} | 
|---|
|  |  |  | ,{field: 'manu', align: 'center',title: '厂家', hide: true} | 
|---|
|  |  |  | ,{field: 'manuDate', align: 'center',title: '生产日期', hide: true} | 
|---|
|  |  |  | ,{field: 'itemNum', align: 'center',title: '品项数', hide: true} | 
|---|
|  |  |  | ,{field: 'safeQty', align: 'center',title: '安全库存量', hide: true} | 
|---|
|  |  |  | ,{field: 'weight', align: 'center',title: '单箱净重', hide: true} | 
|---|
|  |  |  | ,{field: 'length', align: 'center',title: '单箱毛重', hide: true} | 
|---|
|  |  |  | ,{field: 'volume', align: 'center',title: '单箱体积', hide: true} | 
|---|
|  |  |  | // ,{field: 'length', align: 'center',title: '单箱毛重', hide: true} | 
|---|
|  |  |  | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: false} | 
|---|
|  |  |  | ,{field: 'threeCode', align: 'center',title: '箱子尺寸', hide: true} | 
|---|
|  |  |  | ,{field: 'supp', align: 'center',title: '供应商', hide: true} | 
|---|
|  |  |  | ,{field: 'suppCode', align: 'center',title: '供应商编码', hide: true} | 
|---|
|  |  |  | 
|---|
|  |  |  | headers: {token: localStorage.getItem('token')}, | 
|---|
|  |  |  | url: baseUrl+'/locDetl/list/auth', | 
|---|
|  |  |  | page: true, | 
|---|
|  |  |  | limit: 20, | 
|---|
|  |  |  | limits: [20, 30, 50, 100, 200, 500], | 
|---|
|  |  |  | limit: 16, | 
|---|
|  |  |  | limits: [16, 30, 50, 100, 200, 500], | 
|---|
|  |  |  | even: true, | 
|---|
|  |  |  | toolbar: '#toolbar', | 
|---|
|  |  |  | cellMinWidth: 50, | 
|---|
|  |  |  | 
|---|
|  |  |  | tableReload(false); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 搜索栏重置事件 | 
|---|
|  |  |  | form.on('submit(reset)', function (data) { | 
|---|
|  |  |  | pageCurr = 1; | 
|---|
|  |  |  | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | function tableReload(child) { | 
|---|
|  |  |  | var searchData = {}; | 
|---|
|  |  |  | var searchData = { | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | $.each($('#search-box [name]').serializeArray(), function() { | 
|---|
|  |  |  | searchData[this.name] = this.value; | 
|---|
|  |  |  | }); | 
|---|