|  |  | 
 |  |  | var pageCurr; | 
 |  |  |  | 
 |  |  | getParentNode(); | 
 |  |  | function getParentNode(el) { | 
 |  |  |     http.post(baseUrl + "/parent/node/group", {type: 2}, function (res) { | 
 |  |  |         if (res.data != null) { | 
 |  |  |             var tpl = $("#parentNodeGroup").html(); | 
 |  |  |             var template = Handlebars.compile(tpl); | 
 |  |  |             var html = template(res); | 
 |  |  |             $('#parentId').append(html); | 
 |  |  |         } | 
 |  |  |     }); | 
 |  |  | } | 
 |  |  |  | 
 |  |  | layui.use(['table','laydate', 'form'], function(){ | 
 |  |  |     var table = layui.table; | 
 |  |  |     var $ = layui.jquery; | 
 |  |  | 
 |  |  |             {type: 'checkbox'} | 
 |  |  |             // ,{field: 'id', align: 'center',title: 'ID'} | 
 |  |  |             ,{field: 'uuid', align: 'center',title: '编号'} | 
 |  |  |             ,{field: 'name', align: 'center',title: '仓库名称'} | 
 |  |  |             ,{field: 'name', align: 'center',title: '货位名称'} | 
 |  |  |             // ,{field: 'parentId', align: 'center',title: '父级'} | 
 |  |  |             ,{field: 'parentName', align: 'center',title: '所属库区'} | 
 |  |  |             // ,{field: 'type$', align: 'center',title: '类型'} |