From 7d7f289200a8c73e7ba1ab0a4cc6f39e8c60b852 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 10 五月 2025 11:22:18 +0800
Subject: [PATCH] 优化测试

---
 DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs
index aa4d27f..1523e56 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs
@@ -14,6 +14,7 @@
 {
     public partial class Frm_MesQaItemsDetect01 : DevExpress.XtraEditors.XtraForm
     {
+        string _strTag = "N:涓嶅悎鏍�";
         string _webServiceName = "MesQaItemsDetect01Manager/";
         List<FilterEntity> _filterList = new List<FilterEntity>();
         public Frm_MesQaItemsDetect01()
@@ -248,7 +249,7 @@
             }
             if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鎻愪氦妫�楠屽悧锛�"))
                 return;
-            if (txt_fcheckResu.Text.Trim() == "涓嶅悎鏍�")
+            if (txt_fcheckResu.Text.Trim() == _strTag)
             {
                 if (string.IsNullOrEmpty(txt_fngDesc.Text.Trim()))
                 {
@@ -357,7 +358,7 @@
         private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e)
         {
             toolBarMenu1.isSetBtn = false;
-            if (txt_fcheckResu.Text.Trim() == "N:涓嶅悎鏍�" && string.IsNullOrEmpty(txt_fngDesc.Text.Trim()))
+            if (txt_fcheckResu.Text.Trim() == _strTag && string.IsNullOrEmpty(txt_fngDesc.TextTxt.Trim()))
             {
                 Gs.DevApp.ToolBox.MsgHelper.Warning("褰撴楠岀粨鏋滀笉鍚堟牸鏃讹紝璇峰~鍐欏娉ㄨ鏄庯紒");
                 txt_fngDesc.Focus();
@@ -366,7 +367,7 @@
             var _obj = new
             {
                 guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓
-               fngDesc = txt_fngDesc.Text.Trim(),
+               fngDesc = txt_fngDesc.TextTxt.Trim(),
             };
             try
             {

--
Gitblit v1.9.3