提交 e2cdcca44783f3eb7148c121d42ef9433f4cd0d6

作者 pangy
1 个父辈 aabda209

...

@@ -33,7 +33,6 @@ Page({ @@ -33,7 +33,6 @@ Page({
33 idcard_belong: null, //照片信息获取返回时判断所属 33 idcard_belong: null, //照片信息获取返回时判断所属
34 legal_entity_id: "", 34 legal_entity_id: "",
35 legal_entity: "", 35 legal_entity: "",
36 - fund_type:"",  
37 data: { 36 data: {
38 house_type: "", 37 house_type: "",
39 deduction_amount: '', 38 deduction_amount: '',
@@ -489,7 +488,6 @@ Page({ @@ -489,7 +488,6 @@ Page({
489 }) 488 })
490 } else if (frontPage.data.house_type == "rent") { 489 } else if (frontPage.data.house_type == "rent") {
491 this.getbanklist() 490 this.getbanklist()
492 - this.fund_type = "rent"  
493 if (options.reducetype == '月度') { 491 if (options.reducetype == '月度') {
494 reduce_typeData.selected = '月度' 492 reduce_typeData.selected = '月度'
495 deduction_amount = Deduce_amounts_month["house_fund_rent"] 493 deduction_amount = Deduce_amounts_month["house_fund_rent"]
@@ -499,7 +497,6 @@ Page({ @@ -499,7 +497,6 @@ Page({
499 } 497 }
500 } else if (frontPage.data.house_type == "house_fund_loan") { 498 } else if (frontPage.data.house_type == "house_fund_loan") {
501 this.getbanklist() 499 this.getbanklist()
502 - this.fund_type = "loan"  
503 if (options.reducetype == '月度') { 500 if (options.reducetype == '月度') {
504 reduce_typeData.selected = '月度' 501 reduce_typeData.selected = '月度'
505 deduction_amount = Deduce_amounts_month["house_fund_loan"] 502 deduction_amount = Deduce_amounts_month["house_fund_loan"]
@@ -768,13 +765,13 @@ Page({ @@ -768,13 +765,13 @@ Page({
768 workingcityInfo.selected = data.work_city.province + data.work_city.city 765 workingcityInfo.selected = data.work_city.province + data.work_city.city
769 setData.workingcityInfo = workingcityInfo 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 var houseLocateInfo = this.data.houseLocateInfo 769 var houseLocateInfo = this.data.houseLocateInfo
773 houseLocateInfo.requestdata = data.house_address 770 houseLocateInfo.requestdata = data.house_address
774 houseLocateInfo.selected = data.work_city.province + data.work_city.city + data.work_city.district 771 houseLocateInfo.selected = data.work_city.province + data.work_city.city + data.work_city.district
775 setData.houseLocateInfo = houseLocateInfo 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 var rentLocateInfo = this.data.rentLocateInfo 775 var rentLocateInfo = this.data.rentLocateInfo
779 rentLocateInfo.requestdata = data.house_address 776 rentLocateInfo.requestdata = data.house_address
780 rentLocateInfo.selected = data.work_city.province + data.work_city.city + data.work_city.district 777 rentLocateInfo.selected = data.work_city.province + data.work_city.city + data.work_city.district
@@ -1179,7 +1176,7 @@ Page({ @@ -1179,7 +1176,7 @@ Page({
1179 var request_loan_address = this.getLoanAddressRequest() 1176 var request_loan_address = this.getLoanAddressRequest()
1180 newdata.house_address = request_loan_address 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 newdata.type = 'rent' 1180 newdata.type = 'rent'
1184 console.log('workingcityInfo', this.data.workingcityInfo.address_value) 1181 console.log('workingcityInfo', this.data.workingcityInfo.address_value)
1185 if (this.data.workingcityInfo.address_value[0].length < 1) { 1182 if (this.data.workingcityInfo.address_value[0].length < 1) {
@@ -1492,9 +1489,9 @@ Page({ @@ -1492,9 +1489,9 @@ Page({
1492 var reduce_typeData = this.data.reducetypeData 1489 var reduce_typeData = this.data.reducetypeData
1493 var deduction_amount 1490 var deduction_amount
1494 var key = this.data.cur_index 1491 var key = this.data.cur_index
1495 - if (this.fund_type == 'rent') { 1492 + if (this.data.house_type == 'rent') {
1496 key = 'house_fund_rent' 1493 key = 'house_fund_rent'
1497 - } else if (this.fund_type == 'loan') { 1494 + } else if (this.data.house_type == "house_fund_loan") {
1498 key = 'house_fund_loan' 1495 key = 'house_fund_loan'
1499 } 1496 }
1500 if (e.detail.value == '0') { 1497 if (e.detail.value == '0') {
@@ -243,7 +243,7 @@ @@ -243,7 +243,7 @@
243 </view> 243 </view>
244 244
245 </view> 245 </view>
246 - <view wx:if="{{house_type=='house_fund_rent'}}"> 246 + <view wx:if="{{house_type=='rent'}}">
247 247
248 <view style='padding:0 30rpx;'> 248 <view style='padding:0 30rpx;'>
249 <template is="picker_cell_normal" data="{{...workingcityInfo}}" /> 249 <template is="picker_cell_normal" data="{{...workingcityInfo}}" />
注册登录 后发表评论