From c6e8187d8a90489b985609fe7d94d4996ecee491 Mon Sep 17 00:00:00 2001 From: lihongji <3117313295@qq.com> Date: 星期五, 15 十一月 2024 16:53:26 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' 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