|  |  |  | 
|---|
|  |  |  | var pageCurr; | 
|---|
|  |  |  | layui.use(['table','laydate', 'form'], function() { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | layui.config({ | 
|---|
|  |  |  | base: baseUrl + "/static/layui/lay/modules/" | 
|---|
|  |  |  | }).use(['table','laydate', 'form', 'admin'], function() { | 
|---|
|  |  |  | var table = layui.table; | 
|---|
|  |  |  | var $ = layui.jquery; | 
|---|
|  |  |  | var layer = layui.layer; | 
|---|
|  |  |  | var layDate = layui.laydate; | 
|---|
|  |  |  | var form = layui.form; | 
|---|
|  |  |  | var admin = layui.admin; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 获取出库口 | 
|---|
|  |  |  | function getOutBound(){ | 
|---|
|  |  |  | 
|---|
|  |  |  | url: baseUrl+"/available/empty/take/site", | 
|---|
|  |  |  | headers: {'token': localStorage.getItem('token')}, | 
|---|
|  |  |  | method: 'POST', | 
|---|
|  |  |  | asymc: false, | 
|---|
|  |  |  | async: false, | 
|---|
|  |  |  | success: function (res) { | 
|---|
|  |  |  | if (res.code === 200){ | 
|---|
|  |  |  | var tpl = $("#takeSiteSelectTemplate").html(); | 
|---|
|  |  |  | 
|---|
|  |  |  | url: baseUrl+'/locMast/list/auth', | 
|---|
|  |  |  | page: true, | 
|---|
|  |  |  | limit: 16, | 
|---|
|  |  |  | where: {loc_type: "D"}, | 
|---|
|  |  |  | limits: [16, 30, 50, 100, 200, 500], | 
|---|
|  |  |  | where: {loc_sts: "D"}, | 
|---|
|  |  |  | even: true, | 
|---|
|  |  |  | toolbar: '#toolbar', | 
|---|
|  |  |  | defaultToolbar: ['filter'], | 
|---|
|  |  |  | 
|---|
|  |  |  | cols: [[ | 
|---|
|  |  |  | {type: 'checkbox', fixed: 'left'} | 
|---|
|  |  |  | ,{field: 'locNo', align: 'center',title: '库位号',sort:true} | 
|---|
|  |  |  | ,{field: 'locType$', align: 'center',title: '库位状态',width:200} | 
|---|
|  |  |  | ,{field: 'locSts$', align: 'center',title: '库位状态',width:200} | 
|---|
|  |  |  | // ,{field: 'whsType$', align: 'center',title: '库位类型'} | 
|---|
|  |  |  | ,{field: 'crnNo', align: 'center',title: '堆垛机号'} | 
|---|
|  |  |  | // ,{field: 'crnNo', align: 'center',title: '堆垛机号'} | 
|---|
|  |  |  | ,{field: 'row1', align: 'center',title: '排'} | 
|---|
|  |  |  | ,{field: 'bay1', align: 'center',title: '列'} | 
|---|
|  |  |  | ,{field: 'lev1', align: 'center',title: '层'} | 
|---|