From b71d1372394ba9fffa04f3e55fcfcd32c545c85a Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 18 三月 2025 09:04:24 +0800
Subject: [PATCH] erp改主键

---
 DevApp/Gs.DevApp/DevFrm/Sys/Frm_MesSysPageview.cs |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Sys/Frm_MesSysPageview.cs b/DevApp/Gs.DevApp/DevFrm/Sys/Frm_MesSysPageview.cs
index e682cf2..131a92c 100644
--- a/DevApp/Gs.DevApp/DevFrm/Sys/Frm_MesSysPageview.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Sys/Frm_MesSysPageview.cs
@@ -219,9 +219,9 @@
                 if (dd.rtnCode > 0)
                 {
                     DataTable dt = dd.rtnData.list;
-                    gcMain.BindingContext = new BindingContext();
-                    gcMain.DataSource = dt;
-                    gcMain.ForceInitialize();
+                    gcMain1.BindingContext = new BindingContext();
+                    gcMain1.DataSource = dt;
+                    gcMain1.ForceInitialize();
                     int dddd = dd.rtnData.pages;//鎬婚〉
                     pageBar1.TotalPages = dddd;
                     pageBar1.RecordCount = dd.rtnData.total;//璁板綍鎬绘暟
@@ -277,6 +277,11 @@
             }
         }
 
+        /// <summary>
+        /// 涓婁紶鍥剧墖
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
         private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
         {
             var rowhandle = gridView1.FocusedRowHandle;
@@ -295,5 +300,7 @@
                 frm.ShowDialog();
             }
         }
+
+       
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3