This commit is contained in:
2026-08-13 14:55:59 +08:00
parent da20613aa0
commit 33b47f4d2e
14 changed files with 22 additions and 22 deletions
@@ -8,7 +8,7 @@ withDefaults(defineProps<{ summary: InboundOrderSummary; publicRemark?: string |
function processLabel(status: string) { return inboundStatusLabel(status, inboundProcessStatusLabels, '未知状态') }
function processType(status: string) {
if (status === 'INBOUNDED') return 'success'
if (status === 'WAIT_SPLIT') return 'success'
if (status === 'MEASURE_REJECTED' || status === 'VOIDED') return 'danger'
if (status === 'MEASURING' || status === 'INBOUNDING') return 'info'
return 'warning'
+2 -2
View File
@@ -1,4 +1,4 @@
export type InboundListTab = 'WAIT_MEASURE' | 'WAIT_REVIEW' | 'WAIT_FEE_SEND' | 'INBOUNDED'
export type InboundListTab = 'WAIT_MEASURE' | 'WAIT_REVIEW' | 'WAIT_FEE_SEND' | 'WAIT_SPLIT'
export type InboundProcessStatus =
| 'WAIT_MEASURE'
@@ -8,7 +8,7 @@ export type InboundProcessStatus =
| 'WAIT_PRICING'
| 'FEE_CONFIRMING'
| 'INBOUNDING'
| 'INBOUNDED'
| 'WAIT_SPLIT'
| 'VOIDED'
export type InboundFeeStatus = 'UNPRICED' | 'CALCULATED' | 'CONFIRMED' | 'SENT' | 'VOIDED' | string