From 40036d84a94b47b82b2d6316fb63df5e2847c6df Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期四, 10 七月 2025 11:17:46 +0800
Subject: [PATCH] 首检

---
 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesSctkSq.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesSctkSq.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesSctkSq.cs
index ccf3f53..1ffb78a 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesSctkSq.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesSctkSq.cs
@@ -320,7 +320,7 @@
                 txt_depotId.Focus();
                 return;
             }
-            if (txt_returnType.SelectedIndex <= 0)
+            if (txt_returnType.TextTxt.Length <= 0)
             {
                 MsgHelper.Warning("璇烽�夋嫨閫�鏂欏師鍥狅紒");
                 txt_returnType.Focus();
@@ -332,7 +332,7 @@
                 OrgId = txt_thOrgId.GetId(),//閫夋嫨缁勭粐
                 Remark = txt_remark.Text.Trim(), //澶囨敞
                 DepotId = int.Parse(_ckId),//浠撳簱
-                Reason = txt_returnType.Text,//閫�鏂欏師鍥�
+                Reason = txt_returnType.TextTxt,//閫�鏂欏師鍥�
                 list = new List<dynamic>(),
             };
             gvMx1.CloseEditor();
@@ -355,6 +355,12 @@
                         MsgHelper.ShowError("鐢宠鏁伴噺涓嶈兘涓虹┖锛�");
                         return;
                     }
+                    _msl = row["remark"].ToString();
+                    if (string.IsNullOrEmpty(_msl))
+                    {
+                        MsgHelper.ShowError("鐢宠澶囨敞涓嶈兘涓虹┖锛�");
+                        return;
+                    }
                     _obj.list.Add(new
                     {
                         Guid = _guid,

--
Gitblit v1.9.3