Add GET /api/public/db/vehicle-plates for unauthenticated fill/plan pages and remove manual plate entry plus auto-create.
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace master-data CRUD pickers with CRM/PL selectors, require productId, drop auto vehicle create, and remove 基础资料 routes/menu.
Co-authored-by: Cursor <cursoragent@cursor.com>
Switch plans/inventory/weighing/dashboard clients to the db HTTP layer and match web-admin string primary keys.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire login to /web/auth/login with JSEncrypt, unwrap portal envelopes, and add a direct-JSON db client for weighbridge APIs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Track the weighbridge mobile-h5 codebase (excluding node_modules, dist, and local .env) so subsequent adaptation tasks can evolve it in-repo.
Co-authored-by: Cursor <cursoragent@cursor.com>
Break the approved design into tasks covering login, db HTTP client, select-only master data, and public vehicle plates for fill pages.
Co-authored-by: Cursor <cursoragent@cursor.com>
Capture the approved approach to point mobile-h5 at shanxia2.0 backend APIs, portal login, and CRM/PL master-data selectors without UI permission gates.
Co-authored-by: Cursor <cursoragent@cursor.com>
Align standard contract nos on create/update (keep seq, bump on collision),
preview the change in contract forms, and sync name parentheses.
Co-authored-by: Cursor <cursoragent@cursor.com>
Capture agreed rules: keep sequence when sign date changes, frontend preview plus backend authoritative align on save, and sync name parentheses.
Co-authored-by: Cursor <cursoragent@cursor.com>
Capture the approved photo_urls approach (list thumbnail A, optional upload) for pl_vehicle and pl_personnel before implementation.
Co-authored-by: Cursor <cursoragent@cursor.com>
Mirror the quote approver setting so contract submit dialogs can prefill ordered approvers from a tenant config page while remaining editable.
Co-authored-by: Cursor <cursoragent@cursor.com>
Bundle pending backend/web-admin feature updates, data-migration scripts,
and related docs so the V1.5 branch on the Tencent Cloud Gogs matches the
current workspace (excluding local secrets).
Co-authored-by: Cursor <cursoragent@cursor.com>
Persist submitted brand qtys even if plan brand_mode lookup fails; resolve soft-deleted plan products for brand metadata instead of substituting another product; stop seeding all actual qty onto the first brand option.
Co-authored-by: Cursor <cursoragent@cursor.com>
Allow multi-brand feedback/archive rows when plan brandMode is required; only enforce sum equals actual qty.
Co-authored-by: Cursor <cursoragent@cursor.com>
Document that feedback/archive brand qty entry uses any-mode multi-select with preferred-brand preselect, removing the single-brand hard lock.
Co-authored-by: Cursor <cursoragent@cursor.com>