This commit is contained in:
2026-10-20 14:00:49 +08:00
parent 3879a47673
commit 5679b156ca
28 changed files with 803 additions and 515 deletions
@@ -51,8 +51,17 @@ export interface LastMileBusinessSource {
businessOrderNo: string | null
externalBookingNo: string | null
}
export interface ReturnOrderStatistics {
totals: { orderCount: number; skuTypes: number; expectedQuantity: number; receivedQuantity: number; remainingQuantity: number; receivedBoxCount: number; receivedParcelCount: number; receivedPalletCount: number }
pageDimensions: Array<{ returnNo: string; lastlegOrderId: string; expectedQuantity: number; receivedQuantity: number; remainingQuantity: number; receivedBoxCount: number; receivedParcelCount: number; receivedPalletCount: number }>
}
export async function getReturnOrderStatistics(params: LastMileOrderQuery) {
const response = await http.get<ApiEnvelope<ReturnOrderStatistics>, ApiEnvelope<ReturnOrderStatistics>>('/platform/v1/last-leg/return-orders/statistics', { params })
return unwrapApiResponse(response)
}
export interface LastMileOrderSummaryDto {
warehouseTransferQuantity?: import('./transferQuantityFacts').TransferQuantityFacts | null
businessSource?: LastMileBusinessSource | null
id: string
customerId: string