正在显示
2 个修改的文件
包含
8 行增加
和
12 行删除
| @@ -197,16 +197,12 @@ | @@ -197,16 +197,12 @@ | ||
| 197 | <text class='text_right_333'>{{datas.certification_type}}</text> | 197 | <text class='text_right_333'>{{datas.certification_type}}</text> |
| 198 | </view> | 198 | </view> |
| 199 | <view style='height:90rpx;width:100%;clear:both;'> | 199 | <view style='height:90rpx;width:100%;clear:both;'> |
| 200 | - <text class='text_left'>证书类型</text> | ||
| 201 | - <text class='text_right_333'>{{datas.certification_type}}</text> | ||
| 202 | - </view> | ||
| 203 | - <view style='height:90rpx;width:100%;clear:both;'> | ||
| 204 | <text class='text_left'>证书号码</text> | 200 | <text class='text_left'>证书号码</text> |
| 205 | <text class='text_right_333'>{{datas.certification_no}}</text> | 201 | <text class='text_right_333'>{{datas.certification_no}}</text> |
| 206 | </view> | 202 | </view> |
| 207 | <view style='height:90rpx;width:100%;clear:both;'> | 203 | <view style='height:90rpx;width:100%;clear:both;'> |
| 208 | <text class='text_left'>是否首套婚前贷款且婚后各自扣除:</text> | 204 | <text class='text_left'>是否首套婚前贷款且婚后各自扣除:</text> |
| 209 | - <text class='text_right_333'>{{}}</text> | 205 | + <text class='text_right_333'>{{item.loan_before_marry=='y'?"是":"否"}}</text> |
| 210 | </view> | 206 | </view> |
| 211 | <view style='height:90rpx;width:100%;clear:both;'> | 207 | <view style='height:90rpx;width:100%;clear:both;'> |
| 212 | <text class='text_left'>是否本人借款</text> | 208 | <text class='text_left'>是否本人借款</text> |
| @@ -245,7 +241,7 @@ | @@ -245,7 +241,7 @@ | ||
| 245 | </view> | 241 | </view> |
| 246 | <view style='height:90rpx;width:100%;clear:both;'> | 242 | <view style='height:90rpx;width:100%;clear:both;'> |
| 247 | <text class='text_left'>配偶证照类型</text> | 243 | <text class='text_left'>配偶证照类型</text> |
| 248 | - <text class='text_right_333'>{{datas.spouse_id_card_type=='1'?"居民身份证":datas.spouse_id_card_type}}</text> | 244 | + <text class='text_right_333'>居民身份证</text> |
| 249 | </view> | 245 | </view> |
| 250 | <view style='height:90rpx;width:100%;clear:both;'> | 246 | <view style='height:90rpx;width:100%;clear:both;'> |
| 251 | <text class='text_left'>配偶身份证照号码</text> | 247 | <text class='text_left'>配偶身份证照号码</text> |
| @@ -168,14 +168,14 @@ Page({ | @@ -168,14 +168,14 @@ Page({ | ||
| 168 | } | 168 | } |
| 169 | } | 169 | } |
| 170 | } | 170 | } |
| 171 | - if(this.data.house_type==''){ | ||
| 172 | - this.setData({ | ||
| 173 | - house_type: newdata.length>0&&newdata[0].type ? newdata[0].type:"" | ||
| 174 | - }) | ||
| 175 | - } | ||
| 176 | - | ||
| 177 | 171 | ||
| 172 | + var housetype_new = this.data.house_type | ||
| 173 | + if (newdata.length > 0 && newdata[0].type){ | ||
| 174 | + housetype_new = newdata[0].type == 'loan' ? "house_fund_loan" :"house_fund_rent" | ||
| 175 | + } | ||
| 176 | + console.log("housetype_new", housetype_new) | ||
| 178 | this.setData({ | 177 | this.setData({ |
| 178 | + house_type: housetype_new, | ||
| 179 | additionInfo: newdata | 179 | additionInfo: newdata |
| 180 | }) | 180 | }) |
| 181 | }, | 181 | }, |
请
注册
或
登录
后发表评论