From a4b4c5bda419f11a7b20dfa7f0a560b257729be4 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期一, 24 二月 2025 16:32:01 +0800 Subject: [PATCH] 雅达-更新多个文件中的属性和注释 --- Tiger.Business.WMS/Transaction/Out_Default.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Tiger.Business.WMS/Transaction/Out_Default.cs b/Tiger.Business.WMS/Transaction/Out_Default.cs index bd176e8..1402921 100644 --- a/Tiger.Business.WMS/Transaction/Out_Default.cs +++ b/Tiger.Business.WMS/Transaction/Out_Default.cs @@ -45,7 +45,7 @@ /// </summary> public async Task<ApiAction<ScanOutput>> Scan(BaseInput input) { - var action = new ApiAction<ScanOutput>(); + var action = new ApiAction<ScanOutput>(new ScanOutput()); try { if (input.SN.IsNullOrEmpty()) @@ -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