From 906f79ff500541dda3626f12c1a05f2d2e57f7a8 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期一, 23 六月 2025 10:46:30 +0800 Subject: [PATCH] 超期重检 --- DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTbl.cs | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTbl.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTbl.cs index e1045dd..e4e768f 100644 --- a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTbl.cs +++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTbl.cs @@ -87,17 +87,12 @@ }; frm.ShowDialog(); }; - - this.ucBtnPrint1.btnDesignClick += (s, e) => - { - ucBtnPrint1.rptParameter = "rpt_wwtl{}"; - }; - this.ucBtnPrint1.btnReportClick += (s, e) => + this.ucBtnPrint1.btnPrintClick += (s, e) => { ucBtnPrint1.guidKey = ""; string rowGuid = lbMxGuid.Text.Trim(); ucBtnPrint1.guidKey = rowGuid; - if (!Gs.DevApp.ToolBox.UtilityHelper.IsNumeric3(txt_iCount_1.Text.Trim())) + if (!Gs.DevApp.ToolBox.UtilityHelper.IsNumeric3(txt_iCount_1.Text.Trim(), txt_yuliang_1.Text.Trim())) { Gs.DevApp.ToolBox.MsgHelper.ShowError("璇疯緭鍏ユ纭殑鏉$爜鏁伴噺锛�"); txt_iCount_1.Focus(); @@ -382,12 +377,18 @@ MsgHelper.ShowError("鐢宠鏁伴噺涓嶈兘涓虹┖锛�"); return; } + string _tld014 = row["tld014"].ToString(); + if (string.IsNullOrEmpty(_tld014)) + { + MsgHelper.ShowError("閫�鏂欏娉ㄤ笉鑳戒负绌猴紒"); + return; + } _obj.list.Add(new { Guid = _guid, AboutGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(row["aboutGuid"].ToString()), Sl = _sl, //鐢宠鏁伴噺 - Remark = row["tld014"].ToString() + Remark = _tld014 }); } } -- Gitblit v1.9.3