| | |
| | | public SelectCgMx(string _suppId, string _receiveOrgId) |
| | | { |
| | | InitializeComponent(); |
| | | #region MyRegion |
| | | #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; |
| | |
| | | } |
| | | }; |
| | | #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; |