| | |
| | | |
| | | var newTask = new Dt_Task() |
| | | { |
| | | CurrentAddress = stationCode, |
| | | CurrentAddress = stations.GetValueOrDefault(stationCode) ?? "", |
| | | Grade = 0, |
| | | NextAddress = stations.GetValueOrDefault(stationCode) ?? "", |
| | | NextAddress = locationInfo.LocationCode, |
| | | PalletCode = palletCode, |
| | | Roadway = locationInfo.RoadwayNo, |
| | | SourceAddress = stationCode, |
| | | SourceAddress = stations.GetValueOrDefault(stationCode) ?? "", |
| | | TargetAddress = locationInfo.LocationCode, |
| | | TaskType = TaskTypeEnum.Inbound.ObjToInt(), |
| | | TaskStatus = TaskStatusEnum.New.ObjToInt(), |
| | | WarehouseId = stockInfo.WarehouseId, |
| | | PalletType = stockInfo.PalletType, |
| | | OrderNo= stockInfo.Details.FirstOrDefault()?.OrderNo |
| | | |
| | | }; |
| | | //绌虹 |
| | | if (stockInfo.PalletType == PalletTypeEnum.Empty.ObjToInt()) |