From ab5176a7074144e411c00a409010422a3ee5c98a Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期五, 15 十一月 2024 16:50:55 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

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

diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl
index 493fd05..7abb0da 100644
--- a/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl
+++ b/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl
@@ -22,10 +22,12 @@
     
     table                     := selectobject(owner, CCEngineLogisticsCostReport, report, report.ID() = name );
     if( isnull( table ) ){
-      owner.CCEngineLogisticsCostReport( relnew, ID := name, Name := name );
+      table                   := owner.CCEngineLogisticsCostReport( relnew, ID := name, Name := name );
     }
+    table.Column( relflush );
+    table.Row( relflush );
     showname                  := name + 'Show';
-    if( exists( owner, CCEngineLogisticsCostReport, report, report.ID() = showname and report.IsShow() ) ){
+    if( not exists( owner, CCEngineLogisticsCostReport, report, report.ID() = showname and report.IsShow() ) ){
       owner.CCEngineLogisticsCostReport( relnew, ID := showname, Name := name, IsShow := true );
     }
     if( isnull( owner.CCEngineLogisticsCostSearch() ) ){

--
Gitblit v1.9.3