From 77771c41aa9f7f1f242c79b95fc2a8c82bd7c6c8 Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期三, 01 一月 2025 15:59:31 +0800
Subject: [PATCH] 增加更新条码数量行为

---
 Tiger.Business.WMS/Common/Inventory.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Tiger.Business.WMS/Common/Inventory.cs b/Tiger.Business.WMS/Common/Inventory.cs
index 2045de7..7884155 100644
--- a/Tiger.Business.WMS/Common/Inventory.cs
+++ b/Tiger.Business.WMS/Common/Inventory.cs
@@ -34,5 +34,10 @@
         public WMS_ITEM_PKG CurPkg => Packages.FirstOrDefault(q => q.SN == SN);
         public bool isExists => CurPkg != null;
         public bool isMinPackage => Items.Count == 1 && Items.Single().SN == SN;
+
+        public void UpdatePkgQty()
+        {
+            this.Packages = WMS_ITEM_PKG.UpdateQty(this.Packages);
+        }
     }
 }

--
Gitblit v1.9.3