From 64a6c4193199d15d7ac5aa67a9677df01a37a50d Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期四, 12 六月 2025 08:04:31 +0800
Subject: [PATCH] bug

---
 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesSctkSq.cs |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesSctkSq.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesSctkSq.cs
index 330417b..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();
@@ -353,6 +353,12 @@
                     if (string.IsNullOrEmpty(_msl))
                     {
                         MsgHelper.ShowError("鐢宠鏁伴噺涓嶈兘涓虹┖锛�");
+                        return;
+                    }
+                    _msl = row["remark"].ToString();
+                    if (string.IsNullOrEmpty(_msl))
+                    {
+                        MsgHelper.ShowError("鐢宠澶囨敞涓嶈兘涓虹┖锛�");
                         return;
                     }
                     _obj.list.Add(new
@@ -396,7 +402,7 @@
         /// <param name="pageSize">姣忛〉鍑犳潯</param>
         private void getPageList(int curPage)
         {
-            var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
+            gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
             PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "BILL_NO", "asc", "", _sbSqlWhere.ToString());
             string json = JsonConvert.SerializeObject(pgq);
             try

--
Gitblit v1.9.3