From 389a37cd2a99b901f150ff36e9fa8bdaec679a78 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 30 十月 2024 14:28:25 +0800 Subject: [PATCH] 来料检验审核 --- DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.cs | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 47 insertions(+), 1 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.cs index 59d13c8..61561e9 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.cs @@ -1,4 +1,7 @@ -锘縰sing DevExpress.XtraGrid.Views.Grid; +锘縰sing DevExpress.Pdf.Native.BouncyCastle.Asn1.Pkcs; +using DevExpress.Utils.VisualEffects; +using DevExpress.XtraGrid.Views.Base.ViewInfo; +using DevExpress.XtraGrid.Views.Grid; using DevExpress.XtraGrid.Views.Grid.ViewInfo; using Gs.DevApp.Entity; using Gs.DevApp.ToolBox; @@ -31,6 +34,10 @@ this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1; this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; + this.toolBarMenu1.btnZhiLiangChkClick += ToolBarMenu1_btnZhiLiangChkClick; + this.toolBarMenu1.btnZhiLiangFchkClick += ToolBarMenu1_btnZhiLiangFchkClick; + this.toolBarMenu1.btnCaiGouChkClick += ToolBarMenu1_btnCaiGouChkClick; + this.toolBarMenu1.btnCaiGouFchkClick += ToolBarMenu1_btnCaiGouFchkClick; gcMain.MouseDoubleClick += GcMain_MouseDoubleClick; gvMx1.FocusedRowChanged += GvMx1_FocusedRowChanged; getPageList(1, UtilityHelper.GetPageSize()); @@ -57,6 +64,8 @@ gvMx2.OptionsView.ShowGroupPanel = false; _setIno(); } + + /// <summary> /// 鍙屽嚮浜嬩欢 /// </summary> @@ -97,6 +106,41 @@ { _filterList = e.FilterList; getPageList(1, pageBar1.RowsCount); + } + private void ToolBarMenu1_btnCaiGouFchkClick(object sender, EventArgs e) + { + toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_releaseNo, gridView1); + toolBarMenu1.guidKey = rowGuid; + } + + private void ToolBarMenu1_btnCaiGouChkClick(object sender, EventArgs e) + { + toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_releaseNo, gridView1); + toolBarMenu1.guidKey = rowGuid; + } + + private void ToolBarMenu1_btnZhiLiangFchkClick(object sender, EventArgs e) + { + toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_releaseNo, gridView1); + toolBarMenu1.guidKey = rowGuid; + } + + private void ToolBarMenu1_btnZhiLiangChkClick(object sender, EventArgs e) + { + toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_releaseNo, gridView1); + toolBarMenu1.guidKey = rowGuid; } /// <summary> @@ -417,5 +461,7 @@ MsgHelper.Warning("鎻愮ず锛�" + ex.Message); } } + + } } \ No newline at end of file -- Gitblit v1.9.3