diff --git a/src/views/index/driverAdd.vue b/src/views/index/driverAdd.vue index 25ca47b8..6f844f18 100644 --- a/src/views/index/driverAdd.vue +++ b/src/views/index/driverAdd.vue @@ -261,12 +261,12 @@ export default { cardSide: 'FRONT' }); if( res?.data ) { - this.driverInfo.drivingBeginDate = (res?.data?.dateOfFirstIssue + ' 00:00:00' ) || ''; + this.driverInfo.drivingBeginDate = res?.data?.dateOfFirstIssue || ''; this.driverInfo.lssueDate = res?.data?.dateOfFirstIssue ? (res?.data?.dateOfFirstIssue + ' 00:00:00') : ''; if( res?.data?.endDate.indexOf('长期') != -1 ) { - this.driverInfo.drivingLicenceValidityDate = '2099-01-01 00:00:00'; + this.driverInfo.drivingLicenceValidityDate = '2099-01-01'; } else { - this.driverInfo.drivingLicenceValidityDate = res?.data?.endDate + ' 00:00:00'; + this.driverInfo.drivingLicenceValidityDate = res?.data?.endDate; } this.drivingModel = res.data?.class_;