提交 fa89adc8b13e1f8470b9b964b4750afdfb1a7b2e

作者 pangy
1 个父辈 a14c477d

编辑 处理学前教育

... ... @@ -821,9 +821,14 @@ Page({
821 821 switch (this.data.cur_index + '') {
822 822 case 'children_education':
823 823 this.dealCardType(data.children_id_card_type, 'childrencardtype')//为防止干扰其他字段,需要先执行
  824 + var studystartdate = this.data.studystartdate
  825 + var schoolCountryData = this.data.schoolCountryData
824 826 if (data.education_period.indexOf('学前') > -1){
825   - var studystartdate = this.data.studystartdate
826 827 studystartdate.disabled = true
  828 + schoolCountryData.isrequre = false
  829 + this.setData({
  830 + child_edu_pre: true
  831 + })
827 832 }
828 833 var setData = {}
829 834 this.data.countryData.selected = data.children_nation
... ... @@ -876,10 +881,10 @@ Page({
876 881 setData.childedudegreeData = childedudegreeData
877 882 }
878 883 if (data.school_country && data.school_country.length) {
879   - var schoolCountryData = this.data.schoolCountryData
880 884 schoolCountryData.selected = data.school_country
881   - setData.schoolCountryData = schoolCountryData
882 885 }
  886 + setData.schoolCountryData = schoolCountryData
  887 +
883 888 if (data.school_name && data.school_name.length) {
884 889 setData.school_name = data.school_name
885 890 }
... ...
注册登录 后发表评论