Commit Graph
302 Commits
Author SHA1 Message Date
zlwuandCursor 65ea371d5f docs: add design for CRM product/customer pinyin initial search.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 13:52:15 +08:00
zlwuandCursor 05350a99a6 docs: mark alias-brand manage implementation plan tasks complete.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 13:24:34 +08:00
zlwuandCursor c1b2f5a667 docs: mark quote/contract alias-brand manage design implemented.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 13:24:08 +08:00
zlwuandCursor 449250518f feat(crm): wire alias/brand manage dialog into contract product lines.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 12:55:52 +08:00
zlwuandCursor a80a01b37d feat(crm): wire alias/brand manage dialog into quote product lines.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 12:50:32 +08:00
zlwuandCursor 0dbd2da703 feat(crm): add product alias/brand manage dialog for inline master-data edits.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 12:46:28 +08:00
zlwuandCursor 4628738632 feat(crm): add helper to refresh quote/contract lines after product alias/brand manage.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 12:41:30 +08:00
zlwuandCursor 1e74057003 docs: add implementation plan for quote/contract alias and brand manage dialog.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 12:40:37 +08:00
zlwuandCursor 22014ba3fa docs: add design for quote/contract alias and brand inline manage dialog.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 12:38:26 +08:00
zlwuandCursor 9788e3ac17 docs: mark transport plan copy design implemented
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 23:33:48 +08:00
zlwuandCursor e1f31dc10f feat(pl): add copy entry on transport plan list and view dialog
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 23:25:06 +08:00
zlwuandCursor d5bbe0d0b1 feat(pl): support copy-from plan prefill in plan form dialog
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 23:18:04 +08:00
zlwuandCursor 13115c8afd docs: add implementation plan for transport plan copy.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 23:14:14 +08:00
zlwuandCursor 7ca8ad29fa docs: add design for copying transport plans into new form dialog.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 23:12:01 +08:00
zlwu 3d645b4112 提交 2026-08-06 22:49:00 +08:00
zlwu f3693be913 提交 2026-08-06 09:58:20 +08:00
zlwuandCursor 2716c2b6f8 docs: add design for address library edit and contact fill in transport plan
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 06:52:45 +08:00
zlwu 5cf67f60d1 提交 2026-08-04 15:33:41 +08:00
zlwu 5fe53c5481 提交 2026-08-04 14:02:01 +08:00
zlwuandCursor 012a2ad68e fix(mobile-h5): polish dibang H5 adaptation after typecheck
Simplify App bootstrap, cast HTTP helpers for vue-tsc, and align leftover string ids.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:46:54 +08:00
zlwuandCursor 5f2a6f2338 feat: public vehicle plate options for H5 fill pages; select-only plates
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>
2026-08-03 22:44:01 +08:00
zlwuandCursor db06fea45a feat(mobile-h5): wire select-only master data into business forms
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>
2026-08-03 22:42:24 +08:00
zlwuandCursor a8f59183df feat(mobile-h5): add CRM/PL option APIs and select-only pickers
Provide customer/product/vehicle pickers that search portal master data without create-on-type.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:39:36 +08:00
zlwuandCursor 4520ccbfcb feat(mobile-h5): align db API types to string ids and productId
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>
2026-08-03 22:39:02 +08:00
zlwuandCursor f1be6bdc8c chore(mobile-h5): deprecate legacy UserService login paths
Point callers away from old /auth/login toward portal fetchLogin.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:34:01 +08:00
zlwuandCursor c3f183cfba feat(mobile-h5): adapt portal RSA login and split db HTTP client
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>
2026-08-03 22:33:46 +08:00
zlwuandCursor a4b13fa2bc chore(mobile-h5): add existing H5 app sources to the monorepo
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>
2026-08-03 22:28:53 +08:00
zlwuandCursor f8f9c0ceff chore(mobile-h5): point Vite proxy at unified backend and add jsencrypt
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:27:47 +08:00
zlwuandCursor 26192676a2 docs: add implementation plan for mobile-h5 dibang backend adaptation
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>
2026-08-03 22:21:55 +08:00
zlwuandCursor e1170aa855 docs: add mobile-h5 dibang adaptation design for unified backend
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>
2026-08-03 22:19:38 +08:00
zlwu 732c1b1dc9 提交 2026-08-03 21:20:00 +08:00
zlwu e233269abf 提交 2026-08-03 12:48:52 +08:00
zlwuandCursor 594e4ce38e feat(crm): sync contract number date segment with sign date
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>
2026-08-03 11:46:11 +08:00
zlwuandCursor f01057d902 docs: add implementation plan for contract no follow sign date
Break work into backend align helpers, create/update wiring, and frontend preview tasks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 11:40:33 +08:00
zlwuandCursor 1c38d82079 docs: add design for contract no date following sign date
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>
2026-08-03 11:39:26 +08:00
zlwu 40fc54942b 提交 2026-08-03 00:48:46 +08:00
zlwu 272c68af4b 提交 2026-08-02 17:18:33 +08:00
zlwu c00f19f8bd 提交 2026-08-02 10:49:34 +08:00
zlwuandCursor c86eddac75 fix(web-admin): persist cleared vehicle/personnel photoUrls on save
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:40:04 +08:00
zlwuandCursor 5bf37f802e chore: update graphify and mark vehicle/personnel photo design implemented
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:38:33 +08:00
zlwuandCursor 8d9f5777e0 feat(web-admin): add personnel photo on driver/escort pages
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:37:19 +08:00
zlwuandCursor 9089e455e9 feat(web-admin): add vehicle photo on self-vehicle page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:36:21 +08:00
zlwuandCursor a552049de4 feat(web-admin): add vehicle photo on tripartite vehicle page
Also include cert attachment list cell already wired in this page WIP.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:34:41 +08:00
zlwuandCursor e2f087e6b9 feat(web-admin): add photoUrls types and pl-photo helpers
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:31:22 +08:00
zlwuandCursor 479851ba4c feat(pl): expose photoUrls on vehicle and personnel APIs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:30:14 +08:00
zlwuandCursor 56b94e1c5b feat(pl): map photo_urls on vehicle and personnel models
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:25:46 +08:00
zlwuandCursor 2f580eca81 chore(db): add photo_urls to pl_vehicle and pl_personnel
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:23:53 +08:00
zlwuandCursor 0d33c35c7b docs: add implementation plan for vehicle/personnel photo fields
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:18:20 +08:00
zlwuandCursor 9af37c3f56 docs: add vehicle/personnel photo field design and UI demo
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>
2026-08-02 10:13:12 +08:00
zlwu a56b170976 提交 2026-08-02 09:28:47 +08:00