From 3090db54ecfebf7ee1089bf85916b19e93f0db45 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期六, 11 一月 2025 10:49:11 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs"
index dab8a31..7bfa3f1 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs"
@@ -264,7 +264,7 @@
                         {
                             Lotno = item.BatchNo,
                             Qty = item.AssignQuantity.ObjToInt().ToString(),
-                            Location = item.LocationCode
+                            Location = warehouse.WarehouseCode
                         };
                         //鑾峰彇鍑哄簱鍗曟槑缁�
                         Dt_OutboundOrderDetail outboundOrderDetail = outboundOrder.Details.FirstOrDefault(x => x.Id == item.OrderDetailId);
@@ -296,7 +296,7 @@
                         Deptno = outboundOrder.DepartmentCode,
                         Deptname = outboundOrder.DepartmentName,
                         Createtime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
-                        Createuser = outboundOrder.Creater,
+                        Createuser = outStockLockInfos.FirstOrDefault().Creater,
                         Issitem = new List<ERPIssueItemModel>() { issueItemModel },
                     };
                 }

--
Gitblit v1.9.3