From f73099c0efbe20f99a719e6146b09ab41f9dbf32 Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Mon, 29 Aug 2022 11:46:01 +0800 Subject: [PATCH] edit-admin-order_detail --- admin/controllers/receiver/orderv2/Orders.php | 9 +++++---- admin/views/receiver/orderv2/get/ckinfo.php | 2 +- admin/views/receiver/orderv2/get/index.php | 3 +-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/admin/controllers/receiver/orderv2/Orders.php b/admin/controllers/receiver/orderv2/Orders.php index debdbef2..9e4946b6 100644 --- a/admin/controllers/receiver/orderv2/Orders.php +++ b/admin/controllers/receiver/orderv2/Orders.php @@ -303,10 +303,11 @@ class Orders extends HD_Controller $agent['business_risk'] = $business_risk; $insurance_img = json_decode($img_data['insurance_img'],true); $business_img = json_decode($img_data['business_img'],true); - $agent['insurance_price'] = $insurance_img['price']; - $agent['insurance_product'] = $insurance_img['product']; - $agent['business_price'] = $business_img['price']; - $agent['business_product'] = $business_img['product']; + $agent['insurance_price'] = $insurance_img['price'] ? $insurance_img['price'] : ''; + $agent['insurance_product'] = $insurance_img['product'] ? $insurance_img['product'] : ''; + $agent['business_price'] = $business_img['price'] ? $business_img['price'] : ''; + $agent['business_product'] = $business_img['product'] ? $business_img['product'] : ''; + $agent['car_num'] = $agent['car_num'] ? $agent['car_num'] : ''; $row['agent'] = $agent; //获取销售员 if ($row['sale_id']) { diff --git a/admin/views/receiver/orderv2/get/ckinfo.php b/admin/views/receiver/orderv2/get/ckinfo.php index 66f53fb9..cf572441 100644 --- a/admin/views/receiver/orderv2/get/ckinfo.php +++ b/admin/views/receiver/orderv2/get/ckinfo.php @@ -11,7 +11,7 @@
diff --git a/admin/views/receiver/orderv2/get/index.php b/admin/views/receiver/orderv2/get/index.php index c7f96093..107a2e15 100644 --- a/admin/views/receiver/orderv2/get/index.php +++ b/admin/views/receiver/orderv2/get/index.php @@ -363,7 +363,7 @@ vue_obj = new Vue({ el: '#vue-edit', data: { - info: [], + info: , carslist: [], page: [], bx_imgs: [], @@ -383,7 +383,6 @@ }, mounted: function () { var that = this; - that.info = ; that.brand_id = , that.s_id = , that.v_id = ,