优化财务仪表盘UI与快捷时间筛选
This commit is contained in:
@@ -37,9 +37,7 @@ const {
|
||||
paidMessage: '支付成功',
|
||||
})
|
||||
|
||||
const statusText = computed(() =>
|
||||
order.value ? mohongOrderStatusLabel(order.value.status) : ''
|
||||
)
|
||||
const statusText = computed(() => (order.value ? mohongOrderStatusLabel(order.value.status) : ''))
|
||||
|
||||
onMounted(loadOrder)
|
||||
|
||||
@@ -101,7 +99,6 @@ async function copyText() {
|
||||
showToast({ message: '复制失败', icon: 'cross' })
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -140,9 +137,7 @@ async function copyText() {
|
||||
<h3>商品明细</h3>
|
||||
<div v-for="item in order.items" :key="item.product_id" class="item-row">
|
||||
<span>{{ item.title }}</span>
|
||||
<em
|
||||
>×{{ item.quantity }} · ¥{{ item.amount || formatCent(item.amount_cent) }}</em
|
||||
>
|
||||
<em>×{{ item.quantity }} · ¥{{ item.amount || formatCent(item.amount_cent) }}</em>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user