twt преди 3 години
родител
ревизия
5d0cb45f0f
променени са 1 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 5 5
      pages/index/addCar.vue

+ 5 - 5
pages/index/addCar.vue

@@ -15,8 +15,8 @@
 
 			<view class="mesView" @click="goCarModel()">
 				<view class="leftTitle">车型</view>
-				<view class="carModBtn noSelectColor" v-if="!carModelInfo.title">请选择车型</view>
-				<view class="carModBtn selectColor" v-else>{{carModelInfo.title}}</view>
+				<view class="carModBtn noSelectColor" v-if="!carModelInfo.value">请选择车型</view>
+				<view class="carModBtn selectColor" v-else>{{carModelInfo.value}}</view>
 				<image src="../../static/img/rightArrow.png" class="rightArrow"></image>
 			</view>
 
@@ -137,7 +137,7 @@
 					
 					// 展示时
 					this.plateNo = res.data.plateNumber;
-					carModelInfo.title = res.data.carModel;
+					carModelInfo.value = res.data.carModel;
 					if (res.data.acarTime) {
 						this.time = res.data.acarTime.slice(0,res.data.createTime.length-8);
 					}
@@ -215,7 +215,7 @@
 					displacement: this.carModelInfo.carModelInfo.displacement,
 					series: this.carModelInfo.carModelInfo.carSeries,
 					annualmoney: this.carModelInfo.carModelInfo.productionYear,
-					carModel: this.carModelInfo.title,
+					carModel: this.carModelInfo.value,
 					salesName: this.carModelInfo.carModelInfo.salesName,
 					transmissionType: this.carModelInfo.carModelInfo.transmissionType,
 					model: this.carModelInfo.carModelInfo.carModel,
@@ -257,7 +257,7 @@
 					displacement: this.carModelInfo.carModelInfo.displacement,
 					series: this.carModelInfo.carModelInfo.carSeries,
 					annualmoney: this.carModelInfo.carModelInfo.productionYear,
-					carModel: this.carModelInfo.title,
+					carModel: this.carModelInfo.value,
 					salesName: this.carModelInfo.carModelInfo.salesName,
 					transmissionType: this.carModelInfo.carModelInfo.transmissionType,
 					model: this.carModelInfo.carModelInfo.carModel,