From 5d0510e87c501b7eaf0ec3d9cf128e243cc53d70 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期三, 20 十二月 2023 10:53:55 +0800
Subject: [PATCH] Gy_BankList.html、Gy_CustomerList.html、Gy_DepartmentList.html、Gy_EmployeeList.html、Gy_SellStyle.html、Gy_SettleStyle.html、Gy_UnitList.html、Gy_WarehouseList.html:增加回车键触发过滤

---
 WebTM/views/Baseset/基础资料/Gy_CustomerList.html |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_CustomerList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_CustomerList.html"
index c6b927c..b87b51d 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_CustomerList.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_CustomerList.html"
@@ -50,13 +50,22 @@
         var Type = params[params[0]];
         layui.use(['table', 'form', 'layer'], function () {
             var table = layui.table
-            , form = layui.form
-            , layer = layui.layer;
+                , form = layui.form
+                , layer = layui.layer
+                , $ = layui.$;
 
             form.on('submit(HQuery)', function () {//閫夋嫨瀹㈡埛
                 //var sMainStr = JSON.stringify(table.cache['mainTable']);
                 RoadQuery($('#Value').val());
             });
+
+            //鍥炶溅瑙﹀彂杩囨护
+            $('#Value').on('keydown', function (event) {
+                if (event.keyCode == 13) {
+                    RoadQuery($('#Value').val());
+                }
+            });
+
             form.on('submit(FH)', function () {//閫夋嫨瀹㈡埛
                 //var sMainStr = JSON.stringify(table.cache['mainTable']);
                 var checkStatus = table.checkStatus('mainTable')

--
Gitblit v1.9.1