Commit Graph
679 Commits
Author SHA1 Message Date
zlwuandCursor 67d37a1f0e chore: update graphify after transport address notes
Mark the notes-fill design as implemented and refresh backend/frontend graphs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 12:01:40 +08:00
zlwuandCursor d798ef55a7 feat(web-admin): manage transport address notes on library page
Expose notes in list, form, and view dialog for address master data.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 12:00:36 +08:00
zlwuandCursor bf5f6b66be feat(web-admin): edit address library notes in select dialog
Allow create/update of notes while picking an address for a plan stop.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:59:40 +08:00
zlwuandCursor 6021287c97 feat(web-admin): fill load/delivery notes from address when empty
Apply library notes only if the stop notes field is currently blank.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:59:29 +08:00
zlwuandCursor 9c3c53c705 feat(web-admin): pass address library notes through apply payload
Allow load/delivery sections to receive notes when an address is selected.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:59:09 +08:00
zlwuandCursor 22b92ea056 feat(pl): add notes column on transport address library
Persist address-level precautions for later fill into plan load/delivery notes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:58:17 +08:00
zlwuandCursor 86e668920c feat(web-admin): add resolveAddressNotesFill for address library notes
Encode empty-only fill rule for load/delivery notes when selecting an address.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:57:27 +08:00
zlwuandCursor 7f9516e63d docs: use pnpm exec tsx --test in address notes plan
Align frontend unit test commands with existing web-admin plan conventions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:56:09 +08:00
zlwuandCursor ed96976090 docs: add transport address notes fill implementation plan
Break the approved design into TDD-friendly tasks covering DDL, API, apply chain, and address UIs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:55:56 +08:00
zlwuandCursor 209f27606e docs: add transport address notes fill design
Capture the approved design for adding notes on pl_transport_address and filling load/delivery notes only when empty.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:53:22 +08:00
zlwuandCursor 585b731846 chore: update graphify after plan draft-save feature
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:43:47 +08:00
zlwuandCursor 3c7e3c69c5 feat(web-admin): add plan draft save UI and drafting follow-status filters
Rename pending tab to 待安排/草稿, default-select drafting, and add 暂存 with saveMode.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:42:23 +08:00
zlwuandCursor ae91fbc63e feat(backend): support saveMode draft/formal and drafting follow gates
Draft skips business validators and writes drafting; formal promotes drafting to pending_arrange; wait-notice/delete/force allow drafting.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:40:54 +08:00
zlwuandCursor f9cdb8852b feat(backend): add saveMode field on plan create-full and update schemas
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:39:17 +08:00
zlwuandCursor f28e82c1b3 feat(backend): add draft save helpers for plan follow status drafting
Introduce min-field validation and follow_status resolution for saveMode draft/formal.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:39:04 +08:00
zlwuandCursor 16c657b75e docs: add implementation plan for plan draft save / drafting status
Break the approved design into backend helpers, saveMode API, list tab filters, and form dialog tasks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:37:11 +08:00
zlwuandCursor 70c9de3618 docs: add transport plan draft/save design for drafting follow status
Capture approved decisions for 暂存 button, drafting status, list tab, and saveMode API so implementation can follow a single spec.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:33:05 +08:00
zlwu 1dfcc66d2c 提交 2026-09-02 08:20:52 +08:00
zlwuandCursor 506cc7991a feat(web-admin): viewport-fill list height for system manage menus
Wire 系统信息 lists (tenant/dict/menu/dept/role/user/post/operlog) and
临时存放 CRM lists under 系统管理 to useListTableViewportHeight, with
onActivated recalc for keep-alive pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 19:42:20 +08:00
zlwuandCursor f457d5e106 feat(web-admin): viewport-fill list height for workflow menus
Wire 流程配置、待办/已办中心、我的申请 and 请假申请 lists to
useListTableViewportHeight for sticky headers and viewport-fill scrolling.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 19:32:30 +08:00
zlwuandCursor c577edc597 feat(web-admin): viewport-fill list height for pl transport menus
Wire 运输管理 list pages (plans, IO orders, freight panels, vehicles,
personnel, and related lists) to useListTableViewportHeight so table body
scrolls with sticky header and pager stays near the content bottom.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 19:27:17 +08:00
zlwuandCursor 11185f066a feat(web-admin): viewport-fill list height for db weighbridge menus
Wire 地磅计划 and 地磅出入库 lists to useListTableViewportHeight (stats +
pager below the table wrap), matching 地磅单管理. Dashboard has no list.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 19:17:33 +08:00
zlwuandCursor 7ed3f26f9c feat(web-admin): viewport-fill list height for bx reimbursement menus
Wire remaining报销管理列表(审批/发放/付款/发票夹/费用项/流程/视图)to
useListTableViewportHeight so table body scrolls with sticky header and
pager stays ~10px above the content viewport bottom.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 19:14:01 +08:00
zlwuandCursor 6f7461d009 feat(web-admin): viewport-fill list height for CRM menu pages
Wire contract, quote, customer, product, and price-letter lists to useListTableViewportHeight.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 19:00:02 +08:00
zlwuandCursor 7f8cd18b4d chore: update web-admin graphify after viewport scroll changes
Keep the frontend knowledge graph in sync with new composables and list wiring.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 18:53:18 +08:00
zlwuandCursor 6e92bf49d8 fix(web-admin): recalc viewport table height on activate
Ensure order and weighing lists refresh table height after tab activation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 18:52:41 +08:00
zlwuandCursor fa48577a74 feat(web-admin): roll out viewport list height to more lists
Apply fill-viewport table height on demo product/order, bx mine, and db weighing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 18:51:59 +08:00
zlwuandCursor b8efcca1cf docs: specify viewport-fill list table scrolling
Align Fresh Mint §7.6 and OpenSpec ui-conventions with the confirmed UX; include design and plan.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 18:47:48 +08:00
zlwuandCursor aef6927181 feat(web-admin): viewport-fill scroll on reimburse apply list
Wire ListTable height to the shared composable and stop double-scroll on wraps.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 18:47:13 +08:00
zlwuandCursor 597fca416d feat(web-admin): use viewport table height on demo unit list
Pilot the fill-viewport list scroll pattern on the standard list template page.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 18:45:49 +08:00
zlwuandCursor 55ac1ebbf6 feat(web-admin): add useListTableViewportHeight composable
Measure content viewport, table top, and pager to drive el-table height.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 18:45:22 +08:00
zlwuandCursor 7d78f76129 feat(web-admin): add list table viewport height formula
Pure calc keeps pagination visible with a 10px bottom gap for main list scroll UX.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 18:45:15 +08:00
zlwu 0e8f244bc3 提交 2026-09-01 13:51:32 +08:00
zlwu ba21c40058 提交 2026-08-31 20:53:46 +08:00
zlwu 69fa5b1fa8 提交 2026-08-31 08:28:36 +08:00
zlwu 19c5aaa8f5 提交 2026-08-30 18:33:13 +08:00
zlwuandCursor c8cec132bf chore: update web-admin graphify after arrange-required product fields
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 17:54:29 +08:00
zlwuandCursor 810c9aacae feat(web-admin): mark arrange-required product fields with asterisk
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 17:53:47 +08:00
zlwuandCursor a4619a0788 feat(web-admin): block arrange when stop product required fields missing
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 17:53:06 +08:00
zlwuandCursor 765a27779c feat(pl): add arrange-required check for stop product fields
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 17:52:47 +08:00
zlwuandCursor 79b33c6ba1 docs: add implementation plan for plan product arrange-required fields
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 17:51:10 +08:00
zlwuandCursor 5fbb15611c docs: add design for plan product fields required on arrange
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 17:49:27 +08:00
zlwuandCursor 81b1cb9b1d feat(pl): show available contract qty before plan qty in stop products
Add contract-product-arrange-qty API and form UI with green available qty,
red plan qty over-hint, and click-through dialog for usage and plan list.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 17:41:36 +08:00
zlwuandCursor 3011cb9dae feat(pl): hard-block over-limit contract qty on arrange and remind after success
Validate arranged+this plan qty against fixed contract product quantities on
transport arrange; return post-success remaining/framework cumulative reminders.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 16:47:21 +08:00
zlwuandCursor d326996976 docs: add transport plan contract quantity check design and demo
Capture hard-block on over-limit arrange and post-success remaining/framework reminders aligned with contract detail qty aggregation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 15:59:53 +08:00
zlwuandCursor bbd82b7963 fix(web-admin): harden contract product validation and fetch race
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 11:09:37 +08:00
zlwuandCursor 946a71b2e0 feat(web-admin): enforce single contract on plan-contract supplement save
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 11:05:15 +08:00
zlwuandCursor 173e6cdf59 feat(web-admin): allow removing products on delivery stops
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 11:05:15 +08:00
zlwuandCursor 8777173fb7 fix(web-admin): treat empty allowedProductIds as restricted mode
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 11:04:12 +08:00
zlwuandCursor 9b8848ea8c feat(web-admin): gate load products by selected contract
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 11:02:58 +08:00