diff --git a/admin/controllers/auto/Business.php b/admin/controllers/auto/Business.php index c3269b7e..b8276b7a 100644 --- a/admin/controllers/auto/Business.php +++ b/admin/controllers/auto/Business.php @@ -120,6 +120,7 @@ class Business extends HD_Controller{ 'price_coplus' => $v['price_coplus'] > 0 ? $v['price_coplus'] : '0.00', 'price_color' => $v['price_color'] > 0 ? $v['price_color'] : '0.00', 'profix_car' => $v['profix_car'], + 'proxy_type' => $v['proxy_type'] == 0 ? '返佣' : '票折', 'proxy_profix_car' => $v['proxy_profix_car'], 'profix_insure' => $v['profix_insure'], 'profix_carno' => $v['profix_carno'], @@ -170,6 +171,7 @@ class Business extends HD_Controller{ 'price_floor' => $row['price_floor'], 'price_color' => $row['price_color'], 'price_coplus' => $row['price_coplus'], + 'proxy_type' => intval($row['proxy_type']), 'proxy_profix_car' => $row['proxy_profix_car'], 'profix_car' => $row['profix_car'], 'profix_carno' => $row['profix_carno'], @@ -198,6 +200,7 @@ class Business extends HD_Controller{ 'price_floor' => 0.00, 'price_color' => 0.00, 'price_coplus' => 0.00, + 'proxy_type' => 0, 'proxy_profix_car' => 0.00, 'profix_car' => 0.00, 'profix_carno' => 0.00, @@ -255,6 +258,7 @@ class Business extends HD_Controller{ $info['price_floor'] && $data['price_floor'] = $info['price_floor']; $info['price_coplus'] && $data['price_coplus'] = $info['price_coplus']; $info['price_color'] && $data['price_color'] = $info['price_color']; + $data['proxy_type'] = $info['proxy_type']; $info['proxy_profix_car'] && $data['proxy_profix_car'] = $info['proxy_profix_car']; $info['profix_car'] && $data['profix_car'] = $info['profix_car']; $info['profix_carno'] && $data['profix_carno'] = $info['profix_carno']; @@ -307,6 +311,7 @@ class Business extends HD_Controller{ $info['price_floor'] && $data['price_floor'] = $info['price_floor']; $info['price_coplus'] && $data['price_coplus'] = $info['price_coplus']; $info['price_color'] && $data['price_color'] = $info['price_color']; + $data['proxy_type'] = $info['proxy_type']; $info['proxy_profix_car'] && $data['proxy_profix_car'] = $info['proxy_profix_car']; $info['profix_car'] && $data['profix_car'] = $info['profix_car']; $info['profix_carno'] && $data['profix_carno'] = $info['profix_carno']; diff --git a/admin/views/auto/business/get.php b/admin/views/auto/business/get.php index bde8f501..f6749702 100644 --- a/admin/views/auto/business/get.php +++ b/admin/views/auto/business/get.php @@ -12,7 +12,7 @@
-
+
- @@ -102,6 +102,13 @@
+
+ +
+
+ +
+
diff --git a/admin/views/auto/business/lists.php b/admin/views/auto/business/lists.php index f4442bed..a68a022a 100644 --- a/admin/views/auto/business/lists.php +++ b/admin/views/auto/business/lists.php @@ -88,6 +88,7 @@ 裸车报价 车辆底价 代理店单车毛利 + 代理店单结佣方式 品牌店单车毛利