From fc8ec59582b334316650eb5a76349b0fbaab829a Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期五, 17 十月 2025 10:48:39 +0800
Subject: [PATCH] 优化入库和出库单逻辑

---
 新建文件夹/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs"
index ee48bc6..bc9f8d3 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs"
@@ -206,7 +206,7 @@
                         entity = new Dt_InventoryInfo
                         {
                             PalletCode = detail.orderDetails?.FirstOrDefault()?.palletCode ?? "",
-                            WarehouseId = 1,  // 榛樿搴撴埧缂栧彿
+                            WarehouseCode = 1.ToString(),  // 榛樿搴撴埧缂栧彿
                             LocationCode = "",
                             StockStatus = 1,   // 绔嬪簱鍥哄畾涓� 1
                             MaterielCode = detail.productCode ?? detail.productName,

--
Gitblit v1.9.3