diff --git a/src/views/index/vehicleAdd.vue b/src/views/index/vehicleAdd.vue
index 077ffa5e..0cee6ec0 100644
--- a/src/views/index/vehicleAdd.vue
+++ b/src/views/index/vehicleAdd.vue
@@ -199,7 +199,7 @@
- 启用
+ 启1用
- 停用
+ 停1用
@@ -740,6 +741,12 @@ export default {
this.vehicleFrontPhoto = res.data;
await this.ocrCarFrontHandler()
},
+ clickPreview(){
+ // console.log(' this.insurancePicturePhoto', this.insurancePicturePhoto)
+ if(this.insurancePicturePhoto && this.insurancePicturePhoto.indexOf('.pdf') !== -1){
+ window.open(this.insurancePicturePhoto)
+ }
+ },
async insurancePictureFilesHandler(file) {
const formData = new FormData();
formData.append("file" , file.file);
@@ -1189,6 +1196,8 @@ export default {
timeObj = this.formatDateTimeRange(this.dateVal)
}
this.serviceIds = this.$refs.tree.getCheckedKeys(true)
+ console.log('1122',this.vehicleStatus)
+ // return
await saveVehicle({
vehicleId:this.id ? this.id : '',
plateNumber:this.carNum ? this.carNum :'',
@@ -1208,7 +1217,8 @@ export default {
liabilityInsuranceStartTime: this.hasLiabilityInsurance == 1 ? (timeObj?.startTime || '' ) : '',
liabilityInsuranceEndTime: this.hasLiabilityInsurance == 1 ? (timeObj?.endTime || '') : '',
virtualVehicle: this.virtualVehicle,
- canSubmitApproval:true
+ canSubmitApproval:true,
+ vehicleStatus:this.vehicleStatus
})
if(this.id){
this.$toast('修改成功')