|  |  | 
 |  |  |         limit: 15, | 
 |  |  |         limits: [15, 30, 50, 100, 200, 500], | 
 |  |  |         toolbar: '#toolbar', | 
 |  |  |         cellMinWidth: 50, | 
 |  |  |         cellMinWidth: 80, | 
 |  |  |         height: 'full-120', | 
 |  |  |         cols: [[{type: 'checkbox'}, {field: 'locNo', align: 'center', title: '库位号'}, { | 
 |  |  |             field: 'barcode', | 
 |  |  |             align: 'center', | 
 |  |  |             title: '托盘码' | 
 |  |  |         }, {field: 'areaName', align: 'center', title: '库区名称'}, { | 
 |  |  |             field: 'whsType$', | 
 |  |  |             align: 'center', | 
 |  |  |             title: '库位类型' | 
 |  |  |         }, {field: 'locSts', align: 'center', title: '库位状态'}, { | 
 |  |  |             field: 'row1', | 
 |  |  |             align: 'center', | 
 |  |  |             title: '排' | 
 |  |  |         }, {field: 'bay1', align: 'center', title: '列'}, { | 
 |  |  |             field: 'lev1', | 
 |  |  |             align: 'center', | 
 |  |  |             title: '层' | 
 |  |  |         }, {field: 'locType', align: 'center', title: '库位类型'} | 
 |  |  |             ,{field: 'sort', align: 'center', title: '优先级'} | 
 |  |  |             ,{field: 'modiUser$', align: 'center', title: '修改人员' | 
 |  |  |         }, {field: 'modiTime$', align: 'center', title: '修改时间'}, { | 
 |  |  |             field: 'appeUser$', | 
 |  |  |             align: 'center', | 
 |  |  |             title: '创建者' | 
 |  |  |         }, {field: 'appeTime$', align: 'center', title: '添加时间'}, { | 
 |  |  |             field: 'frozen', | 
 |  |  |             align: 'center', | 
 |  |  |             title: '是否冻结,0.未冻结,1.已冻结', | 
 |  |  |             hide: true | 
 |  |  |         }, {field: 'frozenMemo', align: 'center', title: '冻结备注', hide: true}, { | 
 |  |  |             fixed: 'right', | 
 |  |  |             title: '操作', | 
 |  |  |             align: 'center', | 
 |  |  |             toolbar: '#operate', | 
 |  |  |             width: 120 | 
 |  |  |         }]], | 
 |  |  |         cols: [[{type: 'checkbox'}, {field: 'locNo', align: 'center', title: '库位号', width: 120} | 
 |  |  |             , {field: 'barcode', align: 'center', title: '托盘码'} | 
 |  |  |             , {field: 'areaName', align: 'center', title: '库区名称'} | 
 |  |  |             // , {field: 'whsType$', align: 'center', title: '库位类型'} | 
 |  |  |             , {field: 'locSts', align: 'center', title: '库位状态'} | 
 |  |  |             , {field: 'row1', align: 'center', title: '排'} | 
 |  |  |             , {field: 'bay1', align: 'center', title: '列'} | 
 |  |  |             , {field: 'lev1', align: 'center', title: '层'} | 
 |  |  |             // , {field: 'locType', align: 'center', title: '库位类型'} | 
 |  |  |             , {field: 'sort', align: 'center', title: '优先级'} | 
 |  |  |             , {field: 'modiUser$', align: 'center', title: '修改人员'} | 
 |  |  |             , {field: 'modiTime$', align: 'center', title: '修改时间'} | 
 |  |  |             , {field: 'appeUser$', align: 'center', title: '创建者'} | 
 |  |  |             , {field: 'appeTime$', align: 'center', title: '添加时间'} | 
 |  |  |             , {field: 'frozen', align: 'center', title: '是否冻结,0.未冻结,1.已冻结', hide: true} | 
 |  |  |             , {field: 'frozenMemo', align: 'center', title: '冻结备注', hide: true} | 
 |  |  |             , {fixed: 'right', title: '操作', align: 'center', toolbar: '#operate', width: 160}] | 
 |  |  |         ], | 
 |  |  |         request: { | 
 |  |  |             pageName: 'curr', pageSize: 'limit' | 
 |  |  |         }, | 
 |  |  | 
 |  |  |             case 'addData': | 
 |  |  |                 showEditModel(); | 
 |  |  |                 break; | 
 |  |  |             case 'batchModifties': | 
 |  |  |                 if (checkStatus.length === 0) { | 
 |  |  |                     layer.msg('请选择需要修改的数据信息', {icon: 2}); | 
 |  |  |                     return; | 
 |  |  |                 } | 
 |  |  |                 batchModifies(); | 
 |  |  |                 break; | 
 |  |  |             case 'deleteData': | 
 |  |  |                 if (checkStatus.length === 0) { | 
 |  |  |                     layer.msg('请选择要删除的数据', {icon: 2}); | 
 |  |  | 
 |  |  |         } | 
 |  |  |     }); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     // 监听行工具事件 | 
 |  |  |     table.on('tool(locCache)', function (obj) { | 
 |  |  |         var data = obj.data; | 
 |  |  |         console.log(data) | 
 |  |  |         switch (obj.event) { | 
 |  |  |             case 'showDetl': | 
 |  |  |                 locNo = data?.locNo; | 
 |  |  | 
 |  |  |                     area: [top.detailWidth, top.detailHeight], | 
 |  |  |                     shadeClose: true, | 
 |  |  |                     content: 'locDetail.html', | 
 |  |  |                     success: function(layero, index){ | 
 |  |  |                     success: function (layero, index) { | 
 |  |  |                     } | 
 |  |  |                 }); | 
 |  |  |                 break; | 
 |  |  | 
 |  |  |         }) | 
 |  |  |     }); | 
 |  |  |  | 
 |  |  |     function batchModifies() { | 
 |  |  |         layer.open({ | 
 |  |  |             type: 1, | 
 |  |  |             title: '批量修改', | 
 |  |  |             maxmin: true, | 
 |  |  |             area: ["400px"], | 
 |  |  |             shadeClose: true, | 
 |  |  |             content: $('#batchModify'), | 
 |  |  |             success: function (layero, index) { | 
 |  |  |  | 
 |  |  |             } | 
 |  |  |         }); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /* 弹窗 - 新增、修改 */ | 
 |  |  |     function showEditModel(mData) { | 
 |  |  | 
 |  |  |  | 
 |  |  |     /* 删除 */ | 
 |  |  |     function del(ids) { | 
 |  |  |         console.log(ids) | 
 |  |  |         layer.confirm('确定要删除选中数据吗?', { | 
 |  |  |             skin: 'layui-layer-admin', shade: .1 | 
 |  |  |         }, function (i) { |