From 00b8e7a256d8508043784f061a4afe5b1107d9aa Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期五, 02 二月 2024 16:10:54 +0800
Subject: [PATCH] 1.layui版本更新 2.固定表格 显示表格合计信息

---
 src/main/webapp/views/mat/mat.html |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/main/webapp/views/mat/mat.html b/src/main/webapp/views/mat/mat.html
index 70450ab..1faf3e4 100644
--- a/src/main/webapp/views/mat/mat.html
+++ b/src/main/webapp/views/mat/mat.html
@@ -123,7 +123,9 @@
         <button class="layui-btn layui-btn-sm layui-btn-normal" id="btn-add" lay-event="addData">鏂板</button>
         <button class="layui-btn layui-btn-sm layui-btn-danger" id="btn-delete" lay-event="deleteData">鍒犻櫎</button>
         <!-- 鍟嗗搧/鐗╂枡 鏁版嵁涓績 -->
-        <div class="dropdown-menu" style="float: right">
+        <button style="float: right" class="layui-btn layui-btn-sm layui-btn-checked " id="btn-exportMoudle" onclick="excelMouldDownload()" >妯℃澘涓嬭浇</button>
+        <button style="float: right" class="layui-btn layui-btn-sm layui-btn-checked " id="btn-import" onclick="importExcel()" >瀵煎叆excel</button>
+        <div class="dropdown-menu" style="float: right;display: none">
             <button class="layui-btn layui-btn-primary layui-border-black icon-btn layui-btn-sm">&nbsp;鏁版嵁鍚屾 <i class="layui-icon layui-icon-drop"></i></button>
             <ul class="dropdown-menu-nav dark">
                 <div class="dropdown-anchor"></div>
@@ -417,8 +419,9 @@
     {{#each data}}
     <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;">
         <tr style="height: 74px" >
-            <td align="center" scope="col" colspan="1">鍟嗗搧</td>
+            <td align="center" scope="col" colspan="1" style="font-weight: bold;"><strong style="font-weight: bold;color: black;">鍟嗗搧</strong></td>
             <td align="center" scope="col" colspan="1" style="
+                font-weight: bold;
                 display: inline-block;
                 line-height: 20px;
                 vertical-align: middle;
@@ -430,18 +433,18 @@
                 -webkit-line-clamp: 3;
                 -webkit-box-orient: vertical;
                     ">
-                {{this.maktx}}
+                <strong style="font-weight: bold;color: black;">{{this.maktx}}</strong>
             </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">
-                    <span>{{this.matnr}}</span>
+                    <span style="font-weight: bold;color: black;"><strong style="font-weight: bold;color: black;">{{this.matnr}}</strong></span>
                 </div>
             </td>
         </tr>
         <tr style="height: 74px">
-            <td align="center" colspan="1">澶囨敞</td>
-            <td align="center" colspan="1" style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.memo}}</td>
+            <td align="center" colspan="1" style="font-weight: bold;color: black;"><strong style="font-weight: bold;color: black;">澶囨敞</strong></td>
+            <td align="center" colspan="1" style="font-weight: bold;color: black;overflow:hidden; white-space:nowrap; text-overflow:ellipsis;"><strong style="font-weight: bold;color: black;">{{this.memo}}</strong></td>
         </tr>
     </table>
     {{/each}}

--
Gitblit v1.9.1