修改首页

This commit is contained in:
2023-08-24 10:00:59 +08:00
parent c8d6ac780a
commit 41e4c42b8c
64 changed files with 117778 additions and 215 deletions
@@ -177,10 +177,10 @@ namespace FineUIPro.Web.JDGL.WBS
{
JObject values = mergedRow.Value<JObject>("values");
int i = mergedRow.Value<int>("index");
if (this.Grid1.Rows[i].DataKeys[2] != null)
if (this.Grid1.Rows[i].DataKeys[2] != null && ids.Contains(this.Grid1.Rows[i].DataKeys[2].ToString()))
{
Model.WBS_CostControl costControl = oldViewInfos.FirstOrDefault(x => x.CostControlId == this.Grid1.Rows[i].DataKeys[2].ToString());
if (costControl != null && ids.Contains(this.Grid1.Rows[i].DataKeys[2].ToString()))
if (costControl != null)
{
decimal oldPlanPrice = costControl.PlanPrice ?? 0;
decimal oldRealPrice = costControl.RealPrice ?? 0;