From b63369cdba33fccad7676869ac385fadce233286 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Wed, 29 Jul 2020 18:54:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BB=93=E7=AE=97=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/CompanyStatementPoolController.class.php | 5 +++-- Application/Admin/View/CompanyStatementPool/lists.html | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Application/Admin/Controller/CompanyStatementPoolController.class.php b/Application/Admin/Controller/CompanyStatementPoolController.class.php index ddde3be3b..91a8eeeb2 100644 --- a/Application/Admin/Controller/CompanyStatementPoolController.class.php +++ b/Application/Admin/Controller/CompanyStatementPoolController.class.php @@ -19,7 +19,8 @@ class CompanyStatementPoolController extends ThinkController public $WithdrawType = [ "0"=>"周结", "1"=>"月结", - "2"=>"下游个人补点" + "2"=>"下游个人补点", + "3"=>"其他", ]; public $VerifyStatus=[ "-2"=>"拒绝打款", @@ -174,7 +175,7 @@ class CompanyStatementPoolController extends ThinkController $v['oplist'] = $this->OpAuth($v); } - $count = $this->DBModel->field("count(id) count,SUM(statement_money) as statement_money")->where($map)->find(); + $count = $this->DBModel->field("count(id) count,SUM(statement_money) as statement_money,SUM(lack_statement_money) lack_statement_money")->where($map)->find(); // dd($count); $params['p'] = $page; $params['row'] = $row; diff --git a/Application/Admin/View/CompanyStatementPool/lists.html b/Application/Admin/View/CompanyStatementPool/lists.html index 4fabfb518..1ccc25ea1 100644 --- a/Application/Admin/View/CompanyStatementPool/lists.html +++ b/Application/Admin/View/CompanyStatementPool/lists.html @@ -157,7 +157,7 @@ 结算周期 是否打款 结算金额 - 结算流水 + 不结算金额 创建记录 审批状态 @@ -184,7 +184,7 @@ {$data.withdraw_type} {$data.is_payment_str} {$data.statement_money} - {$data.platform_amount} + {$data.lack_statement_money} {$data.create} @@ -217,7 +217,7 @@ - 合计结算总金额: {$count.statement_money}      + 合计结算总金额: {$count.statement_money}     不结算总金额:{$count.lack_statement_money}