From 99e172531c9961094e2c05d8722850b455825a20 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期一, 10 三月 2025 15:59:56 +0800 Subject: [PATCH] 版面 --- DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs | 23 ++++++++++++++++------- 1 files changed, 16 insertions(+), 7 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs index b0fc38c..5abad4e 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs @@ -31,8 +31,11 @@ toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; toolBarMenu1.btnPiZhunClick += ToolBarMenu1_btnPiZhunClick; - Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(this.GetType().FullName, gvMx1); - Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(this.GetType().FullName,gridView1, picCheckBox, this, "foneChecked", "", (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.SetGridViewParameter(gridView1, picCheckBox, this, "foneChecked", "", (value) => { Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); }); @@ -196,7 +199,7 @@ List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); gvList.Add(gvMx1); gvList.Add(gridView2); - UtilityHelper.ChangeEnableByControl(panel1.Controls, true, gvList); + UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, true, gvList); } } @@ -212,7 +215,7 @@ var gridViews = new List<GridView>(); gridViews.Add(gvMx1); gridViews.Add(gridView2); - UtilityHelper.CleanValueByControl(panel1.Controls, true, gridViews); + UtilityHelper.CleanValueByControl(this.layoutMx1.Controls, true, gridViews); UtilityHelper.SetDefaultTable(gcMx1, gvMx1); xtraTabPageCopy.PageEnabled = false; } @@ -293,7 +296,8 @@ decimal _FupAllow_f = Gs.DevApp.ToolBox.UtilityHelper.ToDecimal(_FupAllow); decimal _FdownAllow_f = Gs.DevApp.ToolBox.UtilityHelper.ToDecimal(_FdownAllow); if (_Fstand_f >= _FdownAllow_f && _Fstand_f <= _FupAllow_f) { } - else { + else + { MsgHelper.ShowError("鏍囧噯鍊煎繀椤诲湪涓婇檺鍜屼笅闄愪箣闂达紒"); return; } @@ -346,7 +350,7 @@ var gridViews = new List<GridView>(); gridViews.Add(gvMx1); gridViews.Add(gridView2); - UtilityHelper.ChangeEnableByControl(panel1.Controls, false, gridViews); + UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, false, gridViews); } } catch (Exception ex) @@ -436,7 +440,7 @@ var gvList = new List<GridView>(); gvList.Add(gvMx1); - UtilityHelper.SetValueByObj(panel1.Controls, dy, + UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, isEdit, gvList); var _job = JObject.Parse(strJson); var array = new JArray(); @@ -785,5 +789,10 @@ MsgHelper.Warning("鎻愮ず锛�" + ex.Message); } } + + private void lb_ftwoCheckdate_Click(object sender, EventArgs e) + { + + } } } \ No newline at end of file -- Gitblit v1.9.3