Explorar o código

Bug 修改小数位数,价差部分未更新,关闭打开项目后方正确

MaiXinRong %!s(int64=9) %!d(string=hai) anos
pai
achega
470426e019
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Forms/ProjectPropertiesFrm.pas

+ 2 - 0
Forms/ProjectPropertiesFrm.pas

@@ -568,6 +568,8 @@ begin
     FProjProperties.QuantityDigit := udQuantity.Position;
     FProjProperties.TotalPriceDigit := udTotalPrice.Position;
     FProjectData.ResetFloatDigitView;
+    FProjProperties.DecimalManager.PriceMargin.Quantity.Digit := udQuantity.Position;
+    FProjProperties.DecimalManager.PriceMargin.TotalPrice.Digit := udTotalPrice.Position;
   end;
   if (FProjProperties.PhaseCount = 1) and not FProjectData.PriceMarginReadOnly then
     FProjProperties.DecimalManager.PriceMargin.Price.Digit := udPM_PriceDigit.Position;