Commit Graph
119 Commits
Author SHA1 Message Date
wuzilong 1ba1f38321 提交 2026-09-18 12:01:13 +08:00
wuzilong 86694f739f 提交 2026-09-17 09:10:10 +08:00
wuzilong 8c96de2c0c 提交 2026-09-13 13:08:52 +08:00
wuzilongandCursor ca3062b0e2 feat(pl): optional escort selection on transport arrange
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 10:48:23 +08:00
wuzilongandCursor 26b096ae38 feat(pl): bind sys user on personnel and snapshot selectedEscortId
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 10:37:11 +08:00
wuzilongandCursor 10183dabc2 feat(backend): expose pound QR items on driver transport page
Enrich inventory links with business type/partner and attach
poundQrcodeItems for the public driver footer button.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 09:29:03 +08:00
wuzilongandCursor 87ed40512c feat(backend): add public pound-qr endpoint by inventory id
Expose a read-only payload for the shared weighbridge QR card without auth.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 09:24:09 +08:00
wuzilongandCursor 0e3df1f39d feat(pl): expose deliveryTimes on plan list and contract-gap schemas
Populate from delivery stops during attach/gap row build.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 21:20:55 +08:00
wuzilongandCursor 542ecc63e7 fix(pl): allow only etc recharge type in vehicle recharge schemas
Reject fuel writes so the shared module can be narrowed to ETC-only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:43:49 +08:00
wuzilongandCursor f14a96b28d feat(crm): support datetime column sort on contract list.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 21:45:52 +08:00
wuzilongandCursor 8f63430881 feat(crm): support datetime column sort on quote list.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 21:41:05 +08:00
wuzilongandCursor 72a8f97bd1 feat(crm): support datetime column sort on customer list.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 21:39:26 +08:00
zlwu 7f05162fd1 提交 2026-09-06 20:44:56 +08:00
zlwuandCursor fbf830172f feat(crm): wire customer and pool list filters to column params.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 08:19:48 +08:00
zlwuandCursor ca14bb7ca5 feat(pl): allow optional stop/product ids on plan write bodies.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 18:15:28 +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 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
zlwu 19c5aaa8f5 提交 2026-08-30 18:33:13 +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
zlwu 63a1209620 提交 2026-08-30 09:30:02 +08:00
zlwu ebf006eeff 提交 2026-08-27 19:38:01 +08:00
zlwu 4611dbc2b2 提交 2026-08-27 14:23:18 +08:00
zlwu dd1acdc787 提交 2026-08-23 18:42:27 +08:00
zlwu b74d483682 提交 2026-08-23 09:47:38 +08:00
zlwu 16be6fa22d 提交 2026-08-22 09:08:05 +08:00
zlwuandCursor 5c7210facc feat(crm): align product export with ListExportDropdown
Add ids/columns support and unify toolbar export UX.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 17:06:01 +08:00
zlwu d26fb23fcf 提交 2026-08-21 16:50:47 +08:00
zlwu 9fcb9270e6 提交 2026-08-21 13:45:35 +08:00
zlwuandCursor 0e90b1d949 feat(pl): add transport history helpers and schemas
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 11:18:34 +08:00
zlwu 44749ae716 提交 2026-08-21 09:35:11 +08:00
zlwuandCursor b9ff9c9d67 feat(duty): make duty time range a single-select dict like work plans
Add duty_time_range dictionary with day/night presets, parse typed ranges on ensure, and replace time pickers with allow-create select in the schedule dialog.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 21:58:18 +08:00
zlwuandCursor 80545263a0 feat(duty): extend slot model and schemas for work plans and time
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 20:55:20 +08:00
zlwuandCursor 09a57a7af9 feat(pl): show product and plan type columns on contract completion list
Align the合同完善 table with运输计划 by returning products/planType from contract-gaps and rendering them via PlPlanListProductCell.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 13:12:14 +08:00
zlwuandCursor 211156a94c feat(pl): add contract-gap SQL filter and response schemas
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 11:56:40 +08:00
zlwu 1938a9b76a 提交 2026-08-19 22:20:42 +08:00
zlwu c3bd2c00ae 提交 2026-08-17 20:32:18 +08:00
zlwuandCursor 5b7a9f2f8f feat(bx): persist and return reimburse detail occurDate
Wire optional occur_date through create/update detail payloads and
API responses.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 15:58:36 +08:00
zlwu 34e5fcf0be 提交 2026-08-16 14:58:19 +08:00
zlwuandCursor 49cad98c84 feat(duty): add schemas and duty_schedule service with capacity tests
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 17:12:13 +08:00
zlwu f70dc26206 提交 2026-08-09 14:51:41 +08:00
zlwu 683f14828f 提交 2026-08-08 20:43:48 +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 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
zlwu 3d645b4112 提交 2026-08-06 22:49:00 +08:00
zlwu f3693be913 提交 2026-08-06 09:58:20 +08:00
zlwu 5fe53c5481 提交 2026-08-04 14:02:01 +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 06956b742b feat(crm): add tenant-level contract approver setting with submit prefill
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>
2026-08-01 13:37:23 +08:00
zlwuandCursor ffbb5e36b3 feat(crm): implement quote approver setting model and upsert CRUD
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 13:03:35 +08:00