提现记录状态展示&&积分转余额校验

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
chenhao 2026-07-29 10:54:37 +08:00
parent 1830014a67
commit cc78412933
3 changed files with 12 additions and 3 deletions

View File

@ -3250,6 +3250,7 @@
.box-align-center;
color: #a0a0a0;
margin-top: 4vw;
white-space: nowrap;
.right {
.r;

View File

@ -23,10 +23,13 @@
</div>
<div class="record">
<div class="left">
提现{{ $formatGMT(item.addtime, 'yyyy-MM-dd HH:ss') }}
提现{{ $formatGMT(item.addtime, 'yyyy-MM-dd HH:mm:ss') }}
</div>
<div class="right" v-if="item.trantime">
发放:{{ $formatGMT(item.trantime, 'yyyy-MM-dd HH:ss') }}
<div class="right" v-if="item.trantime && !item.wdtime">
{{ item.state === 5 ? '失败' : '发放' }}{{ $formatGMT(item.trantime, 'yyyy-MM-dd HH:mm:ss') }}
</div>
<div class="right" v-if="item.wdtime">
{{ item.state === 6 ? '失败' : '发放' }}{{ $formatGMT(item.wdtime, 'yyyy-MM-dd HH:mm:ss') }}
</div>
</div>
</div>
@ -38,6 +41,7 @@
<script>
export default {
name: 'MerchantCashout',
data() {
return {
statistics: {}

View File

@ -215,6 +215,10 @@ export default {
}, 500);
},
toBalance() {
if (this.pointnum <= 0) {
this.$showFailToast('您暂无可用积分!');
return
}
this.$showConfirmDialog({
title: '确认转出?',
}).then(() => {