Add employee serial QR query support

This commit is contained in:
Frudrax Cheng
2026-05-28 10:24:49 +08:00
parent b9bc8f5419
commit 06da68e41b
5 changed files with 106 additions and 26 deletions
+2
View File
@@ -118,6 +118,8 @@ src/
- Password field is shown and required only for `admin` and `technician`.
- Employee creation uses `employeesApi.create`, and the backend automatically creates the employee serial; do not implement a separate "create then assign code" primary flow.
- Employee rows should display generated `employeeSerials` from the employee list response.
- Employee rows should provide a QR-code view for the active employee serial, using `/query?serial=...` as the scan target.
- Public employee serial queries should show employee name, phone, employee number, and position.
### Aftersales Conventions
- Aftersales serial format is `zjbf-sh-YYMMDDNN` (daily sequence), e.g. `zjbf-sh-26052801`.