Преглед изворни кода

Bug #849 截止本期计量,计算有误

MaiXinRong пре 9 година
родитељ
комит
877606c03d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      DataModules/StageDm.pas

+ 1 - 1
DataModules/StageDm.pas

@@ -878,7 +878,7 @@ begin
   Rec.AddDifferValue(Rec.EndGatherTotalPrice, ADiffer);
   UpdateParentRecord(iPriceMarginID, ADiffer, 'GatherTotalPrice');
   with TProjectData(TPhaseData(FPhaseData).ProjectData).BillsMeasureData do
-   UpdateRecordPM(ABillsID, ADiffer);
+    UpdateRecordPM(Rec.BillsID.AsInteger, ADiffer);
 end;
 
 procedure TStageData.UpdateParentPriceMargin(ABillsID: Integer; ADiffer: Double);