From 1f45918504bfdafae93b6fc7a5823a48d73e4d3c Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 31 十二月 2024 14:51:58 +0800 Subject: [PATCH] 工单细节 --- DevApp/Gs.DevApp/DevFrm/QC/Frm_IQCLookups.cs | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_IQCLookups.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_IQCLookups.cs index aab3a92..42a6ed3 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_IQCLookups.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_IQCLookups.cs @@ -130,7 +130,16 @@ return; } Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3); - UtilityHelper.ChangeEnableByControl(panel1.Controls, true); + if (xtraTabControl1.SelectedTabPageIndex == 1) + { + getModel(rowGuid); + } + else + { + var gvList = new List<GridView>(); + gvList.Add(gvMx1); + UtilityHelper.ChangeEnableByControl(panel1.Controls, true, gvList); + } } /// <summary> @@ -183,7 +192,9 @@ { lbGuid.Text = _rtn.rtnData; toolBarMenu1.isSetBtn = true; - getModel(lbGuid.Text); + var gridViews = new List<GridView>(); + gridViews.Add(gvMx1); + UtilityHelper.ChangeEnableByControl(panel1.Controls, false,gridViews); } } catch (Exception ex) -- Gitblit v1.9.3