| | |
| | | |
| | | if(dt_Inbound != null) |
| | | { |
| | | Dt_StockInfo dt_StockInfo = _stockService.StockInfoService.Repository.QueryFirst(x => x.PalletCode == generate.PalletCode); |
| | | string PalletCodetarget = string.Join("*", targetCodes.Take(3)); |
| | | Dt_StockInfo dt_StockInfo = _stockService.StockInfoService.Repository.QueryFirst(x => x.PalletCode.Contains(PalletCodetarget)); |
| | | if (dt_Inbound.OrderType == (int)InventoryMaterialType.åææ) //0ä¸ºåææç¼ç |
| | | { |
| | | List<Dt_LocationInfo> locationInfos = _basicService.LocationInfoService.Repository.QueryData(x => x.RoadwayNo == "2" && x.LocationStatus == (int)LocationStatusEnum.Free && x.Depth == 1 && x.EnableStatus == (int)EnableStatusEnum.Normal && x.LocationType == (int)LocationTypeEnum.MaterialsCube); |
| | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return content=WebResponseContent.Instance.Error($"ç³»ç»å··éå
¥åºæ¥å£è§£æé误ï¼é误ï¼{ex.Message}"); |
| | | return content=WebResponseContent.Instance.Error($"æçæ¡ç é误ï¼å¯¼è´ç³»ç»é误ï¼{ex.Message}"); |
| | | throw; |
| | | } |
| | | } |