是否贴息
This commit is contained in:
@@ -16,7 +16,8 @@ Page({
|
|||||||
num:'',//分期期数
|
num:'',//分期期数
|
||||||
|
|
||||||
notify_file_obj:[],
|
notify_file_obj:[],
|
||||||
|
|
||||||
|
is_tiexi:0,//是否贴息
|
||||||
},
|
},
|
||||||
onLoad: function (options) {
|
onLoad: function (options) {
|
||||||
for (let key in options) {
|
for (let key in options) {
|
||||||
@@ -42,6 +43,7 @@ Page({
|
|||||||
notify_file_obj:res.data.notify_file,
|
notify_file_obj:res.data.notify_file,
|
||||||
lend_file_obj:res.data.lend_file,
|
lend_file_obj:res.data.lend_file,
|
||||||
price_loan:res.data.price_loan?res.data.price_loan:'',
|
price_loan:res.data.price_loan?res.data.price_loan:'',
|
||||||
|
is_tiexi:res.data.is_tiexi,
|
||||||
})
|
})
|
||||||
|
|
||||||
//匹配融机构
|
//匹配融机构
|
||||||
@@ -316,6 +318,7 @@ Page({
|
|||||||
if(that.data.num){
|
if(that.data.num){
|
||||||
params['num'] = that.data.num;
|
params['num'] = that.data.num;
|
||||||
}
|
}
|
||||||
|
params['is_tiexi'] = this.data.is_tiexi;
|
||||||
_.apiQuery.putAppLoan(params).then(res => {
|
_.apiQuery.putAppLoan(params).then(res => {
|
||||||
|
|
||||||
that.setData({
|
that.setData({
|
||||||
@@ -371,6 +374,7 @@ Page({
|
|||||||
if(that.data.num){
|
if(that.data.num){
|
||||||
params['num'] = that.data.num;
|
params['num'] = that.data.num;
|
||||||
}
|
}
|
||||||
|
params['is_tiexi'] = this.data.is_tiexi;
|
||||||
_.apiQuery.putAppLoan(params).then(res => {
|
_.apiQuery.putAppLoan(params).then(res => {
|
||||||
|
|
||||||
that.setData({
|
that.setData({
|
||||||
@@ -468,4 +472,11 @@ Page({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
//是否添加个微
|
||||||
|
switchTiexi:function(e){
|
||||||
|
this.setData({
|
||||||
|
is_tiexi:e.detail.value ? 1 :0
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
})
|
})
|
||||||
@@ -27,6 +27,12 @@
|
|||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||||
|
<view class="absolute left-0 box-middle">是否贴息</view>
|
||||||
|
<view class="relative pt30 pb30 text-right">
|
||||||
|
<switch checked="{{is_tiexi==1}}" bindchange="switchTiexi" type="switch" color='#36afa2' style="zoom:0.8" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view class="relative">
|
<view class="relative">
|
||||||
<view class="mt30 font-28">按揭通知函<text class="color-f9394d">*</text></view>
|
<view class="mt30 font-28">按揭通知函<text class="color-f9394d">*</text></view>
|
||||||
<view class="mt30 pb30 text-center">
|
<view class="mt30 pb30 text-center">
|
||||||
@@ -76,6 +82,14 @@
|
|||||||
<view class="absolute left-0 box-middle">贷款金额</view>
|
<view class="absolute left-0 box-middle">贷款金额</view>
|
||||||
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{price_loan}}</view>
|
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{price_loan}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||||
|
<view class="absolute left-0 box-middle">分期期数</view>
|
||||||
|
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{nums[numIndex]}}</view>
|
||||||
|
</view>
|
||||||
|
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||||
|
<view class="absolute left-0 box-middle">是否贴息</view>
|
||||||
|
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{is_tiexi==1?'是':'否'}}</view>
|
||||||
|
</view>
|
||||||
<view class="relative">
|
<view class="relative">
|
||||||
<view class="mt30 font-28">按揭通知函</view>
|
<view class="mt30 font-28">按揭通知函</view>
|
||||||
<view class="mt30 pb30 text-center">
|
<view class="mt30 pb30 text-center">
|
||||||
@@ -134,6 +148,7 @@
|
|||||||
<view class="mt20 font-28 color-666">金融机构:{{financeArray[financeIndex]}}</view>
|
<view class="mt20 font-28 color-666">金融机构:{{financeArray[financeIndex]}}</view>
|
||||||
<view class="mt20 font-28 color-666">贷款金额:{{price_loan}}</view>
|
<view class="mt20 font-28 color-666">贷款金额:{{price_loan}}</view>
|
||||||
<view class="mt20 font-28 color-666">分期期数:{{num}}</view>
|
<view class="mt20 font-28 color-666">分期期数:{{num}}</view>
|
||||||
|
<view class="mt20 font-28 color-666">是否贴息:{{is_tiexi==1?'是':'否'}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="pl60 pr60 pb50 text-center font-32 color-666 fn-flex">
|
<view class="pl60 pr60 pb50 text-center font-32 color-666 fn-flex">
|
||||||
|
|||||||
Reference in New Issue
Block a user