| | |
| | | foreach (var stockInfoDetail in dt_StockInfoDetails) |
| | | { |
| | | dt_StockInfo = _stockService.StockInfoService.Repository.QueryFirst(x => x.Id == stockInfoDetail.StockId && x.StockStatus == StockStatusEmun.入库完成.ObjToInt()); |
| | | if (dt_StockInfo != null) |
| | | if (dt_StockInfo != null && !PalletCodes.Any(x => x == dt_StockInfo.PalletCode)) |
| | | { |
| | | PalletCodes.Add(dt_StockInfo.PalletCode); |
| | | } |
| | |
| | | |
| | | decimal needQuantity = originalNeedQuantity - item.LockQuantity; |
| | | |
| | | item.LockQuantity += needQuantity - residueQuantity.NewNeendQuantity; |
| | | //item.LockQuantity += needQuantity - residueQuantity.NewNeendQuantity; |
| | | |
| | | decimal assignQuantity = needQuantity - residueQuantity.NewNeendQuantity; |
| | | |