lihongji
2024-10-13 2c8d3e38df0004e30ea6208d17cf84c1e68989bb
_Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Response_pSelectionPP_dhBaseVersionPP_OnDataChanged.def
@@ -5,16 +5,19 @@
  #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())){
        name := this.Data().Name().ReplaceAll( "VWED","" ).ReplaceAll( "vwed","");
        if( name.LikeUserLocale( "W" )){
          dhDateUnitPP.Data( "W" );
        }else{
          dhDateUnitPP.Data( "M" );
        }
      }
    *]
    GroupServerCalls: false
  }
}