From 01cc073fa3f436e34b1ff68b41ac04ba014150a0 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期一, 25 十一月 2024 11:10:20 +0800
Subject: [PATCH] MAS64产品下拉

---
 _Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_MatrixEditorTable#384.def                    |    2 
 _Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_PanelOperation#603.def                            |    1 
 _Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_cmRight681.def                                            |    4 
 _Main/BL/Type_InventoryPlanArchiveRow/Attribute_ShowName.qbl                                                               |    7 ++
 _Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def                               |    2 
 _Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_pnlRight.def                                              |    2 
 _Main/BL/Type_AssemblyOnlinePlanVersionRow/Attribute_ShowName.qbl                                                          |    7 ++
 _Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight590_OnCheckedChanged#623.def                       |    6 +-
 /dev/null                                                                                                                  |   57 -------------------
 _Main/UI/MacroPlannerWebApp/Component_FormForecasts/Response_MacroPlanner_ListSalesDemands_MenuSplitUsingCurve_OnClick.def |    2 
 _Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_MatrixEditorTable#791.def                         |    2 
 _Main/BL/Type_AssemblyOnlinePlanVersionRow/Function_CalcShowName.qbl                                                       |   13 ++++
 _Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight590_OnCheckedChanged.def                           |    6 +-
 _Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_abpRight481.def                                           |    4 
 _Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_lstRight590.def                                           |   44 ++++++++++++++
 _Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_PanelOperation.def                                  |    1 
 _Main/BL/Type_InventoryPlanArchiveRow/Function_CalcShowName.qbl                                                            |   13 ++++
 _Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelOperation#653.def                       |    1 
 18 files changed, 102 insertions(+), 72 deletions(-)

diff --git a/_Main/BL/Type_AssemblyOnlinePlanVersionRow/Attribute_ShowName.qbl b/_Main/BL/Type_AssemblyOnlinePlanVersionRow/Attribute_ShowName.qbl
new file mode 100644
index 0000000..48e108f
--- /dev/null
+++ b/_Main/BL/Type_AssemblyOnlinePlanVersionRow/Attribute_ShowName.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ShowName
+{
+  #keys: '3[415136.0.1336040055][415136.0.1336040054][415136.0.1336040056]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_AssemblyOnlinePlanVersionRow/Function_CalcShowName.qbl b/_Main/BL/Type_AssemblyOnlinePlanVersionRow/Function_CalcShowName.qbl
new file mode 100644
index 0000000..a787d39
--- /dev/null
+++ b/_Main/BL/Type_AssemblyOnlinePlanVersionRow/Function_CalcShowName.qbl
@@ -0,0 +1,13 @@
+Quintiq file version 2.0
+#parent: #root
+Function CalcShowName
+{
+  TextBody:
+  [*
+    // 鐢勫叞楦� Nov-25-2024 (created)
+    
+    value := this.ProductionLine().Concat( '_' ).Concat( this.Name() );
+    
+    this.ShowName( value );
+  *]
+}
diff --git a/_Main/BL/Type_InventoryPlanArchiveRow/Attribute_ShowName.qbl b/_Main/BL/Type_InventoryPlanArchiveRow/Attribute_ShowName.qbl
new file mode 100644
index 0000000..1260802
--- /dev/null
+++ b/_Main/BL/Type_InventoryPlanArchiveRow/Attribute_ShowName.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ShowName
+{
+  #keys: '3[415136.0.1336020027][415136.0.1336020026][415136.0.1336020028]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_InventoryPlanArchiveRow/Function_CalcShowName.qbl b/_Main/BL/Type_InventoryPlanArchiveRow/Function_CalcShowName.qbl
new file mode 100644
index 0000000..79dfc54
--- /dev/null
+++ b/_Main/BL/Type_InventoryPlanArchiveRow/Function_CalcShowName.qbl
@@ -0,0 +1,13 @@
+Quintiq file version 2.0
+#parent: #root
+Function CalcShowName
+{
+  TextBody:
+  [*
+    // 鐢勫叞楦� Nov-25-2024 (created)
+    
+    value := this.Unit().Concat( '_' ).Concat( this.Name() );
+    
+    this.ShowName( value );
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_abpRight.def b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_abpRight481.def
similarity index 64%
rename from _Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_abpRight.def
rename to _Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_abpRight481.def
index af60a1d..97e1ed0 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_abpRight.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_abpRight481.def
@@ -1,7 +1,7 @@
 Quintiq file version 2.0
-Component abpRight
+Component abpRight481
 {
-  #keys: '[415136.0.1044211333]'
+  #keys: '[415136.0.1337646262]'
   BaseType: 'listActionBarPage'
   Properties:
   [
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_cmRight.def b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_cmRight681.def
similarity index 64%
rename from _Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_cmRight.def
rename to _Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_cmRight681.def
index d51521e..61ff038 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_cmRight.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_cmRight681.def
@@ -1,7 +1,7 @@
 Quintiq file version 2.0
-Component cmRight
+Component cmRight681
 {
-  #keys: '[415136.0.1044211335]'
+  #keys: '[415136.0.1337646267]'
   BaseType: 'listContextMenu'
   Properties:
   [
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_lstRight.def b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_lstRight.def
deleted file mode 100644
index 934b96b..0000000
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_lstRight.def
+++ /dev/null
@@ -1,57 +0,0 @@
-Quintiq file version 2.0
-Component lstRight
-{
-  #keys: '[415136.0.1044211331]'
-  BaseType: 'WebList'
-  Children:
-  [
-    Component deRight
-    {
-      #keys: '[415136.0.1044211332]'
-      BaseType: 'WebDataExtractor'
-      Properties:
-      [
-        DataType: 'external[MacroPlan]'
-        Source: 'MacroPlan'
-        Taborder: 0
-        Transformation: 'Product_MP'
-      ]
-    }
-    #child: abpRight
-    Component dslRight
-    {
-      #keys: '[415136.0.1044211334]'
-      BaseType: 'WebDataSetLevel'
-      Children:
-      [
-        #child: cmRight
-        Component dslRightChild
-        {
-          #keys: '[415136.0.1044211336]'
-          BaseType: 'WebDataSetLevel'
-          Properties:
-          [
-            Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ID","title":"ID","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ID"}}]'
-            ContextMenu: 'cmRight'
-            RelationFromParent: 'Child'
-            RelationRepeating: 'Child'
-            Taborder: 1
-          ]
-        }
-      ]
-      Properties:
-      [
-        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ID","title":"ID","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ID"}}]'
-        ContextMenu: 'cmRight'
-        SortCriteria: 'ID'
-        Taborder: 2
-      ]
-    }
-  ]
-  Properties:
-  [
-    CheckboxBehavior: 'include children'
-    SelectionCheckboxes: true
-    Taborder: 1
-  ]
-}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_lstRight590.def b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_lstRight590.def
new file mode 100644
index 0000000..375b58a
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_lstRight590.def
@@ -0,0 +1,44 @@
+Quintiq file version 2.0
+Component lstRight590
+{
+  #keys: '[415136.0.1337646259]'
+  BaseType: 'WebList'
+  Children:
+  [
+    Component deRight862
+    {
+      #keys: '[415136.0.1337646260]'
+      BaseType: 'WebDataExtractor'
+      Properties:
+      [
+        DataType: 'external[MacroPlan]'
+        Source: 'MacroPlan'
+        Taborder: 0
+        Transformation: 'Product_MP'
+      ]
+    }
+    #child: abpRight481
+    Component dslRight661
+    {
+      #keys: '[415136.0.1337646265]'
+      BaseType: 'WebDataSetLevel'
+      Children:
+      [
+        #child: cmRight681
+      ]
+      Properties:
+      [
+        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ID","title":"ID","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ID"}}]'
+        ContextMenu: 'cmRight681'
+        FixedFilter: "object.IsLeaf() and object.ParentID() <> '绱х己浠�'"
+        SortCriteria: 'ID'
+        Taborder: 2
+      ]
+    }
+  ]
+  Properties:
+  [
+    SelectionCheckboxes: true
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_pnlRight.def b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_pnlRight.def
index 9d1a1aa..bb26cd2 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_pnlRight.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Component_pnlRight.def
@@ -15,7 +15,7 @@
         Taborder: 0
       ]
     }
-    #child: lstRight
+    #child: lstRight590
   ]
   Properties:
   [
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight_OnCheckedChanged\043648.def" "b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight590_OnCheckedChanged\043623.def"
similarity index 76%
rename from "_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight_OnCheckedChanged\043648.def"
rename to "_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight590_OnCheckedChanged\043623.def"
index ca0de5a..9ddadea 100644
--- "a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight_OnCheckedChanged\043648.def"
+++ "b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight590_OnCheckedChanged\043623.def"
@@ -1,10 +1,10 @@
 Quintiq file version 2.0
-#parent: lstRight
+#parent: lstRight590
 Response OnCheckedChanged (
   structured[Product_MP] checkeditems
-) id:Response_lstRight_OnCheckedChanged_648
+) id:Response_lstRight590_OnCheckedChanged_623
 {
-  #keys: '[415136.0.1044211326]'
+  #keys: '[415136.0.1337440392]'
   CanBindMultiple: false
   DefinitionID: 'Responsedef_WebList_OnCheckedChanged'
   QuillAction
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight_OnCheckedChanged.def b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight590_OnCheckedChanged.def
similarity index 63%
rename from _Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight_OnCheckedChanged.def
rename to _Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight590_OnCheckedChanged.def
index 8133035..f4031ae 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight_OnCheckedChanged.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogZEDPPSMS64/Response_lstRight590_OnCheckedChanged.def
@@ -1,8 +1,8 @@
 Quintiq file version 2.0
-#parent: lstRight
-Response OnCheckedChanged () id:Response_lstRight_OnCheckedChanged
+#parent: lstRight590
+Response OnCheckedChanged () id:Response_lstRight590_OnCheckedChanged
 {
-  #keys: '[415136.0.1044211327]'
+  #keys: '[415136.0.1337440371]'
   CanBindMultiple: false
   DefinitionID: 'Responsedef_WebList_OnCheckedChanged'
   QuillAction
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_MatrixEditorTable\043384.def" "b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_MatrixEditorTable\043384.def"
index 90720bd..3368909 100644
--- "a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_MatrixEditorTable\043384.def"
+++ "b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_MatrixEditorTable\043384.def"
@@ -55,7 +55,7 @@
       ]
       Properties:
       [
-        Legend: 'Name'
+        Legend: 'ShowName'
         SortCriteria: 'Name'
         Taborder: 1
       ]
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelOperation\043653.def" "b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelOperation\043653.def"
index d5aaf2c..09398ef 100644
--- "a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelOperation\043653.def"
+++ "b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelOperation\043653.def"
@@ -19,5 +19,6 @@
   Properties:
   [
     Taborder: 3
+    Visible: false
   ]
 }
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormForecasts/Response_MacroPlanner_ListSalesDemands_MenuSplitUsingCurve_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormForecasts/Response_MacroPlanner_ListSalesDemands_MenuSplitUsingCurve_OnClick.def
index 5651dd8..456bd49 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormForecasts/Response_MacroPlanner_ListSalesDemands_MenuSplitUsingCurve_OnClick.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormForecasts/Response_MacroPlanner_ListSalesDemands_MenuSplitUsingCurve_OnClick.def
@@ -1,6 +1,6 @@
 Quintiq file version 2.0
 #parent: ListSalesDemands
-Response OnClick () id:Response_MacroPlanner_ListSalesDemands_MenuSplitUsingCurve_OnClick
+Response OnClick () id:Response_ListSalesDemands_MenuSplitUsingCurve_OnClick
 {
   #keys: '[414996.1.245583277]'
   CanBindMultiple: false
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_MatrixEditorTable\043791.def" "b/_Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_MatrixEditorTable\043791.def"
index 10976ca..bb0a572 100644
--- "a/_Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_MatrixEditorTable\043791.def"
+++ "b/_Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_MatrixEditorTable\043791.def"
@@ -55,7 +55,7 @@
       ]
       Properties:
       [
-        Legend: 'Name'
+        Legend: 'ShowName'
         SortCriteria: 'Name'
         Taborder: 1
       ]
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_PanelOperation\043603.def" "b/_Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_PanelOperation\043603.def"
index 49efc82..bf7a41d 100644
--- "a/_Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_PanelOperation\043603.def"
+++ "b/_Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_PanelOperation\043603.def"
@@ -19,5 +19,6 @@
   Properties:
   [
     Taborder: 2
+    Visible: false
   ]
 }
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def
index c29768a..6c6f4ef 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def
@@ -55,7 +55,7 @@
       ]
       Properties:
       [
-        Legend: 'Name'
+        Legend: 'ShowName'
         SortCriteria: 'Name'
         Taborder: 1
       ]
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_PanelOperation.def b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_PanelOperation.def
index 7addb7b..5bd5235 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_PanelOperation.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_PanelOperation.def
@@ -19,5 +19,6 @@
   Properties:
   [
     Taborder: 2
+    Visible: false
   ]
 }

--
Gitblit v1.9.3