|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<view class="content">
|
|
<view class="content">
|
|
- <!-- <uni-notice-bar single="true" text="实际到账98%"></uni-notice-bar> -->
|
|
|
|
|
|
+ <uni-notice-bar single="true" :text="'手续费:' + sxf + '%'"></uni-notice-bar>
|
|
<view class="content-money">
|
|
<view class="content-money">
|
|
<view class="flex " style="width: 750rpx;justify-content: space-around;margin-left: 0;">
|
|
<view class="flex " style="width: 750rpx;justify-content: space-around;margin-left: 0;">
|
|
<view class="buttom">
|
|
<view class="buttom">
|
|
@@ -18,6 +18,7 @@
|
|
placeholder-class="placeholder" />
|
|
placeholder-class="placeholder" />
|
|
<view class="buttom" @click="withdrawal = money">全部提现</view>
|
|
<view class="buttom" @click="withdrawal = money">全部提现</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <uni-notice-bar v-if="withdrawal*1>0" single="true" :text="showDz"></uni-notice-bar>
|
|
</view>
|
|
</view>
|
|
<view class="list">
|
|
<view class="list">
|
|
<radio-group @change="tabRadio">
|
|
<radio-group @change="tabRadio">
|
|
@@ -87,6 +88,11 @@
|
|
<input class="input" type="text" v-model="bank_name" placeholder="请输入所属银行"
|
|
<input class="input" type="text" v-model="bank_name" placeholder="请输入所属银行"
|
|
placeholder-class="placeholder" />
|
|
placeholder-class="placeholder" />
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="row b-b" v-if="type == 'bank'">
|
|
|
|
+ <text class="tit">所属支行</text>
|
|
|
|
+ <input class="input" type="text" v-model="subbranch" placeholder="请输入所属支行"
|
|
|
|
+ placeholder-class="placeholder" />
|
|
|
|
+ </view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<!-- <view class="row b-b" v-if="type == 'bank'">
|
|
<!-- <view class="row b-b" v-if="type == 'bank'">
|
|
@@ -132,6 +138,7 @@
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ sxf: '',
|
|
ali_people: '',
|
|
ali_people: '',
|
|
loading: false,
|
|
loading: false,
|
|
phone: '',
|
|
phone: '',
|
|
@@ -147,6 +154,7 @@
|
|
bank_code: '',
|
|
bank_code: '',
|
|
bank_people: '',
|
|
bank_people: '',
|
|
bank_name: '',
|
|
bank_name: '',
|
|
|
|
+ subbranch: '',
|
|
bank_belonging: '',
|
|
bank_belonging: '',
|
|
jftype: 0,
|
|
jftype: 0,
|
|
isSh: 1
|
|
isSh: 1
|
|
@@ -156,6 +164,15 @@
|
|
//加载提现信息
|
|
//加载提现信息
|
|
this.loadData();
|
|
this.loadData();
|
|
},
|
|
},
|
|
|
|
+ computed: {
|
|
|
|
+ showDz() {
|
|
|
|
+ if (this.withdrawal == 0) {
|
|
|
|
+ return '实际到账0';
|
|
|
|
+ } else {
|
|
|
|
+ return '实际到账' + (this.withdrawal * (100 - this.sxf * 1) / 100).toFixed(2) + '';
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
...mapMutations('user', ['setUserInfo', 'setOrderInfo']),
|
|
...mapMutations('user', ['setUserInfo', 'setOrderInfo']),
|
|
async loadData() {
|
|
async loadData() {
|
|
@@ -163,13 +180,16 @@
|
|
data
|
|
data
|
|
}) => {
|
|
}) => {
|
|
console.log(data, 'data+++++++++');
|
|
console.log(data, 'data+++++++++');
|
|
|
|
+ this.sxf = data.service_charge
|
|
this.minPrice = data.minPrice;
|
|
this.minPrice = data.minPrice;
|
|
this.money = data.brokerage_price;
|
|
this.money = data.brokerage_price;
|
|
if (data.extractInfo != null) {
|
|
if (data.extractInfo != null) {
|
|
this.bank_people = data.extractInfo.real_name;
|
|
this.bank_people = data.extractInfo.real_name;
|
|
this.bank_name = data.extractInfo.bank_address;
|
|
this.bank_name = data.extractInfo.bank_address;
|
|
|
|
+ this.subbranch = data.extractInfo.subbranch;
|
|
this.bank_code = data.extractInfo.bank_code;
|
|
this.bank_code = data.extractInfo.bank_code;
|
|
- this.phone = this.userInfo.phone;
|
|
|
|
|
|
+ this.phone = data.extractInfo.phone || this.userInfo.phone || '';
|
|
|
|
+ // this.phone = this.userInfo.phone;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
version({}).then(({
|
|
version({}).then(({
|
|
@@ -234,6 +254,9 @@
|
|
if (obj.bank_name == '') {
|
|
if (obj.bank_name == '') {
|
|
return obj.$api.msg('请输入所属银行');
|
|
return obj.$api.msg('请输入所属银行');
|
|
}
|
|
}
|
|
|
|
+ if (obj.subbranch == '') {
|
|
|
|
+ return obj.$api.msg('请输入所属支行');
|
|
|
|
+ }
|
|
if (obj.bank_code == '') {
|
|
if (obj.bank_code == '') {
|
|
return obj.$api.msg('请输入银行卡号');
|
|
return obj.$api.msg('请输入银行卡号');
|
|
}
|
|
}
|
|
@@ -241,6 +264,7 @@
|
|
data.phone = obj.phone;
|
|
data.phone = obj.phone;
|
|
data.bankname = obj.bank_name;
|
|
data.bankname = obj.bank_name;
|
|
data.cardnum = obj.bank_code;
|
|
data.cardnum = obj.bank_code;
|
|
|
|
+ data.subbranch = obj.subbranch;
|
|
}
|
|
}
|
|
// if (this.type == 'bank') {
|
|
// if (this.type == 'bank') {
|
|
// console.log('bank');
|
|
// console.log('bank');
|