From 688d2094d1fc55d80f48e8b9887386f0df75b2ce Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期二, 24 九月 2024 17:43:16 +0800
Subject: [PATCH] 发动机成品库存接口同步数据找不到对应产品

---
 _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Component_pnlContent.def |   32 ++++++++++++++++++++++++++++++--
 1 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Component_pnlContent.def
index c499774..94aa80b 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Component_pnlContent.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Component_pnlContent.def
@@ -9,6 +9,7 @@
     {
       #keys: '[415136.0.735612418]'
       BaseType: 'WebDropDownList'
+      Databinding: 'Unit'
       Children:
       [
         Component deUnit
@@ -18,7 +19,6 @@
           Properties:
           [
             DataType: 'MacroPlan'
-            FixedFilter: "object.CapacityType() = 'Time'"
             Source: 'MacroPlan'
             Taborder: 0
             Transformation: 'Unit'
@@ -28,7 +28,8 @@
       Properties:
       [
         DataBinding: 'dhDialogData.Data.Unit'
-        Label: 'Line'
+        DisplayField: 'Name'
+        Label: 'Unit'
         Taborder: 0
       ]
     }
@@ -36,6 +37,7 @@
     {
       #keys: '[415136.0.738250065]'
       BaseType: 'WebDropDownList'
+      Databinding: 'Product_MP'
       Children:
       [
         Component deProductFirst
@@ -54,6 +56,7 @@
       Properties:
       [
         DataBinding: 'dhDialogData.Data.ProductFirst'
+        DisplayField: 'Name'
         Label: 'Product1'
         Taborder: 1
       ]
@@ -62,6 +65,7 @@
     {
       #keys: '[415136.0.738250142]'
       BaseType: 'WebDropDownList'
+      Databinding: 'Product_MP'
       Children:
       [
         Component deProductSecond
@@ -80,6 +84,7 @@
       Properties:
       [
         DataBinding: 'dhDialogData.Data.ProductSecond'
+        DisplayField: 'Name'
         Label: 'Product2'
         Taborder: 2
       ]
@@ -92,9 +97,32 @@
       [
         DataBinding: 'dhDialogData.Data.ChangeLossNr'
         Label: 'Change loss number'
+        Min: '0'
+        Taborder: 5
+      ]
+    }
+    Component dsStartDate
+    {
+      #keys: '[415136.0.1132411785]'
+      BaseType: 'WebDateSelector'
+      Properties:
+      [
+        DataBinding: 'dhDialogData.Data.StartDate'
+        Label: 'Start date'
         Taborder: 3
       ]
     }
+    Component dsEndDate
+    {
+      #keys: '[415136.0.1132411840]'
+      BaseType: 'WebDateSelector'
+      Properties:
+      [
+        DataBinding: 'dhDialogData.Data.EndDate'
+        Label: 'End date'
+        Taborder: 4
+      ]
+    }
   ]
   Properties:
   [

--
Gitblit v1.9.3