From 74ff49e94dd827d4f3b2c2e44c8b6ef3c16c1965 Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期四, 12 九月 2024 00:50:04 +0800
Subject: [PATCH] Merge branch 'master' of http://47.115.28.255:8110/r/TigerClouds-Tech/Server/TigerApi6_2024

---
 Tiger.Business.MES/WorkAction/PrintLabel.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/Tiger.Business.MES/WorkAction/PrintLabel.cs b/Tiger.Business.MES/WorkAction/PrintLabel.cs
index d4b91f5..bb597f5 100644
--- a/Tiger.Business.MES/WorkAction/PrintLabel.cs
+++ b/Tiger.Business.MES/WorkAction/PrintLabel.cs
@@ -42,6 +42,9 @@
 
             Label = Biz.Db.Queryable<BAS_LABEL_TEMP>().Where(q => q.LABEL_CODE == setting.LABEL_CODE).IncludesAllFirstLayer().First();
             LabelPV = Biz.Db.Queryable<BAS_LABEL_PV>().ToList();
+
+            CurStep.Message = Biz.L("绛夊緟鏍囩鎵撳嵃");
+            CurStep.Status = StepStatus.Normal;
         }
 
         /// <summary>
@@ -68,6 +71,8 @@
             action.Data.Data = Label;
 
             //濡傛灉杩斿洖鎴愬姛鍒欒涓哄綋鍓嶈涓哄彲浠ュ紑濮嬫墽琛岋紝鍚﹀垯杩斿洖澶辫触
+            CurStep.Message = Biz.L("鎵撳嵃寮�濮�");
+            CurStep.Status = StepStatus.Normal;
             action.IsSuccessed = true;
             action.Data.ShortMsg = new("鎵撳嵃寮�濮�", ShortMessage.Types.Success);
             return action;
@@ -88,6 +93,8 @@
             //鎻愪氦鏁版嵁鎵ц澶辫触
             else
             {
+                CurStep.Message = Biz.L("鎵撳嵃澶辫触");
+                CurStep.Status = StepStatus.Error;
                 action.Data.ShortMsg = new("鎵撳嵃澶辫触", ShortMessage.Types.Failed);
                 action.IsSuccessed = false;
                 //action.LocaleMsg = new($"鏍囩{Label.LABEL_NAME}[{Label.LABEL_CODE}]鎵撳嵃澶辫触", Label.LABEL_NAME);
@@ -163,6 +170,7 @@
             };
 
             IsFinished = true;
+            CurStep.Message = Biz.L("鎵撳嵃瀹屾垚");
             CurStep.Status = StepStatus.Finished;
             action.Data.ShortMsg = new("鎵撳嵃瀹屾垚", ShortMessage.Types.Success);
             //action.LocaleMsg = new($"鏍囩{Label.LABEL_NAME}[{Label.LABEL_CODE}]鎵撳嵃鎴愬姛", Label.LABEL_NAME);

--
Gitblit v1.9.3