From 89afa4098d5b9072fab407ffacba1a4503e1b719 Mon Sep 17 00:00:00 2001
From: 陈清红 <420599804@qq.com>
Date: 星期三, 22 一月 2025 12:20:15 +0800
Subject: [PATCH] 下线计划存档优化
---
_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def | 20 +++++++++-----------
1 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def
index 6c6f4ef..459c315 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def
@@ -17,10 +17,10 @@
BaseType: 'WebDataExtractor'
Properties:
[
- DataType: 'InterfaceDataset'
- Source: 'InterfaceDataset'
+ DataType: 'structured[OfflinePlanArchiveRow]'
+ Source: 'dhRows'
Taborder: 0
- Transformation: 'OfflinePlanArchiveVersion.Row.Cell'
+ Transformation: 'Elements.Cell'
]
}
]
@@ -44,12 +44,10 @@
BaseType: 'WebDataExtractor'
Properties:
[
- DataType: 'InterfaceDataset'
- FilterArguments: 'units:QLibMacroPlannerWebUI::ApplicationMacroPlanner.DataHolderUnit;products:QLibMacroPlannerWebUI::ApplicationMacroPlanner.DataHolderProduct'
- FixedFilter: '( units.Size() = 0 or exists( units, Elements, unit, unit.ID() = object.ProductionLine() ) ) and ( products.Size() = 0 or exists( products, Elements, product, product.ID() = object.Name() ) )'
- Source: 'InterfaceDataset'
+ DataType: 'structured[OfflinePlanArchiveRow]'
+ Source: 'dhRows'
Taborder: 0
- Transformation: 'OfflinePlanArchiveVersion.Row'
+ Transformation: 'Elements'
]
}
]
@@ -72,13 +70,13 @@
BaseType: 'WebDataExtractor'
Properties:
[
- DataType: 'InterfaceDataset'
+ DataType: 'structured[OfflinePlanArchiveRow]'
Description: '( search.StartDate().IsMinInfinity() or object.StartDate() >= search.StartDate() ) and ( search.EndDate().IsMaxInfinity() or object.StartDate() <= search.EndDate() )'
FilterArguments: 'search:QMacroPlanner::FormOfflinePlanArchive.dhSearch'
FixedFilter: 'object.Filter( search )'
- Source: 'InterfaceDataset'
+ Source: 'dhRows'
Taborder: 0
- Transformation: 'OfflinePlanArchiveVersion.Column'
+ Transformation: 'Elements.Cell.Column'
]
}
]
--
Gitblit v1.9.3