From d1baa8a7633fc7042861916192a5ccc14ae02fa7 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期五, 23 八月 2024 08:52:08 +0800 Subject: [PATCH] 一些更改 --- Tiger.Business.MES/WorkAction/PrintLabel.cs | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Tiger.Business.MES/WorkAction/PrintLabel.cs b/Tiger.Business.MES/WorkAction/PrintLabel.cs index 85234b9..a3f2941 100644 --- a/Tiger.Business.MES/WorkAction/PrintLabel.cs +++ b/Tiger.Business.MES/WorkAction/PrintLabel.cs @@ -69,6 +69,7 @@ //濡傛灉杩斿洖鎴愬姛鍒欒涓哄綋鍓嶈涓哄彲浠ュ紑濮嬫墽琛岋紝鍚﹀垯杩斿洖澶辫触 action.IsSuccessed = true; + action.Data.ShortMsg = new("鎵撳嵃寮�濮�", ShortMessage.Types.Success); return action; } @@ -87,6 +88,7 @@ //鎻愪氦鏁版嵁鎵ц澶辫触 else { + action.Data.ShortMsg = new("鎵撳嵃澶辫触", ShortMessage.Types.Failed); action.IsSuccessed = false; //action.LocaleMsg = new($"鏍囩{Label.LABEL_NAME}[{Label.LABEL_CODE}]鎵撳嵃澶辫触", Label.LABEL_NAME); action.LocaleMsg = new("MES.WorkAction.PrintLabel.PrintFail", Label.LABEL_NAME, Label.LABEL_CODE); @@ -161,6 +163,7 @@ }; IsFinished = true; + action.Data.ShortMsg = new("鎵撳嵃瀹屾垚", ShortMessage.Types.Success); //action.LocaleMsg = new($"鏍囩{Label.LABEL_NAME}[{Label.LABEL_CODE}]鎵撳嵃鎴愬姛", Label.LABEL_NAME); action.LocaleMsg = new("MES.WorkAction.PrintLabel.PrintSuccess", Label.LABEL_NAME, Label.LABEL_CODE); return action; -- Gitblit v1.9.3