mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 14:15:44 +00:00
feat(warehouse): Batch 9 — Import Unloaded Queue + bulk destination inspection
- bulkMarkInspected: UNLOADED added to eligible statuses; IMPORT passed items now advance to READY_FOR_PICKUP (pickup ready) instead of READY_FOR_LOADING (export unchanged) - GET /warehouse-inventory/import/unloaded-queue: UNLOADED import items with the inspection-screen columns (booking, customer, arrival, container, cargo type, weight, train schedule, inspection status, pickup option, last-mile, current status); route-derived import filter - Dedicated ImportUnloadedQueueTab replaces the Batch 8 workbench reuse: full spec columns, Select All / Unselect All / selected count / Mark Selected as Inspected, plus per-row Inspect / Report (InspectionReportModal) for damage / image / weight-loss detail - Verified: import item UNLOADED → bulk inspect → READY_FOR_PICKUP (PASSED), drops out of queue Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -39,6 +39,7 @@ import type {
|
||||
BulkDispatchResult,
|
||||
ImportTrain,
|
||||
ImportTrainItem,
|
||||
ImportUnloadedItem,
|
||||
AutoUnloadArrivedResult,
|
||||
ReserveInventoryPayload,
|
||||
SaveWarehousePayload,
|
||||
@@ -152,6 +153,8 @@ export const warehouseService = {
|
||||
URL_CONSTANTS.WAREHOUSE_INVENTORY.IMPORT_AUTO_UNLOAD_ARRIVED,
|
||||
{ scheduleId },
|
||||
),
|
||||
importUnloadedQueue: () =>
|
||||
apiClient.get<ImportUnloadedItem[]>(URL_CONSTANTS.WAREHOUSE_INVENTORY.IMPORT_UNLOADED_QUEUE),
|
||||
move: (id: string, payload: MoveInventoryPayload) =>
|
||||
apiClient.post<WarehouseInventoryItem>(URL_CONSTANTS.WAREHOUSE_INVENTORY.MOVE(id), payload),
|
||||
movements: (id: string) =>
|
||||
|
||||
Reference in New Issue
Block a user