From ed070d695972cadcf9b6bbfe9e779aa5a0850125 Mon Sep 17 00:00:00 2001 From: lazhen <17772815105@139.com> Date: 星期三, 09 十月 2024 09:15:28 +0800 Subject: [PATCH] 库存汇总报表数据逻辑bug --- _Main/BL/Type_MachiningPipelineReport/Method_GenerateColumn.qbl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_Main/BL/Type_MachiningPipelineReport/Method_GenerateColumn.qbl b/_Main/BL/Type_MachiningPipelineReport/Method_GenerateColumn.qbl index 8a122c3..c4e150b 100644 --- a/_Main/BL/Type_MachiningPipelineReport/Method_GenerateColumn.qbl +++ b/_Main/BL/Type_MachiningPipelineReport/Method_GenerateColumn.qbl @@ -17,13 +17,13 @@ periodtime := period.StartDate(); periodname := periodtime.Format( "M2/D2/Y" ); - this.Column( relnew, Name := periodname, StartDate := periodtime, EndDate := periodtime, CCAssemblyPlanQty := 0, DLAssemblyPlanQty := 0, TimeUnit := Translations::MP_GlobalParameters_Day() ); + this.Column( relnew, Name := periodname, StartDate := periodtime, EndDate := periodtime, TimeUnit := Translations::MP_GlobalParameters_Day() ); } if( timeunit = 'All' or timeunit = Translations::MP_GlobalParameters_Week() ){ if( period.StartDate() = weekstart ){ weekperiodname := weekstart.Format( "M2/D2/Y" ); - this.Column( relnew, Name := weekperiodname, StartDate := weekstart, EndDate := ( weekstart + Duration::Days( 6 ) ).Date(), CCAssemblyPlanQty := 0, DLAssemblyPlanQty := 0, TimeUnit := Translations::MP_GlobalParameters_Week() ); + this.Column( relnew, Name := weekperiodname, StartDate := weekstart, EndDate := ( weekstart + Duration::Days( 6 ) ).Date(), TimeUnit := Translations::MP_GlobalParameters_Week() ); weekstart := ( weekstart + Duration::Days( 7 ) ).Date(); } } -- Gitblit v1.9.3