From 6d9968b5e3de0f425bef89103b9d4eec06a897f6 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期五, 18 十月 2024 12:00:58 +0800
Subject: [PATCH] 修复产量对比报表日期筛选导出不生效的bug

---
 _Main/UI/MacroPlannerWebApp/Component_Form701/Component_MatrixEditor.def |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_Form701/Component_MatrixEditor.def b/_Main/UI/MacroPlannerWebApp/Component_Form701/Component_MatrixEditor.def
index 6d90515..7bbfc28 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_Form701/Component_MatrixEditor.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_Form701/Component_MatrixEditor.def
@@ -18,7 +18,7 @@
           Properties:
           [
             DataType: 'LocalTable'
-            Source: 'dhComparisonData'
+            Source: 'dhTable'
             Taborder: 0
             Transformation: 'LocalRow.LocalCell.astype(LocalCell_OfflinePlanComparison)'
           ]
@@ -46,8 +46,8 @@
           [
             DataType: 'LocalTable'
             FilterArguments: 'checkedProduct:QMacroPlanner::FormOfflinePlanChanges.dhFinelProduct'
-            FixedFilter: 'exists( checkedProduct,Elements,product,product.ID() = object.Name() )'
-            Source: 'dhComparisonData'
+            FixedFilter: 'exists( checkedProduct,Elements,product,product.ID() = object.ProductID())'
+            Source: 'dhTable'
             Taborder: 0
             Transformation: 'LocalRow'
           ]
@@ -75,7 +75,7 @@
             DataType: 'LocalTable'
             FilterArguments: 'startDate:QMacroPlanner::FormOfflinePlanChanges.dhStartDate;endDate:QMacroPlanner::FormOfflinePlanChanges.dhEndDate'
             FixedFilter: 'not object.IsAttrbuteColumn() and startDate <= object.Date() and endDate > object.Date() '
-            Source: 'dhComparisonData'
+            Source: 'dhTable'
             Taborder: 0
             Transformation: 'LocalColumn'
           ]

--
Gitblit v1.9.3