From 4bb71bc32df6a2ce847b5dc1853dea732e2d0253 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期三, 23 十月 2024 17:53:19 +0800
Subject: [PATCH] 财务产量报表/销量报表导入bug

---
 _Main/BL/Type_FinancialSalesReport/Method_Generate.qbl |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/_Main/BL/Type_FinancialSalesReport/Method_Generate.qbl b/_Main/BL/Type_FinancialSalesReport/Method_Generate.qbl
index 4838b9d..19b08b0 100644
--- a/_Main/BL/Type_FinancialSalesReport/Method_Generate.qbl
+++ b/_Main/BL/Type_FinancialSalesReport/Method_Generate.qbl
@@ -12,8 +12,10 @@
     table                   := selectobject( this, FinancialSalesSource.FinancialSalesReport, report, not report.IsShow() );
     //娓呯┖涔嬪墠瀛樺偍鐨勬樉绀烘暟鎹�
     this.Clear();
+    //骞存眹鎬�
+    yearcolumn                := this.FinancialSalesColumn( relnew, Name := '姹囨��', Period := search.MacroPlan().StartOfPlanning().StartOfNextYear().Date() );
     traverse( factorys, Elements, factory ){
-      this.GenerateShow( table, productids, factory.ID() );
+      this.GenerateShow( table, yearcolumn, productids, factory.ID() );
     }
     rows                    := selectsortedset( this, FinancialSalesRow, row, row.Name() );
     i                       := 0;

--
Gitblit v1.9.3