|  |  | 
 |  |  | </script> | 
 |  |  |  | 
 |  |  | <script type="text/html" id="operate"> | 
 |  |  |     <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">详情</a> | 
 |  |  | <!--    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">详情</a>--> | 
 |  |  |     <button class="layui-btn layui-btn-danger layui-btn-xs btn-print" lay-event="btnPrint">打印</button> | 
 |  |  | </script> | 
 |  |  |  | 
 |  |  | 
 |  |  | <script type="text/template" id="templatePreview3" class="template-qrcode"> | 
 |  |  |     {{#each data}} | 
 |  |  |     <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;"> | 
 |  |  |         <tr style="height: 74px"> | 
 |  |  |         <tr style="height: 74px" > | 
 |  |  |             <td align="center" scope="col" colspan="1">物料名称</td> | 
 |  |  |             <td align="center" scope="col" colspan="1" style="">{{this.matName}}</td> | 
 |  |  |             <td align="center" scope="col" colspan="1" style=" | 
 |  |  |                 display: inline-block; | 
 |  |  |                 line-height: 20px; | 
 |  |  |                 vertical-align: middle; | 
 |  |  |                 border: none; | 
 |  |  |                 border-top: 1px solid #000; | 
 |  |  |                 overflow: hidden; | 
 |  |  |                 text-overflow: ellipsis; | 
 |  |  |                 display: -webkit-box; | 
 |  |  |                 -webkit-line-clamp: 3; | 
 |  |  |                 -webkit-box-orient: vertical; | 
 |  |  |                     "> | 
 |  |  |                 {{this.matName}} | 
 |  |  |             </td> | 
 |  |  |             <td align="center" scope="col" colspan="2" rowspan="2"> | 
 |  |  |                 <img class="template-code template-qrcode" src="{{this.barcodeUrl}}" width="80%"> | 
 |  |  |                 <div style="letter-spacing: 1px;margin-top: 1px; text-align: center"> |