add-admin_biz_settle_list

This commit is contained in:
lccsw
2022-06-16 15:12:11 +08:00
parent 00148941b6
commit f9d7a54ea2
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -132,6 +132,7 @@ class Settle extends HD_Controller
'profix_insure' => $v['profix_insure'],
'profix_carno' => $v['profix_carno'],
'profix_loan' => $v['profix_loan'],
'sum_srv' => $v['profix_insure']+$v['profix_carno']+$v['profix_loan'],
'price_trucking' => $v['price_trucking'],
'name' => $v['name'],
'mobile' => $v['mobile'],
@@ -235,7 +236,7 @@ class Settle extends HD_Controller
$all_rows = $this->biz_settle_model->selectOrders($where, $orderby, 0, 0,0, $select);
$sheet_data2 = [];
if($all_rows){
$sheet_data2[] = ['门店','订单信息','品牌车型','车架号','单车利润','保险利润','贷款利润','挂牌利润','拖车费','时间'];
$sheet_data2[] = ['门店','订单信息','品牌车型','车架号','单车利润','保险利润','贷款利润','挂牌利润','水平业务合计','拖车费','时间'];
$s_ids = array_unique(array_filter(array_column($all_rows,'s_id')));
$cor_ids = array_unique(array_filter(array_column($all_rows,'cor_id')));
$v_ids = array_unique(array_filter(array_column($all_rows,'v_id')));
@@ -276,6 +277,7 @@ class Settle extends HD_Controller
$v['profix_insure'],
$v['profix_loan'],
$v['profix_carno'],
$v['profix_insure']+$v['profix_loan']+$v['profix_carno'],
$v['price_trucking'],
$month_str,
);
+2
View File
@@ -60,6 +60,7 @@
<th width="10%"><span>保险利润</span></th>
<th width="6%"><span>贷款利润</span></th>
<th width="6%"><span>挂牌利润</span></th>
<th width="6%"><span>水平业务合计</span></th>
<th width="6%"><span>拖车费</span></th>
<th width="6%"><span>时间</span></th>
</tr>
@@ -81,6 +82,7 @@
<td>{{v.profix_insure}}</td>
<td>{{v.profix_loan}}</td>
<td>{{v.profix_carno}}</td>
<td>{{v.sum_srv}}</td>
<td>{{v.price_trucking}}</td>
<td>{{v.month}}</td>
</tr>