From 9e0016b4c43c3f8d84ea3f88e9120c973a5767b6 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 06 一月 2021 09:39:29 +0800 Subject: [PATCH] # --- src/main/webapp/views/matCode/matCode.html | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/views/matCode/matCode.html b/src/main/webapp/views/matCode/matCode.html index ae181be..c0a0654 100644 --- a/src/main/webapp/views/matCode/matCode.html +++ b/src/main/webapp/views/matCode/matCode.html @@ -84,6 +84,8 @@ <button class="layui-btn layui-btn-normal layui-btn-sm" id="btn-export" lay-event="exportData" style="float: inherit">瀵煎嚭</button> <button class="layui-btn layui-btn-sm" id="btn-into" lay-event="intoData">瀵煎叆</button> <button class="layui-btn layui-btn-danger layui-btn-sm" id="btn-print-batch" lay-event="btnPrintBatch">鎵归噺鎵撳嵃</button> + <button class="layui-btn layui-btn-sm" id="btn-add" lay-event="addData">鏂板</button> + <button class="layui-btn layui-btn-sm" id="btn-delete" lay-event="deleteData">鍒犻櫎</button> </div> </script> @@ -282,9 +284,22 @@ <script type="text/template" id="templatePreview3" class="template-qrcode"> {{#each data}} <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;"> - <tr style="height: 74px"> + <tr style="height: 74px" > <td align="center" scope="col" colspan="1">鐗╂枡鍚嶇О</td> - <td align="center" scope="col" colspan="1" style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.matName}}</td> + <td align="center" scope="col" colspan="1" style=" + display: inline-block; + line-height: 20px; + vertical-align: middle; + border: none; + border-top: 1px solid #000; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + "> + {{this.matName}} + </td> <td align="center" scope="col" colspan="2" rowspan="2"> <img class="template-code template-qrcode" src="{{this.barcodeUrl}}" width="80%"> <div style="letter-spacing: 1px;margin-top: 1px; text-align: center"> -- Gitblit v1.9.1