From 9ee4859010d71856ff97a3fb87f2aae1b6ae48f1 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期三, 04 九月 2024 16:15:56 +0800
Subject: [PATCH] 修复需求对比的一些bug

---
 _Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Response_pSelectionPP_dhBaseVersionPP_OnDataChanged.def |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Response_pSelectionPP_dhBaseVersionPP_OnDataChanged.def b/_Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Response_pSelectionPP_dhBaseVersionPP_OnDataChanged.def
index 6033e79..9a1bc55 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Response_pSelectionPP_dhBaseVersionPP_OnDataChanged.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Response_pSelectionPP_dhBaseVersionPP_OnDataChanged.def
@@ -5,16 +5,18 @@
   #keys: '[414996.1.55350834]'
   CanBindMultiple: false
   DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
-  GroupServerCalls: true
   QuillAction
   {
     Body:
     [*
-      if( this.Name().LikeUserLocale( "M" )){
-        dhDateUnit.Data( "M" );
-      }else{
-        dhDateUnit.Data( "W" );
+      if( not isnull( this.Data())){
+        if( this.Data().Name().LikeUserLocale( "M" )){
+          dhDateUnitPP.Data( "M" ); 
+        }else{
+          dhDateUnitPP.Data( "W" );
+        }
       }
     *]
+    GroupServerCalls: false
   }
 }

--
Gitblit v1.9.3