|
@@ -667,6 +667,19 @@
|
|
_this.dataDetails.carCode =res.data.carCode
|
|
_this.dataDetails.carCode =res.data.carCode
|
|
_this.dataDetails.owner = res.data
|
|
_this.dataDetails.owner = res.data
|
|
.owner //车辆所有人
|
|
.owner //车辆所有人
|
|
|
|
+ if (res.data.lssuingAuthority) { //行驶证发证机关
|
|
|
|
+ _this.dataDetails.lssuingAuthority = res
|
|
|
|
+ .data.lssuingAuthority
|
|
|
|
+ }
|
|
|
|
+ if (res.data.licenseRegistrationDate) { //行驶证注册日期
|
|
|
|
+ _this.dataDetails
|
|
|
|
+ .drivingLicenseRegistrationDate = res
|
|
|
|
+ .data.licenseRegistrationDate
|
|
|
|
+ }
|
|
|
|
+ if (res.data.licenseIssueDate) { //行驶证发证日期
|
|
|
|
+ _this.dataDetails.drivingLicenseIssueDate =
|
|
|
|
+ res.data.licenseIssueDate
|
|
|
|
+ }
|
|
_this.$forceUpdate()
|
|
_this.$forceUpdate()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -714,8 +727,10 @@
|
|
if(res.data.approvedLoadMass.indexOf("kg") != -1){
|
|
if(res.data.approvedLoadMass.indexOf("kg") != -1){
|
|
res.data.approvedLoadMass = res.data.approvedLoadMass.slice(0, res.data.approvedLoadMass.length - 2)
|
|
res.data.approvedLoadMass = res.data.approvedLoadMass.slice(0, res.data.approvedLoadMass.length - 2)
|
|
}
|
|
}
|
|
- _this.dataDetails.carApprovedWeight = res.data
|
|
|
|
- .approvedLoadMass //核定载质量
|
|
|
|
|
|
+ if(res.data.approvedLoadMass && !isNaN(res.data.approvedLoadMass)){
|
|
|
|
+ _this.dataDetails.carApprovedWeight = res.data.approvedLoadMass //核定载质量
|
|
|
|
+ }
|
|
|
|
+
|
|
if (res.data.size && res.data.size.indexOf(
|
|
if (res.data.size && res.data.size.indexOf(
|
|
"mm") != -1) {
|
|
"mm") != -1) {
|
|
res.data.size = res.data.size.slice(0, res
|
|
res.data.size = res.data.size.slice(0, res
|
|
@@ -743,9 +758,9 @@
|
|
flag: 1
|
|
flag: 1
|
|
}).then(res => {
|
|
}).then(res => {
|
|
if (res.data) {
|
|
if (res.data) {
|
|
- if (res.data.issuingAuthority) { //行驶证发证机关
|
|
|
|
|
|
+ if (res.data.lssuingAuthority) { //行驶证发证机关
|
|
_this.dataDetails.guaLssuingAuthority = res
|
|
_this.dataDetails.guaLssuingAuthority = res
|
|
- .data.issuingAuthority
|
|
|
|
|
|
+ .data.lssuingAuthority
|
|
}
|
|
}
|
|
if (res.data.licenseRegistrationDate) { //行驶证注册日期
|
|
if (res.data.licenseRegistrationDate) { //行驶证注册日期
|
|
_this.dataDetails
|
|
_this.dataDetails
|