feat(orders): show actual pooled freight fulfillment

This commit is contained in:
2026-10-07 16:46:58 +08:00
parent b7fcc14e59
commit a853b1e0c2
4 changed files with 67 additions and 4 deletions
@@ -0,0 +1,28 @@
export interface FleetArrangement {
sourceType: 'FLEET_CAPACITY_OFFER'
businessType: 'LOCAL_LOOSEBOARD' | 'US_TRUCK'
businessOrderNo: string
bookingNo: string
tripNo: string
plannedDepartureAt: string | null
originWarehouseName: string
destinationLabel: string
deliveryMode: 'SELF_DELIVERY' | 'MANUAL_PICKUP_TO_WAREHOUSE'
deliveryInstructions: string | null
fulfillmentStage: string
stageOccurredAt: string | null
agreedFreightAmount: number | null
currency: string | null
incomingNo: string | null
dispatchNo: string | null
deliveryNo: string | null
signedPackages: number | null
unsignedPackages: number | null
returnedPackages: number | null
exceptionSummary: string | null
readOnlyReason: string
}
export const poolOrderStatusLabels: Record<string, string> = {
WAITING_INBOUND: '待入仓', RECEIVING: '收货中', WAITING_CONSOLIDATION: '待合托',
PENDING_DISPATCH: '待派车', IN_TRANSIT: '运输中', COMPLETED: '已完成', CANCELLED: '已取消',
}