From e4a391c581aaca1fa7b0239bc96375d0c0cb8de6 Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期三, 04 二月 2026 08:55: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