|
@@ -438,8 +438,10 @@ export default {
|
|
|
this.reexamineTime &&
|
|
|
this.altitudeDocumentStateTime &&
|
|
|
this.altitudeDocumentEndTime &&
|
|
|
- (Date(this.reexamineTime).getTime() < Date(this.altitudeDocumentStateTime).getTime() ||
|
|
|
- Date(this.reexamineTime).getTime() > Date(this.altitudeDocumentEndTime).getTime())
|
|
|
+ (new Date(this.reexamineTime + ' 23:59:59').getTime() <
|
|
|
+ new Date(this.altitudeDocumentStateTime + ' 00:00:00').getTime() ||
|
|
|
+ new Date(this.reexamineTime + ' 23:59:59').getTime() >
|
|
|
+ new Date(this.altitudeDocumentEndTime + ' 23:59:59').getTime())
|
|
|
) {
|
|
|
this.$tips('复审日期必须包含在有效期内!')
|
|
|
return false
|