From 247cc1010a4967a24d2d0eaeb092acc24c08ba96 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 05 四月 2025 14:25:12 +0800
Subject: [PATCH] fqc

---
 DevApp/Gs.DevApp/UserControl/SelectShuoTuiSq.cs |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/SelectShuoTuiSq.cs b/DevApp/Gs.DevApp/UserControl/SelectShuoTuiSq.cs
index 4280c61..464524a 100644
--- a/DevApp/Gs.DevApp/UserControl/SelectShuoTuiSq.cs
+++ b/DevApp/Gs.DevApp/UserControl/SelectShuoTuiSq.cs
@@ -15,18 +15,22 @@
         private string cusId = "";
         private string inOrgId = "";
         private string isSource = "";
+        private string ckId = "";
         /// <summary>
         /// 
         /// </summary>
-        /// <param name="_suppId">渚涘簲鍟嗙紪鍙� </param>
-        /// <param name="_inOrgId">缁勭粐缂栧彿</param>
-        /// <param name="_isWw">0鏈夋簮1锛�1鏃犳簮</param>
-        public SelectShuoTuiSq(string _cusId, string _inOrgId, string _isSource)
+        /// <param name="_cusId">瀹㈡埛</param>
+        /// <param name="_inOrgId">缁勭粐</param>
+        /// <param name="_ckId">浠撳簱</param>
+        /// <param name="_isSource">0鏈夋簮1锛�1鏃犳簮</param>
+        public SelectShuoTuiSq(string _cusId, string _inOrgId, string _ckId, string _isSource)
         {
             InitializeComponent();
             this.cusId = _cusId;
             this.inOrgId = _inOrgId;
+            this.ckId = _ckId;
             this.isSource = _isSource;
+
             pageBar1.PagerEvent += PageBar1_PagerEvent;
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", (value) =>
             {
@@ -94,6 +98,7 @@
                 inIsSource = this.isSource,
                 inCusId = this.cusId,
                 inOrgId = this.inOrgId,
+                inCkId = this.ckId
             };
             var json = JsonConvert.SerializeObject(_obj);
             try
@@ -105,7 +110,7 @@
                 gcMain.BindingContext = new BindingContext();
                 gcMain.DataSource = dt;
                 gcMain.ForceInitialize();
-                gridView1.BestFitColumns();
+                gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1);
                 var dddd = dd.rtnData.pages; //鎬婚〉
                 pageBar1.TotalPages = dddd;
                 pageBar1.RecordCount = dd.rtnData.total; //璁板綍鎬绘暟

--
Gitblit v1.9.3