change - 组装计划执行逻辑处理

collectionStore
wenjy 1 year ago
parent 5dd1c5db32
commit 0e38cfed10

Binary file not shown.

@ -104,8 +104,8 @@ namespace Aucma.Scada.Business
// planInfos[i].executeOrder = i + 1; // planInfos[i].executeOrder = i + 1;
//} //}
//_executePlanInfoService.UpdateRangeExecutePlanInfo(planInfos); //_executePlanInfoService.UpdateRangeExecutePlanInfo(planInfos);
planInfos = planInfos.Where(x => x.executeStatus != 3).ToList();
RefreshExecutePlanInfoEvent?.Invoke(planInfos.Where(x=>x.executeStatus != 3).ToList()); RefreshExecutePlanInfoEvent?.Invoke(planInfos);
} }
} }
catch (Exception ex) catch (Exception ex)

@ -271,6 +271,10 @@ namespace Aucma.Scada.UI.viewModel.AssemblyPlan
ExecutePlanInfo planInfo = planInfos.OrderBy(x => x.executeOrder).First(); ExecutePlanInfo planInfo = planInfos.OrderBy(x => x.executeOrder).First();
RefreshPlanExecute(planInfo); RefreshPlanExecute(planInfo);
} }
OrderCode = string.Empty;
PlanCode = string.Empty;
ProductModel = string.Empty;
})); }));
} }

Loading…
Cancel
Save