From 868889fe5426a91ecd8f8248ef966642903b84f3 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 22 Sep 2020 14:10:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=87=E6=80=BB=E7=BC=96=E8=BE=91=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompanyStatementPoolController.class.php | 24 ++ .../View/CompanyStatementPool/viewPuPool.html | 311 +++++++++--------- 2 files changed, 184 insertions(+), 151 deletions(-) diff --git a/Application/Admin/Controller/CompanyStatementPoolController.class.php b/Application/Admin/Controller/CompanyStatementPoolController.class.php index 3444c95e7..e9151a127 100644 --- a/Application/Admin/Controller/CompanyStatementPoolController.class.php +++ b/Application/Admin/Controller/CompanyStatementPoolController.class.php @@ -1094,4 +1094,28 @@ class CompanyStatementPoolController extends ThinkController return $resarr; } + public function editCompanyStatementPool() { + + $data = $_POST; + + $ratio = $data['ratio']; + $refund = $data['refund']; + $increment_ratio = $data['increment_ratio']; + $sum_money = $data['sum_money']; + + foreach ($ratio as $key => $value) { + + M("company_statement_info","tab_")->where(['id'=>$key])->find(); + foreach ($value as $k => $v) { + + + + } + + } + + dump($data); + + } + } diff --git a/Application/Admin/View/CompanyStatementPool/viewPuPool.html b/Application/Admin/View/CompanyStatementPool/viewPuPool.html index 3c64a967c..721ea2646 100644 --- a/Application/Admin/View/CompanyStatementPool/viewPuPool.html +++ b/Application/Admin/View/CompanyStatementPool/viewPuPool.html @@ -95,6 +95,7 @@
+
@@ -134,174 +135,182 @@ - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - + + + + + - - - - - - - - + + - - - + + - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + +
{$key-0+1}{$com.company_name}
{$key-0+1}{$com.company_name}{$com['statement_info'][0]['account']}-{$com.company_info.company_belong_str}{$com.company_info.company_relation_str}{$com.company_info.nickname}{$com.company_info.company_type_str}{$com['statement_info'][0]['game_list'][0]['game_name']}{$com['statement_info'][0]['game_list'][0]['game_type_name']}{$com['statement_info'][0]['game_list'][0]['statement_begin_time']}-{$com['statement_info'][0]['game_list'][0]['statement_end_time']}{$com['statement_info'][0]['game_list'][0]['pay_amount']}%%{$com['statement_info'][0]['game_list'][0]['sum_money']}{$com['reward']}{$com['fine']}{$com['statement_money']}----------{$com.company_info.payee_name} {$com.company_info.bank_account}{$com.company_info.opening_bank}{$com['statement_info'][0]['account']}-{$com.company_info.ali_user}{$com.company_info.ali_account}{$com.remark}{$com.company_info.company_belong_str}{$com.company_info.company_relation_str} - - 不结算 - - {$com.company_info.nickname}{$com.company_info.company_type_str}
{$com['statement_info'][0]['game_list'][0]['game_name']}{$com['statement_info'][0]['game_list'][0]['game_type_name']}{$com['statement_info'][0]['game_list'][0]['statement_begin_time']}-{$com['statement_info'][0]['game_list'][0]['statement_end_time']}{$com['statement_info'][0]['game_list'][0]['pay_amount']}%%{$com['statement_info'][0]['game_list'][0]['sum_money']} + {$com['reward']}{$com['fine']}{$com['statement_money']}
{$game['game_name']}{$game['game_type_name']}{$game['statement_begin_time']}-{$game['statement_end_time']}{$game['pay_amount']}%%{$game['sum_money']}
----------{$com.company_info.payee_name} {$com.company_info.bank_account}{$com.company_info.opening_bank} {$com.company_info.ali_user}{$com.company_info.ali_account}{$com.remark} + + 不结算 + +
{$account['account']}{$account['game_list'][0]['game_name']}{$account['game_list'][0]['game_type_name']}{$account['game_list'][0]['statement_begin_time']}-{$account['game_list'][0]['statement_end_time']}{$account['game_list'][0]['pay_amount']}
{$game['game_name']}{$game['game_type_name']}{$game['statement_begin_time']}-{$game['statement_end_time']}{$game['pay_amount']} %%{$account['game_list'][0]['sum_money']}-------
{$game['game_name']}{$game['game_type_name']}{$game['statement_begin_time']}-{$game['statement_end_time']}{$game['pay_amount']}%%{$game['sum_money']}
%%{$game['sum_money']}
合计:{$count.platform_amount}{$count.sum_money}
{$account['account']}{$account['game_list'][0]['game_name']}{$account['game_list'][0]['game_type_name']}{$account['game_list'][0]['statement_begin_time']}-{$account['game_list'][0]['statement_end_time']}{$account['game_list'][0]['pay_amount']}%%{$account['game_list'][0]['sum_money']}-------
{$game['game_name']}{$game['game_type_name']}{$game['statement_begin_time']}-{$game['statement_end_time']}{$game['pay_amount']}%%{$game['sum_money']}
合计:{$count.platform_amount}
{$count.sum_money}
+
+ + +
+