From 7edeca2ed3587a88d7f94cacf05e49c8db610fb0 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 10 十月 2024 17:54:26 +0800
Subject: [PATCH] 发动机物流成本部分bug处理
---
_Main/BL/Type_MachiningPipelineReport/Method_GenerateColumn.qbl | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/_Main/BL/Type_MachiningPipelineReport/Method_GenerateColumn.qbl b/_Main/BL/Type_MachiningPipelineReport/Method_GenerateColumn.qbl
index a421f47..2bac9e3 100644
--- a/_Main/BL/Type_MachiningPipelineReport/Method_GenerateColumn.qbl
+++ b/_Main/BL/Type_MachiningPipelineReport/Method_GenerateColumn.qbl
@@ -30,10 +30,9 @@
}
if( timeunit = 'All' or timeunit = Translations::MP_GlobalParameters_Week() ){
for( start := startdate; start <= enddate; start := start.StartOfNextWeek() ){
- periodname := start.Format( "M2/D2/Y" );
weekend := ( start.StartOfNextWeek() - Duration::Days( 1 ) ).Date();
- this.Column( relnew, Name := periodname, StartDate := start, EndDate := weekend, TimeUnit := Translations::MP_GlobalParameters_Week() );
+ this.Column( relnew, Name := weekend.Format( "M2/D2/Y" ), StartDate := start, EndDate := weekend, TimeUnit := Translations::MP_GlobalParameters_Week() );
}
}
}
--
Gitblit v1.9.3