From 4c8504f8deca450723fcdcf4f772f6cc67049c03 Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期六, 28 十二月 2024 23:12:52 +0800
Subject: [PATCH] 优化了一些已知问题

---
 Tiger.Business.WMS/Transaction/Out_Default.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Tiger.Business.WMS/Transaction/Out_Default.cs b/Tiger.Business.WMS/Transaction/Out_Default.cs
index bd176e8..ad368c4 100644
--- a/Tiger.Business.WMS/Transaction/Out_Default.cs
+++ b/Tiger.Business.WMS/Transaction/Out_Default.cs
@@ -168,6 +168,7 @@
                 {
                     action.IsSuccessed = false;
                     action.LocaleMsg = downResult.LocaleMsg;
+                    CurInvItem = null;
                     return action;
                 }
                 TakeDownInfo downInfo = downResult.Data;
@@ -207,6 +208,7 @@
                 };
                 //action.LocaleMsg = Biz.L($"鎵弿鏉$爜[{0}]浠庡偍浣峓{1}]涓嬫灦鎴愬姛");
                 action.LocaleMsg = Biz.L("WMS.Default.ScanItem.TakeDownSucceeded", CurInvItem.SN, CurInvItem.Location?.LOCATION_CODE);
+                CurInvItem = null;
             }
             catch (Exception ex)
             {

--
Gitblit v1.9.3