Warehouses (Admin)
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.
Executive summary
Section titled “Executive summary”Warehouses provides searchable, paginated list and detail for distribution nodes used with inventory flows. Matches admin table patterns (debounced search, 10/page).
Goals and non-goals
Section titled “Goals and non-goals”| Goals | Non-goals |
|---|---|
| Maintain warehouse reference data | Optimize pick paths or WMS integration |
| Link to inventory semantics | Document 3PL contracts |
Current platform behavior
Section titled “Current platform behavior”- 400ms debounced search; pagination 10; detail at
/dashboard/warehouses/:id.
Sequence: happy path
Section titled “Sequence: happy path”- Open Warehouses → search → open detail.
- Create/edit per UI if routes exist (see body).
Security and operations
Section titled “Security and operations”- Physical address and access contacts may be sensitive—role-gate exports.
Test scenarios (UAT / QA)
Section titled “Test scenarios (UAT / QA)”| ID | Scenario | Expected |
|---|---|---|
| W1 | List | Search + pagination |
| W2 | Detail | Loads warehouse context |
| W3 | Zone scope | Data limited per admin zone rules |
Routes
Section titled “Routes”| Path | Purpose |
|---|---|
/dashboard/warehouses | Paginated, searchable list |
/dashboard/warehouses/:id | Warehouse detail |
- Search — debounced (400ms), resets to page 1.
- Pagination — 10 rows per page.
- Stats — total row count (from list meta) and a count of active warehouses on the current page (rows with
status === 1). - Rows are mapped from API data via
adminWarehouseToRowfor display; opening a row navigates to/dashboard/warehouses/:id.
Warehouses are the inventory location layer; stores are the commercial / vendor-facing unit. Stock and lots in the admin UI connect warehouses to products and suppliers on detail and related flows (see Catalog and products and supplier detail).