Переглянути джерело

车辆信息部分代码匹配成对应文字

@dongkboy 2 тижнів тому
батько
коміт
d381d6f152
1 змінених файлів з 13 додано та 12 видалено
  1. 13 12
      pages/quote/quoteRecordDetail.vue

+ 13 - 12
pages/quote/quoteRecordDetail.vue

@@ -77,23 +77,23 @@
 					</view>
 					<view class="item dis a-c j-s">
 						<text>使用性质</text>
-						<text>{{carInfoVo.carNatureCode}}</text>
+						<text>{{carInfoVo1.carNatureCode}}</text>
 					</view>
 					<view class="item dis a-c j-s">
 						<text>车辆类型</text>
-						<text>{{carInfoVo.carTypeCode}} </text>
+						<text>{{carInfoVo1.carTypeCode}} </text>
 					</view>
 					<view class="item dis a-c j-s">
 						<text>车辆用途</text>
-						<text>{{carInfoVo.vehicleUseCode}} </text>
+						<text>{{carInfoVo1.vehicleUseCode}} </text>
 					</view>
 					<view class="item dis a-c j-s">
 						<text>车辆种类</text>
-						<text> {{carInfoVo.carKindCode}}</text>
+						<text> {{carInfoVo1.carKindCode}}</text>
 					</view>
 					<view class="item dis a-c j-s">
 						<text>能源种类</text>
-						<text>{{carInfoVo.energyTypeCode}} </text>
+						<text>{{carInfoVo1.energyTypeCode}} </text>
 					</view>
 					<view class="item dis a-c j-s">
 						<text>注册日期</text>
@@ -569,7 +569,7 @@
 <script>
 	import {
 		turnBase64Image,
-		dictionaryMatch····
+		dictionaryMatch
 	} from '@/plugins/utils.js';
 	import Mixin from './Mixin.js';
 	export default {
@@ -595,6 +595,7 @@
 				isExpanded2: false, //展开收起
 				isExpanded3: false, //展开收起
 				carInfoVo: {}, //车辆信息
+				carInfoVo1: {}, //车辆信息
 				ownersInfo: {}, //车主信息
 				policyHolderInfo: {}, //投保人信息
 				insuredPersonInfo: {}, //被保人信息
@@ -957,29 +958,29 @@
 					this.imageEcho(res.data.imageVoList) // 影像获取完毕
 					// 去掉this.kindInfoVo中的交强险
 					this.kindInfoVo = this.kindInfoVo.filter(item => item.kindCode != 'J1')
-					this.carInfoVo.carNatureCode = dictionaryMatch(this.car_nature_codeoptions, res
+					this.carInfoVo1.carNatureCode = dictionaryMatch(this.car_nature_codeoptions, res
 						.data.carInfoVo
 						.carNatureCode)
 					if (res.data.carInfoVo.carNatureCode == '01') {
-						this.carInfoVo.vehicleUseCode = dictionaryMatch(this
+						this.carInfoVo1.vehicleUseCode = dictionaryMatch(this
 							.vehicle_use_code01options,
 							res.data
 							.carInfoVo
 							.vehicleUseCode)
 					} else {
-						this.carInfoVo.vehicleUseCode = dictionaryMatch(this
+						this.carInfoVo1.vehicleUseCode = dictionaryMatch(this
 							.vehicle_use_code02options,
 							res.data
 							.carInfoVo
 							.vehicleUseCode)
 					}
-					this.carInfoVo.carTypeCode = dictionaryMatch(this.car_type_codeoptions, res.data
+					this.carInfoVo1.carTypeCode = dictionaryMatch(this.car_type_codeoptions, res.data
 						.carInfoVo
 						.carTypeCode)
-					this.carInfoVo.carKindCode = dictionaryMatch(this.car_kind_codeoptions, res.data
+					this.carInfoVo1.carKindCode = dictionaryMatch(this.car_kind_codeoptions, res.data
 						.carInfoVo
 						.carKindCode)
-					this.carInfoVo.energyTypeCode = dictionaryMatch(this.energy_type_codeoptions, res
+					this.carInfoVo1.energyTypeCode = dictionaryMatch(this.energy_type_codeoptions, res
 						.data
 						.carInfoVo
 						.energyTypeCode)