Add loading sheet item selection
This commit is contained in:
@@ -66,6 +66,8 @@ export interface LoadingSheetItemInput {
|
||||
export interface LoadingSheetListParams extends PageParams {
|
||||
rideId?: string
|
||||
status?: LoadingSheetStatus
|
||||
routeId?: string
|
||||
regionId?: string
|
||||
}
|
||||
|
||||
export const loadingSheets = {
|
||||
@@ -93,6 +95,9 @@ export interface DeliveryTaskItemQuantity {
|
||||
}
|
||||
|
||||
export const deliveryTasks = {
|
||||
generate: (rideId: string) =>
|
||||
api.post<DeliveryTaskResponse[]>(`/rides/${rideId}/tasks/generate`).then(r => r.data),
|
||||
|
||||
listByRide: (rideId: string) =>
|
||||
api.get<DeliveryTaskResponse[]>(`/rides/${rideId}/tasks`).then(r => r.data),
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ export interface UpdateShopPOItemsBody {
|
||||
export interface ShopPOListParams extends PageParams {
|
||||
agentId?: string
|
||||
routeId?: string
|
||||
regionId?: string
|
||||
shopId?: string
|
||||
confirmed?: boolean
|
||||
status?: ShopPOStatus
|
||||
|
||||
Reference in New Issue
Block a user