From 9234919180406951f60612688c4fcc975d5e076d Mon Sep 17 00:00:00 2001 From: chenzhi Date: Wed, 26 Aug 2020 11:26:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompanyStatementPoolController.class.php | 10 +++++----- .../Admin/View/CompanyStatementPool/viewPuPool.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Application/Admin/Controller/CompanyStatementPoolController.class.php b/Application/Admin/Controller/CompanyStatementPoolController.class.php index c0a72e2de..c216d9866 100644 --- a/Application/Admin/Controller/CompanyStatementPoolController.class.php +++ b/Application/Admin/Controller/CompanyStatementPoolController.class.php @@ -261,12 +261,12 @@ class CompanyStatementPoolController extends ThinkController if($is_export){ if($withdraw != 3) { - $val['sum_money'] = "=J{$line}*(K{$line}+L{$line})"; + $val['sum_money'] = "=K{$line}*(L{$line}+M{$line})"; } else { - $val['sum_money'] = "=J{$line}*(L{$line})"; + $val['sum_money'] = "=K{$line}*(M{$line})"; } // $val['sum_money'] = "=J{$line}*(K{$line}+L{$line})"; - $v['statement_money'] .= "M{$line}+"; + $v['statement_money'] .= "N{$line}+"; }else{ $count['platform_amount'] += $val['pay_amount']; $count['sum_money'] += $val['sum_money']; @@ -291,8 +291,8 @@ class CompanyStatementPoolController extends ThinkController } if($is_export){ - $count["platform_amount"] = "=SUM(J2:J".$line.")"; - $count["sum_money"] = "=SUM(P2:P".$line.")"; + $count["platform_amount"] = "=SUM(K2:K".$line.")"; + $count["sum_money"] = "=SUM(Q2:Q".$line.")"; } $this->assign("data",$infolist); $this->assign("count",$count); diff --git a/Application/Admin/View/CompanyStatementPool/viewPuPool.html b/Application/Admin/View/CompanyStatementPool/viewPuPool.html index 9fec87620..8c9e7c04e 100644 --- a/Application/Admin/View/CompanyStatementPool/viewPuPool.html +++ b/Application/Admin/View/CompanyStatementPool/viewPuPool.html @@ -268,7 +268,7 @@ - 合计: + 合计: {$count.platform_amount}