diff --git a/Application/Home/Controller/WithdrawController.class.php b/Application/Home/Controller/WithdrawController.class.php
index 5474ceb60..574c398d4 100644
--- a/Application/Home/Controller/WithdrawController.class.php
+++ b/Application/Home/Controller/WithdrawController.class.php
@@ -26,11 +26,8 @@ class WithdrawController extends BaseController
$map = [];
-// $map['pay_time'] = strtotime($_REQUEST['start_time']);
-
$map["promote.id"] = get_pid();
$map['tab_company_statement_info.company_type'] = ['in',"1,2"];
-// $map['pay_type'] = 1;
if ($_REQUEST['pay_status'] || $_REQUEST['pay_status'] == '0') {
$map['pay_status'] = $_REQUEST['pay_status'];
@@ -146,6 +143,11 @@ var_dump(1);die();
$statemnt_info = json_decode($dbres['statement_info'],true);
$dbres['pay_time'] = date("Y-m-d H:i:s",$dbres['pay_time']);
+
+ $dbres['statement_begin_time'] = date("Y-m-d",$dbres['statement_begin_time']);
+ $dbres['statement_end_time'] = date("Y-m-d",$dbres['statement_end_time']);
+ $dbres['hletter_amount'] = convertAmountToCn($dbres['statement_money']);
+
// dump($company_info);
// dump($statemnt_info);die();
$rowspan = count($statemnt_info);
diff --git a/Application/Home/View/default/Public/promote_base.html b/Application/Home/View/default/Public/promote_base.html
index 9a7b62d91..f1b159ba4 100644
--- a/Application/Home/View/default/Public/promote_base.html
+++ b/Application/Home/View/default/Public/promote_base.html
@@ -83,8 +83,10 @@
结算中心
结算明细
提现记录
- 公司结算
-
+
+ 公司结算
+
+
diff --git a/Application/Home/View/default/Withdraw/index.html b/Application/Home/View/default/Withdraw/index.html
index 876f4eb37..8e0ac3c35 100644
--- a/Application/Home/View/default/Withdraw/index.html
+++ b/Application/Home/View/default/Withdraw/index.html
@@ -214,7 +214,9 @@
打款成功
- 提现
+
+ 提现
+
结算单详情
|
diff --git a/Application/Home/View/default/Withdraw/withdrawdetail.html b/Application/Home/View/default/Withdraw/withdrawdetail.html
index f32f06e82..d2750c2f7 100644
--- a/Application/Home/View/default/Withdraw/withdrawdetail.html
+++ b/Application/Home/View/default/Withdraw/withdrawdetail.html
@@ -163,25 +163,20 @@
+ 《{$data.company_name}》结算单
+ ({$data['statement_begin_time']|default="无"}-{$data['statement_end_time']|default="无"})
+  
- 公司名称 |
+
+ 结算周期 |
合作产品名称 |
平台总额(元) |
- 下游内团分成比例 |
+ 分成比例 |
补点比例 |
-
税费费率 |
- 分成金额/元 |
- 罚款 |
- 奖励 |
- 合计/元 |
+ 结算金额(元) |
- 对账人 |
- 月份 |
- 备注 |
-
- 操作 |
@@ -191,45 +186,151 @@
-
- {$data.company_name} |
- {$statemnt_info[0]['game_name']} |
- {$statemnt_info[0]['sum_money']} |
- 0{$statemnt_info[0]['ratio']} |
- 0{$statemnt_info[0]['increment_ratio']} |
- {$statemnt_info[0]['fax_ratio']} |
- {$statemnt_info[0]['pay_amount']} |
- {$data['fine']} |
- {$data['reward']} |
- {$data['pay_amount']} |
- {$company_info[0]['payee_name']|default="无"} |
- {$data['pay_time']} |
- {$data['remark']} |
-
- 查看详情
- |
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+ {$s['statement_begin_time']}-{$s['statement_end_time']} |
{$s['game_name']} |
{$s['sum_money']} |
0{$s['ratio']} |
0{$s['increment_ratio']} |
{$s['fax_ratio']} |
{$s['pay_amount']} |
-
- 查看详情
- |
-
-
- 开户名:{$company_info.payee_name|default="无"}  开户行:{$company_info.opening_bank|default="无"}  银行账户:{$company_info.bank_account|default="无"}  账户类型:无
+ | {$data['statement_begin_time']}-{$data['statement_end_time']} |
+ 罚款 |
+ {$data['fine']} |
+ |
+ |
+ |
+ {$data['fine']} |
+
+
+ {$data['statement_begin_time']}-{$data['statement_end_time']} |
+ 奖励 |
+ {$data['reward']} |
+ |
+ |
+ |
+ {$data['reward']} |
+
+
+
+ 合计
+ |
+
+ {$data['pay_amount']}
+ |
+
+ |
+
+ {$data['statement_money']}
+ |
+
+
+
+
+ 支付金额(大写):
+ |
+
+ {$data['hletter_amount']}
+ |
+
+
+
+ 备注:
+ |
+
+ 结算金额=平台总额*(分成比例+补点比例)*(1-税费费率)
|
+
+
+ |
+ 甲方: |
+ |
+ 乙方: |
+ {$company_info['partner']} |
+ |
+
+
+ |
+ 联系人: |
+ |
+ 联系人: |
+ {$company_info['link_man']} |
+ |
+
+
+
+ |
+ 联系电话: |
+ |
+ 联系电话: |
+ {$company_info['link_phone']} |
+ |
+
+
+
+ |
+ 开票项目 |
+ |
+ 邮寄地址 |
+ |
+ |
+
+
+
+ |
+ 发票类型 |
+ |
+ 请汇入此账号 |
+ {$company_info['ali_account']} |
+ |
+
+
+
+ |
+ 户名 |
+ {$company_info['link_phone']} |
+ |
+
+
+
+ |
+ 账号 |
+ {$company_info['bank_account']} |
+ |
+
+
+
+ |
+ 开户行 |
+ {$company_info['opening_bank']} |
+ |
+
+
+
@@ -313,9 +414,9 @@