From 91a3be4ec1a61bbeb2271efd51fb23e6bfcf5184 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 25 四月 2025 17:26:33 +0800 Subject: [PATCH] 首检 --- DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs index fd306c5..4bf2d8d 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs @@ -89,14 +89,14 @@ ucBtnPrint1.guidKey = ""; string rowGuid = lbMxGuid.Text.Trim(); ucBtnPrint1.guidKey = rowGuid; - if (string.IsNullOrEmpty(txt_iCount_1.Text.Trim())) + if (!Gs.DevApp.ToolBox.UtilityHelper.IsNumeric3(txt_iCount_1.Text.Trim())) { Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鎵撳嵃鏉$爜寮犳暟锛�"); txt_iCount_1.Focus(); this.ucBtnPrint1.rptParameter = "return false"; return; } - if (string.IsNullOrEmpty(txt_psnQty_1.Text.Trim())) + if (!Gs.DevApp.ToolBox.UtilityHelper.IsNumeric3(txt_psnQty_1.Text.Trim())) { Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鎵撳嵃鏉$爜鏁伴噺锛�"); txt_psnQty_1.Focus(); @@ -314,7 +314,7 @@ string kcZz = txt_qt022.GetId();//搴撳瓨缁勭粐 string kcBm = txt_qt009.GetId();//搴撳瓨閮ㄩ棬 string kcGys = txt_qt018.GetId();//搴撳瓨渚涘簲鍟� - string djLx = txt_qt003.Text.Trim();//鍗曟嵁绫诲瀷 + string djLx = txt_qt003.TextTxt.Trim();//鍗曟嵁绫诲瀷 string kcfx = txt_qt019.Text.Trim();//搴撳瓨鏂瑰悜 string inHzlx = ucLookHuoZhu1.GetHzLx();//璐т富绫诲瀷 string inHz = ucLookHuoZhu1.GetHzId();//璐т富 @@ -336,7 +336,7 @@ Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨璐т富锛�"); return; } - if (txt_qt003.SelectedIndex < 0) + if (txt_qt003.TextTxt.Length < 0) { Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨鍗曟嵁绫诲瀷锛�"); txt_qt003.Focus(); @@ -434,7 +434,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, "qt001", "asc", "", _sbSqlWhere.ToString()); string json = JsonConvert.SerializeObject(pgq); try -- Gitblit v1.9.3