diff --git a/src/views/index/vehicleAdd.vue b/src/views/index/vehicleAdd.vue index b879efa6..792d68a7 100644 --- a/src/views/index/vehicleAdd.vue +++ b/src/views/index/vehicleAdd.vue @@ -744,6 +744,8 @@ export default { this.vehicleLicenseInfo.overallDimension = ''; this.vehicleLicenseInfo.tractionWeight = ''; this.vehicleLicenseInfo.backPlateNo = ''; // 行驶证副页 车牌号,仅用来判断 ocr 识别是否成功 + this.vehicleLicenseInfo.energySign = ''; + this.vehicleLicenseInfo.marks = '' let res = await ocrHandler({ ocrType: 3, imageUrl: this.vehicleLicenseBack, @@ -759,6 +761,8 @@ export default { this.vehicleLicenseInfo.overallDimension = backInfo?.externalSize; this.vehicleLicenseInfo.tractionWeight = backInfo?.TotalQuasiMass; this.vehicleLicenseInfo.backPlateNo = backInfo?.plateNo; + this.vehicleLicenseInfo.energySign = backInfo?.fuelType; + this.vehicleLicenseInfo.marks = backInfo?.marks } console.log('this.vehicle', this.vehicleLicenseInfo) },