From 7edeca2ed3587a88d7f94cacf05e49c8db610fb0 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 10 十月 2024 17:54:26 +0800
Subject: [PATCH] 发动机物流成本部分bug处理

---
 _Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Download.qbl |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Download.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Download.qbl
index 8d773b6..305d174 100644
--- a/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Download.qbl
+++ b/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Download.qbl
@@ -107,31 +107,31 @@
         }
         //澶栫搴撳叆搴撹垂鐢�
         rententercostcellElement := xmlDOM.CreateElement( "cell" );
-        rententercostcellElement.SetAttribute( "value", [String]c.RentInCost() );
+        rententercostcellElement.SetAttribute( "value", c.RentInCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( rententercostcellElement );
         //澶栫搴撳嚭搴撹垂鐢�
         rentoutcostcellElement := xmlDOM.CreateElement( "cell" );
-        rentoutcostcellElement.SetAttribute( "value", [String]c.RentOutOfCost() );
+        rentoutcostcellElement.SetAttribute( "value", c.RentOutOfCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( rentoutcostcellElement );
         //鍘傚唴鍒板绉熷簱杩愯緭璐圭敤
         factorytorenttranscostcellElement := xmlDOM.CreateElement( "cell" );
-        factorytorenttranscostcellElement.SetAttribute( "value", [String]c.WerkToRentTransCost() );
+        factorytorenttranscostcellElement.SetAttribute( "value", c.WerkToRentTransCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( factorytorenttranscostcellElement );
         //澶栫搴撲粨鍌ㄨ垂鐢�
         rentstoragecostcellElement := xmlDOM.CreateElement( "cell" );
-        rentstoragecostcellElement.SetAttribute( "value", [String]c.RentStorCost() );
+        rentstoragecostcellElement.SetAttribute( "value", c.RentStorCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( rentstoragecostcellElement );
         //棰勮鎬昏垂鐢�
         estimatedtotalcostcellElement := xmlDOM.CreateElement( "cell" );
-        estimatedtotalcostcellElement.SetAttribute( "value", [String]c.EstimateTotalCost() );
+        estimatedtotalcostcellElement.SetAttribute( "value", c.EstimateTotalCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( estimatedtotalcostcellElement );
         //绯绘暟
         coefficientcellElement := xmlDOM.CreateElement( "cell" );
-        coefficientcellElement.SetAttribute( "value", [String]c.Coefficient() );
+        coefficientcellElement.SetAttribute( "value", c.Coefficient().Format( 'N(Dec)' ) );
         columnelement.AppendChild( coefficientcellElement );
         //鎬昏垂鐢�
         totalcostcellElement := xmlDOM.CreateElement( "cell" );
-        totalcostcellElement.SetAttribute( "value", [String]c.AllCost() );
+        totalcostcellElement.SetAttribute( "value", c.AllCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( totalcostcellElement );
       }
       tableElement.AppendChild( columnelement );  

--
Gitblit v1.9.3