正在显示
2 个修改的文件
包含
8 行增加
和
12 行删除
| ... | ... | @@ -197,16 +197,12 @@ |
| 197 | 197 | <text class='text_right_333'>{{datas.certification_type}}</text> |
| 198 | 198 | </view> |
| 199 | 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 | 200 | <text class='text_left'>证书号码</text> |
| 205 | 201 | <text class='text_right_333'>{{datas.certification_no}}</text> |
| 206 | 202 | </view> |
| 207 | 203 | <view style='height:90rpx;width:100%;clear:both;'> |
| 208 | 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 | 206 | </view> |
| 211 | 207 | <view style='height:90rpx;width:100%;clear:both;'> |
| 212 | 208 | <text class='text_left'>是否本人借款</text> |
| ... | ... | @@ -245,7 +241,7 @@ |
| 245 | 241 | </view> |
| 246 | 242 | <view style='height:90rpx;width:100%;clear:both;'> |
| 247 | 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 | 245 | </view> |
| 250 | 246 | <view style='height:90rpx;width:100%;clear:both;'> |
| 251 | 247 | <text class='text_left'>配偶身份证照号码</text> | ... | ... |
| ... | ... | @@ -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 | 177 | this.setData({ |
| 178 | + house_type: housetype_new, | |
| 179 | 179 | additionInfo: newdata |
| 180 | 180 | }) |
| 181 | 181 | }, | ... | ... |
请
注册
或
登录
后发表评论