achao hace 2 años
padre
commit
0a20598763

+ 0 - 1
pages/mine/driverCertificationNext.vue

@@ -250,7 +250,6 @@
 				// 	data: this.consentStatus
 				// 	data: this.consentStatus
 				// });
 				// });
 			},
 			},
-			validate(data) {},
 			confirmValidityPeriod(date) {
 			confirmValidityPeriod(date) {
 				console.log('confirm', date)
 				console.log('confirm', date)
 				switch (this.ValidityPeriodType) {
 				switch (this.ValidityPeriodType) {

+ 2 - 3
pages/mine/editDriverCertificationNext.vue

@@ -396,9 +396,8 @@
 													image: result
 													image: result
 												}).then(res => {
 												}).then(res => {
 												if (res.data && res.data.qualificationCertificate) {
 												if (res.data && res.data.qualificationCertificate) {
-													_this.dataDetails
-														.qualificationCertificateValidityDate = res
-														.data.qualificationCertificate
+													// _this.dataDetails.qualificationCertificateValidityDate = res
+													// 	.data.qualificationCertificate
 												}
 												}
 												if (res.data && res.data.qualificationCertificateNum) {
 												if (res.data && res.data.qualificationCertificateNum) {
 													_this.dataDetails.qualificationCertificateNumber =
 													_this.dataDetails.qualificationCertificateNumber =

+ 41 - 41
pages/mine/manageVehicles/addVehicle.vue

@@ -722,15 +722,15 @@
 														_this.dataDetails.lssuingAuthority = res
 														_this.dataDetails.lssuingAuthority = res
 															.data.lssuingAuthority
 															.data.lssuingAuthority
 													}
 													}
-													if (res.data.licenseRegistrationDate) { //行驶证注册日期
-														_this.dataDetails
-															.drivingLicenseRegistrationDate = res
-															.data.licenseRegistrationDate
-													}
-													if (res.data.licenseIssueDate) { //行驶证发证日期
-														_this.dataDetails.drivingLicenseIssueDate =
-															res.data.licenseIssueDate
-													}
+													// if (res.data.licenseRegistrationDate) { //行驶证注册日期
+													// 	_this.dataDetails
+													// 		.drivingLicenseRegistrationDate = res
+													// 		.data.licenseRegistrationDate
+													// }
+													// if (res.data.licenseIssueDate) { //行驶证发证日期
+													// 	_this.dataDetails.drivingLicenseIssueDate =
+													// 		res.data.licenseIssueDate
+													// }
 													_this.$forceUpdate()
 													_this.$forceUpdate()
 												}
 												}
 											})
 											})
@@ -751,21 +751,21 @@
 														_this.dataDetails.lssuingAuthority = res
 														_this.dataDetails.lssuingAuthority = res
 															.data.issuingAuthority
 															.data.issuingAuthority
 													}
 													}
-													if (res.data
-														.licenseRegistrationDate) { //行驶证注册日期
-														_this.dataDetails
-															.drivingLicenseRegistrationDate = res
-															.data.licenseRegistrationDate
-													}
-													if (res.data.licenseIssueDate) { //行驶证发证日期
-														_this.dataDetails.drivingLicenseIssueDate =
-															res.data.licenseIssueDate
-													}
-													_this.dataDetails.drivingLicenseValidityDate =
-														res.data.driveringEndDate //行驶证有效期
-													_this.dataDetails.drivingLicenseNumber = res
-														.data.driveringNum.replace(/\s*/g,
-															"") //行驶证档案编号
+													// if (res.data
+													// 	.licenseRegistrationDate) { //行驶证注册日期
+													// 	_this.dataDetails
+													// 		.drivingLicenseRegistrationDate = res
+													// 		.data.licenseRegistrationDate
+													// }
+													// if (res.data.licenseIssueDate) { //行驶证发证日期
+													// 	_this.dataDetails.drivingLicenseIssueDate =
+													// 		res.data.licenseIssueDate
+													// }
+													// _this.dataDetails.drivingLicenseValidityDate =
+													// 	res.data.driveringEndDate //行驶证有效期
+													// _this.dataDetails.drivingLicenseNumber = res
+													// 	.data.driveringNum.replace(/\s*/g,
+													// 		"") //行驶证档案编号
 													if (_this.sign == "非挂车") {
 													if (_this.sign == "非挂车") {
 														if (res.data.servicingMass && res.data
 														if (res.data.servicingMass && res.data
 															.servicingMass.indexOf("kg") != -1) {
 															.servicingMass.indexOf("kg") != -1) {
@@ -819,15 +819,15 @@
 														_this.dataDetails.guaLssuingAuthority = res
 														_this.dataDetails.guaLssuingAuthority = res
 															.data.lssuingAuthority
 															.data.lssuingAuthority
 													}
 													}
-													if (res.data.licenseRegistrationDate) { //行驶证注册日期
-														_this.dataDetails
-															.trailerLicenseRegistrationDate = res.data
-															.licenseRegistrationDate
-													}
-													if (res.data.licenseIssueDate) { //行驶证发证日期
-														_this.dataDetails.trailerLicenseIssueDate = res
-															.data.licenseIssueDate
-													}
+													// if (res.data.licenseRegistrationDate) { //行驶证注册日期
+													// 	_this.dataDetails
+													// 		.trailerLicenseRegistrationDate = res.data
+													// 		.licenseRegistrationDate
+													// }
+													// if (res.data.licenseIssueDate) { //行驶证发证日期
+													// 	_this.dataDetails.trailerLicenseIssueDate = res
+													// 		.data.licenseIssueDate
+													// }
 													if (res.data
 													if (res.data
 														.carNum) {
 														.carNum) {
 														_this.dataDetails.guaCarNumber1 = res.data
 														_this.dataDetails.guaCarNumber1 = res.data
@@ -853,8 +853,8 @@
 													flag: 2
 													flag: 2
 												}).then(res => {
 												}).then(res => {
 												if (res.data) {
 												if (res.data) {
-													_this.dataDetails.trailerLicenseValidityDate =
-														res.data.driveringEndDate //挂车行驶证有效期
+													// _this.dataDetails.trailerLicenseValidityDate =
+													// 	res.data.driveringEndDate //挂车行驶证有效期
 													_this.dataDetails.trailerLicenseNumber = res
 													_this.dataDetails.trailerLicenseNumber = res
 														.data.driveringNum.replace(/\s*/g,
 														.data.driveringNum.replace(/\s*/g,
 															"") //挂车行驶证档案编号
 															"") //挂车行驶证档案编号
@@ -906,9 +906,9 @@
 												if (res.data) {
 												if (res.data) {
 													_this.dataDetails.operationCertificateNumber =
 													_this.dataDetails.operationCertificateNumber =
 														res.data.tranNumber.replace(/\s*/g, "")
 														res.data.tranNumber.replace(/\s*/g, "")
-													_this.dataDetails
-														.operationCertificateValidityDate = res
-														.data.tranEndDate
+													// _this.dataDetails
+													// 	.operationCertificateValidityDate = res
+													// 	.data.tranEndDate
 													_this.$forceUpdate()
 													_this.$forceUpdate()
 												}
 												}
 
 
@@ -927,9 +927,9 @@
 													_this.dataDetails
 													_this.dataDetails
 														.trailerOperationCertificateNumber = res
 														.trailerOperationCertificateNumber = res
 														.data.tranNumber.replace(/\s*/g, "")
 														.data.tranNumber.replace(/\s*/g, "")
-													_this.dataDetails
-														.trailerOperationCertificateValidityDate =
-														res.data.tranEndDate
+													// _this.dataDetails
+													// 	.trailerOperationCertificateValidityDate =
+													// 	res.data.tranEndDate
 													_this.$forceUpdate()
 													_this.$forceUpdate()
 												}
 												}
 											})
 											})