From 9984bb1eb673f4ea6d952e191040a674583d2f20 Mon Sep 17 00:00:00 2001
From: YangYuGang <1378265336@qq.com>
Date: 星期五, 21 三月 2025 15:53:52 +0800
Subject: [PATCH] 添加声音

---
 Tiger.Business.WMS/Transaction/Yada/Count_BIZ_U9_ASN.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Tiger.Business.WMS/Transaction/Yada/Count_BIZ_U9_ASN.cs b/Tiger.Business.WMS/Transaction/Yada/Count_BIZ_U9_ASN.cs
index 9cb73f2..59baeb3 100644
--- a/Tiger.Business.WMS/Transaction/Yada/Count_BIZ_U9_ASN.cs
+++ b/Tiger.Business.WMS/Transaction/Yada/Count_BIZ_U9_ASN.cs
@@ -96,7 +96,7 @@
                     action.IsSuccessed = false;
                     //action.LocaleMsg = Biz.L("鏉$爜涓洪潪娉曟潯鐮�");
                     action.LocaleMsg = Biz.L("WMS.WmsItem.Barcode.IllegalFailure", input.SN);
-                    return action;
+                    return SetOutPutMqttMsg(action, input.Locale); ;
                 }
 
                 if (barcode.Type == Barcode.Types.OuterPackage)
@@ -117,14 +117,14 @@
                     action.IsSuccessed = false;
                     //action.LocaleMsg = Biz.L("ASN鍗曚腑涓嶅瓨鍦ㄦ潯鐮乕{0}]");
                     action.LocaleMsg = Biz.L("WMS.Count_BIZ_U9_ASN.SnNotExists", input.SN);
-                    return action;
+                    return SetOutPutMqttMsg(action, input.Locale); ;
                 }
                 if (CurSn.First().AUTH_ORG != input.AuthOption.CurOrg)
                 {
                     action.IsSuccessed = false;
                     //action.LocaleMsg = Biz.L($"鏉$爜鎵�灞炵粍缁嘯{0}]涓庡綋鍓嶇櫥褰曠粍缁嘯{1}]涓嶄竴鑷达紝璇烽噸鏂伴�夋嫨缁勭粐");
                     action.LocaleMsg = Biz.L("WMS.Count_BIZ_U9_ASN.OrgNotCorrect", CurSn.First().AUTH_ORG, input.AuthOption.CurOrg);
-                    return action;
+                    return SetOutPutMqttMsg(action, input.Locale); ;
                 }
                 //楠岃瘉鏉$爜鏄惁姝g‘
                 if (CurSn.First().STATUS > WMS_ITEM.STATUSs.Incoming.GetValue())
@@ -132,7 +132,7 @@
                     action.IsSuccessed = false;
                     //action.LocaleMsg = Biz.L("鐘舵�乕{0}]寮傚父锛岃閲嶆柊鎵弿");
                     action.LocaleMsg = Biz.L("WMS.Default.ScanItem.StatusException", CurSn.First().STATUS.GetEnumDesc<WMS_ITEM.STATUSs>());
-                    return action;
+                    return SetOutPutMqttMsg(action, input.Locale); ;
                 }
 
                 //鎵ц娓呯偣鏁版嵁澶勭悊
@@ -164,7 +164,7 @@
                 //action.CatchExceptionWithLog(ex, $"鎵弿鏉$爜[{0}]澶嶆牳寮傚父");
                 action.CatchExceptionWithLog(ex, Biz.L("WMS.Default.ScanItem.ScanException", input.SN));
             }
-            return action;
+            return SetOutPutMqttMsg(action, input.Locale); 
         }
 
         /// <summary>
@@ -191,7 +191,7 @@
 
             //閲嶇疆宸ュ簭
             ResetScan();
-            return action;
+            return SetOutPutMqttMsg(action, locale); ;
         }
 
 		/// <summary>

--
Gitblit v1.9.3