正在显示
2 个修改的文件
包含
7 行增加
和
6 行删除
@@ -1020,7 +1020,7 @@ Page({ | @@ -1020,7 +1020,7 @@ Page({ | ||
1020 | this.dealCardType(data.id_card_type, 'lovercardtype') | 1020 | this.dealCardType(data.id_card_type, 'lovercardtype') |
1021 | var loverbirthDate = this.data.loverbirthDate | 1021 | var loverbirthDate = this.data.loverbirthDate |
1022 | loverbirthDate.selected = format.formatTime_date(data.birthday)//(data.spouse_birthday) | 1022 | loverbirthDate.selected = format.formatTime_date(data.birthday)//(data.spouse_birthday) |
1023 | - loverbirthDate.datelong = data.spouse_birthday | 1023 | + loverbirthDate.datelong = data.birthday |
1024 | setData.loverbirthDate = loverbirthDate | 1024 | setData.loverbirthDate = loverbirthDate |
1025 | this.data.loverCountryData.selected = data.nation | 1025 | this.data.loverCountryData.selected = data.nation |
1026 | setData.loverCountryData = this.data.loverCountryData | 1026 | setData.loverCountryData = this.data.loverCountryData |
@@ -1968,7 +1968,7 @@ Page({ | @@ -1968,7 +1968,7 @@ Page({ | ||
1968 | }) | 1968 | }) |
1969 | } | 1969 | } |
1970 | }, | 1970 | }, |
1971 | - complete(){ | 1971 | + fail(res){ |
1972 | wx.hideLoading() | 1972 | wx.hideLoading() |
1973 | } | 1973 | } |
1974 | }) | 1974 | }) |
@@ -3016,7 +3016,8 @@ Page({ | @@ -3016,7 +3016,8 @@ Page({ | ||
3016 | if (data && data.length > 0) { | 3016 | if (data && data.length > 0) { |
3017 | wx.showToast({ | 3017 | wx.showToast({ |
3018 | title: data, | 3018 | title: data, |
3019 | - icon: "none" | 3019 | + icon: "none", |
3020 | + duration: 2000 | ||
3020 | }) | 3021 | }) |
3021 | } | 3022 | } |
3022 | }, | 3023 | }, |
@@ -1234,7 +1234,7 @@ Page({ | @@ -1234,7 +1234,7 @@ Page({ | ||
1234 | this.showtoast('请选择居住地址'); | 1234 | this.showtoast('请选择居住地址'); |
1235 | return | 1235 | return |
1236 | } | 1236 | } |
1237 | - if (this.data.curAddress_haschanged) {//选择了地址 || this.data.taxInfo.current_address.province_code | 1237 | + if (this.data.currentaddressInfo.selected.length > 0) { |
1238 | if (formdata.current_address_detail.length < 1) { | 1238 | if (formdata.current_address_detail.length < 1) { |
1239 | this.showtoast('请填写详细居住地址'); | 1239 | this.showtoast('请填写详细居住地址'); |
1240 | return | 1240 | return |
@@ -1244,7 +1244,7 @@ Page({ | @@ -1244,7 +1244,7 @@ Page({ | ||
1244 | this.showtoast('请选择户籍地址'); | 1244 | this.showtoast('请选择户籍地址'); |
1245 | return | 1245 | return |
1246 | } | 1246 | } |
1247 | - if (this.data.birthAddress_haschanged) {//选择了地址 || this.data.taxInfo.huji_address.province_code | 1247 | + if (this.data.birthaddressInfo.selected.length > 0) { |
1248 | if (formdata.huji_address_detail.length < 1) { | 1248 | if (formdata.huji_address_detail.length < 1) { |
1249 | this.showtoast('请填写详细户籍地址'); | 1249 | this.showtoast('请填写详细户籍地址'); |
1250 | return | 1250 | return |
@@ -1256,7 +1256,7 @@ Page({ | @@ -1256,7 +1256,7 @@ Page({ | ||
1256 | return | 1256 | return |
1257 | } | 1257 | } |
1258 | } | 1258 | } |
1259 | - if (this.data.hasOtherCard && this.data.contactAddress_haschanged) {//选择了地址 || this.data.taxInfo.contact_address.province_code | 1259 | + if (this.data.hasOtherCard && this.data.contactaddressInfo.selected.length > 0) { |
1260 | if (formdata.contact_address_detail.length < 1) { | 1260 | if (formdata.contact_address_detail.length < 1) { |
1261 | this.showtoast('请填写详细联系地址'); | 1261 | this.showtoast('请填写详细联系地址'); |
1262 | return | 1262 | return |
请
注册
或
登录
后发表评论