|
@@ -51,7 +51,7 @@
|
|
|
</u-cell-group>
|
|
|
</view>
|
|
|
|
|
|
- <view class="cash-content-cash-submit">
|
|
|
+ <view v-if="withdrawInfo.allowWithdraw == 1 " class="cash-content-cash-submit">
|
|
|
<view @click="openModal">提现</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -122,7 +122,8 @@
|
|
|
withdrawInfo: {},
|
|
|
showModal: false,
|
|
|
password: '',
|
|
|
- personList:[]
|
|
|
+ personList:[],
|
|
|
+ serviceMoney: null,
|
|
|
}
|
|
|
},
|
|
|
onLoad(page) {
|
|
@@ -276,6 +277,7 @@
|
|
|
if (res && res.code === 200) {
|
|
|
navigateTo('/pages/cashPrompt/index',{
|
|
|
id: res.data.orderId,
|
|
|
+ serviceMoney: this.serviceMoney,
|
|
|
// ...res.data.bankInfo,
|
|
|
// moneyValue: this.moneyValue,
|
|
|
// withdrawType: 'wechat',
|
|
@@ -305,11 +307,13 @@
|
|
|
setServiceType(data) {
|
|
|
if (data && data.serviceType) {
|
|
|
if(data.serviceType == 1){
|
|
|
+ this.serviceMoney = data.serviceCharge
|
|
|
return ('¥' + data.serviceCharge)
|
|
|
}else {
|
|
|
let num1 = this.withdrawInfo.serviceCharge;
|
|
|
let num = isNaN(num1) ? 0 : (Number(num1) / 100)
|
|
|
let money = num ? new Decimal(this.moneyValue).mul(new Decimal(num)) : 0
|
|
|
+ this.serviceMoney = money
|
|
|
return '¥' + money
|
|
|
|
|
|
}
|