正在显示
2 个修改的文件
包含
6 行增加
和
9 行删除
... | ... | @@ -33,7 +33,6 @@ Page({ |
33 | 33 | idcard_belong: null, //照片信息获取返回时判断所属 |
34 | 34 | legal_entity_id: "", |
35 | 35 | legal_entity: "", |
36 | - fund_type:"", | |
37 | 36 | data: { |
38 | 37 | house_type: "", |
39 | 38 | deduction_amount: '', |
... | ... | @@ -489,7 +488,6 @@ Page({ |
489 | 488 | }) |
490 | 489 | } else if (frontPage.data.house_type == "rent") { |
491 | 490 | this.getbanklist() |
492 | - this.fund_type = "rent" | |
493 | 491 | if (options.reducetype == '月度') { |
494 | 492 | reduce_typeData.selected = '月度' |
495 | 493 | deduction_amount = Deduce_amounts_month["house_fund_rent"] |
... | ... | @@ -499,7 +497,6 @@ Page({ |
499 | 497 | } |
500 | 498 | } else if (frontPage.data.house_type == "house_fund_loan") { |
501 | 499 | this.getbanklist() |
502 | - this.fund_type = "loan" | |
503 | 500 | if (options.reducetype == '月度') { |
504 | 501 | reduce_typeData.selected = '月度' |
505 | 502 | deduction_amount = Deduce_amounts_month["house_fund_loan"] |
... | ... | @@ -768,13 +765,13 @@ Page({ |
768 | 765 | workingcityInfo.selected = data.work_city.province + data.work_city.city |
769 | 766 | setData.workingcityInfo = workingcityInfo |
770 | 767 | } |
771 | - if (house_type == 'house_fund_loan' && data.house_address && data.house_address.province) { | |
768 | + if (this.data.house_type == 'house_fund_loan' && data.house_address && data.house_address.province) { | |
772 | 769 | var houseLocateInfo = this.data.houseLocateInfo |
773 | 770 | houseLocateInfo.requestdata = data.house_address |
774 | 771 | houseLocateInfo.selected = data.work_city.province + data.work_city.city + data.work_city.district |
775 | 772 | setData.houseLocateInfo = houseLocateInfo |
776 | 773 | } |
777 | - if (house_type == 'house_fund_rent' && data.house_address && data.house_address.province) { | |
774 | + if (this.data.house_type == 'rent' && data.house_address && data.house_address.province) { | |
778 | 775 | var rentLocateInfo = this.data.rentLocateInfo |
779 | 776 | rentLocateInfo.requestdata = data.house_address |
780 | 777 | rentLocateInfo.selected = data.work_city.province + data.work_city.city + data.work_city.district |
... | ... | @@ -1179,7 +1176,7 @@ Page({ |
1179 | 1176 | var request_loan_address = this.getLoanAddressRequest() |
1180 | 1177 | newdata.house_address = request_loan_address |
1181 | 1178 | |
1182 | - } else if (this.data.house_type == "house_fund_rent") { | |
1179 | + } else if (this.data.house_type == "rent") { | |
1183 | 1180 | newdata.type = 'rent' |
1184 | 1181 | console.log('workingcityInfo', this.data.workingcityInfo.address_value) |
1185 | 1182 | if (this.data.workingcityInfo.address_value[0].length < 1) { |
... | ... | @@ -1492,9 +1489,9 @@ Page({ |
1492 | 1489 | var reduce_typeData = this.data.reducetypeData |
1493 | 1490 | var deduction_amount |
1494 | 1491 | var key = this.data.cur_index |
1495 | - if (this.fund_type == 'rent') { | |
1492 | + if (this.data.house_type == 'rent') { | |
1496 | 1493 | key = 'house_fund_rent' |
1497 | - } else if (this.fund_type == 'loan') { | |
1494 | + } else if (this.data.house_type == "house_fund_loan") { | |
1498 | 1495 | key = 'house_fund_loan' |
1499 | 1496 | } |
1500 | 1497 | if (e.detail.value == '0') { | ... | ... |
请
注册
或
登录
后发表评论