|
|
|
@ -117,7 +117,7 @@ class CompanyStatementController extends ThinkController
|
|
|
|
|
$data = M("company_statement","tab_")
|
|
|
|
|
->field("id,withdraw_type,company_name,company_belong,statement_begin_time,statement_end_time,statement_money,platform_amount,verify_status,verify_log,op_time,remark")
|
|
|
|
|
->where($map)
|
|
|
|
|
->order("op_time Desc")->page($page,$row)->select();
|
|
|
|
|
->order("FIELD(verify_status,0,1,-1,2,3,-2,4,5),id desc")->page($page,$row)->select();
|
|
|
|
|
foreach($data as $k => &$v) {
|
|
|
|
|
|
|
|
|
|
$v['statement_begin_time'] = date('Y-m-d',$v['statement_begin_time']);
|
|
|
|
@ -851,7 +851,7 @@ class CompanyStatementController extends ThinkController
|
|
|
|
|
"pool"=>"<a class='butn' id='pool'>发起汇总</a>",
|
|
|
|
|
"updateStatement"=>"<a class='butn' id='updateStatement' style='background-color: green;'>重算金额</a>",
|
|
|
|
|
"export"=>"<a class='butn' id='export'>批量导出</a>",
|
|
|
|
|
"updateNewStatement"=>"<a class='butn' id='updateNewStatement'>新增结算</a>",
|
|
|
|
|
"updateNewStatement"=>"<a class='butn' id='updateNewStatement' style='background-color: green;'>新增结算</a>",
|
|
|
|
|
];
|
|
|
|
|
$resarr = [];
|
|
|
|
|
foreach ($mentBtn as $k => $v) {
|
|
|
|
|