修复平台代管订单流程
This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
import { useOrderActions } from '@/features/orders/composables/useOrderActions'
|
||||
import { useOrderPaymentCashier } from '@/features/orders/composables/useOrderPaymentCashier'
|
||||
import { formatCent } from '@/shared/utils/money'
|
||||
import { handoffStatusLabel, orderStatusLabel } from '@/shared/utils/statusLabels'
|
||||
import { orderHandoffStatusLabel, orderStatusLabel } from '@/shared/utils/statusLabels'
|
||||
import { formatDateTime } from '@/shared/utils/time'
|
||||
import type { PaymentPayWay } from '@/features/orders/api/orders'
|
||||
|
||||
@@ -302,7 +302,7 @@ watch([() => route.query.focus, order, loading], () => {
|
||||
<el-step
|
||||
title="待交接"
|
||||
:description="
|
||||
order.status === 'pending_handoff' ? handoffStatusLabel(order.handoff_status) : ''
|
||||
order.status === 'pending_handoff' ? orderHandoffStatusLabel(order) : ''
|
||||
"
|
||||
/>
|
||||
<el-step
|
||||
@@ -383,7 +383,7 @@ watch([() => route.query.focus, order, loading], () => {
|
||||
</div>
|
||||
<div class="metric-card">
|
||||
<span class="metric-label">交接状态</span>
|
||||
<strong class="metric-value">{{ handoffStatusLabel(order.handoff_status) }}</strong>
|
||||
<strong class="metric-value">{{ orderHandoffStatusLabel(order) }}</strong>
|
||||
</div>
|
||||
<div class="metric-card highlight">
|
||||
<span class="metric-label">{{ orderAmountLabel }}</span>
|
||||
|
||||
Reference in New Issue
Block a user