From 4cfeced9bc8985cdd89fdb540e6fe984f8469481 Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期四, 21 十一月 2024 11:02:40 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs" index cf2e57e..c861712 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs" @@ -248,7 +248,15 @@ Dt_LocationInfo newLocation; Dt_LocationInfo newSourceAddress; newSourceAddress = _basicService.LocationInfoService.GetLocationplatform(generate.SourceAddress); - newLocation = _basicService.LocationInfoService.GetLocation(newSourceAddress.RoadwayNo); + int Locationtype = 9; //榛樿涓�9 + if(dt_StockInfo.MaterialType== (int)InventoryMaterialType.鎴愬搧) + { + Locationtype = 11; + }else if(dt_StockInfo.MaterialType == (int)InventoryMaterialType.鍘熸潗鏂�) + { + Locationtype = 10; + } + newLocation = _basicService.LocationInfoService.GetLocation(newSourceAddress.RoadwayNo, Locationtype); //string[] Pallet = PalletCode.Split("-"); if (newLocation != null && newSourceAddress != null) { @@ -512,7 +520,7 @@ StockStatus = (int)StockStatusEmun.缁勭洏鏆傚瓨, Creater = "WMS", CreateDate = DateTime.Now, - MaterialType = (int)InventoryMaterialType.鍘熸潗鏂�, + MaterialType = (int)InventoryMaterialType.鎴愬搧, Materialweight = 0, }; _unitOfWorkManage.BeginTran(); -- Gitblit v1.9.3