正在显示
2 个修改的文件
包含
11 行增加
和
4 行删除
@@ -726,6 +726,7 @@ Page({ | @@ -726,6 +726,7 @@ Page({ | ||
726 | if (data.name && data.name.length) { | 726 | if (data.name && data.name.length) { |
727 | setData.spouse_name = data.name | 727 | setData.spouse_name = data.name |
728 | } | 728 | } |
729 | + that.dealCardType(data.id_card_type, 'lovercardtype') | ||
729 | that.data.lovercardtypeData.selected = data.id_card_type | 730 | that.data.lovercardtypeData.selected = data.id_card_type |
730 | setData.lovercardtypeData = that.data.lovercardtypeData | 731 | setData.lovercardtypeData = that.data.lovercardtypeData |
731 | if (data.id_card_no && data.id_card_no.length) { | 732 | if (data.id_card_no && data.id_card_no.length) { |
@@ -738,7 +739,7 @@ Page({ | @@ -738,7 +739,7 @@ Page({ | ||
738 | that.data.loverbirthDate.datelong = data.birth_date | 739 | that.data.loverbirthDate.datelong = data.birth_date |
739 | setData.loverbirthDate = that.data.loverbirthDate | 740 | setData.loverbirthDate = that.data.loverbirthDate |
740 | that.data.loverCountryData.selected = data.native | 741 | that.data.loverCountryData.selected = data.native |
741 | - that.data.loverCountryData.disabled = true | 742 | + // that.data.loverCountryData.disabled = true |
742 | setData.loverCountryData = that.data.loverCountryData | 743 | setData.loverCountryData = that.data.loverCountryData |
743 | that.setData(setData) | 744 | that.setData(setData) |
744 | } | 745 | } |
@@ -1029,6 +1030,12 @@ Page({ | @@ -1029,6 +1030,12 @@ Page({ | ||
1029 | setData.spouse_name = data.spouse_name | 1030 | setData.spouse_name = data.spouse_name |
1030 | } | 1031 | } |
1031 | this.dealCardType(data.id_card_type, 'lovercardtype') | 1032 | this.dealCardType(data.id_card_type, 'lovercardtype') |
1033 | + var loverbirthDate = this.data.loverbirthDate | ||
1034 | + loverbirthDate.selected = format.formatTime_date(data.birthday)//(data.spouse_birthday) | ||
1035 | + loverbirthDate.datelong = data.spouse_birthday | ||
1036 | + setData.loverbirthDate = loverbirthDate | ||
1037 | + this.data.loverCountryData.selected = data.nation | ||
1038 | + setData.loverCountryData = this.data.loverCountryData | ||
1032 | if (data.id_card_no && data.id_card_no.length) { | 1039 | if (data.id_card_no && data.id_card_no.length) { |
1033 | setData.spouse_id_card_no = data.id_card_no | 1040 | setData.spouse_id_card_no = data.id_card_no |
1034 | if ('居民身份证' == data.id_card_type) { | 1041 | if ('居民身份证' == data.id_card_type) { |
@@ -359,7 +359,7 @@ | @@ -359,7 +359,7 @@ | ||
359 | <view class='divide_line_30'></view> | 359 | <view class='divide_line_30'></view> |
360 | <view style='height:90rpx'> | 360 | <view style='height:90rpx'> |
361 | <text class='text_777_30 float_left head_in'>配偶姓名</text> | 361 | <text class='text_777_30 float_left head_in'>配偶姓名</text> |
362 | - <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入配偶姓名' name='spouse_name' value='{{spouse_name}}' disabled='{{hasGetLover}}'></input> | 362 | + <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入配偶姓名' name='spouse_name' value='{{spouse_name}}'></input><!-- disabled='{{hasGetLover}}' --> |
363 | </view> | 363 | </view> |
364 | <view class='divide_line_30'></view> | 364 | <view class='divide_line_30'></view> |
365 | <template is="picker_cell_normal" data="{{...lovercardtypeData}}" /> | 365 | <template is="picker_cell_normal" data="{{...lovercardtypeData}}" /> |
@@ -367,8 +367,8 @@ | @@ -367,8 +367,8 @@ | ||
367 | <view style='height:90rpx'> | 367 | <view style='height:90rpx'> |
368 | <text class='text_777_30 float_left head_in'>配偶证照号码</text> | 368 | <text class='text_777_30 float_left head_in'>配偶证照号码</text> |
369 | <view> | 369 | <view> |
370 | - <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden='{{hasGetLover || !isIdCard_lover}}' id="spouse_id_card_no"></image> | ||
371 | - <input class='input_wrap' style='color:#000;' placeholder='请输入证照号码' placeholder-class='text_999_30' name='spouse_id_card_no' maxlength='18' value='{{spouse_id_card_no}}' bindinput="idChange" bindblur="idDone" id='spouse_id_card_no_input' disabled='{{hasGetLover}}'></input> | 370 | + <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden='{{!isIdCard_lover}}' id="spouse_id_card_no"></image><!-- hidden='{{hasGetLover || !isIdCard_lover}}' --> |
371 | + <input class='input_wrap' style='color:#000;' placeholder='请输入证照号码' placeholder-class='text_999_30' name='spouse_id_card_no' maxlength='18' value='{{spouse_id_card_no}}' bindinput="idChange" bindblur="idDone" id='spouse_id_card_no_input'></input><!-- disabled='{{hasGetLover}}' --> | ||
372 | </view> | 372 | </view> |
373 | </view> | 373 | </view> |
374 | <view class='divide_line_30'></view> | 374 | <view class='divide_line_30'></view> |
请
注册
或
登录
后发表评论