1
huanghongfeng
2024-11-21 4cfeced9bc8985cdd89fdb540e6fe984f8469481
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Outbound.cs
@@ -425,7 +425,16 @@
                            {
                                Dt_LocationInfo newLocation;
                                //查走货位,进行生成移库任务 
                                newLocation = _basicService.LocationInfoService.GetLocation(locationInfos.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(locationInfos.RoadwayNo,Locationtype); //拿到了移库后的货位
                                if (newLocation != null)
                                {
                                    Dt_Task dt_Task = new()
@@ -636,6 +645,7 @@
                return content = WebResponseContent.Instance.Error($"未找到出库的库存信息");
            }
        }
        /// <summary>
        /// æ‰‹åŠ¨ç”Ÿæˆå‡ºåº“ä»»åŠ¡
        /// </summary>