|
@@ -8,6 +8,7 @@ uses
|
|
|
BillsGatherDm, BGLDm, StaffDm, BillsCompileDm, BillsMeasureDm,
|
|
|
BillsBookmarkDm, UpFileManageUnit, ProjectGLDm, PriceMarginBillsDm,
|
|
|
DetailGLDm, OtherMeasureOnceDm, OtherMeasurePhaseDm, DealPayFinalDm,
|
|
|
+ AttachmentInfoDm,
|
|
|
Classes, SysUtils, ADODB, sdDB, Checker;
|
|
|
|
|
|
type
|
|
@@ -50,6 +51,8 @@ type
|
|
|
FOtherMeasureOnceData: TOtherMeasureOnceData;
|
|
|
FOtherMeasurePhaseData: TOtherMeasurePhaseData;
|
|
|
|
|
|
+ FAttachmentInfoData: TAttachmentInfoData;
|
|
|
+
|
|
|
FCanUnlockInfo: Boolean;
|
|
|
|
|
|
FWebID: Integer;
|
|
@@ -237,6 +240,7 @@ type
|
|
|
property SearchData: TSearchData read FSearchData;
|
|
|
property MainListData: TMainListData read FMainListData;
|
|
|
property AttachmentData: TUpFiles read FAttachmentData; // 附件
|
|
|
+ property AttachmentInfoData: TAttachmentInfoData read FAttachmentInfoData;
|
|
|
|
|
|
property ProjectGLData: TProjectGLData read FProjectGLData;
|
|
|
property DetailGLData: TDetailGLData read FDetailGLData;
|
|
@@ -334,6 +338,7 @@ begin
|
|
|
FOtherMeasureOnceData := TOtherMeasureOnceData.Create(Self);
|
|
|
FOtherMeasurePhaseData := TOtherMeasurePhaseData.Create(Self);
|
|
|
FAttachmentData := TUpFiles.Create;
|
|
|
+ FAttachmentInfoData := TAttachmentInfoData.Create(Self);
|
|
|
FPhaseIndex := 0;
|
|
|
end;
|
|
|
|
|
@@ -355,6 +360,7 @@ destructor TProjectData.Destroy;
|
|
|
begin
|
|
|
try
|
|
|
FCheckers.Free;
|
|
|
+ FAttachmentInfoData.Free;
|
|
|
FOtherMeasurePhaseData.Free;
|
|
|
FOtherMeasureOnceData.Free;
|
|
|
FPriceMarginBillsData.Free;
|
|
@@ -502,6 +508,7 @@ begin
|
|
|
UpdateSysProgress(190, '正在读取数据');
|
|
|
FOtherMeasureOnceData.Open(FConnection.Connection);
|
|
|
FOtherMeasurePhaseData.Open(FConnection.Connection);
|
|
|
+ FAttachmentInfoData.Open(FConnection.Connection);
|
|
|
UpdateSysProgress(200, '就绪');
|
|
|
|
|
|
if _IsDebugView then
|
|
@@ -2185,6 +2192,7 @@ begin
|
|
|
|
|
|
FOtherMeasureOnceData.Save;
|
|
|
FOtherMeasurePhaseData.Save;
|
|
|
+ FAttachmentInfoData.Save;
|
|
|
UpdateSysProgress(170, '正在保存数据');
|
|
|
|
|
|
FProjProperties.AuditCompany := FStaffData.FinalStaffCompany;
|