Explorar o código

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

MaiXinRong %!s(int64=9) %!d(string=hai) anos
pai
achega
877606c03d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);