104 Commits
Author SHA1 Message Date
wuzilong fcbf8a9b65 feat: 为现场日历增加单据类型并同步派车记录,减少重复录入。
按起止地关键词生成现场出入库计划,同步来源修改和删除,保留历史记录不补录。调整卡片及复制文本的单据类型格式,并记录测试库和生产库迁移结果。
2026-10-30 14:04:24 +08:00
wuzilong cd99b040aa feat: 新增现场日历并将四类日历的起止地改为选填,以支持现场派车记录。 2026-10-30 11:58:48 +08:00
wuzilongandCursor 0eba80d93c feat: allow dispatch calendar kind other on backend.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-29 16:36:52 +08:00
wuzilongandCursor bde19c0644 feat: 锁定执行中计划并按装卸明细差量归档库存,补齐派车日历数量与酸碱类型。
执行中的运输计划不再随意改单;库存流水记到装卸产品明细;手工派车日历区分酸碱并记录数量。同时收紧合同附件与子表的差量保存,并清理已废弃的 bak 备份目录。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-29 07:59:53 +08:00
wuzilong 459b820f95 chore: 保存恢复本会话改动前的工作区检查点。 2026-10-27 21:56:45 +08:00
wuzilong d104ef86d2 提交 2026-10-23 23:07:00 +08:00
wuzilongandCursor 5357df1cc2 feat(pl): add pl_plan.copy_seq_no for copy-to-group sequence
Persist a tenant-scoped fixed serial for driver-plan clipboard text;
include migration backfill by create_time.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 12:33:00 +08:00
wuzilong 318b934b86 提交 2026-10-06 17:55:20 +08:00
zlwu c55f22a603 提交 2026-10-02 09:28:00 +08:00
zlwuandCursor bdd67d44d9 feat: add recharge workflow models and schema statuses
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-26 20:55:15 +08:00
zlwu b430e75a4b 提交 2026-09-26 11:59:39 +08:00
wuzilongandCursor 2ce31b903f feat(db): add sys_user wx_openid columns for mini phone login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:05:22 +08:00
wuzilong 86694f739f 提交 2026-09-17 09:10:10 +08:00
wuzilong 8c96de2c0c 提交 2026-09-13 13:08:52 +08:00
wuzilongandCursor 0658090223 feat(pl): add personnel sys_user_id and transport escort columns
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 10:30:49 +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
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
zlwuandCursor bd682288f9 feat(pl): add PlCustomerStopPref model
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 17:06:59 +08:00
zlwu dd1acdc787 提交 2026-08-23 18:42:27 +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 4447a1e8e6 feat(duty): add time/work-plan helpers and dict ensure
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 21:06:07 +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
zlwu 1938a9b76a 提交 2026-08-19 22:20:42 +08:00
zlwu c3bd2c00ae 提交 2026-08-17 20:32:18 +08:00
zlwuandCursor 0c4a4bf14a feat(duty): restrict assign and grab to duty staff role
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 18:23:20 +08:00
zlwuandCursor 0b402b18ed feat(bx): add occur_date column on reimburse detail
Store optional expense occurrence date (DATE, nullable) for each
reimburse line item.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 15:53:53 +08:00
zlwuandCursor f5ad2d7217 feat(duty): add SQLAlchemy models for duty schedule
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 17:10:36 +08:00
zlwu f70dc26206 提交 2026-08-09 14:51:41 +08:00
zlwu 683f14828f 提交 2026-08-08 20:43:48 +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 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
zlwu 3d645b4112 提交 2026-08-06 22:49:00 +08:00
zlwu f3693be913 提交 2026-08-06 09:58:20 +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 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
zlwuandCursor 10c3c5470c chore: sync local PL/CRM/BX and migration work to new Gogs host
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>
2026-08-01 09:19:21 +08:00
zlwuandCursor 79f87d39a7 feat(pl): add ORM models for feedback brand qty tables
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 05:11:51 +08:00
zlwuandCursor ea43150b8a feat(models): add product brand/alias and plan brand qty models
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 09:18:32 +08:00
zlwuandCursor bb7f05ffda feat(pl): add create_date to PlPlan model and schemas
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 16:29:35 +08:00
zlwu bede140d12 提交 2026-07-26 21:06:09 +08:00
zlwuandCursor 51668af872 feat(bx): add invoice wallet ORM models
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 18:58:26 +08:00
zlwu aff71d296b 提交 2026-07-20 10:50:26 +08:00
zlwu 8be55c08e9 提交 2026-07-16 08:13:05 +08:00
zlwu 5c6ace1dd3 提交 2026-07-15 08:05:38 +08:00
zlwu c2cba3e668 提交 2026-07-12 17:14:53 +08:00
zlwu ffc89d9b57 提交 2026-07-12 12:04:43 +08:00
zlwu 843e13bce3 提交 2026-07-05 21:31:07 +08:00