feat(withDrawal): 提现取消银行卡校验,提现成功后展示小程序码弹窗
This commit is contained in:
parent
aaa3c8c3b8
commit
894fd1cc19
|
@ -7,7 +7,7 @@
|
||||||
:rules="rules"
|
:rules="rules"
|
||||||
ref="uForm"
|
ref="uForm"
|
||||||
>
|
>
|
||||||
<u-form-item
|
<!-- <u-form-item
|
||||||
label-width="200rpx"
|
label-width="200rpx"
|
||||||
:label="'银行卡号'"
|
:label="'银行卡号'"
|
||||||
prop="cardNumber"
|
prop="cardNumber"
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
<view v-else style="color: red" @click="goBindbank">
|
<view v-else style="color: red" @click="goBindbank">
|
||||||
{{ '请先绑定银行卡' }}
|
{{ '请先绑定银行卡' }}
|
||||||
</view>
|
</view>
|
||||||
</u-form-item>
|
</u-form-item> -->
|
||||||
<u-form-item
|
<u-form-item
|
||||||
label-width="200rpx"
|
label-width="200rpx"
|
||||||
:label="`${'提现金额'}(${isLocaled()})`"
|
:label="`${'提现金额'}(${isLocaled()})`"
|
||||||
|
|
|
@ -1,25 +1,33 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="contentList" v-for="item,index in tableList" :key="index">
|
<view class="contentList" v-for="(item, index) in tableList" :key="index">
|
||||||
<view class="linebox">
|
<view class="linebox">
|
||||||
<view class="line_title">{{ '钱包类型' }}</view>
|
<view class="line_title">{{ '钱包类型' }}</view>
|
||||||
<view class="line_content">{{ item.pkAccountVal }}</view>
|
<view class="line_content">{{ item.pkAccountVal }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="linebox">
|
<view class="linebox">
|
||||||
<view class="line_title">{{ '提现金额' }}</view>
|
<view class="line_title">{{ '提现金额' }}</view>
|
||||||
<view class="line_content">{{item.cashAmount| toThousandthAndKeepDecimal}}</view>
|
<view class="line_content">{{
|
||||||
|
item.cashAmount | toThousandthAndKeepDecimal
|
||||||
|
}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="linebox">
|
<view class="linebox">
|
||||||
<view class="line_title">{{ '手续费' }}</view>
|
<view class="line_title">{{ '手续费' }}</view>
|
||||||
<view class="line_content">{{item.serviceCharge| toThousandthAndKeepDecimal}}</view>
|
<view class="line_content">{{
|
||||||
|
item.serviceCharge | toThousandthAndKeepDecimal
|
||||||
|
}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="linebox">
|
<view class="linebox">
|
||||||
<view class="line_title">{{ '个税' }}</view>
|
<view class="line_title">{{ '个税' }}</view>
|
||||||
<view class="line_content">{{item.incomeTax| toThousandthAndKeepDecimal}}</view>
|
<view class="line_content">{{
|
||||||
|
item.incomeTax | toThousandthAndKeepDecimal
|
||||||
|
}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="linebox">
|
<view class="linebox">
|
||||||
<view class="line_title">{{ '实发金额' }}</view>
|
<view class="line_title">{{ '实发金额' }}</view>
|
||||||
<view class="line_content">{{item.issuedAmount| toThousandthAndKeepDecimal}}</view>
|
<view class="line_content">{{
|
||||||
|
item.issuedAmount | toThousandthAndKeepDecimal
|
||||||
|
}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="linebox">
|
<view class="linebox">
|
||||||
<view class="line_title">{{ '银行名称' }}</view>
|
<view class="line_title">{{ '银行名称' }}</view>
|
||||||
|
@ -49,31 +57,46 @@
|
||||||
<view class="line_title">{{ '状态' }}</view>
|
<view class="line_title">{{ '状态' }}</view>
|
||||||
<view class="line_content">{{ item.statusVal }}</view>
|
<view class="line_content">{{ item.statusVal }}</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view v-if="item.approveState == 4" class="linebox">
|
||||||
|
<view class="line_title">驳回原因</view>
|
||||||
|
<view class="line_content">{{ item.approveRemarks }}</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
<view class="linebox" style="border-bottom: none;">
|
<view class="linebox" style="border-bottom: none">
|
||||||
<view class="line_title">{{ '操作' }}</view>
|
<view class="line_title">{{ '操作' }}</view>
|
||||||
<view class="line_content thesuccess" v-if="item.status==0&&item.approveState==1" @click="revoke(item)">{{'撤销'}}</view>
|
<view
|
||||||
|
class="line_content thesuccess"
|
||||||
|
v-if="item.status == 0 && item.approveState == 1"
|
||||||
|
@click="revoke(item)"
|
||||||
|
>{{ '撤销' }}</view
|
||||||
|
>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-modal :show="revokeShow" showCancelButton @cancel="revokeShow = false" cancelText="取消"
|
<u-modal
|
||||||
confirmText="确定" @confirm='confirmRevoke' :content='content'></u-modal>
|
:show="revokeShow"
|
||||||
|
showCancelButton
|
||||||
|
@cancel="revokeShow = false"
|
||||||
|
cancelText="取消"
|
||||||
|
confirmText="确定"
|
||||||
|
@confirm="confirmRevoke"
|
||||||
|
:content="content"
|
||||||
|
></u-modal>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import * as bal from "@/config/balance.js"
|
import * as bal from '@/config/balance.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 50,
|
pageSize: 50,
|
||||||
|
|
||||||
},
|
},
|
||||||
tableList: [],
|
tableList: [],
|
||||||
revokeShow: false,
|
revokeShow: false,
|
||||||
content: '是否确认操作?',
|
content: '是否确认操作?',
|
||||||
thepkId:""
|
thepkId: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
@ -90,7 +113,7 @@
|
||||||
bal.cancelWithdraw({ pkId: this.thepkId }).then(res => {
|
bal.cancelWithdraw({ pkId: this.thepkId }).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.msg
|
title: res.msg,
|
||||||
})
|
})
|
||||||
this.revokeShow = false
|
this.revokeShow = false
|
||||||
this.getSearch()
|
this.getSearch()
|
||||||
|
@ -101,8 +124,8 @@
|
||||||
bal.getWithdrawList(this.queryParams).then(res => {
|
bal.getWithdrawList(this.queryParams).then(res => {
|
||||||
this.tableList = res.rows
|
this.tableList = res.rows
|
||||||
})
|
})
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -112,7 +135,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
background: #F2F2F2;
|
background: #f2f2f2;
|
||||||
padding: 10rpx 24rpx;
|
padding: 10rpx 24rpx;
|
||||||
|
|
||||||
.contentList {
|
.contentList {
|
||||||
|
@ -140,11 +163,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.thesuccess {
|
.thesuccess {
|
||||||
color: #005BAC;
|
color: #005bac;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue