From fc75b7d81da71aef4e06c6e2216932d02fffcf88 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Tue, 22 Dec 2020 15:23:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompanyStatementPoolController.class.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Application/Admin/Controller/CompanyStatementPoolController.class.php b/Application/Admin/Controller/CompanyStatementPoolController.class.php index c389f9d8a..031290dda 100644 --- a/Application/Admin/Controller/CompanyStatementPoolController.class.php +++ b/Application/Admin/Controller/CompanyStatementPoolController.class.php @@ -522,6 +522,7 @@ class CompanyStatementPoolController extends ThinkController } //本周未结算流水合计 if(!$is_statement){ + $count['pool_lack_count'] += $val['pay_amount']; if($is_export){ $this->setlackCount($line); } @@ -542,12 +543,12 @@ class CompanyStatementPoolController extends ThinkController } $count['week_money'] += $va['week_amount']; $count['sum_money'] += $va['week_amount']; - if(!$is_statement){ - $count['pool_lack_count'] += $va['week_amount']; - $count['st_lack_count'] += $va['week_amount']; - }else{ - $count['st_count'] += $va['week_amount']; - } + } + + if(!$is_statement){ + $count['st_lack_count'] += $v['statement_money']; + }else{ + $count['st_count'] += $v['statement_money']; } $v['row'] = $row;