From 7ecf561fd348b8609985deb7d6c72325bcc7d1d5 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期三, 21 八月 2024 11:12:43 +0800
Subject: [PATCH] 报表导出中文
---
_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Download.qbl | 14 +++++++-------
_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Download.qbl | 24 ++++++++++++------------
_Main/BL/Type_MachiningPipelineSource0/StaticMethod_Download.qbl | 18 +++++++++---------
_Main/BL/Type_InterfaceLoginfo/StaticMethod_CallInterface.qbl | 4 ++--
4 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Download.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Download.qbl
index d80aa59..dafddad 100644
--- a/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Download.qbl
+++ b/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Download.qbl
@@ -78,31 +78,31 @@
//Attribute
//澶栫搴撳叆搴撹垂鐢�
rententercostcellElement := xmlDOM.CreateElement( "cell" );
- rententercostcellElement.SetAttribute( "value", 'RentEnterCost' );
+ rententercostcellElement.SetAttribute( "value", '澶栫搴撳叆搴撹垂鐢�' );//RentEnterCost
attricolumnelement.AppendChild( rententercostcellElement );
//澶栫搴撳嚭搴撹垂鐢�
rentoutcostcellElement := xmlDOM.CreateElement( "cell" );
- rentoutcostcellElement.SetAttribute( "value", 'RentOutCost' );
+ rentoutcostcellElement.SetAttribute( "value", '澶栫搴撳嚭搴撹垂鐢�' );//RentOutCost
attricolumnelement.AppendChild( rentoutcostcellElement );
//鍘傚唴鍒板绉熷簱杩愯緭璐圭敤
factorytorenttranscostcellElement := xmlDOM.CreateElement( "cell" );
- factorytorenttranscostcellElement.SetAttribute( "value", 'FactoryToRentTransCost' );
+ factorytorenttranscostcellElement.SetAttribute( "value", '鍘傚唴鍒板绉熷簱杩愯緭璐圭敤' );//FactoryToRentTransCost
attricolumnelement.AppendChild( factorytorenttranscostcellElement );
//澶栫搴撲粨鍌ㄨ垂鐢�
rentstoragecostcellElement := xmlDOM.CreateElement( "cell" );
- rentstoragecostcellElement.SetAttribute( "value", 'RentStorageCost' );
+ rentstoragecostcellElement.SetAttribute( "value", '澶栫搴撲粨鍌ㄨ垂鐢�' );//RentStorageCost
attricolumnelement.AppendChild( rentstoragecostcellElement );
//棰勮鎬昏垂鐢�
estimatedtotalcostcellElement := xmlDOM.CreateElement( "cell" );
- estimatedtotalcostcellElement.SetAttribute( "value", 'EstimatedTotalCost' );
+ estimatedtotalcostcellElement.SetAttribute( "value", '棰勮鎬昏垂鐢�' );//EstimatedTotalCost
attricolumnelement.AppendChild( estimatedtotalcostcellElement );
//绯绘暟
coefficientcellElement := xmlDOM.CreateElement( "cell" );
- coefficientcellElement.SetAttribute( "value", 'Coefficient' );
+ coefficientcellElement.SetAttribute( "value", '绯绘暟' );//Coefficient
attricolumnelement.AppendChild( coefficientcellElement );
//鎬昏垂鐢�
totalcostcellElement := xmlDOM.CreateElement( "cell" );
- totalcostcellElement.SetAttribute( "value", 'TotalCost' );
+ totalcostcellElement.SetAttribute( "value", '鎬昏垂鐢�' );//TotalCost
attricolumnelement.AppendChild( totalcostcellElement );
}
//澶栫搴撳叆搴撹垂鐢�
diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Download.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Download.qbl
index 166d84f..82e75c8 100644
--- a/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Download.qbl
+++ b/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Download.qbl
@@ -98,51 +98,51 @@
//Attribute
//闀挎槬澶栫搴撳叆搴撹垂鐢�
ccrententercostcellElement := xmlDOM.CreateElement( "cell" );
- ccrententercostcellElement.SetAttribute( "value", 'CCRentEnterCost' );
+ ccrententercostcellElement.SetAttribute( "value", '闀挎槬澶栫搴撳叆搴撹垂鐢�' );//CCRentEnterCost
attricolumnelement.AppendChild( ccrententercostcellElement );
//闀挎槬澶栫搴撳嚭搴撹垂鐢�
ccrentoutcostcellElement := xmlDOM.CreateElement( "cell" );
- ccrentoutcostcellElement.SetAttribute( "value", 'CCRentOutCost' );
+ ccrentoutcostcellElement.SetAttribute( "value", '闀挎槬澶栫搴撳嚭搴撹垂鐢�' );//CCRentOutCost
attricolumnelement.AppendChild( ccrentoutcostcellElement );
//闀挎槬闀块�旇繍杈撹垂鐢�
cclongtranscostcellElement := xmlDOM.CreateElement( "cell" );
- cclongtranscostcellElement.SetAttribute( "value", 'CCLongTransCost' );
+ cclongtranscostcellElement.SetAttribute( "value", '闀挎槬闀块�旇繍杈撹垂鐢�' );//CCLongTransCost
attricolumnelement.AppendChild( cclongtranscostcellElement );
//闀挎槬鐭�旇繍杈撹垂鐢�
ccshorttranscostcellElement := xmlDOM.CreateElement( "cell" );
- ccshorttranscostcellElement.SetAttribute( "value", 'CCShortTransCost' );
+ ccshorttranscostcellElement.SetAttribute( "value", '闀挎槬鐭�旇繍杈撹垂鐢�' );//CCShortTransCost
attricolumnelement.AppendChild( ccshorttranscostcellElement );
//闀挎槬澶栫搴撲粨鍌ㄨ垂鐢�
ccrentstoragecostcellElement := xmlDOM.CreateElement( "cell" );
- ccrentstoragecostcellElement.SetAttribute( "value", 'CCRentStorageCost' );
+ ccrentstoragecostcellElement.SetAttribute( "value", '闀挎槬澶栫搴撲粨鍌ㄨ垂鐢�' );//CCRentStorageCost
attricolumnelement.AppendChild( ccrentstoragecostcellElement );
//澶ц繛澶栫搴撳叆搴撹垂鐢�
dlrententercostcellElement := xmlDOM.CreateElement( "cell" );
- dlrententercostcellElement.SetAttribute( "value", 'DLRentEnterCost' );
+ dlrententercostcellElement.SetAttribute( "value", '澶ц繛澶栫搴撳叆搴撹垂鐢�' );//DLRentEnterCost
attricolumnelement.AppendChild( dlrententercostcellElement );
//澶ц繛澶栫搴撳嚭搴撹垂鐢�
dlrentoutcostcellElement := xmlDOM.CreateElement( "cell" );
- dlrentoutcostcellElement.SetAttribute( "value", 'DLRentOutCost' );
+ dlrentoutcostcellElement.SetAttribute( "value", '澶ц繛澶栫搴撳嚭搴撹垂鐢�' );//DLRentOutCost
attricolumnelement.AppendChild( dlrentoutcostcellElement );
//鍘傚唴鍒板绉熷簱杩愯緭璐圭敤
factorytorenttranscostcellElement := xmlDOM.CreateElement( "cell" );
- factorytorenttranscostcellElement.SetAttribute( "value", 'FactoryToRentTransCost' );
+ factorytorenttranscostcellElement.SetAttribute( "value", '鍘傚唴鍒板绉熷簱杩愯緭璐圭敤' );//FactoryToRentTransCost
attricolumnelement.AppendChild( factorytorenttranscostcellElement );
//澶ц繛澶栫搴撲粨鍌ㄨ垂鐢�
dlrentstoragecostcellElement := xmlDOM.CreateElement( "cell" );
- dlrentstoragecostcellElement.SetAttribute( "value", 'DLRentStorageCost' );
+ dlrentstoragecostcellElement.SetAttribute( "value", '澶ц繛澶栫搴撲粨鍌ㄨ垂鐢�' );//DLRentStorageCost
attricolumnelement.AppendChild( dlrentstoragecostcellElement );
//棰勮鎬昏垂鐢�
estimatedtotalcostcellElement := xmlDOM.CreateElement( "cell" );
- estimatedtotalcostcellElement.SetAttribute( "value", 'EstimatedTotalCost' );
+ estimatedtotalcostcellElement.SetAttribute( "value", '棰勮鎬昏垂鐢�' );//EstimatedTotalCost
attricolumnelement.AppendChild( estimatedtotalcostcellElement );
//绯绘暟
coefficientcellElement := xmlDOM.CreateElement( "cell" );
- coefficientcellElement.SetAttribute( "value", 'Coefficient' );
+ coefficientcellElement.SetAttribute( "value", '绯绘暟' );//Coefficient
attricolumnelement.AppendChild( coefficientcellElement );
//鎬昏垂鐢�
totalcostcellElement := xmlDOM.CreateElement( "cell" );
- totalcostcellElement.SetAttribute( "value", 'TotalCost' );
+ totalcostcellElement.SetAttribute( "value", '鎬昏垂鐢�' );//TotalCost
attricolumnelement.AppendChild( totalcostcellElement );
}
//闀挎槬澶栫搴撳叆搴撹垂鐢�
diff --git a/_Main/BL/Type_InterfaceLoginfo/StaticMethod_CallInterface.qbl b/_Main/BL/Type_InterfaceLoginfo/StaticMethod_CallInterface.qbl
index 7d86e89..4ee873e 100644
--- a/_Main/BL/Type_InterfaceLoginfo/StaticMethod_CallInterface.qbl
+++ b/_Main/BL/Type_InterfaceLoginfo/StaticMethod_CallInterface.qbl
@@ -68,8 +68,8 @@
if( loginfo.Success() ){
resultJson := JSON::Parse( loginfo.Response() );
- code := resultJson.Get( "code" ).AsString();
- msg := resultJson.Get( "message" ).AsString();
+ code := resultJson.Get( "code" ).GetString();
+ msg := resultJson.Get( "message" ).GetString();
data := resultJson.Get( "data" );
loginfo.ReturnMsg( msg );
diff --git a/_Main/BL/Type_MachiningPipelineSource0/StaticMethod_Download.qbl b/_Main/BL/Type_MachiningPipelineSource0/StaticMethod_Download.qbl
index 62d0044..718c62f 100644
--- a/_Main/BL/Type_MachiningPipelineSource0/StaticMethod_Download.qbl
+++ b/_Main/BL/Type_MachiningPipelineSource0/StaticMethod_Download.qbl
@@ -78,39 +78,39 @@
//Attribute
//闀挎槬瑁呴厤璁″垝
ccaqcellElement := xmlDOM.CreateElement( "cell" );
- ccaqcellElement.SetAttribute( "value", 'CCAssemblyPlanQty' );
+ ccaqcellElement.SetAttribute( "value", '闀挎槬瑁呴厤璁″垝' );//CCAssemblyPlanQty
attricolumnelement.AppendChild( ccaqcellElement );
//闀挎槬鐢熶骇璁″垝
ccpqcellElement := xmlDOM.CreateElement( "cell" );
- ccpqcellElement.SetAttribute( "value", 'CCProductionQty' );
+ ccpqcellElement.SetAttribute( "value", '闀挎槬鐢熶骇璁″垝' );//CCProductionQty
attricolumnelement.AppendChild( ccpqcellElement );
//闀挎槬璋冩嫧璁″垝
cctqcellElement := xmlDOM.CreateElement( "cell" );
- cctqcellElement.SetAttribute( "value", 'CCTransferQty' );
+ cctqcellElement.SetAttribute( "value", '闀挎槬璋冩嫧璁″垝' );//CCTransferQty
attricolumnelement.AppendChild( cctqcellElement );
//闀挎槬搴撳瓨
cciqcellElement := xmlDOM.CreateElement( "cell" );
- cciqcellElement.SetAttribute( "value", 'CCInventoryQty' );
+ cciqcellElement.SetAttribute( "value", '闀挎槬搴撳瓨' );//CCInventoryQty
attricolumnelement.AppendChild( cciqcellElement );
//澶ц繛瑁呴厤璁″垝
dlaqcellElement := xmlDOM.CreateElement( "cell" );
- dlaqcellElement.SetAttribute( "value", 'DLAssemblyPlanQty' );
+ dlaqcellElement.SetAttribute( "value", '澶ц繛瑁呴厤璁″垝' );//DLAssemblyPlanQty
attricolumnelement.AppendChild( dlaqcellElement );
//澶ц繛鐢熶骇璁″垝
dlpqcellElement := xmlDOM.CreateElement( "cell" );
- dlpqcellElement.SetAttribute( "value", 'DLProductionQty' );
+ dlpqcellElement.SetAttribute( "value", '澶ц繛鐢熶骇璁″垝' );//DLProductionQty
attricolumnelement.AppendChild( dlpqcellElement );
//澶ц繛璋冩嫧璁″垝
dltqcellElement := xmlDOM.CreateElement( "cell" );
- dltqcellElement.SetAttribute( "value", 'DLTransferQty' );
+ dltqcellElement.SetAttribute( "value", '澶ц繛璋冩嫧璁″垝' );//DLTransferQty
attricolumnelement.AppendChild( dltqcellElement );
//澶ц繛搴撳瓨
dliqcellElement := xmlDOM.CreateElement( "cell" );
- dliqcellElement.SetAttribute( "value", 'DLInventoryQty' );
+ dliqcellElement.SetAttribute( "value", '澶ц繛搴撳瓨' );//DLInventoryQty
attricolumnelement.AppendChild( dliqcellElement );
//闀挎槬 + 澶ц繛 搴撳瓨
tiqcellElement := xmlDOM.CreateElement( "cell" );
- tiqcellElement.SetAttribute( "value", 'TotalInventoryQty' );
+ tiqcellElement.SetAttribute( "value", '闀挎槬 + 澶ц繛搴撳瓨' );//TotalInventoryQty
attricolumnelement.AppendChild( tiqcellElement );
}
//闀挎槬瑁呴厤璁″垝
--
Gitblit v1.9.3