提交 d367af1187facea03ae58a9dbd26dc4a5e34f0cc

作者 pangy
1 个父辈 c9845cab

新增改动

... ... @@ -252,7 +252,7 @@ Page({
252 252 onChange: 'onPickerSelect',
253 253 },
254 254 beforemarryData: {
255   - label: '是否首套婚前贷款且婚后各自扣除',
  255 + label: '是否首套婚前贷款且婚后分别扣除50%',
256 256 bindtype: 'before_marry',
257 257 selected: '',
258 258 isrequre: true,
... ... @@ -377,9 +377,9 @@ Page({
377 377 label: '房屋坐落地址',
378 378 mode: 'region',
379 379 maxWidth: 430,
380   - isrequre: true,
  380 + // isrequre: true,
381 381 bindtype: 'house_locate',
382   - isblack: 'true',
  382 + // isblack: 'true',
383 383 address_code: ['', '', ''],
384 384 address_value: ['', '', ''],
385 385 selected: '',
... ... @@ -390,10 +390,10 @@ Page({
390 390 rentLocateInfo: {
391 391 label: '租赁房屋坐落地址',
392 392 mode: 'region',
393   - isrequre: true,
  393 + // isrequre: true,
394 394 maxWidth: 375,
395 395 bindtype: 'rent_house_locate',
396   - isblack: 'true',
  396 + // isblack: 'true',
397 397 address_code: ['', '', ''],
398 398 address_value: ['', '', ''],
399 399 selected: '',
... ... @@ -1301,10 +1301,11 @@ Page({
1301 1301 if (this.data.house_type == "house_fund_loan") {
1302 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 1309 this.showToast('请填写房屋详细地址')
1309 1310 return
1310 1311 }if (this.data.identifytypeData.selected.length < 1) {
... ... @@ -1399,16 +1400,18 @@ Page({
1399 1400 }
1400 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 1415 this.showToast('请选择租赁起始日期')
1413 1416 return
1414 1417 }
... ... @@ -2007,6 +2010,14 @@ Page({
2007 2010 }
2008 2011 work_address.address_value = e.detail.value
2009 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 2021 this.setData({
2011 2022 workAddress_haschanged: true,
2012 2023 workingcityInfo: work_address
... ... @@ -2023,14 +2034,14 @@ Page({
2023 2034 }
2024 2035 rent_address.address_value = e.detail.value
2025 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 2045 this.setData({
2035 2046 rentAddress_haschanged: true,
2036 2047 rentLocateInfo: rent_address
... ...
... ... @@ -303,8 +303,8 @@
303 303 </view>
304 304 <view class='divide_line_30'></view>
305 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 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 309 </view>
310 310 <view class='divide_line_30'></view>
... ...
注册登录 后发表评论