提交 b91e4325cdd6198549b3b6ba45f9646b68534765

作者 pangy
1 个父辈 d149bc41

身份证解析生日为负数也传

@@ -1116,7 +1116,7 @@ Page({ @@ -1116,7 +1116,7 @@ Page({
1116 newdata.school_country = this.data.schoolCountryData.selected 1116 newdata.school_country = this.data.schoolCountryData.selected
1117 newdata.children_nation = "中国" 1117 newdata.children_nation = "中国"
1118 newdata.spouse_id_card_type = '1' //this.data.lovercardtypeData.selected 1118 newdata.spouse_id_card_type = '1' //this.data.lovercardtypeData.selected
1119 - newdata.spouse_birthday = this.data.loverbirthDate.datelong > 0 ? this.data.loverbirthDate.datelong : 0 1119 + newdata.spouse_birthday = this.data.loverbirthDate.datelong
1120 newdata.nation = "中国" 1120 newdata.nation = "中国"
1121 break; 1121 break;
1122 case 'continuing_education': 1122 case 'continuing_education':
@@ -1414,7 +1414,7 @@ Page({ @@ -1414,7 +1414,7 @@ Page({
1414 newdata.has_spouse = this.data.hasLover ? 'y' : 'n' 1414 newdata.has_spouse = this.data.hasLover ? 'y' : 'n'
1415 newdata.id_card_no = newdata.spouse_id_card_no ? newdata.spouse_id_card_no:'' 1415 newdata.id_card_no = newdata.spouse_id_card_no ? newdata.spouse_id_card_no:''
1416 newdata.id_card_type = '1' //this.data.lovercardtypeData.selected 1416 newdata.id_card_type = '1' //this.data.lovercardtypeData.selected
1417 - newdata.birthday = this.data.loverbirthDate.datelong > 0 ? this.data.loverbirthDate.datelong : 0 1417 + newdata.birthday = this.data.loverbirthDate.datelong
1418 break; 1418 break;
1419 } 1419 }
1420 1420
注册登录 后发表评论