From eac0fc61c018d47aec7e5e8ba20214cd895e2521 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Fri, 28 Aug 2020 14:59:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E6=AE=8A=E8=A1=A5=E7=82=B9=E5=88=86?= =?UTF-8?q?=E6=88=90=E9=87=91=E9=A2=9D=E5=8A=9F=E8=83=BD=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompanyStatementPoolController.class.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Application/Admin/Controller/CompanyStatementPoolController.class.php b/Application/Admin/Controller/CompanyStatementPoolController.class.php index 25d7cecc0..fb4052fea 100644 --- a/Application/Admin/Controller/CompanyStatementPoolController.class.php +++ b/Application/Admin/Controller/CompanyStatementPoolController.class.php @@ -351,11 +351,19 @@ class CompanyStatementPoolController extends ThinkController $va['d_statement_money'] = "=D{$line}*(F{$line})"; } }else{ - $va['d_statement_money'] = round($va['pay_amount']*($va['ratio']+$va['increment_ratio'])*(100-$va['fax_ratio'])/100/100,2); + if ($v['withdraw_type'] != 3) { + $va['d_statement_money'] = round($va['pay_amount']*($va['ratio']+$va['increment_ratio'])*(100-$va['fax_ratio'])/100/100,2); - $count['platform_amount'] += $va['pay_amount']; + $count['platform_amount'] += $va['pay_amount']; - $count['d_statement_money'] += $va['d_statement_money']; + $count['d_statement_money'] += $va['d_statement_money']; + } else { + $va['d_statement_money'] = round(($va['pay_amount']*($va['increment_ratio']))/100,2); + + $count['platform_amount'] += $va['pay_amount']; + + $count['d_statement_money'] += $va['d_statement_money']; + } } } $v['settlement_contact'] = $Partner[$v['company_id']];