From 40df5d91f800bb8b7be2638c13b4f9292d461221 Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期一, 10 三月 2025 18:13:50 +0800
Subject: [PATCH] 增加送货单清点事务

---
 Tiger.Business.WMS/WMS_ITEM_Biz.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Tiger.Business.WMS/WMS_ITEM_Biz.cs b/Tiger.Business.WMS/WMS_ITEM_Biz.cs
index db4265f..ea6dae1 100644
--- a/Tiger.Business.WMS/WMS_ITEM_Biz.cs
+++ b/Tiger.Business.WMS/WMS_ITEM_Biz.cs
@@ -367,7 +367,7 @@
             /// <param name="status">涓嬫灦鍚庣姸鎬�</param>
             /// <param name="clearLocation">鏄惁娓呯悊鍌ㄥ尯璐ф灦鍌ㄤ綅淇℃伅</param>
             /// <returns></returns>
-            public Result<TakeDownInfo> TakeDown(IInventory inventory, Dictionary<string, decimal> qtyList, AuthOption option, WMS_ITEM.STATUSs status, bool clearLocation = true)
+            public Result<TakeDownInfo> TakeDown(IInventory inventory, Dictionary<string, double> qtyList, AuthOption option, WMS_ITEM.STATUSs status, bool clearLocation = true)
             {
                 var result = new Result<TakeDownInfo>(Result.Flags.Success, new TakeDownInfo());
                 try
@@ -519,13 +519,13 @@
             /// <param name="option">鎺堟潈鏌ヨ閫夐」</param>
             /// <param name="reqQty">闇�姹傛暟閲忥紝浼氳繑鍥炴弧瓒抽渶姹傜殑鐗╂枡涓暟</param>
             /// <returns></returns>
-            public Result<List<SuggestItem>> Suggest(string order, string itemCode, string erpWH, string whID, string regionID, string shelfID, AuthOption option, decimal reqQty)
+            public Result<List<SuggestItem>> Suggest(string order, string itemCode, string erpWH, string whID, string regionID, string shelfID, AuthOption option, double reqQty)
             {
                 var result = new Result<List<SuggestItem>>(Result.Flags.Success, new List<SuggestItem>()) { LocaleMsg = new("WMS.WmsItem.Suggest.Success") };
                 try
                 {
                     var takeCount = 0;
-                    var checkSum = (decimal)0;
+                    var checkSum = 0.0;
                     var checkCount = 0;
                     do
                     {
@@ -626,7 +626,7 @@
                                                     Location = l,
                                                 })
                                                 .Take(takeCount).ToList();
-                    var curQty = (decimal)0;
+                    var curQty = 0.0;
                     foreach (var item in items)
                     {
                         result.Data.Add(item);
@@ -737,7 +737,7 @@
         /// <param name="transLine"></param>
         /// <param name="actQty"></param>
         /// <param name="isFirst"></param>
-        public static WMS_ITEM_POOL GetPoolItem(this WMS_ITEM item, string orgCode, string transCode, string transNo, string transLine, decimal actQty, bool isFirst)
+        public static WMS_ITEM_POOL GetPoolItem(this WMS_ITEM item, string orgCode, string transCode, string transNo, string transLine, double actQty, bool isFirst)
         {
             var poolItem = new WMS_ITEM_POOL()
             {

--
Gitblit v1.9.3