소스 검색

Task #1189 合同支付控制金额小数位数显示

MaiXinRong 9 년 전
부모
커밋
91ccd4c4c4
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      Units/ProjectData.pas

+ 12 - 0
Units/ProjectData.pas

@@ -1658,9 +1658,21 @@ procedure TProjectData.ResetFloatDigitView;
     end;
   end;
 
+  procedure SetDealPaymentDigit;
+  begin
+    with FDealPaymentData.sdvDealPayment do
+    begin
+      Columns.FindColumn('CurTotalPrice').DisplayFormat := FProjProperties.TotalPriceFormat;
+      Columns.FindColumn('TotalPrice').DisplayFormat := FProjProperties.TotalPriceFormat;
+      Columns.FindColumn('StartedPrice').DisplayFormat := FProjProperties.TotalPriceFormat;
+      Columns.FindColumn('RangePrice').DisplayFormat := FProjProperties.TotalPriceFormat;
+    end;
+  end;
+
 begin
   SetBillsCompileDigit;
   SetBillsMeasureDigit;
+  SetDealPaymentDigit;
   SetBillsGatherDigit;
 end;