diff --git a/Application/Admin/Controller/CompanyStatementController.class.php b/Application/Admin/Controller/CompanyStatementController.class.php
index 5288057f2..6b31b7964 100644
--- a/Application/Admin/Controller/CompanyStatementController.class.php
+++ b/Application/Admin/Controller/CompanyStatementController.class.php
@@ -306,6 +306,17 @@ class CompanyStatementController extends ThinkController
}
}
}
+ public function delStatement(){
+ if(!isset($_REQUEST['ids'])) $this->error("参数错误");
+ $ids = $_REQUEST['ids'];
+ $dbres = $this->DBModel->where("id in ({$ids}) and verify_status = 0")->delete();
+ addOperationLog(['op_type'=>2,'key'=>$ids,"op_name"=>"删除结算单",'url'=>U('lists')]);
+ $this->ajaxReturn(array(
+ 'status' => 1,
+ "info"=>"删除成功"
+ ));
+ }
+
//审批通过
public function adminAgree(){
$this->setVerifyStatus(0,1,"admin");
@@ -729,9 +740,9 @@ class CompanyStatementController extends ThinkController
}
}
//新增结算
- //获取要结算的公司及日期
public function getNewStatement()
{
+ //获取要结算的公司及日期
$senddata = [
"up_company_id"=>[],
"dowm_company_id"=>[],
@@ -745,8 +756,7 @@ class CompanyStatementController extends ThinkController
}else{
$dowm_company_id[]= $v['company_id'];
}
- }
- ;
+ };
//获取上游
if(empty($up_company_id)){
$upwhere = "1=1";
@@ -895,6 +905,7 @@ class CompanyStatementController extends ThinkController
"export"=>"批量导出",
"updateNewStatement"=>"新增结算",
"launch"=>"对外发起",
+ "delStatement"=>"批量删除"
];
$resarr = [];
foreach ($mentBtn as $k => $v) {
diff --git a/Application/Admin/Controller/CompanyStatementOfflineController.class.php b/Application/Admin/Controller/CompanyStatementOfflineController.class.php
new file mode 100644
index 000000000..c9b44d4f3
--- /dev/null
+++ b/Application/Admin/Controller/CompanyStatementOfflineController.class.php
@@ -0,0 +1,254 @@
+"下游公司",
+ "2"=>"下游个人",
+ "3"=>"上游公司"
+ ];
+ public $IsPayment = [
+ "1"=>"是",
+ "2"=>"否"
+ ];
+ public $PayStatus=[
+ "-1"=>"打款失败",
+ "0"=>"未打款",
+ "1"=>"打款成功"
+ ];
+
+ public function lists() {
+ $params = I('get.');
+ $page = $params['p'] ? intval($params['p']) : 1;
+ $row = $params['row'] ? intval($params['row']) : 10;
+ //权限分配
+ if(!IS_ROOT){
+ $this->OpAuthList= getModuleControllerAuth();
+ }
+ $this->assign('menubtn',$this->menuAuth());
+
+ $map = [
+ "c.verify_status"=>2,
+ "p.verify_status"=>["GT",1]
+ ];
+ if (isset($_REQUEST['time_start']) && isset($_REQUEST['time_end'])) {
+ $time_start = strtotime($_REQUEST['time_start']);
+ $time_end = strtotime($_REQUEST['time_end'])+ 86399;
+ $map["_string"] = "(c.statement_begin_time BETWEEN {$time_start} AND {$time_end}) OR (c.statement_end_time BETWEEN {$time_start} AND {$time_end}) OR (c.statement_begin_time <= {$time_end} AND c.statement_end_time >= {$time_end})";
+ } elseif (isset($_REQUEST['time_start'])) {
+ $time_start = strtotime($_REQUEST['time_start']);
+ $map["_string"] = "(c.statement_begin_time >= {$time_start} ) OR (c.statement_end_time >= {$time_start})";
+ } elseif (isset($_REQUEST['time_end'])) {
+ $time_end = strtotime($_REQUEST['time_end'])+ 86399;
+ $map["_string"] = "(c.statement_begin_time <= {$time_end} ) OR (c.statement_end_time <= {$time_end})";
+ }
+
+ //其他
+ if(isset($_REQUEST['company_type'])){
+ $map['c.company_type'] = $_REQUEST['company_type'];
+ }
+ if(isset($_REQUEST['company_name'])){
+ $map['c.company_name'] =["LIKE","%{$_REQUEST['company_name']}%"];
+ }
+
+ if(isset($_REQUEST['statement_pool_num'])){
+ $map['p.statement_num'] =["LIKE","%{$_REQUEST['statement_pool_num']}%"];
+ }
+
+
+
+ //条件end
+ $data = M("company_statement_info","tab_")
+ ->alias("c")
+ ->field("c.*,p.statement_num,p.verify_status")
+ ->where($map)
+
+ ->join("tab_company_statement_pool as p ON c.pool_id = p.id")
+
+ ->page($page,$row)
+ ->order("id desc")
+ ->select();
+
+ foreach($data as $k => &$v) {
+
+ $v['statement_begin_time'] = date('Y.m.d',$v['statement_begin_time']);
+ $v['statement_end_time'] = date('Y.m.d',$v['statement_end_time']);
+ $v['company_type_str'] = $this->CompanyType[$v['company_type']];
+ $v["valid"] = "{$v['statement_begin_time']}-{$v['statement_end_time']}";
+ $v["pay_status_str"] = $this->PayStatus[$v["pay_status"]];
+
+ $v["pay_info"] = json_decode($v['pay_info'], true);
+ if(isset($v['pay_info']['payment_user'])){
+ $v["payment"]= "{$v['pay_status_str']}({$v['pay_info']['payment_user']}) 仅当汇总单审批通过的单子才允许进行打款
{$v['pay_info']['payment_time']}";
+ }else{
+ $v["payment"] = $v["pay_status_str"];
+ }
+
+ $v['oplist'] = $this->OpAuth($v);
+ }
+
+ $count = M("company_statement_info","tab_")->alias("c")->field("count(c.id) count,sum(c.statement_money) statement_money")->join("tab_company_statement_pool as p ON c.pool_id = p.id")->where($map)->find();
+ // dd($count);
+ $params['p'] = $page;
+ $params['row'] = $row;
+ $page = set_pagination($count['count'], $row, $params);
+ if ($page) {
+ $this->assign('_page', $page);
+ }
+ // dd($data);
+ $this->assign('data',$data);
+ $this->assign('count',$count);
+ $this->assign('CompanyType',$this->CompanyType);
+ $this->display();
+
+ }
+ public function doPayment()
+ {
+ if(!isset($_REQUEST['ids'])) $this->error("参数错误");
+ $ids = $_REQUEST['ids'];
+ //获取所有的母单id
+ $companyStatementInfo = M("company_statement_info","tab_");
+ $statementPool = $companyStatementInfo->where("id in ($ids) and pay_status <> 1")->field("pool_id,count(id) count")->group("pool_id")->select();
+ $poolInfo = [];
+ foreach ($statementPool as $k => $v) {
+ $poolInfo[$v['pool_id']] = $v['count'];
+ }
+ unset($statementPool);
+
+ //修改info
+ $saveData = [
+ "pay_type"=>3,
+ "pay_status"=>1,
+ "pay_info"=>json_encode(["payment_user"=>$_SESSION['onethink_admin']['user_auth']["username"],"payment_time"=>date("Y-m-d H:i:s")])
+ ];
+ $ires = $companyStatementInfo->where("id in ($ids)")->save($saveData);
+
+ //获取母单未支付完成订单
+ $poolIds = implode(",",array_keys($poolInfo));
+ $poolInfo = $companyStatementInfo->where("pool_id in ($poolIds) and pay_status <> 1")->field("pool_id,count(id) count")->group("pool_id")->select();
+
+ //全部就打款成功,否则打款中
+ $companyStatementPool = M("company_statement_pool","tab_");
+ foreach ($poolInfo as $k => $v) {
+ if($v['count'] == $poolInfo[$v['pool_id']]){
+ //打款成功
+ $this->setOneVerifyStatus(4,"payment",$v['pool_id']);
+ }else{
+ //打款中
+ $this->setOneVerifyStatus(3,"payment",$v['pool_id']);
+ }
+ }
+
+ $this->ajaxReturn(array(
+ 'status' =>1,
+ "info"=>"打款确认成功"
+ ));
+ }
+ public function viewStatement()
+ {
+ if(!isset($_REQUEST['id'])){
+ $this->error('参数错误');
+ }
+ $id = $_REQUEST['id'];
+ $is_export= false;
+ if (isset($_REQUEST['export']) && $_REQUEST['export']==1){
+ $is_export = true;
+ }
+ //获取基本信息
+ $dbres = M("company_statement_info","tab_")->where("id='{$id}'")->select();
+ $title = $dbres[0]['company_name'];
+ $this->assign("title",$title);
+
+ if($dbres[0]['company_type'] == 3){
+ //上游
+ A("CompanyStatementPool")->viewCpPool($dbres,$is_export);
+ }elseif($dbres[0]['company_type'] == 1){
+ //下游公司
+ A("CompanyStatementPool")->viewPcPool($dbres,$is_export);
+ }else{
+ A("CompanyStatementPool")->viewPuPool($dbres,$is_export);
+ }
+ }
+
+ public function export(){
+ if(!isset($_REQUEST['ids'])) $this->error("参数错误");
+ $ids = $_REQUEST['ids'];
+ $dbres = M("company_statement_info","tab_")->where("id in ({$ids})")->select();
+
+ $is_export= false;
+ if (isset($_REQUEST['export']) && $_REQUEST['export']==1){
+ $is_export = true;
+ }
+
+ if($dbres[0]['company_type'] == 3){
+ //上游
+ $this->assign("title","上游公司线下打款");
+ A("CompanyStatementPool")->viewCpPool($dbres,$is_export);
+ }elseif($dbres[0]['company_type'] == 1){
+ //下游公司
+ $this->assign("title","下游公司线下打款");
+ A("CompanyStatementPool")->viewPcPool($dbres,$is_export);
+ }else{
+ $this->assign("title","下游个人线下打款");
+ A("CompanyStatementPool")->viewPuPool($dbres,$is_export);
+ }
+ }
+
+ protected function setOneVerifyStatus($change_status,$op_pre,$id)
+ {
+ $dbres = M("company_statement_pool","tab_")->field("id,verify_status,verify_log")->where("id = {$id}")->find();
+ $dbres['verify_log'] = json_decode($dbres['verify_log'],true);
+ $dbres['verify_log'][$op_pre.'_user']=$_SESSION['onethink_admin']['user_auth']["username"];
+ $dbres['verify_log'][$op_pre.'_time']=date("Y-m-d H:i:s");
+ $dbres['verify_log'] = json_encode($dbres['verify_log']);
+ $dbres['verify_status']=$change_status;
+ M("company_statement_pool","tab_")->save($dbres);
+ }
+
+ public function OpAuth($info)
+ {
+ $id = $info['id'];
+ $type = $info['company_type'];
+ //原始列表
+ $opBtn = [
+ "viewStatement"=>"查看",
+ ];
+ //操作对应菜单
+ $optist = ["viewStatement"];
+ $resarr = [];
+ foreach ($optist as $k => $v) {
+ if(IS_ROOT){
+ $resarr[] = $opBtn[$v];
+ }else{
+ if(in_array($v,$this->OpAuthList)){
+ $resarr[] = $opBtn[$v];
+ }
+ }
+ }
+ return $resarr;
+ }
+ public function menuAuth()
+ {
+ $mentBtn = [
+ "doPayment"=>"打款确认",
+ "export"=>"批量导出"
+ ];
+ $resarr = [];
+ foreach ($mentBtn as $k => $v) {
+ if(IS_ROOT){
+ $resarr[] = $v;
+ }else{
+ if(in_array($k,$this->OpAuthList)){
+ $resarr[] = $v;
+ }
+ }
+ }
+ return $resarr;
+ }
+
+}
diff --git a/Application/Admin/Controller/CompanyStatementPoolController.class.php b/Application/Admin/Controller/CompanyStatementPoolController.class.php
index a86ca4153..08214598f 100644
--- a/Application/Admin/Controller/CompanyStatementPoolController.class.php
+++ b/Application/Admin/Controller/CompanyStatementPoolController.class.php
@@ -151,24 +151,16 @@ class CompanyStatementPoolController extends ThinkController
if(isset($v['verify_log']['payment_user'])){
if($v['verify_status'] == -2){
$ts = "拒绝打款";
- $v["payment"]= "{$ts}({$v['verify_log']['payment_user']}){$symbol} {$v['verify_log']['payment_time']}";
}elseif($v['verify_status'] == 2){
$ts = "待打款";
- $v["payment"]= "{$ts}({$v['verify_log']['payment_user']}){$symbol} {$v['verify_log']['payment_time']}";
}elseif($v['verify_status'] == 3){
$ts = "打款中";
- $v["payment"]= "{$ts}({$v['verify_log']['payment_user']}){$symbol} {$v['verify_log']['payment_time']}";
}elseif($v['verify_status'] == 4){
- if($v['is_payment']==1){
- $ts="线上打款成功";
- }else{
- $ts="线下打款成功";
- }
- $v["payment"]= "{$ts}({$v['verify_log']['payment_user']}){$symbol} {$v['verify_log']['payment_time']}";
+ $ts="打款成功";
}elseif($v['verify_status'] == 5){
$ts="无需打款";
- $v["payment"]= "{$ts}({$v['verify_log']['payment_user']}){$symbol} {$v['verify_log']['payment_time']}";
}
+ $v["payment"]= "{$ts}({$v['verify_log']['payment_user']}){$symbol} {$v['verify_log']['payment_time']}";
}else{
$v["payment"] = '--';
}
@@ -293,6 +285,7 @@ class CompanyStatementPoolController extends ThinkController
$count["platform_amount"] = "=SUM(J2:J".$line.")";
$count["sum_money"] = "=SUM(P2:P".$line.")";
}
+ // dd($infolist);
$this->assign("data",$infolist);
$this->assign("count",$count);
$this->assign("is_export",$is_export);
@@ -585,11 +578,16 @@ class CompanyStatementPoolController extends ThinkController
$v['company_info'] = json_decode($v['company_info'],true);
$v['company_info']['ali_user'] ?? '';
$v['company_info']['ali_account'] ?? '';
- $v['verify_status_str'] = $this->InfoVerifyStatus[ $v['verify_status']];
+
+ if($v['verify_status'] == 2){
+ $v['is_payment'] = 2;
+ }else{
+ $v['is_payment'] = 1;
+ }
+
+ $v['verify_status_str'] = $this->PayStatus[$v['pay_status']];
if($v['verify_status'] == 1){
-
- $v['verify_status_str'] = $this->PayStatus[$v['pay_status']];
if($v['pay_status'] == 1){
$v['pay_type'] = $v['pay_type'] == 1 ? "提现" :"线上打款";
$v['verify_status_str'] .= ("/". $v['pay_type']);
diff --git a/Application/Admin/Controller/CompanyStatementSetController.class.php b/Application/Admin/Controller/CompanyStatementSetController.class.php
index 3773c5c1c..ddd0b5e3b 100644
--- a/Application/Admin/Controller/CompanyStatementSetController.class.php
+++ b/Application/Admin/Controller/CompanyStatementSetController.class.php
@@ -644,7 +644,7 @@ class CompanyStatementSetController extends Controller {
$tratio =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
$tratio += $company_ratio;
}elseif($type == 0){
- $tratio = $t_game_ratio['ratio'];
+ $tratio = $tmp_game_ratio['ratio'];
}else{
//补点
$tratio1 =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
@@ -878,6 +878,8 @@ class CompanyStatementSetController extends Controller {
$game[$v['relation_game_id']]['pay_amount'] = $v['pay_amount'];
}
}
+ $pcList[$company_id]['game_ids'] = implode(",",array_keys($game));
+
foreach($list as $k=>$v){
try {
$res[$company_id]["pay_amount"] += $v['pay_amount'];
@@ -1075,40 +1077,88 @@ class CompanyStatementSetController extends Controller {
$v['statement_money'] -= $v['server_fee'];
}
}
-
+ $promoteCompanyGameRatio = D("CompanyGameRatio")->getPromoteCompanyGameRatio($v['id'],$v['game_ids'],$begintime,$endtime,$company_belong);
foreach($v['list'] as $ke=>$va){
$templist = $va['game_list'];
$va['game_list'] = [];
foreach($templist as $p_id => $p_info){
- // dd($p_info);
- if($type == 1){
- $tratio = getGamePromoteCompanyRadio($v['id'],$p_info['relation_game_id'],$endtime,$p_info['all_pay_amount'],true,$company_belong);
- $tratio += $company_ratio;
- }elseif($type == 0){
- $tratio = getGamePromoteCompanyRadio($v['id'],$p_info['relation_game_id'],$endtime,$p_info['all_pay_amount'],false,$company_belong);
- }else{
- //补点
- $tratio1 = getGamePromoteCompanyRadio($v['id'],$p_info['relation_game_id'],$endtime,$p_info['all_pay_amount'],true,$company_belong);;
- $tratio2 = getGamePromoteCompanyRadio($v['id'],$p_info['relation_game_id'],$endtime,$p_info['all_pay_amount'],false,$company_belong);
- $tratio = $tratio1-$tratio2+$company_ratio;
- if($tratio <= 0){
- continue;
+
+ $ratioCount = count($promoteCompanyGameRatio[$p_info['relation_game_id']]);
+ $isMoreRatio = $ratioCount > 1 ? true : false;
+
+ if(!$isMoreRatio){
+ $tmp_game_ratio = $promoteCompanyGameRatio[$p_info['relation_game_id']][0];
+ if($type == 1){
+ $tratio =$this->getTurnoverRatio($p_info['all_pay_amount'],$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
+ $tratio += $company_ratio;
+ }elseif($type == 0){
+ $tratio = $tmp_game_ratio['ratio'];
+ }else{
+ //补点
+ $tratio1 =$this->getTurnoverRatio($p_info['all_pay_amount'],$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
+ $tratio2 =$tmp_game_ratio['ratio'];
+ $tratio = $tratio1-$tratio2+$company_ratio;
+ if($tratio <= 0){ continue;}
}
- }
- if($type == 2){
- $p_info['increment_ratio']=$tratio;
+ $tratio -= 0;
+ if($type == 2){
+ $p_info['increment_ratio']=$tratio;
+ }else{
+ $p_info['ratio']=$tratio;
+ }
+
+ $v['platform_amount'] += $p_info['pay_amount'];
+ $p_info['sum_money']=round($p_info['pay_amount']*$tratio/100,2); //个人等于 结算金额*比例
+ $v['pay_amount'] += $p_info['sum_money'];
+ $v['statement_money'] += $p_info['sum_money'];
+ $p_info['fax_ratio']=$fax_ratio;
+ $p_info['statement_begin_time']=$statement_begin_time;
+ $p_info['statement_end_time']=$statement_end_time;
+ $p_info['statement_type']=0;
+ $va['game_list'][] = $p_info;
}else{
- $p_info['ratio']=$tratio;
+ for ($i=0; $i < $ratioCount; $i++) {
+ $temp_game = [];
+ $tmp_game_ratio = $promoteCompanyGameRatio[$p_info['relation_game_id']][$i];
+ if($type == 1){
+ $tratio =$this->getTurnoverRatio($p_info['all_pay_amount'],$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
+ $tratio += $company_ratio;
+ }elseif($type == 0){
+ $tratio = $tmp_game_ratio['ratio'];
+ }else{
+ //补点
+ $tratio1 =$this->getTurnoverRatio($p_info['all_pay_amount'],$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
+ $tratio2 =$tmp_game_ratio['ratio'];
+ $tratio = $tratio1-$tratio2+$company_ratio;
+ if($tratio <= 0){ continue;}
+ }
+ $tratio -= 0;
+ if($type == 2){
+ $temp_game['increment_ratio']=$tratio;
+ }else{
+ $temp_game['ratio']=$tratio;
+ }
+ $temp_game['pay_amount'] = $this->getRelationGameIdPromoteSpend($p_info["p_id"],$p_info['relation_game_id'],$tmp_game_ratio['begintime'],$tmp_game_ratio['endtime']);
+ $temp_game['pay_amount'] -=0;
+
+ $v['platform_amount'] += $temp_game['pay_amount'];
+ $temp_game['sum_money']=round($temp_game['pay_amount']*$tratio/100,2); //个人等于 结算金额*比例
+ $v['pay_amount'] += $temp_game['sum_money'];
+ $v['statement_money'] += $temp_game['sum_money'];
+
+ $temp_game['fax_ratio']=$fax_ratio-0;
+ $temp_game['statement_begin_time']=date("Y.m.d",$tmp_game_ratio['begintime']);
+ $temp_game['statement_end_time']=date("Y.m.d",$tmp_game_ratio['endtime']);
+ $temp_game['statement_type']=0;
+
+ $temp_game['relation_game_id']=$p_info["relation_game_id"];
+ $temp_game['game_name']=$p_info["game_name"];
+ $temp_game['game_type_name']=$p_info["game_type_name"];
+ $temp_game['all_pay_amount']=$p_info["all_pay_amount"];
+
+ $va['game_list'][] = $temp_game;
+ }
}
- $v['platform_amount'] += $p_info['pay_amount'];
- $p_info['sum_money']=round($p_info['pay_amount']*$tratio/100,2); //个人等于 结算金额*比例
- $v['pay_amount'] += $p_info['sum_money'];
- $v['statement_money'] += $p_info['sum_money'];
- $p_info['fax_ratio']=$fax_ratio;
- $p_info['statement_begin_time']=$statement_begin_time;
- $p_info['statement_end_time']=$statement_end_time;
- $p_info['statement_type']=0;
- $va['game_list'][] = $p_info;
}
$v['statement_info'][] = $va;
}
@@ -1383,6 +1433,35 @@ class CompanyStatementSetController extends Controller {
$pay_amount = $Spend->alias('s')->field('sum(s.pay_amount) pay_amount')->where($spenMap)->find();
return $pay_amount['pay_amount'] ?? 0;
}
+
+ protected function getRelationGameIdPromoteSpend($promote_id,$relation_game_id,$begintime,$endtime)
+ {
+ $res = [];
+ //获取推广员
+ $Promote = M("Promote","tab_");
+ $Spend = M("Spend","tab_");
+ $spenMap = [
+ "s.pay_status"=>1,
+ "s.payed_time"=>['between', [$begintime,$endtime]],
+ ];
+
+ $Pmap = [
+ "chain"=>["LIKE","%/{$promote_id}/%"],
+ "_logic"=>"OR",
+ "id"=>$promote_id
+ ];
+ $pres = $Promote->field("group_concat(id) ids,count(id) count")->where($Pmap)->group("company_id")->find();
+ if($pres['count'] ==0 ){return 0;}
+ $spenMap['s.promote_id']=["in",$pres['ids']];
+ //游戏
+
+ $game_id = D("Game")->changeRelationGameidToGameid($relation_game_id);
+ // dd($game_id);
+ $spenMap['s.game_id'] =['in',$game_id];
+ //获取支付记录
+ $pay_amount = $Spend->alias('s')->field('sum(s.pay_amount) pay_amount')->where($spenMap)->find();
+ return $pay_amount['pay_amount'] ?? 0;
+ }
/**
* 重算接口
diff --git a/Application/Admin/View/CompanyStatement/lists.html b/Application/Admin/View/CompanyStatement/lists.html
index 1fc8d3483..44518f378 100644
--- a/Application/Admin/View/CompanyStatement/lists.html
+++ b/Application/Admin/View/CompanyStatement/lists.html
@@ -443,7 +443,7 @@
});
});
- $("#adminAgree,#adminRefuse,#verifyAgree,#verifyRefuse,#pool,#updateStatement").on("click",function(){
+ $("#adminAgree,#adminRefuse,#verifyAgree,#verifyRefuse,#pool,#updateStatement,#delStatement").on("click",function(){
var id = $(this).attr("id");
if(id == "adminAgree"){
var opname = "管理员审批通过";
@@ -466,6 +466,12 @@
var opst ="[汇总撤销,管理员审批拒绝,未进行审批,管理员审批通过]";
var status = [-3,-2,-1,0,1];
var confirm = true;
+ }else if(id=="delStatement"){
+ var opname = "批量删除";
+ var opurl = "{:U('delStatement')}";
+ var opst ="[未进行审批]";
+ var status = [0];
+ var confirm = true;
}
var confirm = confirm ? confirm :false;
var flag = false;
diff --git a/Application/Admin/View/CompanyStatementOffline/lists.html b/Application/Admin/View/CompanyStatementOffline/lists.html
new file mode 100644
index 000000000..935c60ec7
--- /dev/null
+++ b/Application/Admin/View/CompanyStatementOffline/lists.html
@@ -0,0 +1,402 @@
+线下打款确认
+
+
+
+
+
+
+
+
+
+
+
+ 合作公司
+ 公司类型
+ 结算时间
+ 结算金额
+ 结算流水
+
+ 打款状态
+
+ 汇总单号汇总单号
+ 操作
+
+
+ aOh! 暂时还没有内容!
+
+
+
+ {$data.company_name}
+ {$data.company_type_str}
+ {$data.valid}
+ {$data.statement_money}
+ {$data.platform_amount}
+ {$data.payment}
+ {$data.statement_num}
+
+
+
+ 合计 结算总金额: {$count.statement_money}