|
|
@ -16,7 +16,11 @@ class CompanyStatementPoolController extends ThinkController
|
|
|
|
"1"=>"是",
|
|
|
|
"1"=>"是",
|
|
|
|
"2"=>"否"
|
|
|
|
"2"=>"否"
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
public $WithdrawType = [
|
|
|
|
|
|
|
|
"0"=>"周结",
|
|
|
|
|
|
|
|
"1"=>"月结",
|
|
|
|
|
|
|
|
"2"=>"下游个人补点"
|
|
|
|
|
|
|
|
];
|
|
|
|
public $VerifyStatus=[
|
|
|
|
public $VerifyStatus=[
|
|
|
|
"-2"=>"拒绝打款",
|
|
|
|
"-2"=>"拒绝打款",
|
|
|
|
"-1"=>"审批拒绝",
|
|
|
|
"-1"=>"审批拒绝",
|
|
|
@ -94,6 +98,9 @@ class CompanyStatementPoolController extends ThinkController
|
|
|
|
if(isset($_REQUEST['is_payment'])){
|
|
|
|
if(isset($_REQUEST['is_payment'])){
|
|
|
|
$map['is_payment'] = $_REQUEST['is_payment'];
|
|
|
|
$map['is_payment'] = $_REQUEST['is_payment'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(isset($_REQUEST['withdraw_type'])){
|
|
|
|
|
|
|
|
$map['withdraw_type'] = $_REQUEST['withdraw_type'];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// $this->checkListOrCountAuthRestMap($map);//导出权限
|
|
|
|
// $this->checkListOrCountAuthRestMap($map);//导出权限
|
|
|
@ -116,6 +123,7 @@ class CompanyStatementPoolController extends ThinkController
|
|
|
|
$v["valid"] = "{$v['statement_begin_time']} ~ {$v['statement_end_time']}";
|
|
|
|
$v["valid"] = "{$v['statement_begin_time']} ~ {$v['statement_end_time']}";
|
|
|
|
|
|
|
|
|
|
|
|
$v['ext_file_type'] = empty($v['ext_file']) ? "无" : "有";
|
|
|
|
$v['ext_file_type'] = empty($v['ext_file']) ? "无" : "有";
|
|
|
|
|
|
|
|
$v['withdraw_type'] = $this->WithdrawType[$v['withdraw_type']];;
|
|
|
|
|
|
|
|
|
|
|
|
$v['verify_log'] = json_decode($v['verify_log'], true);
|
|
|
|
$v['verify_log'] = json_decode($v['verify_log'], true);
|
|
|
|
if (isset($params['export'])) {
|
|
|
|
if (isset($params['export'])) {
|
|
|
@ -177,6 +185,7 @@ class CompanyStatementPoolController extends ThinkController
|
|
|
|
$this->assign('CompanyType',$this->CompanyType);
|
|
|
|
$this->assign('CompanyType',$this->CompanyType);
|
|
|
|
$this->assign('IsPayment',$this->IsPayment);
|
|
|
|
$this->assign('IsPayment',$this->IsPayment);
|
|
|
|
$this->assign('VerifyStatus',$this->VerifyStatus);
|
|
|
|
$this->assign('VerifyStatus',$this->VerifyStatus);
|
|
|
|
|
|
|
|
$this->assign('WithdrawType',$this->WithdrawType);
|
|
|
|
$this->display();
|
|
|
|
$this->display();
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -232,7 +241,11 @@ class CompanyStatementPoolController extends ThinkController
|
|
|
|
|
|
|
|
|
|
|
|
if($is_export){
|
|
|
|
if($is_export){
|
|
|
|
//J3*(K3+L3)+M3-N3
|
|
|
|
//J3*(K3+L3)+M3-N3
|
|
|
|
$va['sum_money'] = "=J{$line}*(K{$line}+L{$line})+M{$line}-N{$line}";
|
|
|
|
if($va['statement_type'] > 0){ //罚款服务器费用
|
|
|
|
|
|
|
|
$va['sum_money'] = "=J{$line}";
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
$va['sum_money'] = "=J{$line}*(K{$line}+L{$line})+M{$line}-N{$line}";
|
|
|
|
|
|
|
|
}
|
|
|
|
$count['sum_money_exp'] .= "O{$line}+";
|
|
|
|
$count['sum_money_exp'] .= "O{$line}+";
|
|
|
|
$count['platform_amount_exp'] .= "J{$line}+";
|
|
|
|
$count['platform_amount_exp'] .= "J{$line}+";
|
|
|
|
|
|
|
|
|
|
|
|