From 1ffb54f277da44b422c795d9952c874c60c0df56 Mon Sep 17 00:00:00 2001 From: 18516761980 <tqsxp@163.com> Date: 星期四, 01 十二月 2022 08:00:50 +0800 Subject: [PATCH] # --- src/main/webapp/views/report/locDetl.html | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/views/report/locDetl.html b/src/main/webapp/views/report/locDetl.html index 9e3ee3d..b524691 100644 --- a/src/main/webapp/views/report/locDetl.html +++ b/src/main/webapp/views/report/locDetl.html @@ -24,6 +24,9 @@ </div> <table class="layui-hide" id="locDetlByMap" lay-filter="locDetlByMap"></table> </body> +<script type="text/html" id="operateDetl"> + <button id="search" class="layui-btn layui-btn-primary layui-btn-radius" style="height: auto" lay-submit lay-filter="batch">淇敼鍚堝悓鍙�</button> +</script> <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script> <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> @@ -36,6 +39,10 @@ {field: 'locNo$', align: 'center',title: '搴撲綅鍙�'} ]; cols.push.apply(cols, detlCols); + var cols2=[ + { fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operateDetl'} + ]; + cols.push.apply(cols,cols2) return cols; } layui.use(['table','laydate', 'form'], function() { @@ -87,6 +94,12 @@ }); } }); + // 鐩戝惉琛屽伐鍏蜂簨浠� + form.on('submit(batch)', function (data) { + console.log("batch1") + console.log(data.locNo); + console.log(data); + }); }); </script> </html> -- Gitblit v1.9.1