From 2e3496c2bc19c1dcb25dbbde0022a6a6d2b4ff7b Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期六, 22 十一月 2025 13:27:18 +0800
Subject: [PATCH] ID转人名:受托退料申请、受托退料单

---
 DevApp/Gs.DevApp/UserControl/SelectCgMx.cs |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs
index db725f4..aec8a26 100644
--- a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs
+++ b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs
@@ -25,6 +25,7 @@
         public SelectCgMx(string _suppId, string _receiveOrgId)
         {
             InitializeComponent();
+            #region  鍕鹃�夋眹鎬�2025-11-20
             gridView1.Columns["purchaseQty"].SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Custom;
             gridView1.Columns["yssl"].SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Custom;
             gridView1.Columns["wssl"].SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Custom;
@@ -43,19 +44,21 @@
                     int status = Convert.ToInt32(view.GetListSourceRowCellValue(e.RowHandle, "chkInt"));
                     if (status == 1)
                     {
-                        string _colCaption=e.Item.ToString();
+                        string _colCaption = e.Item.ToString();
                         if (_colCaption.Contains("閲囪喘"))
                         {
                             decimal amount = Convert.ToDecimal(view.GetListSourceRowCellValue(e.RowHandle, "purchaseQty"));
                             e.TotalValue = Convert.ToDecimal(e.TotalValue) + amount;
                         }
-                        else {
+                        else
+                        {
                             if (_colCaption.Contains("宸叉敹"))
                             {
                                 decimal amount2 = Convert.ToDecimal(view.GetListSourceRowCellValue(e.RowHandle, "yssl"));
                                 e.TotalValue = Convert.ToDecimal(e.TotalValue) + amount2;
                             }
-                            else {
+                            else
+                            {
                                 if (_colCaption.Contains("鏈敹"))
                                 {
                                     decimal amount3 = Convert.ToDecimal(view.GetListSourceRowCellValue(e.RowHandle, "wssl"));
@@ -71,12 +74,20 @@
                     e.TotalValue = e.TotalValue;
                 }
             };
+            #endregion
+            
+            #region  鍔犲叆checkbox begin
             this.gridView1.CustomDrawColumnHeader += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomDrawColumnHeader(s, e); };
-            this.gridView1.MouseUp += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomMouseUp(s, e, gcMain, gridView1); };
+            this.gridView1.MouseUp += (s, e) =>
+            {
+                Gs.DevApp.ToolBox.UtilityHelper.CustomMouseUp(s, e, gcMain, gridView1);
+            };
             this.colChkInt.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
             this.colChkInt.OptionsFilter.AllowAutoFilter = false;
             this.colChkInt.OptionsFilter.AllowFilter = false;
             this.colChkInt.OptionsFilter.AllowInHeaderSearch = DevExpress.Utils.DefaultBoolean.False;
+            #endregion
+
             radioGroup1.SelectedIndex = 0;
             this.suppId = _suppId;
             this.receiveOrgId = _receiveOrgId;

--
Gitblit v1.9.3