|  |  | 
 |  |  |  | 
 |  |  | var locDetlData = []; | 
 |  |  | function getCol() { | 
 |  |  |     var cols = [ | 
 |  |  |         {field: 'count', align: 'center',title: '出库数量', edit:'text', width: 130,  style:'color: blue;font-weight: bold'} | 
 |  |  |         ,{field: 'anfme', align: 'center',title: '原数量'} | 
 |  |  |         ,{field: 'locNo$', align: 'center',title: '库位号'} | 
 |  |  |     ]; | 
 |  |  |     arrRemove(detlCols,  'field', 'anfme'); | 
 |  |  |     cols.push.apply(cols, detlCols); | 
 |  |  |     cols.push({fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:80}) | 
 |  |  |     return cols; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | layui.use(['table','laydate', 'form'], function() { | 
 |  |  |     var table = layui.table; | 
 |  |  | 
 |  |  |         even: true, | 
 |  |  |         toolbar: '#toolbar', | 
 |  |  |         cellMinWidth: 50, | 
 |  |  |         cols: [[ | 
 |  |  |             {field: 'count', align: 'center',title: '出库数量', edit:'text', width: 130,  style:'color: blue;font-weight: bold'} | 
 |  |  |             ,{field: 'anfme', align: 'center',title: '原数量'} | 
 |  |  |             ,{field: 'locNo$', align: 'center',title: '库位号'} | 
 |  |  |             ,{field: 'matnr', align: 'center',title: '物料'} | 
 |  |  |             ,{field: 'lgnum', align: 'center',title: '仓库号', width:80} | 
 |  |  |             ,{field: 'tbnum', align: 'center',title: '转储请求编号'} | 
 |  |  |             // ,{field: 'tbpos', align: 'center',title: '行项目'} | 
 |  |  |             ,{field: 'zmatid', align: 'center',title: '物料标签ID', width:200} | 
 |  |  |             ,{field: 'maktx', align: 'center',title: '物料描述', width:150} | 
 |  |  |             ,{field: 'werks', align: 'center',title: '工厂'} | 
 |  |  |             ,{field: 'altme', align: 'center',title: '单位', width:80} | 
 |  |  |             ,{field: 'zpallet', align: 'center',title: '托盘条码'} | 
 |  |  |             ,{field: 'bname', align: 'center',title: '用户ID'} | 
 |  |  |             ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:80} | 
 |  |  |         ]], | 
 |  |  |         cols: [getCol()], | 
 |  |  |         done: function(res, curr, count) { | 
 |  |  |             limit(); | 
 |  |  |             getOutBound(); | 
 |  |  | 
 |  |  | function getLocDetl() { | 
 |  |  |     locDetlLayerIdx = layer.open({ | 
 |  |  |         type: 2, | 
 |  |  |         title: '提取物料', | 
 |  |  |         title: '提取出货内容', | 
 |  |  |         maxmin: true, | 
 |  |  |         area: [top.detailWidth, top.detailHeight], | 
 |  |  |         shadeClose: true, |