From ea4adbde9c64181369161e851925e06d52260eba Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期一, 02 三月 2026 15:31:49 +0800
Subject: [PATCH] 1
---
WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/Service/NewOutboundOrderDetailService.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/Service/NewOutboundOrderDetailService.cs b/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/Service/NewOutboundOrderDetailService.cs
index c5d66e5..8690286 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/Service/NewOutboundOrderDetailService.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/Service/NewOutboundOrderDetailService.cs
@@ -64,7 +64,7 @@
foreach (var stockInfoDetail in dt_StockInfoDetails)
{
dt_StockInfo = _stockService.StockInfoService.Repository.QueryFirst(x => x.Id == stockInfoDetail.StockId && x.StockStatus == StockStatusEmun.鍏ュ簱瀹屾垚.ObjToInt());
- if (dt_StockInfo != null)
+ if (dt_StockInfo != null && !PalletCodes.Any(x => x == dt_StockInfo.PalletCode))
{
PalletCodes.Add(dt_StockInfo.PalletCode);
}
@@ -127,7 +127,7 @@
decimal needQuantity = originalNeedQuantity - item.LockQuantity;
- item.LockQuantity += needQuantity - residueQuantity.NewNeendQuantity;
+ //item.LockQuantity += needQuantity - residueQuantity.NewNeendQuantity;
decimal assignQuantity = needQuantity - residueQuantity.NewNeendQuantity;
--
Gitblit v1.9.3