From d417e332b39e7da99f637e94ebacf199fb158a72 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期五, 31 五月 2024 18:16:50 +0800
Subject: [PATCH] #1

---
 src/main/webapp/views/trayCode/trayCode.html |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/views/trayCode/trayCode.html b/src/main/webapp/views/trayCode/trayCode.html
index 9085b5d..f5141ff 100644
--- a/src/main/webapp/views/trayCode/trayCode.html
+++ b/src/main/webapp/views/trayCode/trayCode.html
@@ -12,6 +12,10 @@
     <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;
         }
@@ -78,11 +82,11 @@
     <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">
-        <button class="layui-btn layui-btn-normal" id="btn-tray" lay-event="btnTray"><i class="layui-icon layui-icon-print" style="font-size: 15px"></i>鐢熸垚鎵樼洏鐮�</button>
+        <button class="layui-btn layui-btn-normal" id="btn-tray" lay-event="btnTray"><i class="layui-icon layui-icon-print" style="font-size: 15px"></i>鐢熸垚璐ф灦鐮�</button>
         <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData">瀵煎嚭</button>
     </div>
 </script>
@@ -133,7 +137,7 @@
 </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>

--
Gitblit v1.9.1