From 8afccee95f065d4d9c2d6800d895878a13667e8b Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期六, 19 四月 2025 09:18:56 +0800 Subject: [PATCH] 打印 --- DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs index 03c8a8d..f5f6c7b 100644 --- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs +++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs @@ -562,16 +562,16 @@ this.ucBtnPrint1.rptParameter = "return false"; return; } - 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("璇烽�夋嫨鍐呭寘瑁呮暟閲忥紒"); + Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鎵撳嵃鏉$爜鏁伴噺锛�"); txt_psnQty_1.Focus(); this.ucBtnPrint1.rptParameter = "return false"; return; @@ -600,7 +600,7 @@ this.ucBtnPrint98.rptParameter = "return false"; return; } - if (string.IsNullOrEmpty(txt_iCount_98.Text.Trim())) + if (!Gs.DevApp.ToolBox.UtilityHelper.IsNumeric3(txt_iCount_98.Text.Trim())) { Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鎵撳嵃鏉$爜寮犳暟锛�"); txt_iCount_98.Focus(); @@ -631,7 +631,6 @@ this.ucBtnPrint100.rptParameter = "return false"; return; } - this.ucBtnPrint100.rptParameter = "rpt_hgm{" + "100" + "," + "" @@ -674,8 +673,6 @@ } } } - #endregion - } } \ No newline at end of file -- Gitblit v1.9.3