fix(client): correct return inventory carton paging and label printing

This commit is contained in:
2026-09-12 16:16:40 +08:00
parent bee47f1a6c
commit 61a562b828
8 changed files with 201 additions and 23 deletions
@@ -13,6 +13,15 @@ export interface ReturnInventorySummaryItem {
export interface ReturnInventoryCartonItem { skuCode: string; productNameZh?: string; quantity: number }
export interface ReturnInventoryCartonSummary {
cartonMark: string; overseasWarehouseId: string; sourceBatchNo?: string; sourceReturnNo?: string; status: string
skuTypes: number; totalQuantity: number; length?: number; width?: number; height?: number; weight?: number; createdAt: string
}
export function listReturnInventoryCartons(params: Record<string, unknown>) {
return overseasApiRequest<PageResult<ReturnInventoryCartonSummary>>({ method: 'GET', url: '/merchant/v1/last-leg/return-inventory/cartons', params })
}
export interface ReturnInventoryCartonDetail {
cartonMark: string; overseasWarehouseId: string; sourceBatchNo?: string; sourceReturnNo?: string; status: string
skuTypes: number; totalQuantity: number; length?: number; width?: number; height?: number; weight?: number; receivedAt: string; items: ReturnInventoryCartonItem[]