优化发布等各种状态
This commit is contained in:
@@ -17,6 +17,7 @@ import {
|
||||
type Order,
|
||||
} from '@/api/orders'
|
||||
import { useSessionStore } from '@/stores/session'
|
||||
import { handoffStatusLabel, orderStatusLabel } from '@/utils/statusLabels'
|
||||
import { formatDateTime } from '@/utils/time'
|
||||
|
||||
const route = useRoute()
|
||||
@@ -190,11 +191,11 @@ function readError(error: unknown, fallback: string) {
|
||||
<div v-if="order" class="detail-grid">
|
||||
<div class="metric-card">
|
||||
<span>状态</span>
|
||||
<strong>{{ order.status }}</strong>
|
||||
<strong>{{ orderStatusLabel(order.status) }}</strong>
|
||||
</div>
|
||||
<div class="metric-card">
|
||||
<span>交接</span>
|
||||
<strong>{{ order.handoff_status }}</strong>
|
||||
<strong>{{ handoffStatusLabel(order.handoff_status) }}</strong>
|
||||
</div>
|
||||
<div class="metric-card">
|
||||
<span>订单金额</span>
|
||||
|
||||
Reference in New Issue
Block a user