From d23f39f6e3f743f7b46097a9315a6e28398218e5 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 06 六月 2020 14:57:04 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/matCode/matCode.html   |    8 +++++---
 src/main/webapp/static/js/matCode/matCode.js |   27 +++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/static/js/matCode/matCode.js b/src/main/webapp/static/js/matCode/matCode.js
index 1cd3a7e..a199c29 100644
--- a/src/main/webapp/static/js/matCode/matCode.js
+++ b/src/main/webapp/static/js/matCode/matCode.js
@@ -194,6 +194,20 @@
                     }
                 });
                 break;
+            // 鎵归噺鎵撳嵃
+            case "btnPrintBatch":
+                layer.open({
+                    type: 1,
+                    title: '鎵归噺鎵撳嵃',
+                    shadeClose: true,
+                    content: $('#printDataDiv'),
+                    success: function(layero, index){
+
+                    },
+                    end: function () {
+                    }
+                });
+                break;
         }
     });
 
@@ -354,7 +368,20 @@
                    });
                 }
                 break;
+            // 鎵撳嵃
+            case "btnPrint":
+                layer.open({
+                    type: 1,
+                    title: '鎵撳嵃',
+                    shadeClose: true,
+                    content: $('#printDataDiv'),
+                    success: function(layero, index){
 
+                    },
+                    end: function () {
+                    }
+                });
+                break;
         }
     });
 
diff --git a/src/main/webapp/views/matCode/matCode.html b/src/main/webapp/views/matCode/matCode.html
index c3b7000..fa4777d 100644
--- a/src/main/webapp/views/matCode/matCode.html
+++ b/src/main/webapp/views/matCode/matCode.html
@@ -103,9 +103,11 @@
 
 <!-- 鎵撳嵃鎿嶄綔寮圭獥 -->
 <div id="printDataDiv" style="display: none;padding: 20px 40px">
-
-
-
+    <div id="template-container">
+        <div class="template-preview"></div>
+        <div class="template-preview"></div>
+        <div class="template-preview"></div>
+    </div>
 </div>
 
 </body>

--
Gitblit v1.9.1