From 1282ec1b406f0cd04e6e1d0d22b020cb269df0ee Mon Sep 17 00:00:00 2001
From: admin <admin@admin.com>
Date: 星期一, 28 十月 2024 19:05:35 +0800
Subject: [PATCH] 上线计划优化
---
_Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Component_MatrixEditor.def | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Component_MatrixEditor.def b/_Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Component_MatrixEditor.def
index dd916e8..7e1f2d0 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Component_MatrixEditor.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Component_MatrixEditor.def
@@ -20,13 +20,13 @@
DataType: 'LocalTable'
Source: 'dhComparisonData'
Taborder: 0
- Transformation: 'LocalRow.LocalCell'
+ Transformation: 'LocalRow.LocalCell.astype(LocalCell_DemandComparison)'
]
}
]
Properties:
[
- Attributes: 'Value'
+ Attributes: 'BaseVersion;CompareVersion;Gap'
Column: 'LocalColumn'
Row: 'LocalRow'
Taborder: 0
@@ -45,6 +45,8 @@
Properties:
[
DataType: 'LocalTable'
+ FilterArguments: 'checkedProduct:QMacroPlanner::FormDemandComparison.dhFinelProduct'
+ FixedFilter: 'exists( checkedProduct,Elements,product,product.ID() = object.ProductID())'
Source: 'dhComparisonData'
Taborder: 0
Transformation: 'LocalRow'
@@ -53,7 +55,7 @@
]
Properties:
[
- Legend: 'Index'
+ Legend: 'Name'
SortCriteria: 'Index'
Taborder: 1
]
@@ -71,6 +73,8 @@
Properties:
[
DataType: 'LocalTable'
+ FilterArguments: 'startDate:QMacroPlanner::FormDemandComparison.dhStartDate;endDate:QMacroPlanner::FormDemandComparison.dhEndDate'
+ FixedFilter: 'not object.IsAttrbuteColumn() and startDate <= object.Date() and endDate > object.Date()'
Source: 'dhComparisonData'
Taborder: 0
Transformation: 'LocalColumn'
@@ -89,6 +93,7 @@
]
Properties:
[
+ AllowMultipleAttributes: true
Columns: 'MatrixEditorColumns'
ContextMenu: 'matrixeditorContextMenuDemandComparison'
Rows: 'MatrixEditorRows'
--
Gitblit v1.9.3