优化
This commit is contained in:
@@ -13,9 +13,12 @@ export interface LastMileOrderQuery {
|
||||
page: number
|
||||
size: number
|
||||
orderNo?: string
|
||||
orderType?: string
|
||||
inboundCode?: string
|
||||
containerNo?: string
|
||||
currentStatus?: string
|
||||
status?: string
|
||||
warehouse?: string
|
||||
sourceOrderNo?: string
|
||||
transferWarehouseCode?: string
|
||||
abnormal?: boolean
|
||||
@@ -103,6 +106,10 @@ export interface TransferDestinationPayload {
|
||||
remark?: string
|
||||
}
|
||||
|
||||
export interface ConvertInboundPlanPayload {
|
||||
orderId: string
|
||||
}
|
||||
|
||||
export interface LastMileOrderDetailDto {
|
||||
order: LastMileOrderDto
|
||||
cargo: LastMileCargoDto[]
|
||||
@@ -130,3 +137,10 @@ export async function transferLastMileOrders(payload: TransferDestinationPayload
|
||||
)
|
||||
return unwrapApiResponse(response)
|
||||
}
|
||||
|
||||
export async function convertLastMileOrderToInboundPlan(payload: ConvertInboundPlanPayload) {
|
||||
const response = await overseasHttp.post<ApiEnvelope<unknown>, ApiEnvelope<unknown>>(
|
||||
'/platform/v1/last-leg/inbound-plans/convert', payload,
|
||||
)
|
||||
return unwrapApiResponse(response)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user