From 3de6a9eb5d6c00a756831fbab13da264c198ece7 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期四, 25 四月 2024 16:16:50 +0800
Subject: [PATCH] 用户编辑页面添加 IC卡号 自动;异常反馈单刷卡签到

---
 WebTM/views/Baseset/基础资料/Gy_EmployeeList.html |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_EmployeeList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_EmployeeList.html"
index 02eb96d..411e041 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_EmployeeList.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_EmployeeList.html"
@@ -51,13 +51,22 @@
 
         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(), 0);
             });
+
+            //鍥炶溅瑙﹀彂杩囨护
+            $('#Value').on('keydown', function (event) {
+                if (event.keyCode == 13) {
+                    RoadQuery($('#Value').val());
+                }
+            });
+
             form.on('submit(FH)', function () {//閫夋嫨浠撳簱
                 var index = parent.layer.getFrameIndex(window.name);
                 var checkStatus = table.checkStatus('mainTable')
@@ -113,7 +122,7 @@
                , data: []
               , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
               , cols: [[
-                  { type: 'checkbox' }
+                  { type: 'checkbox', fixed: 'left' }
                 , { field: 'HItemID', width: 150, title: '鑱屽憳ID', hide: true }
                 , { field: 'HNumber', width: 150, title: '鑱屽憳浠g爜' }
                 , { field: 'HName', width: 150, title: '鑱屽憳鍚嶇О', sort: true }

--
Gitblit v1.9.1