A modern procurement request management frontend built with Vue 3 and Vite. This application allows users to create, view, update, filter, and delete procurement requests, with advanced features like PDF-based auto-fill and AI-powered commodity group classification.
- Create, View, Update, Delete Procurement Requests
- Dynamic Order Lines: Add/remove multiple order lines per request
- Auto-Fill from PDF: Upload a PDF to extract and pre-fill request data
- Filtering: Filter requests by status, vendor, department, commodity group, title, and VAT ID
- Bootstrap Styling: Responsive, user-friendly UI
- AI Commodity Grouping: Commodity group is automatically assigned by backend AI
- FastAPI Backend Integration: Connects to a FastAPI backend via REST API
npm installStart the development server with hot reload:
npm run devCompile and minify for production:
npm run buildCheck code quality with ESLint:
npm run lint- Home: View and filter all procurement requests
- Create Request: Fill out the form or upload a PDF to auto-fill fields
- Update Request: Edit existing requests
- Delete Request: Remove requests with confirmation
- Filter: Use the filter bar to quickly find requests by key fields
The frontend expects a FastAPI backend running at http://localhost:8000 with endpoints:
GET /requests— List all requestsGET /requests/{id}— Get request detailsPOST /requests— Create a new requestPUT /requests/{id}— Update a requestDELETE /requests/{id}— Delete a requestPOST /extract-pdf— Extract request data from a PDF
To auto-fill a request, select a PDF file and click Auto-Fill from PDF. The file is sent to the backend, which returns extracted data to populate the form.
Commodity group is assigned automatically by the backend AI and is not editable in the form.