|
@@ -435,8 +435,11 @@ export default {
|
|
|
this.$tips('高空证信息需要完整!')
|
|
|
return false
|
|
|
} else if (
|
|
|
- Date(this.reexamineTime).getTime() < Date(this.altitudeDocumentStateTime).getTime() ||
|
|
|
- Date(this.reexamineTime).getTime() > Date(this.altitudeDocumentEndTime).getTime()
|
|
|
+ this.reexamineTime &&
|
|
|
+ this.altitudeDocumentStateTime &&
|
|
|
+ this.altitudeDocumentEndTime &&
|
|
|
+ (Date(this.reexamineTime).getTime() < Date(this.altitudeDocumentStateTime).getTime() ||
|
|
|
+ Date(this.reexamineTime).getTime() > Date(this.altitudeDocumentEndTime).getTime())
|
|
|
) {
|
|
|
this.$tips('复审日期必须包含在有效期内!')
|
|
|
return false
|