This commit is contained in:
gyq
2025-04-09 13:28:50 +08:00
parent ebf912ecd8
commit e443b5b51e
6 changed files with 26 additions and 8 deletions

View File

@@ -50,9 +50,12 @@
</div>
</template>
</el-table-column>
<el-table-column label="状态" width="100">
<el-table-column label="状态" width="150">
<template v-slot="scope">
{{ filterLable("orderStatus", scope.row.status) }}
<span v-if="scope.row.status == 'refund'" class="refund">
({{ filterLable("refundType", scope.row.refundType) }})
</span>
</template>
</el-table-column>
<el-table-column label="订单信息" width="340">
@@ -216,6 +219,7 @@ function filterLable(key, type) {
}
}
// 过滤退款条件
function refundState(row) {
switch (row.status) {
@@ -297,6 +301,10 @@ onMounted(() => {
</script>
<style scoped lang="scss">
.refund {
color: var(--el-color-danger);
}
.flex {
display: flex;
}