|
@ -496,11 +496,11 @@ export default { |
|
|
if (!valid) { |
|
|
if (!valid) { |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
if(this.morningTime === null){ |
|
|
if(this.morningTime === null && this.dataForm.noAvailableVaccines !== '1'){ |
|
|
this.$message.error('请填写上午接种时间'); |
|
|
this.$message.error('请填写上午接种时间'); |
|
|
return false |
|
|
return false |
|
|
} |
|
|
} |
|
|
if(this.afterTime === null ){ |
|
|
if(this.afterTime === null && this.dataForm.noAvailableVaccines !== '1'){ |
|
|
this.$message.error('请填写下午接种时间'); |
|
|
this.$message.error('请填写下午接种时间'); |
|
|
return false |
|
|
return false |
|
|
} |
|
|
} |
|
|