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_CCEngineLogisticsCostReport0/StaticMethod_Download.qbl |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Download.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Download.qbl
index 977a5d1..dae30bc 100644
--- a/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Download.qbl
+++ b/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Download.qbl
@@ -147,51 +147,51 @@
         }
         //闀挎槬澶栫搴撳叆搴撹垂鐢�
         ccrententercostcellElement := xmlDOM.CreateElement( "cell" );
-        ccrententercostcellElement.SetAttribute( "value", [String]c.CCRentInCost() );
+        ccrententercostcellElement.SetAttribute( "value", c.CCRentInCost().Format( 'N(Dec)' )  );
         columnelement.AppendChild( ccrententercostcellElement );
         //闀挎槬澶栫搴撳嚭搴撹垂鐢�
         ccrentoutcostcellElement := xmlDOM.CreateElement( "cell" );
-        ccrentoutcostcellElement.SetAttribute( "value", [String]c.CCRentOutOfCost() );
+        ccrentoutcostcellElement.SetAttribute( "value", c.CCRentOutOfCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( ccrentoutcostcellElement );
         //闀挎槬闀块�旇繍杈撹垂鐢�
         cclongtranscostcellElement := xmlDOM.CreateElement( "cell" );
-        cclongtranscostcellElement.SetAttribute( "value", [String]c.CCLongTransCost() );
+        cclongtranscostcellElement.SetAttribute( "value", c.CCLongTransCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( cclongtranscostcellElement );
         //闀挎槬鐭�旇繍杈撹垂鐢�
         ccshorttranscostcellElement := xmlDOM.CreateElement( "cell" );
-        ccshorttranscostcellElement.SetAttribute( "value", [String]c.CCShorTransCost() );
+        ccshorttranscostcellElement.SetAttribute( "value", c.CCShorTransCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( ccshorttranscostcellElement );
         //闀挎槬澶栫搴撲粨鍌ㄨ垂鐢�
         ccrentstoragecostcellElement := xmlDOM.CreateElement( "cell" );
-        ccrentstoragecostcellElement.SetAttribute( "value", [String]c.CCRentStorCost() );
+        ccrentstoragecostcellElement.SetAttribute( "value", c.CCRentStorCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( ccrentstoragecostcellElement );
         //澶ц繛澶栫搴撳叆搴撹垂鐢�
         dlrententercostcellElement := xmlDOM.CreateElement( "cell" );
-        dlrententercostcellElement.SetAttribute( "value", [String]c.DLRentInCost() );
+        dlrententercostcellElement.SetAttribute( "value", c.DLRentInCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( dlrententercostcellElement );
         //澶ц繛澶栫搴撳嚭搴撹垂鐢�
         dlrentoutcostcellElement := xmlDOM.CreateElement( "cell" );
-        dlrentoutcostcellElement.SetAttribute( "value", [String]c.DLRentOutOfCost() );
+        dlrentoutcostcellElement.SetAttribute( "value", c.DLRentOutOfCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( dlrentoutcostcellElement );
         //鍘傚唴鍒板绉熷簱杩愯緭璐圭敤
         factorytorenttranscostcellElement := xmlDOM.CreateElement( "cell" );
-        factorytorenttranscostcellElement.SetAttribute( "value", [String]c.WerkToDLRentTransCost() );
+        factorytorenttranscostcellElement.SetAttribute( "value", c.WerkToDLRentTransCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( factorytorenttranscostcellElement );
         //澶ц繛澶栫搴撲粨鍌ㄨ垂鐢�
         dlrentstoragecostcellElement := xmlDOM.CreateElement( "cell" );
-        dlrentstoragecostcellElement.SetAttribute( "value", [String]c.DLRentStorCost() );
+        dlrentstoragecostcellElement.SetAttribute( "value", c.DLRentStorCost().Format( 'N(Dec)' ) );
         columnelement.AppendChild( dlrentstoragecostcellElement );
         //棰勮鎬昏垂鐢�
         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