From fadb9f2e2f89ebaa7dacf760146899eb6dd24ea8 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期三, 12 三月 2025 12:06:39 +0800 Subject: [PATCH] 优化了一些已知问题 --- Tiger.Business.WMS/Transaction/In_Default.cs | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Tiger.Business.WMS/Transaction/In_Default.cs b/Tiger.Business.WMS/Transaction/In_Default.cs index 2e04e35..1ebd202 100644 --- a/Tiger.Business.WMS/Transaction/In_Default.cs +++ b/Tiger.Business.WMS/Transaction/In_Default.cs @@ -188,6 +188,7 @@ { var item = CurInvItem.Items.First(q => q.SN == qty.Code); item.QTY = qty.WhQty; + item.SUPP_LOTNO = qty.Segment7; } action.Data.Data = CurInvItem.Items.Select(q => new { q.SN, q.QTY }); action.Data.Command = Command = "ComfirmQty"; @@ -426,8 +427,8 @@ //action.LocaleMsg = Biz.L($"鎵弿鏉$爜[{0}]涓婃灦鍒板偍浣峓{1}]鎴愬姛"); action.LocaleMsg = Biz.L("WMS.Default.ScanItem.PutOnSucceeded", CurInvItem.SN, CurInvItem.Location.LOCATION_CODE); - //閲嶇疆宸ュ簭 - ResetScan(); + //閲嶇疆鎵爜淇℃伅 + ResetScanInfo(); return action; } @@ -439,9 +440,17 @@ public override void ResetScan() { base.ResetScan(); + ResetScanInfo(); + CurScanShelf = null; + } + + /// <summary> + /// 閲嶇疆鎵爜淇℃伅 + /// </summary> + public void ResetScanInfo() + { Command = null; CurInvItem = null; - CurScanShelf = null; } public override bool Close(bool needSaveHistoryLog = false) -- Gitblit v1.9.3