From f090facc03df282747691d6295229a25583f9712 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 22 四月 2025 08:09:25 +0800 Subject: [PATCH] iqc --- DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs index 58f3257..aa4d27f 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs @@ -250,9 +250,9 @@ return; if (txt_fcheckResu.Text.Trim() == "涓嶅悎鏍�") { - if (string.IsNullOrEmpty(txt_remarks.Text.Trim())) + if (string.IsNullOrEmpty(txt_fngDesc.Text.Trim())) { - MsgHelper.Warning("鍗曟嵁涓轰笉鍚堟牸鏃讹紝璇峰~鍐欏娉ㄨ鏄庯紒"); + MsgHelper.Warning("鍗曟嵁涓轰笉鍚堟牸鏃讹紝璇峰~鍐欏紓甯稿娉ㄨ鏄庯紒"); return; } }; @@ -357,16 +357,16 @@ private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) { toolBarMenu1.isSetBtn = false; - if (txt_fcheckResu.Text.Trim() == "N:涓嶅悎鏍�" && string.IsNullOrEmpty(txt_remarks.Text.Trim())) + if (txt_fcheckResu.Text.Trim() == "N:涓嶅悎鏍�" && string.IsNullOrEmpty(txt_fngDesc.Text.Trim())) { Gs.DevApp.ToolBox.MsgHelper.Warning("褰撴楠岀粨鏋滀笉鍚堟牸鏃讹紝璇峰~鍐欏娉ㄨ鏄庯紒"); - txt_remarks.Focus(); + txt_fngDesc.Focus(); return; } var _obj = new { guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓 - remarks = txt_remarks.Text.Trim(), + fngDesc = txt_fngDesc.Text.Trim(), }; try { @@ -381,6 +381,7 @@ this.setEable(false); toolBarMenu1.currentAction = ""; Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6); + } } catch (Exception ex) @@ -454,7 +455,7 @@ if (_rtn.rtnCode > 0) { dynamic dy = _rtn.rtnData; - btnYcReport.Tag = dy.toGuid.ToString(); + btnYcReport.ToolTip = dy.toGuid.ToString(); lbGuid.Text = strGuid; List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); gvList.Add(gvMx1); @@ -566,7 +567,7 @@ public event EventHandler<UpdateParentEventArgs> ToUpdateParent; private void BtnYcReport_Click(object sender, EventArgs e) { - string _toGuid = (btnYcReport.Tag == null ? "" : btnYcReport.Tag.ToString()); + string _toGuid = (btnYcReport.ToolTip == null ? "" : btnYcReport.ToolTip.ToString()); if (string.IsNullOrEmpty(_toGuid)) { Gs.DevApp.ToolBox.MsgHelper.ShowInformation("璇ュ崟鏃犲紓甯告姤鍛婏紝鏌ョ湅澶辫触锛�"); -- Gitblit v1.9.3