Compare commits
2 Commits
d7787d3193
...
46686e4467
Author | SHA1 | Date |
---|---|---|
TianYu | 46686e4467 | |
TianYu | d904d0b6de |
|
@ -77,7 +77,7 @@
|
||||||
<dict-tag :type="DICT_TYPE.PAY_STATUS" :value="scope.row.paid"/>
|
<dict-tag :type="DICT_TYPE.PAY_STATUS" :value="scope.row.paid"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="退款状态" align="center">
|
<el-table-column label="退款状态" align="center" fixed="right">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<span v-if="scope.row.refundStatus === 0">未退款</span>
|
<span v-if="scope.row.refundStatus === 0">未退款</span>
|
||||||
<span v-else-if="scope.row.refundStatus === 1">申请中</span>
|
<span v-else-if="scope.row.refundStatus === 1">申请中</span>
|
||||||
|
@ -86,15 +86,19 @@
|
||||||
<span v-else-if="scope.row.refundStatus === 4">拒绝退款</span>
|
<span v-else-if="scope.row.refundStatus === 4">拒绝退款</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
<el-table-column label="操作" align="center" class-name="small-padding" fixed="right" width="80">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<template v-if="scope.row.refundStatus === 1">
|
<template v-if="scope.row.refundStatus === 1">
|
||||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleRefund(scope.row, 1)"
|
<div>
|
||||||
v-hasPermi="['shop:recharge-order:refund']">同意退款</el-button>
|
<el-button size="mini" type="text" icon="el-icon-check" @click="handleRefund(scope.row, 1)"
|
||||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleRefund(scope.row, 2)"
|
v-hasPermi="['shop:recharge-order:refund']">同意</el-button>
|
||||||
v-hasPermi="['shop:recharge-order:refund']">拒绝退款</el-button>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-button size="mini" type="text" icon="el-icon-close" @click="handleRefund(scope.row, 2)"
|
||||||
|
v-hasPermi="['shop:recharge-order:refund']">拒绝</el-button>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<el-button v-if="scope.row.refundStatus !== 2 && scope.row.refundStatus !== 3 && scope.row.paid==1" size="mini" type="text" icon="el-icon-edit" @click="handleRefund(scope.row, 3)"
|
<el-button v-if="scope.row.refundStatus !== 2 && scope.row.refundStatus !== 3 && scope.row.paid==1" size="mini" type="text" icon="el-icon-refresh-left" @click="handleRefund(scope.row, 3)"
|
||||||
v-hasPermi="['shop:recharge-order:refund']">发起退款</el-button>
|
v-hasPermi="['shop:recharge-order:refund']">发起退款</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
Loading…
Reference in New Issue