|
@@ -117,6 +117,12 @@ type
|
|
|
cbDealPayAloneDigiy: TCheckBox;
|
|
|
leDealPayTotalPriceDigit: TLabeledEdit;
|
|
|
udDealPayTotalPriceDigit: TUpDown;
|
|
|
+ pnlReportView: TPanel;
|
|
|
+ lblReportShowStateTitle: TLabel;
|
|
|
+ pnlReportViewBar: TPanel;
|
|
|
+ cbReportShowState: TCheckBox;
|
|
|
+ edtReportShowStateText: TEdit;
|
|
|
+ cbReportShowStageWithoutReply: TCheckBox;
|
|
|
procedure btnOkClick(Sender: TObject);
|
|
|
procedure leContractPriceClick(Sender: TObject);
|
|
|
procedure msbBaseMouseWheel(Sender: TObject; Shift: TShiftState;
|
|
@@ -142,6 +148,7 @@ type
|
|
|
procedure cbShowReportShadingClick(Sender: TObject);
|
|
|
procedure dtpBaselineChange(Sender: TObject);
|
|
|
procedure cbDealPayAloneDigiyClick(Sender: TObject);
|
|
|
+ procedure cbReportShowStateClick(Sender: TObject);
|
|
|
private
|
|
|
FProjectData: TProjectData;
|
|
|
FStaffData: TStaffData;
|
|
@@ -238,6 +245,12 @@ begin
|
|
|
cbShowReportShading.Checked := FProjProperties.ShowReportShading;
|
|
|
edtReportShading.Enabled := cbShowReportShading.Checked;
|
|
|
edtReportShading.Text := FProjProperties.ReportShading;
|
|
|
+
|
|
|
+ cbReportShowState.Checked := FProjProperties.ReportShowState;
|
|
|
+ edtReportShowStateText.Text := FProjProperties.ReportShowStateText;
|
|
|
+ edtReportShowStateText.Enabled := cbReportShowState.Checked;
|
|
|
+ cbReportShowStageWithoutReply.Checked := FProjProperties.ReportShowStateWithoutReply;
|
|
|
+ cbReportShowStageWithoutReply.Enabled := cbReportShowState.Checked;
|
|
|
end;
|
|
|
|
|
|
procedure TProjectPropertiesForm.btnOkClick(Sender: TObject);
|
|
@@ -611,6 +624,10 @@ begin
|
|
|
FProjProperties.ShowReportShading := cbShowReportShading.Checked;
|
|
|
FProjProperties.ReportShading := edtReportShading.Text;
|
|
|
|
|
|
+ FProjProperties.ReportShowState := cbReportShowState.Checked;
|
|
|
+ FProjProperties.ReportShowStateText := edtReportShowStateText.Text;
|
|
|
+ FProjProperties.ReportShowStateWithoutReply := cbReportShowStageWithoutReply.Checked;
|
|
|
+
|
|
|
FProjProperties.ShowPriceChange := cbShowPriceChange.Checked;
|
|
|
FProjProperties.ShowBGLCode := cbShowBGLCode.Checked;
|
|
|
FProjProperties.ShowDesignQuantity := cbShowDesignQuantity.Checked;
|
|
@@ -663,4 +680,12 @@ begin
|
|
|
udDealPayTotalPriceDigit.Enabled := (FProjProperties.PhaseCount = 0) and cbDealPayAloneDigiy.Checked;
|
|
|
end;
|
|
|
|
|
|
+procedure TProjectPropertiesForm.cbReportShowStateClick(Sender: TObject);
|
|
|
+begin
|
|
|
+ cbReportShowStageWithoutReply.Enabled := cbReportShowState.Checked;
|
|
|
+ if cbReportShowState.Checked then
|
|
|
+ cbReportShowStageWithoutReply.Checked := True;
|
|
|
+ edtReportShowStateText.Enabled := cbReportShowState.Checked;
|
|
|
+end;
|
|
|
+
|
|
|
end.
|