From 221cf86c35ab100bb8d6af6a066c195b3c5560f2 Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期六, 07 十月 2023 16:27:13 +0800
Subject: [PATCH] 填产优化

---
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def |  189 ++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 185 insertions(+), 4 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def
index 3425275..911ba95 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def
@@ -13,8 +13,10 @@
       [
         AllowEmpty: true
         DataBinding: 'DataHolderFillingCapacityOrder.Data.ProductID'
+        Enabled: false
         Label: '鍟嗗搧缂栫爜'
         Taborder: 0
+        Visible: false
       ]
     }
     Component dropDownStringListSalesSegmentName id:dropDownStringListSalesSegmentName_325
@@ -25,8 +27,10 @@
       [
         AllowEmpty: true
         DataBinding: 'DataHolderFillingCapacityOrder.Data.SalesSegmentName'
+        Enabled: false
         Label: '閿�鍞儴闂�'
         Taborder: 1
+        Visible: false
       ]
     }
     Component dropDownStringListStockPointID id:dropDownStringListStockPointID_801
@@ -37,8 +41,10 @@
       [
         AllowEmpty: true
         DataBinding: 'DataHolderFillingCapacityOrder.Data.StockingPointID'
+        Enabled: false
         Label: '搴撳瓨鐐�'
         Taborder: 2
+        Visible: false
       ]
     }
     Component dropDownStringListCustomer id:dropDownStringListCustomer_957
@@ -49,8 +55,10 @@
       [
         AllowEmpty: true
         DataBinding: 'DataHolderFillingCapacityOrder.Data.Customer'
+        Enabled: false
         Label: '瀹㈡埛'
         Taborder: 3
+        Visible: false
       ]
     }
     Component edtQuantity id:edtQuantity_995
@@ -62,7 +70,7 @@
         DataBinding: 'DataHolderFillingCapacityOrder.Data.Quantity'
         Label: '鏁伴噺'
         Mask: 'REAL'
-        Taborder: 4
+        Taborder: 12
       ]
     }
     Component dropDownStringListUnitOfMeasureName id:dropDownStringListUnitOfMeasureName_750
@@ -73,9 +81,11 @@
       [
         AllowEmpty: true
         DataBinding: 'DataHolderFillingCapacityOrder.Data.UnitOfMeasureName'
+        Enabled: false
         Label: '鏁伴噺鍗曚綅'
         Strings: 'UnitName'
-        Taborder: 5
+        Taborder: 4
+        Visible: false
       ]
     }
     Component edtSalesAmount id:edtSalesAmount_608
@@ -87,7 +97,7 @@
         DataBinding: 'DataHolderFillingCapacityOrder.Data.SalesAmount'
         Label: '閿�鍞'
         Mask: 'NUMBER'
-        Taborder: 6
+        Taborder: 13
       ]
     }
     Component dsDemandDate
@@ -98,7 +108,7 @@
       [
         DataBinding: 'DataHolderFillingCapacityOrder.Data.DemandDate'
         Label: '闇�姹傛棩鏈�'
-        Taborder: 8
+        Taborder: 15
       ]
     }
     Component dsForecastDemandDate
@@ -109,9 +119,180 @@
       [
         DataBinding: 'DataHolderFillingCapacityOrder.Data.ForecastDemandDate'
         Label: '棰勬湡闇�姹傛棩鏈�'
+        Taborder: 14
+      ]
+    }
+    Component ddlSalesSegment
+    {
+      #keys: '[414702.0.525040441]'
+      BaseType: 'WebDropDownList'
+      Databinding: 'SalesSegment_MP'
+      Children:
+      [
+        Component deSalesSegment
+        {
+          #keys: '[414702.0.525040443]'
+          BaseType: 'WebDataExtractor'
+          Properties:
+          [
+            DataType: 'structured[SalesSegment_MP]'
+            FixedFilter: 'object.Child(relsize)=0'
+            Source: 'ApplicationMacroPlanner.DataHolderSalesSegment'
+            Taborder: 0
+            Transformation: 'Elements'
+          ]
+        }
+      ]
+      Properties:
+      [
+        DisplayField: 'Name'
+        Label: '閿�鍞儴闂�'
+        Taborder: 5
+      ]
+    }
+    Component ddlProduct_MP
+    {
+      #keys: '[414702.0.525462899]'
+      BaseType: 'WebDropDownList'
+      Databinding: 'Product_MP'
+      Children:
+      [
+        Component deContent
+        {
+          #keys: '[414702.0.525462901]'
+          BaseType: 'WebDataExtractor'
+          Properties:
+          [
+            DataType: 'structured[Product_MP]'
+            FixedFilter: 'not object.IsSystem()'
+            Source: 'ApplicationMacroPlanner.DataHolderProduct'
+            Taborder: 0
+            Transformation: 'Elements'
+          ]
+        }
+      ]
+      Properties:
+      [
+        DisplayField: 'Name'
+        Label: '浜у搧'
+        Taborder: 6
+      ]
+    }
+    Component ddlStockingPoint_MP
+    {
+      #keys: '[414702.0.525462922]'
+      BaseType: 'WebDropDownList'
+      Databinding: 'StockingPoint_MP'
+      Children:
+      [
+        Component deContent345
+        {
+          #keys: '[414702.0.525462924]'
+          BaseType: 'WebDataExtractor'
+          Properties:
+          [
+            DataType: 'structured[StockingPoint_MP]'
+            FixedFilter: 'not object.IsSystem()'
+            Source: 'ApplicationMacroPlanner.DataHolderStockingPoint'
+            Taborder: 0
+            Transformation: 'Elements'
+          ]
+        }
+      ]
+      Properties:
+      [
+        DisplayField: 'Name'
+        Label: '搴撳瓨鐐�'
         Taborder: 7
       ]
     }
+    Component ddlBusinessType
+    {
+      #keys: '[414702.0.525012300]'
+      BaseType: 'WebDropDownList'
+      Databinding: 'BusinessType'
+      Children:
+      [
+        Component deContent989
+        {
+          #keys: '[414702.0.525012302]'
+          BaseType: 'WebDataExtractor'
+          Properties:
+          [
+            DataType: 'GlobalOTDTable'
+            Source: 'GlobalOTDTable'
+            Taborder: 0
+            Transformation: 'BusinessType'
+          ]
+        }
+      ]
+      Properties:
+      [
+        DisplayField: 'BusinessTypeName'
+        Label: '浜嬩笟閮�'
+        Taborder: 8
+      ]
+    }
+    Component ddlUnitOfMeasure_MP
+    {
+      #keys: '[414702.0.525669735]'
+      BaseType: 'WebDropDownList'
+      Databinding: 'UnitOfMeasure_MP'
+      Children:
+      [
+        Component deContent703
+        {
+          #keys: '[414702.0.525669737]'
+          BaseType: 'WebDataExtractor'
+          Properties:
+          [
+            DataType: 'MacroPlan'
+            Source: 'MacroPlan'
+            Taborder: 0
+            Transformation: 'UnitOfMeasure_MP'
+          ]
+        }
+      ]
+      Properties:
+      [
+        DisplayField: 'Name'
+        Label: '鍗曚綅'
+        Taborder: 9
+      ]
+    }
+    Component efCustomerName
+    {
+      #keys: '[414702.0.525734924]'
+      BaseType: 'WebEditField'
+      Properties:
+      [
+        DataBinding: 'DataHolderFillingCapacityOrder.Data.Customer'
+        Label: 'Customer name'
+        Taborder: 10
+      ]
+    }
+    Component efCustomID
+    {
+      #keys: '[414702.0.525734943]'
+      BaseType: 'WebEditField'
+      Properties:
+      [
+        Label: 'Customer ID'
+        Taborder: 11
+      ]
+    }
+    Component ddslOrderType
+    {
+      #keys: '[414702.0.526239841]'
+      BaseType: 'WebDropDownStringList'
+      Properties:
+      [
+        DataBinding: 'DataHolderFillingCapacityOrder.Data.OrderType'
+        Label: '璁㈠崟绫诲瀷'
+        Strings: '鍙嶇;鎺堟潈'
+        Taborder: 16
+      ]
+    }
   ]
   Properties:
   [

--
Gitblit v1.9.3