From 4ef4bb19a581d32e413e8d1465a18930d85cd431 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期六, 08 十一月 2025 16:47:53 +0800
Subject: [PATCH] ID转姓名:仓库验退、生产退料申请、生产退料单、受托入库申请、受托入库单、委外加工单、委外加工出库申请

---
 DevApp/Gs.DevApp/UserControl/ShowLogcs.cs |   30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs b/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
index 5eb1ec0..72aa9a3 100644
--- a/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
+++ b/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
@@ -12,15 +12,34 @@
     {
 
         public string guidKey;
-        public ShowLogcs(string _guidKey)
+        public bool isLog;
+        public ShowLogcs(string _guidKey, bool _isLog = false)
         {
             this.guidKey = _guidKey;
+            this.isLog = _isLog;
             InitializeComponent();
+            if (isLog == true)
+            {
+                gridColumn1.Visible = true;
+                gridColumn2.Visible = true;
+                gridColumn1.VisibleIndex = 99;
+                gridColumn2.VisibleIndex = 100;
+                this.gridView1.RowHeight = 150;
+                gv_msg.Visible = false;
+                gv_userName.Visible = false;
+                gridView1.OptionsView.ShowAutoFilterRow = false;
+            }
+            else
+            {
+                gv_msg.Visible = true;
+                gv_userName.Visible = true;
+                this.gridView1.RowHeight = -1;
+                gridView1.OptionsView.ShowAutoFilterRow = true;
+            }
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", (value) =>
             {
-
             }, null, false);
-            getPageList(1, UtilityHelper.GetPageSize());
+            getPageList(1, 999999);
         }
 
 
@@ -32,6 +51,11 @@
         {
             var _sbSqlWhere = new StringBuilder();
             _sbSqlWhere.Append(" and ABT_GUID='" + this.guidKey + "'");
+            //濡傛灉鏄棩蹇楃被锛屼粎浠呮樉绀烘棩蹇�
+            if (isLog == true)
+            {
+                _sbSqlWhere.Append(" and isnull(IS_ERP,0)=1");
+            }
             var pgq = new PageQueryModel(curPage, 999999, "OPERATION_TIME",
                 "desc", "", _sbSqlWhere.ToString());
             var json = JsonConvert.SerializeObject(pgq);

--
Gitblit v1.9.3