|  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据物料号查找库存明细 | 
 |  |  |      * 根据商品编号查找库存明细 | 
 |  |  |      */ | 
 |  |  |     function findByMatNo(el){ | 
 |  |  |         if (isEmpty(el.value)) { | 
 |  |  | 
 |  |  |             cols: [[ | 
 |  |  |                 {type: 'checkbox', fixed: 'left', width:30}, | 
 |  |  |                 {field: 'count', align: 'center', title: '数量', event: 'detail', style:'color: blue', width:50}, | 
 |  |  |                 {field: 'matnr', align: 'center', title: '编码', event: 'detail'}, | 
 |  |  |                 {field: 'matnr', align: 'center', title: '规格', event: 'detail'}, | 
 |  |  |                 {field: 'maktx', align: 'center', title: '名称', event: 'detail'}, | 
 |  |  |                 {field: 'locNo', align: 'center', title: '库位', event: 'detail'} | 
 |  |  |             ]], | 
 |  |  | 
 |  |  |                     layui.form.render('select'); | 
 |  |  |                 } else if (res.code === 403){ | 
 |  |  |                     top.location.href = baseUrl+"/pda"; | 
 |  |  |                 }else { | 
 |  |  |                 } else { | 
 |  |  |                     tips("获取出库口失败", true) | 
 |  |  |                 } | 
 |  |  |             } | 
 |  |  | 
 |  |  | </script> | 
 |  |  | <script type="text/template" id="takeSiteSelectTemplate"> | 
 |  |  |     {{#each data}} | 
 |  |  |     <option value="{{this}}">{{this}}</option> | 
 |  |  |     <option value="{{siteId}}">{{desc}}</option> | 
 |  |  |     {{/each}} | 
 |  |  | </script> | 
 |  |  | </html> |