Add loading sheet item selection
CI/CD - ERP Distribution / Build & Deploy Frontend (pull_request) Failing after 13m56s
CI/CD - ERP Distribution / Build & Deploy Backend (pull_request) Failing after 15m12s

This commit is contained in:
2026-09-22 17:03:24 +05:30
parent b7db6a83e6
commit 35fa3b19e3
6 changed files with 398 additions and 6 deletions
+5
View File
@@ -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),
+1
View File
@@ -32,6 +32,7 @@ export interface UpdateShopPOItemsBody {
export interface ShopPOListParams extends PageParams {
agentId?: string
routeId?: string
regionId?: string
shopId?: string
confirmed?: boolean
status?: ShopPOStatus