xiaoding721
2024-10-25 d5c074b9e2daa5030a8e730a30d2ed31c8169e7d
_Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Response_pSelectionBudget_dhBaseVersionBudget_OnDataChanged.def
@@ -10,10 +10,13 @@
  {
    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" )){
          dhDateUnitBudget.Data( "W" );
        }else{
          dhDateUnitBudget.Data( "M" );
        }
      }
    *]
  }