From 0b671b7cc0dbc97285df38adafbbaeb83ddd5ea8 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 01 七月 2020 15:24:40 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/matCode/matCode.html |   28 +++++++++++++++-------------
 1 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/src/main/webapp/views/matCode/matCode.html b/src/main/webapp/views/matCode/matCode.html
index f9b187d..89361d1 100644
--- a/src/main/webapp/views/matCode/matCode.html
+++ b/src/main/webapp/views/matCode/matCode.html
@@ -9,6 +9,7 @@
     <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
     <link rel="stylesheet" href="../../static/css/cool.css" media="all">
     <link rel="stylesheet" href="../../static/css/common.css" media="all">
+    <link rel="stylesheet" href="../../static/css/print.css" media="all">
     <style>
         #search-box {
             padding: 30px 30px 10px 30px;
@@ -36,6 +37,7 @@
 
         /* ------------------------- 鎵撳嵃琛ㄦ牸 -----------------------  */
         .template-preview {
+            height: 200px;
             display: inline-block;
         }
         .contain {
@@ -157,16 +159,16 @@
                 <!-- 棰勮鍥� 1 -->
                 <div id="template-preview-1" class="template-preview" style="display: inline-block">
                     <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;">
-                        <tr style="height: 55px">
+                        <tr style="height: 74px">
                             <td colspan="3" align="center" scope="col">鐗╂枡缂栫爜</td>
                             <td class="barcode" colspan="9" align="center" scope="col">
-                                <img class="template-code template-barcode" src="" width="80%;">
+                                <img class="template-code template-barcode" src="" width="90%;">
                                 <div style="letter-spacing: 2px;margin-top: 1px; text-align: center;">
                                     <span>xxxxxx</span>
                                 </div>
                             </td>
                         </tr>
-                        <tr style="height: 55px">
+                        <tr style="height: 74px">
                             <td align="center" colspan="3">鐗╂枡鍚嶇О</td>
                             <td align="center" colspan="5">xxxxxx-xx/xx</td>
                             <td align="center" colspan="2">鍗曚綅</td>
@@ -178,15 +180,15 @@
                 <!-- 棰勮鍥� 2 -->
                 <div id="template-preview-2" class="template-preview" style="display: none">
                     <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;">
-                        <tr style="height: 25px">
+                        <tr style="height: 30px">
                             <td align="center" width="20%">鐗╂枡鍚嶇О</td>
                             <td align="center" width="80%" style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">xxxxxxx</td>
                         </tr>
-                        <tr style="height: 25px">
+                        <tr style="height: 30px">
                             <td align="center" width="20%">鐗╂枡鍗曚綅</td>
                             <td align="center" width="80%">xxxxxxxx</td>
                         </tr>
-                        <tr style="height: 61px;">
+                        <tr style="height: 75px;">
                             <td align="center" colspan="2" width="100%" style="border: none">
                                 <img class="template-code template-barcode" src="" width="80%">
                                 <div style="letter-spacing: 2px;margin-top: 1px; text-align: center">
@@ -245,17 +247,17 @@
 <!-- 妯℃澘1 -->
 <script type="text/template" id="templatePreview1" class="template-barcode">
     {{#each data}}
-    <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;">
-        <tr style="height: 55px">
+    <table class="contain" width="280" style="overflow: hidden;font-size: small;table-layout: fixed;">
+        <tr style="height: 74px">
             <td align="center" colspan="3" scope="col">鐗╂枡缂栫爜</td>
             <td align="center" class="barcode" colspan="9" scope="col">
-                <img class="template-code" src="{{this.barcodeUrl}}" width="80%">
+                <img class="template-code" src="{{this.barcodeUrl}}" width="90%">
                 <div style="letter-spacing: 2px;margin-top: 1px; text-align: center">
                     <span>{{this.matNo}}</span>
                 </div>
             </td>
         </tr>
-        <tr style="height: 55px">
+        <tr style="height: 74px">
             <td align="center" colspan="3">鐗╂枡鍚嶇О</td>
             <td align="center" colspan="5" style="overflow: hidden; white-space: nowrap;text-overflow: ellipsis;">{{this.matName}}</td>
             <td align="center" colspan="2">鍗曚綅</td>
@@ -268,15 +270,15 @@
 <script type="text/template" id="templatePreview2" class="template-barcode">
     {{#each data}}
     <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;">
-        <tr style="height: 25px">
+        <tr style="height: 35px">
             <td align="center" width="20%">鐗╂枡鍚嶇О</td>
             <td align="center" width="80%" style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.matName}}</td>
         </tr>
-        <tr style="height: 25px">
+        <tr style="height: 35px">
             <td align="center" width="20%">鐗╂枡鍗曚綅</td>
             <td align="center" width="80%">{{this.str1}}</td>
         </tr>
-        <tr style="height: 61px;">
+        <tr style="height: 79px;">
             <td align="center" colspan="2" width="100%" style="border: none">
                 <img class="template-code" src="{{this.barcodeUrl}}" width="80%">
                 <div style="letter-spacing: 2px;margin-top: 1px; text-align: center">

--
Gitblit v1.9.1