|
@@ -101,6 +101,7 @@ type
|
|
|
procedure SetStageIndex(const Value: Integer);
|
|
|
function GetCanInsertNormalBills: Boolean;
|
|
|
function GetValidStageIsRefer: Boolean;
|
|
|
+ function GetStartMeasure: Boolean;
|
|
|
public
|
|
|
constructor Create;
|
|
|
destructor Destroy; override;
|
|
@@ -226,6 +227,7 @@ type
|
|
|
property StageDataReadOnly: Boolean read GetStageDataReadOnly;
|
|
|
property PriceMarginReadOnly: Boolean read GetPriceMarginReadOnly;
|
|
|
property ValidStageIsRefer: Boolean read GetValidStageIsRefer;
|
|
|
+ property StartMeasure: Boolean read GetStartMeasure;
|
|
|
|
|
|
property CanUnlockInfo: Boolean read FCanUnlockInfo write FCanUnlockInfo;
|
|
|
property CanInsertNormalBills: Boolean read GetCanInsertNormalBills;
|
|
@@ -2088,4 +2090,9 @@ begin
|
|
|
FBillsMeasureData.ResetTreeNodeStageRec;
|
|
|
end;
|
|
|
|
|
|
+function TProjectData.GetStartMeasure: Boolean;
|
|
|
+begin
|
|
|
+ Result := ProjProperties.PhaseCount > 0;
|
|
|
+end;
|
|
|
+
|
|
|
end.
|