From bea1eb384007ce63f344e36a2d24987f61ee1662 Mon Sep 17 00:00:00 2001
From: rislai <risheng.lai@capgemini.com>
Date: 星期三, 07 八月 2024 18:13:58 +0800
Subject: [PATCH] 添加生产计划变更报表的入口
---
_Main/UI/MacroPlannerWebApp/Views/OfflinePlanChanges.vw | 179 ++++++++++++++++++++++++++++++++++++++++++++
_Main/UI/MacroPlannerWebApp/Component_Form701/_ROOT_Component_FormOfflinePlanChanges#701.def | 6
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupReport.def | 11 ++
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ActionBarGroupReport_ButtonOfflinePlanChanges_OnClick.def | 17 ++++
4 files changed, 210 insertions(+), 3 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupReport.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupReport.def
index 894ed1d..a385b33 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupReport.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupReport.def
@@ -119,6 +119,17 @@
Taborder: 8
]
}
+ Component ButtonOfflinePlanChanges
+ {
+ #keys: '[412672.1.102210592]'
+ BaseType: 'WebButton'
+ Properties:
+ [
+ Image: 'DOCUMENT_CENTER'
+ Label: '鐢熶骇璁″垝鍙樻洿鎶ヨ〃'
+ Taborder: 9
+ ]
+ }
]
Properties:
[
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ActionBarGroupReport_ButtonOfflinePlanChanges_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ActionBarGroupReport_ButtonOfflinePlanChanges_OnClick.def
new file mode 100644
index 0000000..f5504e6
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ActionBarGroupReport_ButtonOfflinePlanChanges_OnClick.def
@@ -0,0 +1,17 @@
+Quintiq file version 2.0
+#parent: ActionBarGroupReport/ButtonOfflinePlanChanges
+Response OnClick () id:Response_MacroPlanner_ActionBarGroupReport_ButtonOfflinePlanChanges_OnClick
+{
+ #keys: '[412672.1.99761052]'
+ CanBindMultiple: false
+ DefinitionID: 'Responsedef_WebButton_OnClick'
+ QuillAction
+ {
+ Body:
+ [*
+ // Open view
+ ApplicationMacroPlanner.OpenView( 'OfflinePlanChanges', this );
+ *]
+ GroupServerCalls: false
+ }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_Form701/_ROOT_Component_FormOfflinePlanComparison701.def "b/_Main/UI/MacroPlannerWebApp/Component_Form701/_ROOT_Component_FormOfflinePlanChanges\043701.def"
similarity index 66%
rename from _Main/UI/MacroPlannerWebApp/Component_Form701/_ROOT_Component_FormOfflinePlanComparison701.def
rename to "_Main/UI/MacroPlannerWebApp/Component_Form701/_ROOT_Component_FormOfflinePlanChanges\043701.def"
index 090f164..9af7819 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_Form701/_ROOT_Component_FormOfflinePlanComparison701.def
+++ "b/_Main/UI/MacroPlannerWebApp/Component_Form701/_ROOT_Component_FormOfflinePlanChanges\043701.def"
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#root
#parent: MacroPlannerWebApp
-OrphanComponent FormOfflinePlanComparison701
+OrphanComponent FormOfflinePlanChanges
{
#keys: '[412672.1.78201744]'
BaseType: 'WebForm'
@@ -12,7 +12,7 @@
]
Properties:
[
- Image: 'DOCUMENT_INFO'
- Title: '涓嬬嚎璁″垝瀵规瘮鎶ヨ〃'
+ Image: 'DOCUMENT_CENTER'
+ Title: '鐢熶骇璁″垝鍙樻洿鎶ヨ〃'
]
}
diff --git a/_Main/UI/MacroPlannerWebApp/Views/OfflinePlanChanges.vw b/_Main/UI/MacroPlannerWebApp/Views/OfflinePlanChanges.vw
new file mode 100644
index 0000000..2739595
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Views/OfflinePlanChanges.vw
@@ -0,0 +1,179 @@
+Quintiq file version 2.0
+{
+ viewcontents
+ {
+ forms
+ {
+ form_FormOfflinePlanChanges
+ {
+ title: 'QMacroPlanner::FormOfflinePlanChanges'
+ shown: true
+ componentID: 'QMacroPlanner::FormOfflinePlanChanges'
+ layout
+ {
+ mode: 'open'
+ rowPosition: 1
+ rowSpan: 17
+ columnPosition: 1
+ columnSpan: 11
+ }
+ components
+ {
+ FormOfflinePlanChanges_PanelRibbon
+ {
+ sizeRatio: 1
+ }
+ FormOfflinePlanChanges_PanelRibbon322
+ {
+ sizeRatio: 1
+ }
+ FormOfflinePlanChanges_PanelRibbon504
+ {
+ sizeRatio: 1
+ }
+ FormOfflinePlanChanges_PanelFilter
+ {
+ sizeRatio: 1
+ }
+ FormOfflinePlanChanges_PanelDemandComparison
+ {
+ sizeRatio: 1
+ }
+ FormOfflinePlanChanges_MatrixEditor
+ {
+ totalHeaderWidth: 200
+ attributeHeaderWidthRatio: 0.6
+ nameHeaderWidthRatio: 0.4
+ columnWidth: 100
+ horizontalGrid: true
+ verticalGrid: true
+ gridColor: '#c4c4c4'
+ }
+ }
+ }
+ form_FormOptimizerPuzzles
+ {
+ title: 'Optimizer Puzzles'
+ shown: false
+ componentID: 'FormOptimizerPuzzles'
+ layout
+ {
+ mode: 'dockright'
+ index: 0
+ }
+ components
+ {
+ FormOptimizerPuzzles_ListOptimizerPuzzles
+ {
+ }
+ FormOptimizerPuzzles_DataSetLevelOptimizerPuzzles
+ {
+ groupDepth: -1
+ column_All_constraints
+ {
+ columnId: 'All constraints'
+ dataPath: 'All constraints'
+ dataType: 'string'
+ title: 'All constraints'
+ index: 0
+ subtotals: ''
+ width: 32
+ }
+ column_Name
+ {
+ columnId: 'Name'
+ dataPath: 'Name'
+ dataType: 'string'
+ title: 'Name'
+ index: 1
+ subtotals: ''
+ width: 109
+ }
+ column_Description
+ {
+ columnId: 'Description'
+ dataPath: 'Description'
+ dataType: 'string'
+ title: 'Description'
+ index: 2
+ subtotals: ''
+ width: 207
+ }
+ }
+ }
+ }
+ form_FormKPI
+ {
+ title: 'KPI Dashboard'
+ shown: true
+ componentID: 'FormKPI'
+ layout
+ {
+ mode: 'dockright'
+ index: 1
+ }
+ components
+ {
+ FormKPI_PanelKPI
+ {
+ sizeRatio: 1
+ activeChild: 'PanelKPISelection'
+ }
+ FormKPI_PanelKPIDashboard
+ {
+ sizeRatio: 1
+ }
+ FormKPI_PanelKPISelection
+ {
+ sizeRatio: 1
+ }
+ FormKPI_ListKPISelection
+ {
+ QuillViewData
+ {
+ Food_KPISetting: 'Cost of sales;Fulfillment;Fulfillment target;Inventory holding cost;Labor cost;Margin;Safety stock;Sales;Sourcing cost;Total CO2 emission;Transportation cost;Volume'
+ CarCo_KPISetting: 'Blending'
+ }
+ }
+ FormKPI_DataSetLevelKPISelection
+ {
+ groupDepth: -1
+ column_All_constraints
+ {
+ columnId: 'All constraints'
+ dataPath: 'All constraints'
+ dataType: 'string'
+ title: 'All constraints'
+ index: 0
+ subtotals: ''
+ width: 32
+ }
+ column_Name
+ {
+ columnId: 'Name'
+ dataPath: 'Name'
+ dataType: 'string'
+ title: 'Name'
+ index: 1
+ subtotals: ''
+ width: 200
+ }
+ }
+ }
+ }
+ }
+ userconfigurableinformation
+ {
+ }
+ page: ''
+ group: ''
+ index: 26
+ image: 'DOCUMENT_CENTER'
+ description: ''
+ }
+ formatversion: 2
+ id: 'OfflinePlanChanges'
+ name: 'OfflinePlanChanges'
+ isglobal: false
+ isroot: true
+}
--
Gitblit v1.9.3