正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -524,7 +524,7 @@ Page({ | @@ -524,7 +524,7 @@ Page({ | ||
524 | newdata.education_period = this.data.childedudegreeData.selected | 524 | newdata.education_period = this.data.childedudegreeData.selected |
525 | newdata.children_nation = "中国" | 525 | newdata.children_nation = "中国" |
526 | newdata.spouse_id_card_type = '1'//this.data.lovercardtypeData.selected | 526 | newdata.spouse_id_card_type = '1'//this.data.lovercardtypeData.selected |
527 | - newdata.spouse_birthday = this.data.loverbirthDate.selected | 527 | + newdata.spouse_birthday = this.data.loverbirthDate.datelong > 0 ? this.data.loverbirthDate.datelong: 0 |
528 | newdata.nation = "中国" | 528 | newdata.nation = "中国" |
529 | break; | 529 | break; |
530 | case 'continuing_education': | 530 | case 'continuing_education': |
@@ -777,6 +777,7 @@ Page({ | @@ -777,6 +777,7 @@ Page({ | ||
777 | case 'loverbirthday': | 777 | case 'loverbirthday': |
778 | var lover_birthDate = this.data.loverbirthDate | 778 | var lover_birthDate = this.data.loverbirthDate |
779 | lover_birthDate.selected = e.detail.value | 779 | lover_birthDate.selected = e.detail.value |
780 | + lover_birthDate.datelong = (Date.parse(new Date(e.detail.value)) / 1000) | ||
780 | this.setData({ | 781 | this.setData({ |
781 | loverbirthDate: lover_birthDate | 782 | loverbirthDate: lover_birthDate |
782 | }) | 783 | }) |
请
注册
或
登录
后发表评论