修改首页
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user