Commit 725f9295 authored by 王建威's avatar 王建威

bug fix

parent a2e89c29
...@@ -199,8 +199,12 @@ ...@@ -199,8 +199,12 @@
this.monthlySign(); this.monthlySign();
return return
} }
// uni.navigateTo({
// url: '/pages/apply/choosetype'
// });
const d = uni.getStorageSync('installment');
uni.navigateTo({ uni.navigateTo({
url: '/pages/apply/choosetype' url: `/pages/apply/applypage1?property_id=${d.property_id}&equipment_id=${d.equipment_id}`
}); });
} else { } else {
uni.hideToast(); uni.hideToast();
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
const install = uni.getStorageSync('installment'); const install = uni.getStorageSync('installment');
const { equipment_id, property_id} = install; const { equipment_id, property_id} = install;
uni.request({ uni.request({
url: `/uni/api/repayment/PayDetails?contract_no=${this.contract_no}`, url: `/uni/api/repayment/PayDetails?contract_no=${this.contract_no || install.contract_no}`,
method: 'GET', method: 'GET',
dataType: 'json', dataType: 'json',
success: (res) => { success: (res) => {
......
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
<text>¥ {{e_info.remaining_payment}}</text> <text>¥ {{e_info.remaining_payment}}</text>
</view> </view>
</view> </view>
<view class="profile">利息每期(元):¥{{(Number(e_info.equipment_price)-Number(e_info.advance_payment))*Number(e_info.count)}}</view> <view class="profile">利息每期(元):¥{{((Number(e_info.equipment_price)-Number(e_info.advance_payment))*Number(e_info.count)).toFixed(2)}}</view>
</view> </view>
<view class="poupp_tips">金融分期需要上传金融资质, 包含法人信息/企业执照/银行流水等…</view> <view class="poupp_tips">金融分期需要上传金融资质, 包含法人信息/企业执照/银行流水等…</view>
<view class="poupp_btn" @click="buy_now()">立即分期</view> <view class="poupp_btn" @click="buy_now()">立即分期</view>
......
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