|
@@ -74,7 +74,7 @@ implementation
|
|
|
|
|
|
uses
|
|
|
ProjectData, UtilMethods, DB, Variants, PhaseData, DetailGLDm,
|
|
|
- BillsMeasureDm, BillsTree, sdIDTree, PhasePayDm, DateUtils;
|
|
|
+ BillsMeasureDm, BillsTree, sdIDTree, PhasePayDm, DateUtils, ZhAPI;
|
|
|
|
|
|
{$R *.dfm}
|
|
|
|
|
@@ -493,6 +493,10 @@ begin
|
|
|
if iPhaseID > 0 then
|
|
|
DataSetErrorMessage(Allow, Format('该工料在第%d期已进行调差计算,不可修改基础数据。', [iPhaseID]));
|
|
|
end;
|
|
|
+
|
|
|
+ if AValue.DataType in [ftInteger, ftFloat] then
|
|
|
+ if not CheckNumeric(Text) then
|
|
|
+ Text := '';
|
|
|
end;
|
|
|
|
|
|
procedure TProjectGLData.LoadStagePM_CalcData;
|