5 Commits

Author SHA1 Message Date
bec3e8f583 fix: customerid显示机构名; sale_id显示username; editable嵌套修复 2026-07-14 11:10:49 +08:00
1e99ad2cc8 fix: hide resellerid in customer_bind list, add menu entries for free_customer_assign + customer_reassign 2026-07-13 18:36:51 +08:00
6c8d23b986 refactor: resellerid → auto from get_userorgid(), remove from codes 2026-07-09 13:39:10 +08:00
Hermes Agent
a666aa1b18 fix: discount_customer_bind列表隐藏customerid/resellerid显示和编辑输入 2026-06-24 09:19:44 +08:00
Hermes Agent
f5250fb261 feat: 营销方案、促销码、客户归属绑定功能
- 新增3个数据模型: discount_marketing, discount_promo_code, discount_customer_bind
- 新增CRUD定义: marketing/promo_code/customer_bind 的list和api
- 新增init/data.json: appcodes编码(促销码类型、绑定方式)
- init.py: bind_customer支持customerid参数覆盖(注册场景)
- 折扣校验放宽至 0 < discount <= 1
2026-06-24 00:56:32 +08:00