dengjunjie
2024-11-27 5be0f5bc3b9a83a3b30c9915bd5309279d140244
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
@@ -333,14 +333,14 @@
                #endregion
                #region åˆ¤æ–­æ˜¯å¦ä¸ºå †åž›æœºå–放货位
                if(task.IsPickPlace)
                if (task.IsPickPlace)
                {
                }
                #endregion
                //List<Dt_StockInfo> stockInfos = _stockService.StockInfoService.Repository.LocationCodesGetStockInfos(stockInfo.LocationCode).Where(x => x.StockStatus == StockStatusEmun.已入库.ObjToInt()).ToList();
                //stockInfo.SerialNumber = stockInfos.Count + 1;
                stockInfo.InDate= DateTime.Now;
                List<Dt_StockInfo> stockInfos = _stockService.StockInfoService.Repository.LocationCodesGetStockInfos(new List<string> { stockInfo.LocationCode }).Where(x => x.StockStatus == StockStatusEmun.已入库.ObjToInt()).ToList();
                stockInfo.SerialNumber = stockInfos.Count + 1;
                stockInfo.InDate = DateTime.Now;
                stockInfo.StockStatus = StockStatusEmun.已入库.ObjToInt();
                stockInfoDetail.Status = StockStatusEmun.已入库.ObjToInt();
                int beforeStatus = locationInfo.LocationStatus;