|  |  | 
 |  |  |         cols: [[ | 
 |  |  |             {type: 'checkbox', fixed: 'left'} | 
 |  |  | //            ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80} | 
 |  |  |             ,{field: 'devNo', align: 'center',sort:true,title: '工作位编号',width:150} | 
 |  |  |             ,{field: 'devNo', align: 'center',sort:true,title: '接驳位号',width:150} | 
 |  |  |             // ,{field: 'decDesc', align: 'center',title: '设备描述'} | 
 |  |  |             // ,{field: 'devMk', align: 'center',title: '备注'} | 
 |  |  |             ,{field: 'inEnable', align: 'center',title: '可入', templet:function(row){ | 
 |  |  | 
 |  |  |                     html += ">"; | 
 |  |  |                     return html; | 
 |  |  |                 }} | 
 |  |  |             ,{field: 'locSts$', align: 'center',title: '货位状态'} | 
 |  |  |             ,{field: 'locSts$', align: 'center',title: '接驳位状态'} | 
 |  |  |             //,{field: 'wrkNo', align: 'center',title: '工作号', edit:true,  style:'color: blue;font-weight: bold'} | 
 |  |  |             ,{field: 'floor', align: 'center',title: '楼'} | 
 |  |  |             //,{field: 'locType1$', align: 'center',title: '高低'} | 
 |  |  |             ,{field: 'barcode', align: 'center',title: '条形码'} | 
 |  |  |             ,{field: 'locType1', align: 'center',title: '库位类型'} | 
 |  |  |             ,{field: 'locType2', align: 'center',title: "容器类型"} | 
 |  |  |  | 
 |  |  |             ,{field: 'locType1$', align: 'center',title: '接驳位类型'} | 
 |  |  |             ,{field: 'locType2', align: 'center',title: "货架类型"} | 
 |  |  |             ,{field: 'autoing', align: 'center',title: '自动调拨', templet:function(row){ | 
 |  |  |                     var html = "<input value='autoing' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'"; | 
 |  |  |                     if(row.autoing === 'Y'){html += " checked ";} | 
 |  |  |                     html += ">"; | 
 |  |  |                     return html; | 
 |  |  |                 }} | 
 |  |  |             ,{field: 'modiUser$', align: 'center',title: '修改人员',event: 'modiUser', hide:true} | 
 |  |  |             ,{field: 'modiTime$', align: 'center',title: '修改时间', hide:true} | 
 |  |  |             // ,{field: 'appeUser$', align: 'center',title: '创建者',event: 'appeUser', style: 'text-decoration: underline;cursor:pointer'} | 
 |  |  | 
 |  |  |                     layer.msg("此站点暂未绑定任何条码"); | 
 |  |  |                     return; | 
 |  |  |                 } | 
 |  |  |                 layer.confirm('确定解绑'+(data.devNo)+'站点的托盘码?', function(){ | 
 |  |  |                 layer.confirm('确定解绑'+(data.devNo)+'站点的货架码?', function(){ | 
 |  |  |                     $.ajax({ | 
 |  |  |                         url: baseUrl+"/agv/basDevp/unbind/auth", | 
 |  |  |                         headers: {'token': localStorage.getItem('token')}, | 
 |  |  | 
 |  |  |             cacheShelves: $('#cacheShelves').val(), | 
 |  |  |             decDesc: $('#decDesc').val(), | 
 |  |  |             devMk: $('#devMk').val(), | 
 |  |  |             inEnable: $('#inEnable').val(), | 
 |  |  |             outEnable: $('#outEnable').val(), | 
 |  |  |             autoing: $('#autoing').val(), | 
 |  |  |             inEnable: $('#inEnable').next().hasClass('layui-form-checked') ? "Y" : "N", | 
 |  |  |             outEnable: $('#outEnable').next().hasClass('layui-form-checked') ? "Y" : "N", | 
 |  |  |             autoing: $('#autoing').next().hasClass('layui-form-checked') ? "Y" : "N", | 
 |  |  |             loading: $('#loading').val(), | 
 |  |  |             canining: $('#canining').val(), | 
 |  |  |             canouting: $('#canouting').val(), | 
 |  |  | 
 |  |  |             maxWt: $('#maxWt').val(), | 
 |  |  |             grossWt: $('#grossWt').val(), | 
 |  |  |             cartPos: $('#cartPos').val(), | 
 |  |  |             floor: $('#floor').val(), | 
 |  |  |             locType1: $('#locType1').val(), | 
 |  |  |             locType2: $('#locType2').val(), | 
 |  |  |  | 
 |  |  |         }; | 
 |  |  |         console.log(data); | 
 |  |  |         $.ajax({ | 
 |  |  |             url: baseUrl+"/agv/basDevp/"+name+"/auth", | 
 |  |  |             headers: {'token': localStorage.getItem('token')}, |