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