|  |  | 
 |  |  |                 <input class="layui-input" type="text" name="manu" placeholder="客户信息" autocomplete="off"> | 
 |  |  |             </div> | 
 |  |  |         </div> | 
 |  |  |         <div class="layui-inline"> | 
 |  |  |             <div class="layui-input-inline"> | 
 |  |  |                 <select name="locType2"> | 
 |  |  |                     <option value="">选择上架区域</option> | 
 |  |  |                     <option value="1">单品区</option> | 
 |  |  |                     <option value="2">高频混放区</option> | 
 |  |  |                     <option value="3">低频混放区</option> | 
 |  |  |                 </select> | 
 |  |  |             </div> | 
 |  |  |         </div> | 
 |  |  |         <div class="layui-inline"> | 
 |  |  |             <div class="layui-input-inline"> | 
 |  |  |                 <select id="ownerSelect" name="owner"> | 
 |  |  |                     <option value="">请选择客户信息</option> | 
 |  |  |                 </select> | 
 |  |  |             </div> | 
 |  |  |         </div> | 
 |  |  |         <!-- 日期范围 --> | 
 |  |  |         <div class="layui-inline" style="width: 300px"> | 
 |  |  |             <div class="layui-input-inline"> | 
 |  |  | 
 |  |  | <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> | 
 |  |  | <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script> | 
 |  |  | <script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script> | 
 |  |  |  | 
 |  |  | <script type="text/template" id="takeSiteSelectTemplate"> | 
 |  |  |     {{#each data}} | 
 |  |  |     <option value="{{siteId}}">{{desc}}</option> | 
 |  |  |     {{/each}} | 
 |  |  | </script> | 
 |  |  | </body> | 
 |  |  | <script> | 
 |  |  |  | 
 |  |  | 
 |  |  |         var layDate = layui.laydate; | 
 |  |  |         var form = layui.form; | 
 |  |  |         var admin = layui.admin; | 
 |  |  |         var sign=1; | 
 |  |  |  | 
 |  |  |         // 数据渲染 | 
 |  |  |         locDetlTableIns = table.render({ | 
 |  |  | 
 |  |  |                 if (res.code === 403) { | 
 |  |  |                     top.location.href = baseUrl+"/"; | 
 |  |  |                 } | 
 |  |  |                 if(sign === 1){ | 
 |  |  |                     getOutBound(); | 
 |  |  |                     sign++; | 
 |  |  |                 } | 
 |  |  |  | 
 |  |  |             } | 
 |  |  |         }); | 
 |  |  |  | 
 |  |  | 
 |  |  |             ,type: 'datetime' | 
 |  |  |             ,range: true | 
 |  |  |         }); | 
 |  |  |  | 
 |  |  |         // 获取拥有者表数据 | 
 |  |  |         function getOutBound(){ | 
 |  |  |             $.ajax({ | 
 |  |  |                 url: baseUrl+"/owner/auto/site", | 
 |  |  |                 headers: {'token': localStorage.getItem('token')}, | 
 |  |  |                 method: 'POST', | 
 |  |  |                 async: false, | 
 |  |  |                 success: function (res) { | 
 |  |  |                     if (res.code === 200){ | 
 |  |  |                         var tpl = $("#takeSiteSelectTemplate").html(); | 
 |  |  |                         var template = Handlebars.compile(tpl); | 
 |  |  |                         var html = template(res); | 
 |  |  |                         $('#ownerSelect').append(html); | 
 |  |  |                         form.render('select'); | 
 |  |  |                     } else if (res.code === 403){ | 
 |  |  |                         top.location.href = baseUrl+"/"; | 
 |  |  |                     }else { | 
 |  |  |                         layer.msg(res.msg) | 
 |  |  |                     } | 
 |  |  |                 } | 
 |  |  |             }) | 
 |  |  |         } | 
 |  |  |     }) | 
 |  |  |  | 
 |  |  |     function tableReload() { |