From 06d6a778ee0762d5b1108278f15ec8f8261ea8ba Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期三, 19 二月 2025 10:25:46 +0800
Subject: [PATCH] 布局

---
 DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
index b91df66..726fa83 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
@@ -33,9 +33,12 @@
             toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
             toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
-            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx( gvMx1);
-           Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2);
-            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter( gridView1, picCheckBox, this, "isSh", "", (value) =>
+            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
+            gvList.Add(gridView1);
+            Gs.DevApp.ToolBox.UtilityHelper.getGridViewConfig(this.GetType().FullName, gvList);
+            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
+            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2);
+            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "isSh", "", (value) =>
             {
                 Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
             });
@@ -48,7 +51,7 @@
             });
             getPageList(1);
             pageBar1.PagerEvent += PageBar1_PagerEvent;
-           
+
             //閫夋嫨搴撳瓨缁勭粐锛堝彉鏄庣粏涓殑鐗╂枡鍜屽彉璐т富锛�
             this.txt_qt022.EditChanged += (s, e) =>
             {
@@ -58,7 +61,7 @@
                 ucLookHuoZhu1.OrgId = _orgId;
                 ucLookHuoZhu1.HzId = _ucHz;
                 ucLookHuoZhu1.SetHzLx(_ucHzlx);
-                txt_qt009.getSuppler(_orgId,_ucBm);
+                txt_qt009.getSuppler(_orgId, _ucBm);
                 txt_qt018.getSuppler(_orgId, _ucGys);
                 txt_qt008.getSuppler(_orgId, _ucCk);
                 System.Text.StringBuilder sbWhere = new System.Text.StringBuilder();
@@ -78,7 +81,7 @@
                     MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
                 }
             };
-           
+
             gvMx1.FocusedRowChanged += GvMx1_FocusedRowChanged;
             this.ucBtnPrint1.btnDesignClick += (s, e) =>
             {
@@ -482,7 +485,7 @@
                     gvList.Add(gvMx1);
                     gvList.Add(gvMx2);
                     UtilityHelper.SetValueByObj(this.panel1.Controls, dy, isEdit, gvList);
-                    _ucGys ="";
+                    _ucGys = "";
                     _ucBm = "";
                     _ucCk = "";
                     _ucHzlx = "";
@@ -671,9 +674,9 @@
                 txtWlid.Text = row["qd002"].ToString();
                 txtWlgg.Text = row["qd004"].ToString();
                 txtWlmc.Text = row["qd003"].ToString();
-                 txtQuantity.Text = row["qd007"].ToString();//鐢宠鎬婚噺
-                 txtYdy.Text = row["ydy"].ToString();//宸叉墦鍗版�婚噺
-                 txtKdy.Text = row["kdy"].ToString();//鍙墦鍗版�婚噺
+                txtQuantity.Text = row["qd007"].ToString();//鐢宠鎬婚噺
+                txtYdy.Text = row["ydy"].ToString();//宸叉墦鍗版�婚噺
+                txtKdy.Text = row["kdy"].ToString();//鍙墦鍗版�婚噺
             }
         }
         /// <summary>

--
Gitblit v1.9.3