xiaoding721
2024-10-17 ffb76f7a9a094cd200367d23b6822f4c1f7c873c
_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" );
        }
      }
    *]
  }