diff --git a/Aucma.Scada.UI/viewModel/AssemblyPlan/AssemblyPlanViewModel.cs b/Aucma.Scada.UI/viewModel/AssemblyPlan/AssemblyPlanViewModel.cs index 003373e1..61813981 100644 --- a/Aucma.Scada.UI/viewModel/AssemblyPlan/AssemblyPlanViewModel.cs +++ b/Aucma.Scada.UI/viewModel/AssemblyPlan/AssemblyPlanViewModel.cs @@ -556,11 +556,10 @@ namespace Aucma.Scada.UI.viewModel.AssemblyPlan { await Task.Run(() => { - if (listTime == null) - { - listTime = _baseBomInfoServices.getWorkTime().Result; - if (listTime == null) return; - } + + listTime = _baseBomInfoServices.getWorkTime().Result; + if (listTime == null) return; + //获取小时产量 List hourAmount = assemblyPlanBusiness.GetHourAmount(); if (hourAmount != null)