提交 8c8fa29728b0343ce6b4ef7806c91bccce06fb46

作者 pangy
1 个父辈 fc928cce

优化配偶生日

... ... @@ -524,7 +524,7 @@ Page({
524 524 newdata.education_period = this.data.childedudegreeData.selected
525 525 newdata.children_nation = "中国"
526 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 528 newdata.nation = "中国"
529 529 break;
530 530 case 'continuing_education':
... ... @@ -777,6 +777,7 @@ Page({
777 777 case 'loverbirthday':
778 778 var lover_birthDate = this.data.loverbirthDate
779 779 lover_birthDate.selected = e.detail.value
  780 + lover_birthDate.datelong = (Date.parse(new Date(e.detail.value)) / 1000)
780 781 this.setData({
781 782 loverbirthDate: lover_birthDate
782 783 })
... ...
注册登录 后发表评论