|  |  |  | 
|---|
|  |  |  | <link rel="stylesheet" href="../../static/css/print.css" media="all"> | 
|---|
|  |  |  | <link rel="stylesheet" href="../../static/css/optimize.css" media="all"> | 
|---|
|  |  |  | <style> | 
|---|
|  |  |  | .btn-tray { | 
|---|
|  |  |  | display: none; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | #print-windows .layui-form { | 
|---|
|  |  |  | padding: 25px 30px 0 0; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | <table class="layui-hide" id="trayCode" lay-filter="trayCode"></table> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <div id="printBox" style="display: block"></div> | 
|---|
|  |  |  | <div id="printBox" style="display: block; height: 150px; width: 300px;padding-left: 0px"></div> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <script type="text/html" id="toolbar"> | 
|---|
|  |  |  | <div class="layui-btn-container"> | 
|---|
|  |  |  | 
|---|
|  |  |  | </body> | 
|---|
|  |  |  | <script type="text/template" id="trayCodeTemplate"> | 
|---|
|  |  |  | {{#each data}} | 
|---|
|  |  |  | <img class="template-code" src="{{this.barcodeUrl}}" width="90%"> | 
|---|
|  |  |  | <img class="template-code" src="{{this.barcodeUrl}}" width="100%"> | 
|---|
|  |  |  | <div style="letter-spacing: 2px;margin-top: 1px; text-align: center"> | 
|---|
|  |  |  | <span>{{this.item}}</span> | 
|---|
|  |  |  | </div> | 
|---|