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}