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 +++++++++++++++--
 1 files changed, 15 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/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();

--
Gitblit v1.9.3