From fd94e95ef93cc6608e9c6ecfe8552d3f8dd9b880 Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期日, 17 八月 2025 22:53:49 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/DevFrm/PDA/SelectPrint.cs | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/PDA/SelectPrint.cs b/DevApp/Gs.DevApp/DevFrm/PDA/SelectPrint.cs index a09266d..848c7a3 100644 --- a/DevApp/Gs.DevApp/DevFrm/PDA/SelectPrint.cs +++ b/DevApp/Gs.DevApp/DevFrm/PDA/SelectPrint.cs @@ -60,15 +60,18 @@ "MesSysPageviewManager/SetUserBind", JsonConvert.SerializeObject(_obj)); var _rtn = UtilityHelper.ReturnToDynamic(strJson); - MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnData.outMsg); + if (_rtn.rtnCode > 0) { + MsgHelper.ShowInformation("鎻愮ず锛�" + _rtn.rtnData.outMsg); this.Close(); } + else + MsgHelper.ShowError("鎻愮ず锛�" + _rtn.rtnData.outMsg); } catch (Exception ex) { - MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); } }; } @@ -106,7 +109,7 @@ } catch (Exception ex) { - MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); } } } -- Gitblit v1.9.3