edit-admin-order_detail
This commit is contained in:
@@ -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']) {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<label class="am-para-label label-width"><span class="span-bold">车牌号:</span></label>
|
||||
<div class="am-para-input">
|
||||
<label class="am-para-label" style="width: 50%">
|
||||
<input type="text" name="car_num" v-model="info.agent.car_num">
|
||||
<input type="text" name="car_num" v-model="info['agent']['car_num']">
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -363,7 +363,7 @@
|
||||
vue_obj = new Vue({
|
||||
el: '#vue-edit',
|
||||
data: {
|
||||
info: [],
|
||||
info: <?=json_encode($info, JSON_UNESCAPED_UNICODE)?>,
|
||||
carslist: [],
|
||||
page: [],
|
||||
bx_imgs: [],
|
||||
@@ -383,7 +383,6 @@
|
||||
},
|
||||
mounted: function () {
|
||||
var that = this;
|
||||
that.info = <?=json_encode($info, JSON_UNESCAPED_UNICODE)?>;
|
||||
that.brand_id = <?=$info['brand_id']?>,
|
||||
that.s_id = <?=$info['s_id']?>,
|
||||
that.v_id = <?=$info['v_id']?>,
|
||||
|
||||
Reference in New Issue
Block a user