From b1a0a49947bc7c9806f4d3b6277375ef543dbccf Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 14 十一月 2024 18:19:14 +0800
Subject: [PATCH] 物流报表部分费用支持跨月

---
 _Main/BL/Type_CCEngineLogisticsCostReport/Method_GenerateColumn.qbl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport/Method_GenerateColumn.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport/Method_GenerateColumn.qbl
index 880436e..562bcfe 100644
--- a/_Main/BL/Type_CCEngineLogisticsCostReport/Method_GenerateColumn.qbl
+++ b/_Main/BL/Type_CCEngineLogisticsCostReport/Method_GenerateColumn.qbl
@@ -14,7 +14,7 @@
     for( start := startofyear; start < startofnextyear; start := start.StartOfNextMonth() ){
       periodtime := start.Date();
       periodname := periodtime.Format( "M2/D2/Y" );
-      this.Column( relnew, Name := periodname, StartDate := periodtime );
+      this.Column( relnew, Name := periodname, StartDate := periodtime, EndDate := ( start.StartOfNextMonth() - Duration::Days( 1 ) ).Date() );
     }
   *]
 }

--
Gitblit v1.9.3