Merge branch 'nbs' into dev

This commit is contained in:
tian.guangyuan
2020-03-27 16:16:00 +08:00

View File

@@ -354,13 +354,13 @@ export default {
this.$toast('终止年月必须大于起始年月')
return
}
if(this.eduAge(this.form.educationalAgeOne,this.children[0].familyAge)){
if(this.children[0] !== undefined && this.eduAge(this.form.educationalAgeOne,this.children[0].familyAge)){
return false
}
if(this.eduAge(this.form.educationalAgeTwo,this.children[1].familyAge)){
if(this.children[1] !== undefined && this.eduAge(this.form.educationalAgeTwo,this.children[1].familyAge)){
return false
}
if(this.eduAge(this.form.educationalAgeThree,this.children[2].familyAge)){
if(this.children[2] !== undefined && this.eduAge(this.form.educationalAgeThree,this.children[2].familyAge)){
return false
}
let form = utils.deepCopy(this.form)