From ff839abadc8309f72341a0b43f10fc63f48c7835 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期四, 07 三月 2024 11:39:01 +0800
Subject: [PATCH] 1

---
 WebTM/views/设备管理/Sb_EquipDotCheckBillList_PDA.html |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillList_PDA.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillList_PDA.html"
index d77c8e2..52e28f4 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillList_PDA.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillList_PDA.html"
@@ -98,6 +98,8 @@
             var sWhere = "";
             var option = [];
             var HModName = "Sb_EquipDotCheckBillList_PDA";
+            //涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞�
+            var titleData = ["hmainid", "璁惧ID", "鐐规椤圭洰ID","璐熻矗浜篒D","hsubid","HBillType"];
 
             //#endregion
 
@@ -167,9 +169,9 @@
                 //鍒濆鍖栨椂闂�
                 $("#HBeginDate").val(Format(new Date() - 1000 * 60 * 60 * 24 * 30, "yyyy-MM-dd"));
                 $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd"));
-
                 //鍔犺浇鏁版嵁鍒扮綉鏍�
                 get_FastQuery();
+                //鍒濆鍖栬〃鏍�
                 DisPlay_HideColumn();
             }
 
@@ -194,7 +196,7 @@
                     url: GetWEBURL() + "/Web/GetEquipmentBillsList",
                     type: "GET",
                     async: false,
-                    data: { "sWhere": sWhere, "Type": "DJ" },
+                    data: { "sWhere": sWhere, "Type": "DJ", "user": sessionStorage["HUserName"] },
                     success: function (data1) {
 
                         if (data1.count == 1) {
@@ -209,7 +211,7 @@
                             //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋
                             col.push({ type: 'checkbox', fixed: 'left' });
                             for (var i = 0; i < data.length; i++) {
-                                if ($.inArray(data[i].name, "") > -1) {
+                                if ($.inArray(data[i].name, titleData) > -1) {
                                     col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒�
                                 }
                                 else {
@@ -370,7 +372,7 @@
                         if (data1.data.length != 0) {
 
                             var dataCol = [];//鏁版嵁搴撴煡璇㈠嚭鐨勫垪鏁版嵁
-                            var titleData = ["hmainid","HMaterID"];//涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞�
+                            var titleData = ["hmainid","璁惧ID"];//涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞�
 
                             dataCol = data1.data[0].HGridString.split(',');
 

--
Gitblit v1.9.1