|  |  | 
 |  |  | <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; | 
 |  |  |         const urlParams = new URLSearchParams(window.location.search); | 
 |  |  |         const locNo = urlParams.get('locNo'); | 
 |  |  |         console.log(locNo); // 输出获取到的 locNo 参数值 | 
 |  |  |  | 
 |  |  |         $('#locNo').val(parent.locNo); | 
 |  |  |         $('#locNo').val(locNo); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         // 数据渲染 | 
 |  |  |         tableIns = table.render({ | 
 |  |  |             elem: '#locDetlByMap', | 
 |  |  |             headers: {token: localStorage.getItem('token')}, | 
 |  |  |             url: baseUrl+'/locDetl/list/auth', | 
 |  |  |             url: baseUrl+'/manLocDetl/list/auth', | 
 |  |  |             page: true, | 
 |  |  |             limit: 10, | 
 |  |  |             limit: 20, | 
 |  |  |             skin: 'line', | 
 |  |  |             where: {loc_no: parent.locNo}, | 
 |  |  |             where: {loc_no: locNo}, | 
 |  |  |             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'} | 
 |  |  |                 {field: 'locNo', align: 'center',title: '库位号'}, | 
 |  |  |                 {field: 'matnr', align: 'center',title: '商品编号'}, | 
 |  |  |                 {field: 'maktx', align: 'center',title: '商品名称'}, | 
 |  |  |                 {field: 'batch', align: 'center',title: '批次'}, | 
 |  |  |                 {field: 'anfme', align: 'center',title: '数量'}, | 
 |  |  |                 {field: 'owner$', align: 'center',title: '货主'}, | 
 |  |  |                 // {field: 'orderNo', align: 'center',title: '订单号'}, | 
 |  |  |                 {field: 'createTime$', align: 'center',title: '入库时间'}, | 
 |  |  |                 {field: 'specs', align: 'center',title: '规格'} | 
 |  |  |             ]], | 
 |  |  |             request: { | 
 |  |  |                 pageName: 'curr', |