feat:【MALL 商城】商城分佣提现,初步对接成功微信支付

This commit is contained in:
YunaiV
2025-05-11 08:12:52 +08:00
parent 876bf8def6
commit 02d284bced
2 changed files with 14 additions and 4 deletions

View File

@@ -24,7 +24,7 @@
<el-table-column label="操作" align="center" width="100">
<template #default="scope">
<el-button
v-if="scope.row.status === 0"
v-if="scope.row.status === 0 && !scope.row.payTransferId"
type="primary"
link
@click="handleTransfer(scope.row.id)"
@@ -32,7 +32,7 @@
发起转账
</el-button>
<el-button
v-if="scope.row.status === 20"
v-else-if="scope.row.status === 20"
type="warning"
link
@click="handleTransfer(scope.row.id)"
@@ -59,7 +59,12 @@
<el-table-column label="收款人账号" align="center" prop="userAccount" min-width="250" />
<el-table-column label="提现状态" align="center" prop="status" width="100">
<template #default="scope">
<el-tag v-if="scope.row.status === 0" type="warning">等待转账</el-tag>
<el-tag v-if="scope.row.status === 0 && !scope.row.payTransferId" type="warning">
等待转账
</el-tag>
<el-tag v-else-if="scope.row.status === 0 && scope.row.payTransferId" type="info">
转账中
</el-tag>
<el-tag v-else-if="scope.row.status === 10" type="success">转账成功</el-tag>
<el-tag v-else-if="scope.row.status === 20" type="danger">转账失败</el-tag>
</template>