1
This commit is contained in:
@@ -92,35 +92,44 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="下单人" prop="buyer" width="100"/>
|
||||
|
||||
<!-- 退款状态标签列(合并显示) -->
|
||||
<el-table-column label="退款状态" width="180" align="center">
|
||||
<!-- 退款状态标签列(三行显示) -->
|
||||
<el-table-column label="退款状态" width="160" align="left">
|
||||
<template slot-scope="scope">
|
||||
<div style="display: flex; flex-wrap: wrap; gap: 4px; justify-content: center;">
|
||||
<div style="display: flex; flex-direction: column; gap: 6px;">
|
||||
<div style="display: flex; align-items: center; gap: 8px;">
|
||||
<span style="min-width: 80px; font-size: 12px; color: #606266;">是否退款:</span>
|
||||
<el-tag
|
||||
:type="scope.row.isRefunded === 1 ? 'warning' : 'info'"
|
||||
size="small"
|
||||
:title="scope.row.isRefunded === 1 && scope.row.refundDate ? '退款日期:' + parseTime(scope.row.refundDate) : ''"
|
||||
@click.native="toggleRefunded(scope.row)"
|
||||
style="cursor: pointer;">
|
||||
style="cursor: pointer; flex: 1;">
|
||||
{{ scope.row.isRefunded === 1 ? '已退款' : '未退款' }}
|
||||
</el-tag>
|
||||
</div>
|
||||
<div style="display: flex; align-items: center; gap: 8px;">
|
||||
<span style="min-width: 80px; font-size: 12px; color: #606266;">是否退款到账:</span>
|
||||
<el-tag
|
||||
:type="scope.row.isRefundReceived === 1 ? 'success' : 'info'"
|
||||
size="small"
|
||||
:title="scope.row.isRefundReceived === 1 && scope.row.refundReceivedDate ? '退款到账日期:' + parseTime(scope.row.refundReceivedDate) : ''"
|
||||
@click.native="toggleRefundReceived(scope.row)"
|
||||
style="cursor: pointer;">
|
||||
style="cursor: pointer; flex: 1;">
|
||||
{{ scope.row.isRefundReceived === 1 ? '退款到账' : '未到账' }}
|
||||
</el-tag>
|
||||
</div>
|
||||
<div style="display: flex; align-items: center; gap: 8px;">
|
||||
<span style="min-width: 80px; font-size: 12px; color: #606266;">后返到账:</span>
|
||||
<el-tag
|
||||
:type="scope.row.isRebateReceived === 1 ? 'success' : 'info'"
|
||||
size="small"
|
||||
:title="scope.row.isRebateReceived === 1 && scope.row.rebateReceivedDate ? '后返到账日期:' + parseTime(scope.row.rebateReceivedDate) : ''"
|
||||
@click.native="toggleRebateReceived(scope.row)"
|
||||
style="cursor: pointer;">
|
||||
style="cursor: pointer; flex: 1;">
|
||||
{{ scope.row.isRebateReceived === 1 ? '后返到账' : '未到账' }}
|
||||
</el-tag>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user