feat: update
This commit is contained in:
@@ -75,7 +75,7 @@ const handleRefund = (id) => {
|
||||
icon: 'pi pi-check',
|
||||
size: 'small'
|
||||
},
|
||||
acceptClass: 'p-button-success',
|
||||
acceptClass: 'p-button-warn',
|
||||
accept: () => {
|
||||
refundOrder(id);
|
||||
}
|
||||
@@ -207,7 +207,7 @@ onMounted(() => {
|
||||
<span class="text-orange-500">优惠: -¥{{ formatPrice(getDiscountAmount(data.price,
|
||||
data.discount)) }}</span>
|
||||
<span class="font-bold">实付: ¥{{ formatPrice(getFinalPrice(data.price, data.discount))
|
||||
}}</span>
|
||||
}}</span>
|
||||
</div>
|
||||
</template>
|
||||
</Column>
|
||||
@@ -222,8 +222,8 @@ onMounted(() => {
|
||||
</Column>
|
||||
<Column field="actions" header="操作">
|
||||
<template #body="{ data }">
|
||||
<Button v-if="data.status === 7" icon="pi pi-replay" severity="danger" class="text-nowrap!"
|
||||
size="small" @click="handleRefund(data.id)" :loading="refunding">
|
||||
<Button v-if="data.status === 7" icon="pi pi-replay" severity="danger"
|
||||
class="text-nowrap! px-8!" size="small" @click="handleRefund(data.id)" :loading="refunding">
|
||||
退款
|
||||
</Button>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user