Commit 18617c85 by kyle

置换旧房

parent df7b34b6
...@@ -444,7 +444,7 @@ ...@@ -444,7 +444,7 @@
...this.housePurchaseInfo, ...this.housePurchaseInfo,
...this.planningParams, ...this.planningParams,
interestRate:this.housePurchaseInfo.interestRate / 100, interestRate:this.housePurchaseInfo.interestRate / 100,
houseLoanOldList:this.houseLoanOldList, houseLoanOldList:this.isDisplace ? this.houseLoanOldList : null,
businessNo: uni.getStorageSync('businessNo'), businessNo: uni.getStorageSync('businessNo'),
calcuteType:0, calcuteType:0,
decimal:4 decimal:4
...@@ -482,12 +482,17 @@ ...@@ -482,12 +482,17 @@
} }
}, },
closeBtn(){ closeBtn(){
this.isLoanSelected = this.paramsSelected = this.dialogIsShow = false; // this.isLoanSelected = this.paramsSelected =
this.dialogIsShow = false;
}, },
//打开房屋置换组件 //打开房屋置换组件
openLoan(){ openLoan(){
this.isDisplace = !this.isDisplace; this.isDisplace = !this.isDisplace;
this.isLoanSelected = this.dialogIsShow = true; if(this.isDisplace){
this.isLoanSelected = this.dialogIsShow = true;
}else{
this.dataLists = null;
}
}, },
getResultTitle(priceType){ getResultTitle(priceType){
if(priceType === '1'){ if(priceType === '1'){
......
...@@ -106,7 +106,6 @@ ...@@ -106,7 +106,6 @@
return {loanType,sendData,a,b,isReadonly} return {loanType,sendData,a,b,isReadonly}
}, },
mounted(){ mounted(){
console.log(JSON.stringify(this.a.value))
if(JSON.stringify(this.a.value) != '{}' && JSON.stringify(this.a.value) != '[]'){ if(JSON.stringify(this.a.value) != '{}' && JSON.stringify(this.a.value) != '[]'){
this.accumulationFundParams = this.a.value this.accumulationFundParams = this.a.value
} }
...@@ -134,7 +133,7 @@ ...@@ -134,7 +133,7 @@
{id:'01',text:'商业还款方式',value:1,type:'select',unit:'',alias:'oldCalcuteType'}, {id:'01',text:'商业还款方式',value:1,type:'select',unit:'',alias:'oldCalcuteType'},
{id:'02',text:'商业贷款剩余月份',value:null,type:'number',unit:'月',alias:'oldHouseRepaymentMonth'}, {id:'02',text:'商业贷款剩余月份',value:null,type:'number',unit:'月',alias:'oldHouseRepaymentMonth'},
{id:'03',text:'商业贷款年利率',value:null,type:'digit',unit:'%',alias:'oldInterestRate'}, {id:'03',text:'商业贷款年利率',value:null,type:'digit',unit:'%',alias:'oldInterestRate'},
] ];
}, },
selectLoanType(e){ selectLoanType(e){
this.loanType = e; this.loanType = e;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment