Commit 3d467a1c authored by 王建威's avatar 王建威

Merge branch 'wjw_ins_upadte'

parents a50619fa 725f9295
......@@ -199,8 +199,12 @@
this.monthlySign();
return
}
// uni.navigateTo({
// url: '/pages/apply/choosetype'
// });
const d = uni.getStorageSync('installment');
uni.navigateTo({
url: '/pages/apply/choosetype'
url: `/pages/apply/applypage1?property_id=${d.property_id}&equipment_id=${d.equipment_id}`
});
} else {
uni.hideToast();
......
......@@ -96,7 +96,7 @@
const install = uni.getStorageSync('installment');
const { equipment_id, property_id} = install;
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',
dataType: 'json',
success: (res) => {
......
......@@ -152,7 +152,7 @@
<text>¥ {{e_info.remaining_payment}}</text>
</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 class="poupp_tips">金融分期需要上传金融资质, 包含法人信息/企业执照/银行流水等…</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