This commit is contained in:
chenrx
2024-06-04 21:25:43 +08:00
parent 95e4805aac
commit b8cfaedb3f
+5 -3
View File
@@ -39,13 +39,15 @@ Page({
let params = {};
params['id'] = this.data.id;
_.apiQuery.getAppCusorderDetails(params).then(res => {
this.setData({
info: res.data,
loan_amount: res.data.money_json.loan_amount ?? '', //贷款额度
loan_periods: res.data.money_json.loan_periods ?? '', //贷款期数
monthly_payment: res.data.money_json.monthly_payment ?? '', //月供
loan_amount: res.data.money_json.loan_amount ? res.data.money_json.loan_amount : '', //贷款额度
loan_periods: res.data.money_json.loan_periods ? res.data.money_json.loan_periods : '', //贷款期数
monthly_payment: res.data.money_json.monthly_payment ? res.data.money_json.monthly_payment : '', //月供
firstPayIndex: res.data.downpayment_type - 1,
})
console.log(parseInt(res.data.money_json.loan_amount))
wx.stopPullDownRefresh()
})
},