Commit Graph
318 Commits
Author SHA1 Message Date
zlwuandCursor ca6aca2b14 docs: add transport plan supplier/demander free-product design and plan.
Capture agreed rules for dual-party customers, multi-contract sides, ProductSelector-only products, and no historical migration before implementation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 23:35:35 +08:00
zlwu 90ae136f38 提交 2026-08-08 23:14:40 +08:00
zlwu fdf7d391a6 提交 2026-08-08 22:19:09 +08:00
zlwu 683f14828f 提交 2026-08-08 20:43:48 +08:00
zlwuandCursor 2df2ef0808 feat: add portal home launcher, favorites UI, and WorkTab overflow eviction
Replace top-bar module navigation with a card home page, persist favorites via API, reopen favorite tabs on cold login, and enable portal multi-tabs with overflow-based eviction.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 12:06:49 +08:00
zlwuandCursor 7898d65437 feat: add menu favorites API under /web/admin/menu-favorites
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 12:01:28 +08:00
zlwuandCursor 1a0c58f82d feat: add sys_user_menu_favorite table for portal menu favorites
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 11:58:55 +08:00
zlwuandCursor 2ccc3b612a docs: mark CRM name pinyin abbr design implemented and note go-live checklist.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:34:55 +08:00
zlwuandCursor 021bd73301 feat: customer form and search UI for pinyin initials.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:33:23 +08:00
zlwuandCursor b151ac6499 feat: product form and search UI for pinyin initials.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:30:53 +08:00
zlwuandCursor 5575b08437 feat: add backfill script for CRM name pinyin initials.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:29:21 +08:00
zlwuandCursor 659fc89179 feat: store and search customer name pinyin initials.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:24:28 +08:00
zlwuandCursor ba3f2c19bb feat: store and search product name pinyin initials.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:18:59 +08:00
zlwuandCursor e056dfaac1 fix: restore shanxia2.0.sql and keep name_pinyin_abbr DDL only.
The previous commit accidentally truncated the baseline SQL dump; restore full content and re-apply only the crm_product/crm_customer column additions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:15:45 +08:00
zlwuandCursor e7b3fbb21b feat: add name_pinyin_abbr columns for CRM product and customer.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:10:53 +08:00
zlwuandCursor fa9b3429c7 feat: add pinyin initial abbr helper for CRM names.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 16:57:05 +08:00
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