|
@@ -48,12 +48,9 @@ type
|
|
|
|
|
|
function GetTotalPrice(ABillsID, AType, AStageIndex: Integer): Double;
|
|
|
|
|
|
-<<<<<<< HEAD
|
|
|
function GetCalcType(ABillsID: Integer): Integer;
|
|
|
-=======
|
|
|
function GetBillsUnitPriceMargin(ABillsID: Integer): Double;
|
|
|
|
|
|
->>>>>>> 3.1.3.3
|
|
|
function GetBillsPrice(ABillsID: Integer): Double;
|
|
|
function GetBillsNewPrice(ABillsID: Integer): Double;
|
|
|
function GetBillsPriceDiffer(ABillsID: Integer): Double;
|
|
@@ -205,13 +202,9 @@ begin
|
|
|
UpdateComplete(ABillsID, fQtyDiffer, fTPDiffer);
|
|
|
if TPhaseData(FPhaseData).IsLastStage then
|
|
|
with TProjectData(TPhaseData(FPhaseData).ProjectData).BillsMeasureData do
|
|
|
-<<<<<<< HEAD
|
|
|
UpdateRecordDeal(ABillsID, fQtyDiffer, fTPDiffer);
|
|
|
-=======
|
|
|
- UpdateRecordDeal(ABillsID, fQtyDiffer, fTPDiffer);
|
|
|
|
|
|
CalculatePriceMargin(ABillsID);
|
|
|
->>>>>>> 3.1.3.3
|
|
|
|
|
|
TPhaseData(FPhaseData).PhasePayData.CalculateAll;
|
|
|
end;
|
|
@@ -815,11 +808,11 @@ begin
|
|
|
end;
|
|
|
end;
|
|
|
|
|
|
-<<<<<<< HEAD
|
|
|
function TStageData.GetCalcType(ABillsID: Integer): Integer;
|
|
|
begin
|
|
|
Result := MainBillsTree.FindNode(ABillsID).Rec.ValueByName('CalcType').AsInteger;
|
|
|
-=======
|
|
|
+end;
|
|
|
+
|
|
|
procedure TStageData.CalculatePriceMarginNode;
|
|
|
var
|
|
|
Rec: TStageRecord;
|
|
@@ -951,7 +944,6 @@ begin
|
|
|
case ANode.ID of
|
|
|
iPriceMarginID: GatherPriceMargin(StageRec);
|
|
|
end;
|
|
|
->>>>>>> 3.1.3.3
|
|
|
end;
|
|
|
|
|
|
end.
|