From 74ac81ac91be18a076a27ecee4045aac0d9b5ad9 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期五, 17 一月 2025 08:17:33 +0800
Subject: [PATCH] 机加管线报表周度库存数据问题
---
_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def | 28 ++++++++++++++++------------
1 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def
index 8514752..6c6f4ef 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def
@@ -17,16 +17,16 @@
BaseType: 'WebDataExtractor'
Properties:
[
- DataType: 'OfflinePlanArchiveVersion'
- Source: 'DataHolderTable'
+ DataType: 'InterfaceDataset'
+ Source: 'InterfaceDataset'
Taborder: 0
- Transformation: 'Row.Cell'
+ Transformation: 'OfflinePlanArchiveVersion.Row.Cell'
]
}
]
Properties:
[
- Attributes: 'Quantity;ActualProductionQty'
+ Attributes: 'Order;Quantity;ActualProductionQty'
Column: 'Column'
Row: 'Row'
Taborder: 0
@@ -44,17 +44,18 @@
BaseType: 'WebDataExtractor'
Properties:
[
- DataType: 'OfflinePlanArchiveVersion'
- Description: "( search.Generation() = '<All>' or object.Product_MP().Generation() = search.Generation() ) and ( search.MqbMlb() = '<All>' or object.Product_MP().MQBMLB() = search.MqbMlb() ) and ( search.Power() = '<All>' or object.Product_MP().Power() = search.Power() )"
- Source: 'DataHolderTable'
+ 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'
Taborder: 0
- Transformation: 'Row'
+ Transformation: 'OfflinePlanArchiveVersion.Row'
]
}
]
Properties:
[
- Legend: 'Name'
+ Legend: 'ShowName'
SortCriteria: 'Name'
Taborder: 1
]
@@ -71,10 +72,13 @@
BaseType: 'WebDataExtractor'
Properties:
[
- DataType: 'OfflinePlanArchiveVersion'
- Source: 'DataHolderTable'
+ DataType: 'InterfaceDataset'
+ 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'
Taborder: 0
- Transformation: 'Column'
+ Transformation: 'OfflinePlanArchiveVersion.Column'
]
}
]
--
Gitblit v1.9.3