|
@@ -89,6 +89,18 @@
|
|
|
</view>
|
|
|
<image class="" :src="dataDetails.drivingLicenseBackPage" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
+ <view class="flex row flex-space-between">
|
|
|
+ <view class="left-text">行驶证车辆类型</view>
|
|
|
+ <u--input maxlength='10' placeholder="输入行驶证上的车辆类型" inputAlign='right' border="none"
|
|
|
+ v-model="dataDetails.vehicleType">
|
|
|
+ </u--input>
|
|
|
+ </view>
|
|
|
+ <view class="flex row flex-space-between">
|
|
|
+ <view class="left-text">行驶证车辆识别代号</view>
|
|
|
+ <u--input maxlength='25' placeholder="输入行驶证车辆识别代号" inputAlign='right' border="none"
|
|
|
+ v-model="dataDetails.carCode">
|
|
|
+ </u--input>
|
|
|
+ </view>
|
|
|
<view class="flex row flex-space-between">
|
|
|
<view class="left-text">行驶证档案编号</view>
|
|
|
<u--input maxlength='12' placeholder="输入行驶证档案编号" inputAlign='right' border="none"
|
|
@@ -163,6 +175,18 @@
|
|
|
<image class="" :src="dataDetails.trailerLicenseBackPage" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="flex row flex-space-between" v-if="sign == '挂车'">
|
|
|
+ <view class="left-text">挂车行驶证车辆类型</view>
|
|
|
+ <u--input maxlength='15' placeholder="输入挂车行驶证车辆类型" inputAlign='right' border="none"
|
|
|
+ v-model="dataDetails.trailerVehicleType">
|
|
|
+ </u--input>
|
|
|
+ </view>
|
|
|
+ <view class="flex row flex-space-between" v-if="sign == '挂车'">
|
|
|
+ <view class="left-text">挂车行驶证车辆识别代号</view>
|
|
|
+ <u--input maxlength='25' placeholder="输入挂车车辆识别代码" inputAlign='right' border="none"
|
|
|
+ v-model="dataDetails.trailerCarCode">
|
|
|
+ </u--input>
|
|
|
+ </view>
|
|
|
<view class="flex row" v-if="sign == '挂车'">
|
|
|
<view class="left-text">挂车行驶证档案编号</view>
|
|
|
<u--input maxlength='12' placeholder="输入挂车行驶证档案编号" inputAlign='right' border="none"
|
|
@@ -678,6 +702,8 @@
|
|
|
.carNum //车牌号
|
|
|
_this.dataDetails.owner = res.data
|
|
|
.owner //车辆所有人
|
|
|
+ _this.dataDetails.vehicleType = res.data.vehicleType//行驶证车辆类型
|
|
|
+ _this.dataDetails.carCode =res.data.carCode //行驶证车辆识别代号
|
|
|
_this.$forceUpdate()
|
|
|
}
|
|
|
})
|
|
@@ -774,6 +800,8 @@
|
|
|
.carNum //车牌号
|
|
|
_this.dataDetails.guaOwner = res.data
|
|
|
.owner //车辆所有人
|
|
|
+ _this.dataDetails.trailerVehicleType = res.data.vehicleType//挂车行驶证车辆类型
|
|
|
+ _this.dataDetails.trailerCarCode =res.data.carCode //挂车行驶证车辆识别代号
|
|
|
_this.$forceUpdate()
|
|
|
}
|
|
|
})
|
|
@@ -1194,6 +1222,14 @@
|
|
|
})
|
|
|
return true
|
|
|
}
|
|
|
+
|
|
|
+ if(!this.dataDetails.carCode){
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ type: 'error',
|
|
|
+ message: "行驶证车辆识别代号不能为空!",
|
|
|
+ })
|
|
|
+ return true
|
|
|
+ }
|
|
|
if (uni.$u.test.isEmpty(this.dataDetails.drivingLicenseNumber)) {
|
|
|
this.$refs.uToast.show({
|
|
|
type: 'error',
|
|
@@ -1276,6 +1312,20 @@
|
|
|
})
|
|
|
return true
|
|
|
}
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.trailerVehicleType)) {
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ type: 'error',
|
|
|
+ message: "挂车行驶证车辆类型不能为空!",
|
|
|
+ })
|
|
|
+ return true
|
|
|
+ }
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.trailerCarCode)) {
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ type: 'error',
|
|
|
+ message: "挂车行驶证识别代号不能为空!",
|
|
|
+ })
|
|
|
+ return true
|
|
|
+ }
|
|
|
if (uni.$u.test.isEmpty(this.dataDetails.trailerLicenseNumber)) {
|
|
|
this.$refs.uToast.show({
|
|
|
type: 'error',
|