File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
mall/trade/brokerage/withdraw Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 166
166
</el-table-column >
167
167
<el-table-column label =" 操作" align =" left" width =" 110px" fixed =" right" >
168
168
<template #default =" scope " >
169
- <template v-if =" scope .row .status === BrokerageWithdrawStatusEnum .AUDITING .status " >
169
+ <template
170
+ v-if ="
171
+ scope .row .status === BrokerageWithdrawStatusEnum .AUDITING .status &&
172
+ ! scope .row .payTransferId
173
+ "
174
+ >
170
175
<el-button
171
176
link
172
177
type =" primary"
Original file line number Diff line number Diff line change 24
24
<el-table-column label =" 操作" align =" center" width =" 100" >
25
25
<template #default =" scope " >
26
26
<el-button
27
- v-if =" scope.row.status === 0"
27
+ v-if =" scope.row.status === 0 && !scope.row.payTransferId "
28
28
type =" primary"
29
29
link
30
30
@click =" handleTransfer(scope.row.id)"
31
31
>
32
32
发起转账
33
33
</el-button >
34
34
<el-button
35
- v-if =" scope.row.status === 20"
35
+ v-else- if =" scope.row.status === 20"
36
36
type =" warning"
37
37
link
38
38
@click =" handleTransfer(scope.row.id)"
59
59
<el-table-column label =" 收款人账号" align =" center" prop =" userAccount" min-width =" 250" />
60
60
<el-table-column label =" 提现状态" align =" center" prop =" status" width =" 100" >
61
61
<template #default =" scope " >
62
- <el-tag v-if =" scope.row.status === 0" type =" warning" >等待转账</el-tag >
62
+ <el-tag v-if =" scope.row.status === 0 && !scope.row.payTransferId" type =" warning" >
63
+ 等待转账
64
+ </el-tag >
65
+ <el-tag v-else-if =" scope.row.status === 0 && scope.row.payTransferId" type =" info" >
66
+ 转账中
67
+ </el-tag >
63
68
<el-tag v-else-if =" scope.row.status === 10" type =" success" >转账成功</el-tag >
64
69
<el-tag v-else-if =" scope.row.status === 20" type =" danger" >转账失败</el-tag >
65
70
</template >
You can’t perform that action at this time.
0 commit comments