From 335954f4c8b452daf543f463ed05c0d5bafbfea6 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 08 六月 2020 13:25:39 +0800
Subject: [PATCH] #
---
src/main/webapp/views/matCode/matCode.html | 30 +++++++++++++++++++++++++++---
1 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/views/matCode/matCode.html b/src/main/webapp/views/matCode/matCode.html
index 5bac4a5..cb32b79 100644
--- a/src/main/webapp/views/matCode/matCode.html
+++ b/src/main/webapp/views/matCode/matCode.html
@@ -132,9 +132,9 @@
<hr>
<!--鍗曢�夋-->
<div class="layui-form-item" style="display: inline-block; margin-bottom: 10px">
- <input type="radio" name="sex" value="鐢�" title="妯℃澘涓�" checked="">
- <input type="radio" name="sex" value="濂�" title="妯℃澘浜�">
- <input type="radio" name="sex" value="绂�" title="妯℃澘涓�">
+ <input type="radio" name="selectTemplate" value="1" title="妯℃澘涓�" checked="">
+ <input type="radio" name="selectTemplate" value="2" title="妯℃澘浜�">
+ <input type="radio" name="selectTemplate" value="3" title="妯℃澘涓�">
</div>
<fieldset class="layui-elem-field site-demo-button" style="margin-top: 30px;text-align: left;">
<legend>鎵撳嵃棰勮</legend>
@@ -204,9 +204,33 @@
</div>
</div>
+<div id="box" style="display: block">
+
<!-- 妯℃澘寮曟搸 -->
<!-- 妯℃澘1 -->
<script type="text/template" id="templatePreview1">
+ {{#each data}}
+ <table class="contain" height="217" width="317" style="overflow: hidden;font-size: xx-small">
+ <tr>
+ <td colspan="1" align="right" scope="col">鏉$爜</td>
+ <td class="barcode"colspan="3" align="left" scope="col">
+ <img class="qrcode" src="/macCode/barcode/auth?param={{this.barcode}}" width="80%">
+ </td>
+ </tr>
+ <tr>
+ <td align="right" width="25%">鐗╂枡缂栫爜</td>
+ <td align="right" width="25%">{{this.matNo}}</td>
+ <td align="right" width="25%">鐗╂枡鍚嶇О</td>
+ <td align="right" width="25%">{{this.matName}}</td>
+ </tr>
+ <tr>
+ <td align="right" width="25%">鐗╂枡鍗曚綅</td>
+ <td align="right" width="25%">{{this.str1}}</td>
+ <td align="right" width="25%">鐗╂枡瑙勬牸</td>
+ <td align="right" width="25%">{{this.str2}}</td>
+ </tr>
+ </table>
+ {{/each}}
</script>
<!-- 妯℃澘2 -->
<script type="text/template" id="templatePreview2">
--
Gitblit v1.9.1