merge release test changes and preserve local frontend updates

This commit is contained in:
2026-09-20 15:23:26 +08:00
parent 53c887d353
commit 940010dcc2
10 changed files with 100 additions and 19 deletions
@@ -364,6 +364,15 @@ export async function getLastMileOrder(orderId: string) {
return unwrapApiResponse(response)
}
export async function reviewReturnOrder(returnNo: string, customerId: string, decision: 'APPROVE' | 'REJECT', remark?: string) {
const response = await overseasHttp.post<ApiEnvelope<unknown>, ApiEnvelope<unknown>>(
`/platform/v1/last-leg/return-orders/${encodeURIComponent(returnNo)}/review`,
{ decision, remark: remark?.trim() || undefined },
{ headers: { 'X-Customer-Id': customerId } },
)
return unwrapApiResponse(response)
}
export async function downloadLastMileOrders(query: Partial<LastMileOrderQuery>) {
const { page: _page, size: _size, ...filters } = query
const params = Object.fromEntries(
@@ -98,6 +98,7 @@ export interface RelabelItemDto {
cartonMark?: string | null
fbaCartonMark?: string | null
destinationWarehouseId?: string | null
destinationFbaWarehouseCode?: string | null
}
export interface RelabelHistoryDto {