From 3bb308481a906e3c2c9c1670905249fb73f36100 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 26 九月 2024 17:59:39 +0800
Subject: [PATCH] 报表导入导出图标修改

---
 _Main/UI/MacroPlannerWebApp/Component_FormEnginePipelineReport/Component_PanelExport#570.def                              |    3 
 _Main/UI/MacroPlannerWebApp/Component_FormCCEngineLogisticsCostReport/Component_PanelExport#670.def                       |    6 +
 _Main/UI/MacroPlannerWebApp/Component_FormFinancialWeeklyReport/Component_PanelHeader.def                                 |    1 
 _Main/BL/Type_FinancialSalesSource/StaticMethod_Initialize.qbl                                                            |   36 ++++----
 _Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Component_PanelExport.def                             |    1 
 _Main/UI/MacroPlannerWebApp/Component_FormInventorySummaryReport/Component_PanelExport.def                                |    1 
 _Main/UI/MacroPlannerWebApp/Component_FormMachiningPipelineReport/Component_PanelExport.def                               |    3 
 _Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Component_PanelFinancialProductionReportOperation.def |    2 
 _Main/UI/MacroPlannerWebApp/Component_FormDLEngineLogisticsCostReport/Component_PanelExport.def                           |    2 
 _Main/BL/Type_FinancialSalesSource/StaticMethod_InitializeNew.qbl                                                         |  142 +++++++++++++++++++++++++++++++++++
 _Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Component_PanelExport#545.def                              |    1 
 _Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Component_PanelFinancialSalesReportOperation.def           |    2 
 12 files changed, 179 insertions(+), 21 deletions(-)

diff --git a/_Main/BL/Type_FinancialSalesSource/StaticMethod_Initialize.qbl b/_Main/BL/Type_FinancialSalesSource/StaticMethod_Initialize.qbl
index d2b2932..8677d00 100644
--- a/_Main/BL/Type_FinancialSalesSource/StaticMethod_Initialize.qbl
+++ b/_Main/BL/Type_FinancialSalesSource/StaticMethod_Initialize.qbl
@@ -83,27 +83,29 @@
       //鏄惁灞炰簬闀挎槬瑁呴厤绾�
     //  iscc                  := unit.ID() = ccspline or exists( parentunits, Elements, punit, punit.ID() = ccspline );
     //  if( table.IsInUnit( stockingpoint, ccspline ) ){
-        traverse( stockingpoint, ProductInStockingPoint_MP, pisp, pisp.Product_MP().IsLeaf() and pisp.Product_MP().MQBMLB() = 'MQB' 
+        traverse( stockingpoint, ProductInStockingPoint_MP, pisp, pisp.Product_MP().IsLeaf()
                   and exists( pisp, ProductInStockingPointInPeriod, pispip, not pispip.Period_MP().IsHistorical() and pispip.Period_MP().StartDate() < startofnextyear 
                               and ( pispip.DependentDemandAndSalesDemandQuantity() <> 0 or pispip.NewSupplyQuantity() <> 0 ) ) ){//浜у搧涓篗QB
           product           := pisp.Product_MP();
           allrow            := table.GetRow( allunit, product );
-          ccrow             := table.GetRow( ccunit, product );
-          products.Add( product );
-          traverse( pisp, ProductInStockingPointInPeriod, pispip, not pispip.Period_MP().IsHistorical() 
-                    and pispip.Period_MP().StartDate() < startofnextyear 
-                    and ( pispip.DependentDemandAndSalesDemandQuantity() <> 0 or pispip.NewSupplyQuantity() <> 0 ) ){
-            dayperiodtime   := pispip.Start().Date();
-            dayperiodname   := dayperiodtime.Format( "M2/D2/Y" );
-            periodtime      := pispip.Start().StartOfMonth().Date();
-            periodname      := periodtime.Format( "M2/D2/Y" );
-            daycolumn       := selectobject( table, FinancialSalesColumn, column, column.Name() = dayperiodname and column.Period() = dayperiodtime and column.IsDay() );
-            column          := selectobject( table, FinancialSalesColumn, column, column.Name() = periodname and column.Period() = periodtime and not column.IsDay() );
-            quantity        := ifexpr( isdl, [Number]pispip.NewSupplyQuantity(), [Number]pispip.DependentDemandAndSalesDemandQuantity() );//鍥涜垗浜斿叆
-            
-            ccrow.Initialize( column, quantity );//鍙朤otal Demand瀛楁鎸夋湀姹囨�婚渶姹傛暟閲�
-            ccrow.Initialize( daycolumn, quantity );
-            allrow.Initialize( column, quantity );
+          if( isdl or pisp.Product_MP().MQBMLB() = 'MQB' ){
+            factoryrow      := table.GetRow( ifexpr( isdl, dlunit, ccunit ), product );
+            products.Add( product );
+            traverse( pisp, ProductInStockingPointInPeriod, pispip, not pispip.Period_MP().IsHistorical() 
+                      and pispip.Period_MP().StartDate() < startofnextyear 
+                      and ( pispip.DependentDemandAndSalesDemandQuantity() <> 0 or pispip.NewSupplyQuantity() <> 0 ) ){
+              dayperiodtime := pispip.Start().Date();
+              dayperiodname := dayperiodtime.Format( "M2/D2/Y" );
+              periodtime    := pispip.Start().StartOfMonth().Date();
+              periodname    := periodtime.Format( "M2/D2/Y" );
+              daycolumn     := selectobject( table, FinancialSalesColumn, column, column.Name() = dayperiodname and column.Period() = dayperiodtime and column.IsDay() );
+              column        := selectobject( table, FinancialSalesColumn, column, column.Name() = periodname and column.Period() = periodtime and not column.IsDay() );
+              quantity      := ifexpr( isdl, [Number]pispip.NewSupplyQuantity(), [Number]pispip.DependentDemandAndSalesDemandQuantity() );//鍥涜垗浜斿叆
+              
+              factoryrow.Initialize( column, quantity );//鍙朤otal Demand瀛楁鎸夋湀姹囨�婚渶姹傛暟閲�
+              factoryrow.Initialize( daycolumn, quantity );
+              allrow.Initialize( column, quantity );
+            }
           }
         }
     //  }
diff --git a/_Main/BL/Type_FinancialSalesSource/StaticMethod_InitializeNew.qbl b/_Main/BL/Type_FinancialSalesSource/StaticMethod_InitializeNew.qbl
new file mode 100644
index 0000000..5bc515f
--- /dev/null
+++ b/_Main/BL/Type_FinancialSalesSource/StaticMethod_InitializeNew.qbl
@@ -0,0 +1,142 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod InitializeNew (
+  MacroPlan owner
+)
+{
+  Description: '鍒濆鍖�'
+  TextBody:
+  [*
+    // 鐢勫叞楦� Jun-24-2024 (created)
+    owner.FinancialSalesSource( relflush );
+    products                  := construct( Product_MPs );
+    allunit                   := FinancialSalesReport::GetDefaultAllUnit();
+    ccunit                    := FinancialSalesReport::GetDefaultCCUnit();
+    dlunit                    := FinancialSalesReport::GetDefaultDLUnit();
+    ccsalessegment            := FinancialSalesReport::GetSalesSegmentCC();
+    //tjsalessegment            := FinancialSalesReport::GetSalesSegmentTJ();
+    //fssalessegment            := FinancialSalesReport::GetSalesSegmentFS();
+    //ccspline                  := FinancialSalesReport::GetStockingPointCCLine();
+    //dlspline                  := FinancialSalesReport::GetStockingPointDLLine();
+    //ccrent                    := FinancialSalesReport::GetStockingPointCCRent();
+    
+    source                    := owner.FinancialSalesSource( relnew, IsImport := false, Name := FinancialSalesReport::GetDefaultName() );
+    table                     := source.FinancialSalesReport( relnew, ID := source.Name(), Name := source.Name(), IsImport := false );
+    showtable                 := source.FinancialSalesReport( relnew, ID := source.Name() + 'Show', Name := source.Name(), IsImport := false, IsShow := true );
+    startofplanning           := owner.StartOfPlanning().Date();
+    //startofyear               := startofplanning.StartOfYear();
+    startofnextyear           := startofplanning.StartOfNextYear();
+    
+    search                    := owner.FinancialSalesSearch( relnew, Unit := allunit, Generation := allunit, MqbMlb := allunit, Power := allunit );
+    
+    table.GenerateColumn( owner );
+    
+    //棣栧厛鍦╢orecast鐣岄潰鏌ユ壘sales segment涓洪暱鏄ョ殑鎵�鏈夐渶姹傦紝璇嗗埆鍑篗LB鐨勬墍鏈変骇鍝侊紝姣忎釜浜у搧鎸夋湀姹囨�婚渶姹傛暟閲�
+    traverse( owner, SalesDemand.astype( Forecast ), forecast, not isnull( forecast.SalesSegment_MP() ) and forecast.StartDate() < startofnextyear and forecast.Quantity() <> 0 
+              and exists( forecast, PlanningSalesDemandInPeriod, psdip, psdip.Quantity() <> 0 ) ){
+      salessegment            := forecast.SalesSegment_MP();
+      parentsalessegments     := salessegment.GetAllParent();
+      stockingpoint           := forecast.StockingPointID();
+      product                 := forecast.Product_MP();
+      //鏄惁灞炰簬闀挎槬
+      iscc                    := salessegment.Name().StartsWith( ccsalessegment ) or exists( parentsalessegments, Elements, psalessegment, psalessegment.Name().StartsWith( ccsalessegment ) );
+      isccrent                := iscc and stockingpoint.EndsWith( '澶栫搴�' ) and ( stockingpoint.StartsWith( 'CC' ) or stockingpoint.StartsWith( '闀挎槬' ) );
+      //Forecast鐨凷ales Segment涓洪暱鏄ワ紝璇嗗埆鍑篗LB鐨勬墍鏈変骇鍝佹眹鎬�
+      //澶ц繛璐㈠姟閿�閲忥細棣栧厛鍦╢orecast鐣岄潰鏌ユ壘Sales Segment鏄ぉ娲ュ拰浣涘北鐨勬墍鏈夐渶姹傦紝姣忎釜浜у搧鎸夋湀姹囨�婚渶姹傛暟閲� and forecast.Product_MP().MQBMLB() = 'MLB' ) 
+      if( ( iscc and product.MQBMLB() = 'MLB' ) or ( isccrent and product.MQBMLB() = 'MQB' ) ){
+        
+        //鑾峰彇鍚堣琛�
+        allrow               := table.GetRow( allunit, product );
+        //鑾峰彇宸ュ巶琛�
+        factoryrow           := table.GetRow( ccunit, product );
+      
+        products.Add( product );
+        traverse( forecast, PlanningSalesDemandInPeriod, psdip, psdip.Quantity() <> 0 ){
+          dayperiodtime      := psdip.StartDate();
+          dayperiodname      := dayperiodtime.Format( "M2/D2/Y" );
+          periodtime         := psdip.StartDate().StartOfMonth();
+          periodname         := periodtime.Format( "M2/D2/Y" );
+    //      info( '-------------------------', periodname, periodtime );
+          daycolumn          := selectobject( table, FinancialSalesColumn, column, column.Name() = dayperiodname and column.Period() = dayperiodtime and column.IsDay() );
+          column             := selectobject( table, FinancialSalesColumn, column, column.Name() = periodname and column.Period() = periodtime and not column.IsDay() );
+    //      info( '-------------------------', column.Name() );
+          quantity   := [Number]psdip.Quantity();//鍥涜垗浜斿叆
+          
+          factoryrow.Initialize( column, quantity );
+          factoryrow.Initialize( daycolumn, quantity );
+          allrow.Initialize( column, quantity );
+        }
+      }
+    }
+    //浠嶱roduct planning鏌ユ壘搴撳瓨鐐逛负澶ц繛鍙戝姩鏈虹殑闀挎槬澶栫搴擄紝鍙朜ew supply瀛楁鎸夋湀姹囨�婚渶姹傛暟閲�
+    traverse( owner, StockingPoint_MP, stockingpoint, stockingpoint.ID() = '澶ц繛鍙戝姩鏈虹殑闀挎槬澶栫搴�' ){
+        traverse( stockingpoint, ProductInStockingPoint_MP, pisp, pisp.Product_MP().IsLeaf()
+                  and exists( pisp, ProductInStockingPointInPeriod, pispip, not pispip.Period_MP().IsHistorical() and pispip.Period_MP().StartDate() < startofnextyear 
+                              and ( pispip.DependentDemandAndSalesDemandQuantity() <> 0 or pispip.NewSupplyQuantity() <> 0 ) ) ){//浜у搧涓篗QB
+          product           := pisp.Product_MP();
+          allrow            := table.GetRow( allunit, product );
+          factoryrow        := table.GetRow( dlunit, product );
+          products.Add( product );
+          traverse( pisp, ProductInStockingPointInPeriod, pispip, not pispip.Period_MP().IsHistorical() 
+                    and pispip.Period_MP().StartDate() < startofnextyear 
+                    and ( pispip.DependentDemandAndSalesDemandQuantity() <> 0 or pispip.NewSupplyQuantity() <> 0 ) ){
+            dayperiodtime   := pispip.Start().Date();
+            dayperiodname   := dayperiodtime.Format( "M2/D2/Y" );
+            periodtime      := pispip.Start().StartOfMonth().Date();
+            periodname      := periodtime.Format( "M2/D2/Y" );
+            daycolumn       := selectobject( table, FinancialSalesColumn, column, column.Name() = dayperiodname and column.Period() = dayperiodtime and column.IsDay() );
+            column          := selectobject( table, FinancialSalesColumn, column, column.Name() = periodname and column.Period() = periodtime and not column.IsDay() );
+            quantity        := [Number]pispip.NewSupplyQuantity();//鍥涜垗浜斿叆
+            
+            factoryrow.Initialize( column, quantity );//鍙朤otal Demand瀛楁鎸夋湀姹囨�婚渶姹傛暟閲�
+            factoryrow.Initialize( daycolumn, quantity );
+            allrow.Initialize( column, quantity );
+          }
+        }
+    //  }
+    }
+    //startofnextyearlead       := startofplanning.StartOfNextYear() + FinancialSalesReport::GetDefaultTripLeadingTime();
+    //澶ц繛璐㈠姟閿�閲忥細闀挎槬鐨勯渶姹傞渶瑕佸湪trip plan閲岄潰鎵惧埌璧峰搴撳瓨鐐逛负澶ц繛瑁呴厤绾胯竟搴擄紝鐩殑鍦颁负闀挎槬澶栫搴撶殑浜у搧锛岀敱浜庨渶瑕佽�冭檻浜у搧杩愯緭lead time锛屾瘡涓湀鐨勬眹鎬绘暟鎹渶瑕佹帹杩熶袱澶╄繘琛岃绠�
+    //traverse( owner, Unit.Lane.LaneLeg, laneleg ){
+    //  //璧峰搴撳瓨鐐规槸鍚︽槸澶ц繛瑁呴厤绾胯竟搴�
+    //  originsp              := selectobject( owner, StockingPoint_MP, sp, sp.ID() = laneleg.OriginStockingPointID() );
+    //  isdlspline            := table.IsInUnit( originsp, dlspline );
+    //  //鐩殑鍦版槸鍚︽槸闀挎槬澶栫搴�
+    //  destisp               := selectobject( owner, StockingPoint_MP, sp, sp.ID() = laneleg.DestinationStockingPointID() );
+    //  isccrent              := table.IsInUnit( destisp, ccrent );
+    //  if( isdlspline and isccrent ){
+    //    traverse( laneleg, Trip, trip, trip.Arrival() < startofnextyearlead and exists( trip, ProductInTrip, pit, pit.Quantity() <> 0 ) ){
+    ////      periodtime        := ( trip.Arrival() - FinancialSalesReport::GetDefaultTripLeadingTime() ).StartOfMonth().Date();
+    //      dayperiodtime     := trip.Departure().Date();
+    //      dayperiodname     := dayperiodtime.Format( "M2/D2/Y" );
+    //      periodtime        := trip.Departure().StartOfMonth().Date();
+    //      periodname        := periodtime.Format( "M2/D2/Y" );
+    //      
+    //      daycolumn         := selectobject( table, FinancialSalesColumn, column, column.Name() = dayperiodname and column.Period() = dayperiodtime and column.IsDay() );
+    //      column            := selectobject( table, FinancialSalesColumn, column, column.Name() = periodname and column.Period() = periodtime and not column.IsDay() );
+    //      if( not isnull( column ) ){
+    //        traverse( trip, ProductInTrip, pit, pit.Quantity() <> 0 ){
+    //          product       := pit.Product_MP();
+    //          products.Add( product );
+    //          quantity      := [Number]pit.Quantity();//鍥涜垗浜斿叆
+    //          dlrow         := table.GetRow( dlunit, pit.Product_MP() );
+    //          dlrow.Initialize( column, quantity );//姹囨�绘暟閲�
+    //          dlrow.Initialize( daycolumn, quantity );
+    //          
+    //          allrow        := table.GetRow( allunit, pit.Product_MP() );
+    //          allrow.Initialize( column, quantity );
+    //        }
+    //      }
+    //    }
+    //  }
+    //}
+    
+    rows := selectsortedset( table, FinancialSalesRow, row, row.Name() );
+    i    := 0;
+    traverse( rows, Elements, e ){
+      e.RowNr( i );
+      i := i + 1;
+    }
+    showtable.Generate( search, products );
+  *]
+}
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_FormCCEngineLogisticsCostReport/Component_PanelExport\043670.def" "b/_Main/UI/MacroPlannerWebApp/Component_FormCCEngineLogisticsCostReport/Component_PanelExport\043670.def"
index f56b008..f78bec0 100644
--- "a/_Main/UI/MacroPlannerWebApp/Component_FormCCEngineLogisticsCostReport/Component_PanelExport\043670.def"
+++ "b/_Main/UI/MacroPlannerWebApp/Component_FormCCEngineLogisticsCostReport/Component_PanelExport\043670.def"
@@ -12,7 +12,8 @@
       Properties:
       [
         Image: 'EXPORT1'
-        Taborder: 1
+        Label: '瀵煎嚭'
+        Taborder: 2
       ]
     }
     Component ButtonSearch
@@ -32,7 +33,8 @@
       Properties:
       [
         Image: 'IMPORT1'
-        Taborder: 2
+        Label: '瀵煎叆'
+        Taborder: 1
       ]
     }
     Component bRefresh
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDLEngineLogisticsCostReport/Component_PanelExport.def b/_Main/UI/MacroPlannerWebApp/Component_FormDLEngineLogisticsCostReport/Component_PanelExport.def
index 6b21362..3955c6c 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormDLEngineLogisticsCostReport/Component_PanelExport.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormDLEngineLogisticsCostReport/Component_PanelExport.def
@@ -12,6 +12,7 @@
       Properties:
       [
         Image: 'EXPORT1'
+        Label: '瀵煎嚭'
         Taborder: 1
       ]
     }
@@ -32,6 +33,7 @@
       Properties:
       [
         Image: 'IMPORT1'
+        Label: '瀵煎叆'
         Taborder: 2
       ]
     }
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_FormEnginePipelineReport/Component_PanelExport\043570.def" "b/_Main/UI/MacroPlannerWebApp/Component_FormEnginePipelineReport/Component_PanelExport\043570.def"
index ec10521..d819dc1 100644
--- "a/_Main/UI/MacroPlannerWebApp/Component_FormEnginePipelineReport/Component_PanelExport\043570.def"
+++ "b/_Main/UI/MacroPlannerWebApp/Component_FormEnginePipelineReport/Component_PanelExport\043570.def"
@@ -11,7 +11,8 @@
       BaseType: 'WebButton'
       Properties:
       [
-        Image: 'IMPORT1'
+        Image: 'EXPORT1'
+        Label: '瀵煎嚭'
         Taborder: 1
       ]
     }
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Component_PanelExport.def b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Component_PanelExport.def
index d776a17..512bfd5 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Component_PanelExport.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Component_PanelExport.def
@@ -12,6 +12,7 @@
       Properties:
       [
         Image: 'EXPORT1'
+        Label: '瀵煎嚭'
         Taborder: 1
       ]
     }
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Component_PanelFinancialProductionReportOperation.def b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Component_PanelFinancialProductionReportOperation.def
index 3b019a4..8bd7043 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Component_PanelFinancialProductionReportOperation.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Component_PanelFinancialProductionReportOperation.def
@@ -23,6 +23,7 @@
       Properties:
       [
         Image: 'IMPORT1'
+        Label: '瀵煎叆'
         Taborder: 1
       ]
     }
@@ -33,6 +34,7 @@
       Properties:
       [
         Image: 'EXPORT1'
+        Label: '瀵煎嚭'
         Taborder: 2
       ]
     }
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Component_PanelExport\043545.def" "b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Component_PanelExport\043545.def"
index 9f9b106..c3e5888 100644
--- "a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Component_PanelExport\043545.def"
+++ "b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Component_PanelExport\043545.def"
@@ -12,6 +12,7 @@
       Properties:
       [
         Image: 'EXPORT1'
+        Label: '瀵煎嚭'
         Taborder: 1
       ]
     }
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Component_PanelFinancialSalesReportOperation.def b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Component_PanelFinancialSalesReportOperation.def
index b204aa7..c007602 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Component_PanelFinancialSalesReportOperation.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Component_PanelFinancialSalesReportOperation.def
@@ -23,6 +23,7 @@
       Properties:
       [
         Image: 'IMPORT1'
+        Label: '瀵煎叆'
         Taborder: 1
       ]
     }
@@ -33,6 +34,7 @@
       Properties:
       [
         Image: 'EXPORT1'
+        Label: '瀵煎嚭'
         Taborder: 2
       ]
     }
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialWeeklyReport/Component_PanelHeader.def b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialWeeklyReport/Component_PanelHeader.def
index 7b37425..14a5d3b 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialWeeklyReport/Component_PanelHeader.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialWeeklyReport/Component_PanelHeader.def
@@ -12,6 +12,7 @@
       Properties:
       [
         Image: 'EXPORT1'
+        Label: '瀵煎嚭'
         Taborder: 0
       ]
     }
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormInventorySummaryReport/Component_PanelExport.def b/_Main/UI/MacroPlannerWebApp/Component_FormInventorySummaryReport/Component_PanelExport.def
index b1ddee6..5654402 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormInventorySummaryReport/Component_PanelExport.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormInventorySummaryReport/Component_PanelExport.def
@@ -12,6 +12,7 @@
       Properties:
       [
         Image: 'EXPORT1'
+        Label: '瀵煎嚭'
         Taborder: 1
       ]
     }
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormMachiningPipelineReport/Component_PanelExport.def b/_Main/UI/MacroPlannerWebApp/Component_FormMachiningPipelineReport/Component_PanelExport.def
index 7c71f89..f09e76f 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormMachiningPipelineReport/Component_PanelExport.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormMachiningPipelineReport/Component_PanelExport.def
@@ -11,7 +11,8 @@
       BaseType: 'WebButton'
       Properties:
       [
-        Image: 'IMPORT1'
+        Image: 'EXPORT1'
+        Label: '瀵煎叆'
         Taborder: 1
       ]
     }

--
Gitblit v1.9.3