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

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; .box-align-center;
color: #a0a0a0; color: #a0a0a0;
margin-top: 4vw; margin-top: 4vw;
white-space: nowrap;
.right { .right {
.r; .r;

View File

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

View File

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