dengjunjie
2025-05-20 be484c84a25d1f6c769e7b5e958048d745942e55
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/Service/OutboundOrderDetailService.cs
@@ -133,7 +133,7 @@
        public (List<Dt_StockInfo>, List<Dt_OutStockLockInfo>, List<Dt_LocationInfo>) AssignStockOutbound(Dt_OutboundOrder outboundOrder, List<StockSelectViewDTO> stockSelectViews)
        {
            var PalletCodes = string.Join("", stockSelectViews.Select(x => x.PalletCode).ToList());
            List<Dt_StockInfo> outStocks = _stockService.StockInfoService.Repository.QueryData(x => PalletCodes.Contains(x.PalletCode));
            List<Dt_StockInfo> outStocks = _stockService.StockInfoService.Repository.QueryData(x => PalletCodes.Contains(x.PalletCode) && x.LocationCode != null);
            outStocks.ForEach(x =>
            {