日期修改
This commit is contained in:
@ -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_;
|
||||
|
Reference in New Issue
Block a user