正在显示
2 个修改的文件
包含
40 行增加
和
29 行删除
@@ -252,7 +252,7 @@ Page({ | @@ -252,7 +252,7 @@ Page({ | ||
252 | onChange: 'onPickerSelect', | 252 | onChange: 'onPickerSelect', |
253 | }, | 253 | }, |
254 | beforemarryData: { | 254 | beforemarryData: { |
255 | - label: '是否首套婚前贷款且婚后各自扣除', | 255 | + label: '是否首套婚前贷款且婚后分别扣除50%', |
256 | bindtype: 'before_marry', | 256 | bindtype: 'before_marry', |
257 | selected: '', | 257 | selected: '', |
258 | isrequre: true, | 258 | isrequre: true, |
@@ -377,9 +377,9 @@ Page({ | @@ -377,9 +377,9 @@ Page({ | ||
377 | label: '房屋坐落地址', | 377 | label: '房屋坐落地址', |
378 | mode: 'region', | 378 | mode: 'region', |
379 | maxWidth: 430, | 379 | maxWidth: 430, |
380 | - isrequre: true, | 380 | + // isrequre: true, |
381 | bindtype: 'house_locate', | 381 | bindtype: 'house_locate', |
382 | - isblack: 'true', | 382 | + // isblack: 'true', |
383 | address_code: ['', '', ''], | 383 | address_code: ['', '', ''], |
384 | address_value: ['', '', ''], | 384 | address_value: ['', '', ''], |
385 | selected: '', | 385 | selected: '', |
@@ -390,10 +390,10 @@ Page({ | @@ -390,10 +390,10 @@ Page({ | ||
390 | rentLocateInfo: { | 390 | rentLocateInfo: { |
391 | label: '租赁房屋坐落地址', | 391 | label: '租赁房屋坐落地址', |
392 | mode: 'region', | 392 | mode: 'region', |
393 | - isrequre: true, | 393 | + // isrequre: true, |
394 | maxWidth: 375, | 394 | maxWidth: 375, |
395 | bindtype: 'rent_house_locate', | 395 | bindtype: 'rent_house_locate', |
396 | - isblack: 'true', | 396 | + // isblack: 'true', |
397 | address_code: ['', '', ''], | 397 | address_code: ['', '', ''], |
398 | address_value: ['', '', ''], | 398 | address_value: ['', '', ''], |
399 | selected: '', | 399 | selected: '', |
@@ -1301,10 +1301,11 @@ Page({ | @@ -1301,10 +1301,11 @@ Page({ | ||
1301 | if (this.data.house_type == "house_fund_loan") { | 1301 | if (this.data.house_type == "house_fund_loan") { |
1302 | newdata.type = 'loan' | 1302 | newdata.type = 'loan' |
1303 | 1303 | ||
1304 | - if (this.data.houseLocateInfo.address_value[0].length < 1) { | ||
1305 | - this.showToast('请选择住房地址') | ||
1306 | - return | ||
1307 | - } else if (!formdata.house_detail_address || formdata.house_detail_address.length < 1) { | 1304 | + // if (this.data.houseLocateInfo.address_value[0].length < 1) { |
1305 | + // this.showToast('请选择住房地址') | ||
1306 | + // return | ||
1307 | + // } else | ||
1308 | + if (!formdata.house_detail_address || formdata.house_detail_address.length < 1) { | ||
1308 | this.showToast('请填写房屋详细地址') | 1309 | this.showToast('请填写房屋详细地址') |
1309 | return | 1310 | return |
1310 | }if (this.data.identifytypeData.selected.length < 1) { | 1311 | }if (this.data.identifytypeData.selected.length < 1) { |
@@ -1399,16 +1400,18 @@ Page({ | @@ -1399,16 +1400,18 @@ Page({ | ||
1399 | } | 1400 | } |
1400 | newdata.owner_id_card_type = '1'//this.data.cardtypeData.selected | 1401 | newdata.owner_id_card_type = '1'//this.data.cardtypeData.selected |
1401 | } | 1402 | } |
1402 | - if (this.data.rentLocateInfo.address_value[0].length < 1) { | ||
1403 | - this.showToast('请选择房屋地址') | ||
1404 | - return | ||
1405 | - } else if (!formdata.house_detail_address || formdata.house_detail_address.length < 1) { | ||
1406 | - this.showToast('请填写房屋详细地址') | ||
1407 | - return | ||
1408 | - }else if (!formdata.rent_contract_no || formdata.rent_contract_no.length < 1) { | ||
1409 | - this.showToast('请填写租赁合同编号') | ||
1410 | - return | ||
1411 | - } else if (this.data.leasestartDate.selected.length < 1) { | 1403 | + // if (this.data.rentLocateInfo.address_value[0].length < 1) { |
1404 | + // this.showToast('请选择房屋地址') | ||
1405 | + // return | ||
1406 | + // } else if (!formdata.house_detail_address || formdata.house_detail_address.length < 1) { | ||
1407 | + // this.showToast('请填写房屋详细地址') | ||
1408 | + // return | ||
1409 | + // } | ||
1410 | + // else if (!formdata.rent_contract_no || formdata.rent_contract_no.length < 1) { | ||
1411 | + // this.showToast('请填写租赁合同编号') | ||
1412 | + // return | ||
1413 | + // } else | ||
1414 | + if (this.data.leasestartDate.selected.length < 1) { | ||
1412 | this.showToast('请选择租赁起始日期') | 1415 | this.showToast('请选择租赁起始日期') |
1413 | return | 1416 | return |
1414 | } | 1417 | } |
@@ -2007,6 +2010,14 @@ Page({ | @@ -2007,6 +2010,14 @@ Page({ | ||
2007 | } | 2010 | } |
2008 | work_address.address_value = e.detail.value | 2011 | work_address.address_value = e.detail.value |
2009 | work_address.address_code = e.detail.code | 2012 | work_address.address_code = e.detail.code |
2013 | + this.getCityLevel({ | ||
2014 | + 'province_code': e.detail.code[0], | ||
2015 | + 'province': e.detail.value[0], | ||
2016 | + 'city_code': e.detail.code[1], | ||
2017 | + 'city': e.detail.value[1], | ||
2018 | + 'district_code': e.detail.code[2], | ||
2019 | + 'district': e.detail.value[2] | ||
2020 | + }) | ||
2010 | this.setData({ | 2021 | this.setData({ |
2011 | workAddress_haschanged: true, | 2022 | workAddress_haschanged: true, |
2012 | workingcityInfo: work_address | 2023 | workingcityInfo: work_address |
@@ -2023,14 +2034,14 @@ Page({ | @@ -2023,14 +2034,14 @@ Page({ | ||
2023 | } | 2034 | } |
2024 | rent_address.address_value = e.detail.value | 2035 | rent_address.address_value = e.detail.value |
2025 | rent_address.address_code = e.detail.code | 2036 | rent_address.address_code = e.detail.code |
2026 | - this.getCityLevel({ | ||
2027 | - 'province_code': e.detail.code[0] , | ||
2028 | - 'province': e.detail.value[0], | ||
2029 | - 'city_code': e.detail.code[1] , | ||
2030 | - 'city': e.detail.value[1], | ||
2031 | - 'district_code': e.detail.code[2] , | ||
2032 | - 'district': e.detail.value[2] | ||
2033 | - }) | 2037 | + // this.getCityLevel({ |
2038 | + // 'province_code': e.detail.code[0] , | ||
2039 | + // 'province': e.detail.value[0], | ||
2040 | + // 'city_code': e.detail.code[1] , | ||
2041 | + // 'city': e.detail.value[1], | ||
2042 | + // 'district_code': e.detail.code[2] , | ||
2043 | + // 'district': e.detail.value[2] | ||
2044 | + // }) | ||
2034 | this.setData({ | 2045 | this.setData({ |
2035 | rentAddress_haschanged: true, | 2046 | rentAddress_haschanged: true, |
2036 | rentLocateInfo: rent_address | 2047 | rentLocateInfo: rent_address |
@@ -303,8 +303,8 @@ | @@ -303,8 +303,8 @@ | ||
303 | </view> | 303 | </view> |
304 | <view class='divide_line_30'></view> | 304 | <view class='divide_line_30'></view> |
305 | <view style='height:90rpx'> | 305 | <view style='height:90rpx'> |
306 | - <text class='red_star_right_10'>*</text> | ||
307 | - <text class='text_777_30 float_left'>租赁合同编号</text> | 306 | + <!-- <text class='red_star_right_10'>*</text> --> |
307 | + <text class='text_777_30 float_left head_in'>租赁合同编号</text> | ||
308 | <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: rightcolor:#000;' placeholder='请输入合同编号' name='rent_contract_no'></input> | 308 | <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: rightcolor:#000;' placeholder='请输入合同编号' name='rent_contract_no'></input> |
309 | </view> | 309 | </view> |
310 | <view class='divide_line_30'></view> | 310 | <view class='divide_line_30'></view> |
请
注册
或
登录
后发表评论