From 503608c5ad94cbc5ccff0f8806e2d5fa54143875 Mon Sep 17 00:00:00 2001
From: pan <antony1029@163.com>
Date: 星期四, 11 十二月 2025 11:24:47 +0800
Subject: [PATCH] 提交

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundBatchPickingService.cs |   17 +++++++++++++++--
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_OutboundService/SplitPackageService.cs         |    1 +
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundPickingService.cs      |    3 ++-
 3 files changed, 18 insertions(+), 3 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/OutboundBatchPickingService.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/OutboundBatchPickingService.cs"
index ba05939..0eeaef1 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/OutboundBatchPickingService.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/OutboundBatchPickingService.cs"
@@ -1011,6 +1011,8 @@
                     BarcodeUnit = stockDetail.BarcodeUnit,
                     BusinessType = stockDetail.BusinessType,
                     InboundOrderRowNo = stockDetail.InboundOrderRowNo,
+                    FactoryArea = stockDetail.FactoryArea,
+                    WarehouseCode = stockDetail.WarehouseCode,
                 };
 
                 await _stockInfoDetailService.Db.Insertable(newStockDetail).ExecuteCommandAsync();
@@ -3218,6 +3220,8 @@
                     BarcodeUnit = stockDetail.BarcodeUnit,
                     BusinessType = stockDetail.BusinessType,
                     InboundOrderRowNo = stockDetail.InboundOrderRowNo,
+                    FactoryArea=stockDetail.FactoryArea,
+                    WarehouseCode = stockDetail.WarehouseCode,  
                 };
 
                 await _stockInfoDetailService.Db.Insertable(newStockDetail).ExecuteCommandAsync();
@@ -3715,20 +3719,29 @@
         {
             var splitHistory = new Dt_SplitPackageRecord
             {
-                OrderNo = lockInfo.OrderNo,
+                FactoryArea = lockInfo.FactoryArea,
+                TaskNum = lockInfo.TaskNum,
                 OutStockLockInfoId = lockInfo.Id,
                 StockId = stockDetail.StockId,
                 Operator = App.User.UserName,
+                IsReverted = false,
                 OriginalBarcode = stockDetail.Barcode,
                 NewBarcode = newBarcode,
                 SplitQty = splitQty,
+               // RemainQuantity = remainQty,
+                MaterielCode = lockInfo.MaterielCode,
                 SplitTime = DateTime.Now,
+                OrderNo = lockInfo.OrderNo,
+                PalletCode = lockInfo.PalletCode,
+             
+
+              
                 Status = (int)SplitPackageStatusEnum.宸叉媶鍖�,
                 IsAutoSplit = isAutoSplit,
                 // SplitType = isAutoSplit ? "鑷姩鎷嗗寘" : "鎵嬪姩鎷嗗寘"
                 OriginalStockQuantity = originalStockQuantity ?? stockDetail.StockQuantity,
                 //RemainingStockQuantity = stockDetail.StockQuantity - splitQty
-                TaskNum = lockInfo.TaskNum
+               
             };
 
             await _splitPackageService.Db.Insertable(splitHistory).ExecuteCommandAsync();
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/OutboundPickingService.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/OutboundPickingService.cs"
index 099b0dc..145c076 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/OutboundPickingService.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/OutboundPickingService.cs"
@@ -2844,7 +2844,8 @@
                         FactoryArea = item.FactoryArea,
                         Status = 0,
                         OrderNo = item.OrderNo,
-                        BusinessType = materielGroupDTO.orderTypes.ToString()
+                        BusinessType = materielGroupDTO.orderTypes.ToString(),
+                        
 
                     });
                     item.WarehouseCode = item.WarehouseCode;
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/SplitPackageService.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/SplitPackageService.cs"
index 3c4b50b..33d0e13 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/SplitPackageService.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/SplitPackageService.cs"
@@ -108,6 +108,7 @@
                     OutboundQuantity = request.SplitQuantity,
                     Barcode = newBarcode,
                     InboundOrderRowNo = baseStockDetail.InboundOrderRowNo,
+                    FactoryArea = baseStockDetail.FactoryArea,
                 };
                 await _stockInfoDetailService.Db.Insertable(newStockDetail).ExecuteCommandAsync();
 

--
Gitblit v1.9.3