From c397c5582f8c4a2bc00ed78a9e5ddba1d3024316 Mon Sep 17 00:00:00 2001
From: pan <antony1029@163.com>
Date: 星期六, 29 十一月 2025 17:51:48 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/ZhongRui/ALDbanyunxiangmu

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs"
index 489eb5a..ef15c2e 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs"
@@ -43,7 +43,7 @@
             Dt_OutboundOrderDetail outboundOrderDetail,
             Dt_StockInfo outStock,
             decimal assignQuantity,
-            string barcode = null)
+            string barcode = null,string outboundBatchNo = "")
         {
             // 鑾峰彇搴撳瓨鏄庣粏淇℃伅
             var stockDetails = outStock.Details
@@ -108,8 +108,11 @@
                 MaterielCode = outboundOrderDetail.MaterielCode,
                 BatchNo = firstAvailableDetail.BatchNo,
                 Unit = firstAvailableDetail.Unit,
+                BarcodeQty = firstAvailableDetail.BarcodeQty,
+                BarcodeUnit = firstAvailableDetail.BarcodeUnit,
                 FactoryArea = firstAvailableDetail.FactoryArea,
                 lineNo = outboundOrderDetail.lineNo,
+                OutboundBatchNo= outboundBatchNo
             };
         }
 
@@ -252,7 +255,7 @@
 
         public List<Dt_OutStockLockInfo> GetByOrderDetailId(int orderDetailId, OutLockStockStatusEnum? outStockStatus)
         {
-            return BaseDal.QueryData(x => x.OrderDetailId == orderDetailId && outStockStatus == null ? true : x.Status == outStockStatus.ObjToInt());
+            return BaseDal.QueryData(x => x.OrderDetailId == orderDetailId );
         }
 
     }

--
Gitblit v1.9.3