lazhen
2024-11-06 332b8d3da45f20ffa4470e6b07109ec3babd862d
Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg
已重命名1个文件
已修改4个文件
16 ■■■■■ 文件已修改
_Main/BL/Type_LocalColumn/Attribute_DisplayDate.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalColumn/Function_CalcWeekDate.qbl 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form701/Component_MatrixEditor.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormAnnualPlanReport/Component_MatrixEditor#127.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanComparison/Component_MatrixEditor#988.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalColumn/Attribute_DisplayDate.qbl
ÎļþÃû´Ó _Main/BL/Type_LocalColumn/Attribute_WeekDate.qbl ÐÞ¸Ä
@@ -1,6 +1,6 @@
Quintiq file version 2.0
#parent: #root
Attribute WeekDate
Attribute DisplayDate
{
  #keys: '3[414996.1.170054736][414996.1.170054735][414996.1.170054737]'
  ValueType: String
_Main/BL/Type_LocalColumn/Function_CalcWeekDate.qbl
@@ -11,10 +11,16 @@
      stringDate := date.Format( "Y/M2/D2");
      perSuffx := ifexpr( this.CustomDate().Week() < 10,"0"+[String]this.CustomDate().Week(),[String]this.CustomDate().Week() );
      value := "KW" + perSuffx + " - " + stringDate;
    }else if( this.TimeUnit() = "Month" ){
      us_locale := Locale::Construct( 'en_us' );
      date := this.CustomDate();
      stringDate := date.Format( "Y: MM / M" + "月" ,us_locale )
      value := stringDate;
    }else{
      value := this.CustomDate().Format( "Y/M2/D2" );
    }
    
    this.WeekDate( value );
    this.DisplayDate( value );
  *]
}
_Main/UI/MacroPlannerWebApp/Component_Form701/Component_MatrixEditor.def
@@ -83,7 +83,7 @@
      ]
      Properties:
      [
        Legend: 'Date'
        Legend: 'DisplayDate'
        SortCriteria: 'Index'
        Taborder: 2
      ]
_Main/UI/MacroPlannerWebApp/Component_FormAnnualPlanReport/Component_MatrixEditor#127.def
@@ -83,7 +83,7 @@
      ]
      Properties:
      [
        Legend: 'WeekDate'
        Legend: 'DisplayDate'
        SortCriteria: 'Index'
        Taborder: 2
      ]
_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanComparison/Component_MatrixEditor#988.def
@@ -83,7 +83,7 @@
      ]
      Properties:
      [
        Legend: 'Date'
        Legend: 'DisplayDate'
        SortCriteria: 'Index'
        Taborder: 2
      ]