|  |  | 
 |  |  |     <meta name="renderer" content="webkit"> | 
 |  |  |     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | 
 |  |  |     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | 
 |  |  |     <link rel="stylesheet" href="/static/layui/css/layui.css" media="all"> | 
 |  |  |     <link rel="stylesheet" href="/static/css/cool.css" media="all"> | 
 |  |  |     <link rel="stylesheet" href="/static/css/common.css" media="all"> | 
 |  |  |     <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all"> | 
 |  |  |     <link rel="stylesheet" href="../../static/css/cool.css" media="all"> | 
 |  |  |     <link rel="stylesheet" href="../../static/css/common.css" media="all"> | 
 |  |  |     <style> | 
 |  |  |         .layui-table-body.layui-table-main{ | 
 |  |  |             overflow: auto; !important; | 
 |  |  | 
 |  |  | </div> | 
 |  |  | <table class="layui-hide" id="locDetlByMap" lay-filter="locDetlByMap"></table> | 
 |  |  | </body> | 
 |  |  | <script type="text/javascript" src="/static/js/jquery/jquery-3.3.1.min.js"></script> | 
 |  |  | <script type="text/javascript" src="/static/layui/layui.js" charset="utf-8"></script> | 
 |  |  | <script type="text/javascript" src="/static/js/locMast/locMast.js" charset="utf-8"></script> | 
 |  |  | <script type="text/javascript" src="/static/js/common.js" charset="utf-8"></script> | 
 |  |  | <script type="text/javascript" src="/static/js/cool.js" charset="utf-8"></script> | 
 |  |  | <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script> | 
 |  |  | <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script> | 
 |  |  | <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> | 
 |  |  | <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script> | 
 |  |  | <script type="text/javascript" src="../../static/js/locMast/locMast.js" charset="utf-8"></script> | 
 |  |  | <script type="text/javascript"> | 
 |  |  |     var pageCur; | 
 |  |  |     function getCol() { | 
 |  |  |         var cols = [ | 
 |  |  |             {field: 'locNo$', align: 'center',title: '库位号'} | 
 |  |  |         ]; | 
 |  |  |         cols.push.apply(cols, detlCols); | 
 |  |  |         return cols; | 
 |  |  |     } | 
 |  |  |     layui.use(['table','laydate', 'form'], function() { | 
 |  |  |         table = layui.table; | 
 |  |  |         var $ = layui.jquery; | 
 |  |  |         var form = layui.form; | 
 |  |  |  | 
 |  |  |         $('#locNo').val(parent.locNo); | 
 |  |  |         var tmp = getQueryVariable("locNo") | 
 |  |  |         if (tmp == false) { | 
 |  |  |             $('#locNo').val(parent.locNo); | 
 |  |  |         }else { | 
 |  |  |             $('#locNo').val(tmp); | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         // 数据渲染 | 
 |  |  |         tableIns = table.render({ | 
 |  |  |             elem: '#locDetlByMap', | 
 |  |  |             headers: {token: localStorage.getItem('token')}, | 
 |  |  |             url: '/locDetl/list/auth', | 
 |  |  |             url: baseUrl+'/locDetl/list/auth', | 
 |  |  |             page: true, | 
 |  |  |             limit: 5, | 
 |  |  |             limit: 20, | 
 |  |  |             skin: 'line', | 
 |  |  |             where: {loc_no: parent.locNo}, | 
 |  |  |             where: {loc_no: $('#locNo').val()}, | 
 |  |  |             even: true, | 
 |  |  |             cellMinWidth: 50, | 
 |  |  |             cols: [[ | 
 |  |  |                 // {type: 'checkbox'} | 
 |  |  |                 {field: 'locNo$', align: 'center',title: '库位号'} | 
 |  |  |                 ,{field: 'matnr', align: 'center',title: '物料'} | 
 |  |  |                 ,{field: 'lgnum', align: 'center',title: '仓库号'} | 
 |  |  |                 ,{field: 'tbnum', align: 'center',title: '转储请求编号'} | 
 |  |  |                 // ,{field: 'tbpos', align: 'center',title: '行项目'} | 
 |  |  |                 ,{field: 'zmatid', align: 'center',title: '物料标签ID'} | 
 |  |  |                 ,{field: 'maktx', align: 'center',title: '物料描述'} | 
 |  |  |                 ,{field: 'werks', align: 'center',title: '工厂'} | 
 |  |  |                 ,{field: 'anfme', align: 'center',title: '数量'} | 
 |  |  |                 ,{field: 'altme', align: 'center',title: '单位'} | 
 |  |  |                 ,{field: 'zpallet', align: 'center',title: '托盘条码'} | 
 |  |  |                 ,{field: 'bname', align: 'center',title: '用户ID'} | 
 |  |  |             ]], | 
 |  |  |             cols: [getCol()], | 
 |  |  |             request: { | 
 |  |  |                 pageName: 'curr', | 
 |  |  |                 pageSize: 'limit' | 
 |  |  | 
 |  |  |             }, | 
 |  |  |             done: function(res, curr, count) { | 
 |  |  |                 if (res.code === 403) { | 
 |  |  |                     top.location.href = "/"; | 
 |  |  |                     top.location.href = baseUrl+"/"; | 
 |  |  |                 } | 
 |  |  |                 pageCur=curr; | 
 |  |  |                 form.on('checkbox(tableCheckbox)', function (data) { |