|
|
92e1ce6dbb
|
fix: focusin触发setup, setInterval扫描input挂DOM blur
|
2026-06-29 16:39:52 +08:00 |
|
|
|
817cb354da
|
fix: Jinja2变量避免"转义, script用save_url+disc_id模板变量
|
2026-06-29 16:35:13 +08:00 |
|
|
|
885b915d28
|
fix: JSON闭合VScrollPanel, urlwidget→script+fetch读input值
|
2026-06-29 16:32:02 +08:00 |
|
|
|
b3dabcf0f6
|
fix: 用widgettype:UiFloat+urlwidget替代Form+JS
|
2026-06-29 16:27:48 +08:00 |
|
|
|
d536490599
|
fix: setInterval轮询替代setTimeout,等cell就绪再创建UiFloat
|
2026-06-29 16:21:58 +08:00 |
|
|
|
18eea5b5f9
|
fix: JS直接new bricks.UiFloat+blur事件,去Form
|
2026-06-29 16:21:21 +08:00 |
|
|
|
c126ca9021
|
wip: Form→VBox+uitype:float
|
2026-06-29 16:20:12 +08:00 |
|
|
|
3896a8145e
|
fix: Form简化,margin:0,padding:0,去id,精简script
|
2026-06-29 16:18:35 +08:00 |
|
|
|
3bafa4425a
|
fix: Form添加padding:0 12px与header对齐
|
2026-06-29 16:15:25 +08:00 |
|
|
|
65bbe39477
|
fix: changed→blur, 移除css:childrensize
|
2026-06-29 16:11:27 +08:00 |
|
|
|
0eba657ce4
|
fix: 移除ORDER BY
|
2026-06-29 15:57:57 +08:00 |
|
|
|
0c5f0cfcc3
|
fix: sort改为list格式
|
2026-06-29 15:56:30 +08:00 |
|
|
|
52d48c964a
|
fix: ORDER BY改用$参数化
|
2026-06-29 15:56:09 +08:00 |
|
|
|
dafa2d5eb2
|
fix: request._run_ns.params_kw
|
2026-06-29 15:30:14 +08:00 |
|
|
|
6e6a6a14f0
|
fix: discountid改用request._params_kw(同accounting模块方式)
|
2026-06-29 15:28:53 +08:00 |
|
|
|
6000ea7b01
|
fix: discountid改用request.query.get, aiohttp标准方式
|
2026-06-29 15:26:11 +08:00 |
|
|
|
a2aa95ef94
|
fix: _run_env→_run_ns
|
2026-06-29 13:35:22 +08:00 |
|
|
|
89d116acfd
|
refactor: discountid获取简化为单一路径request._run_env.param_kw
|
2026-06-29 13:22:56 +08:00 |
|
|
|
b20c580193
|
fix: discountid优先从request._run_env.param_kw获取
|
2026-06-29 13:18:18 +08:00 |
|
|
|
2d869c1fbc
|
fix: cwidth改为width百分比(22/34/22/22); discountid改用rel_url.query多种方式获取
|
2026-06-29 12:05:41 +08:00 |
|
|
|
2259b68789
|
refactor: 折扣设置改用Jinja2直建HBox列表+Form/UiFloat+changed事件, 废弃Tabular和inline_edit.js
|
2026-06-29 11:54:12 +08:00 |
|
|
|
1bf3528b6d
|
fix: 折扣设置列宽加大(3/5/3/3); 新增inline_edit.js点击编辑折扣; save_discount uuid→getID
|
2026-06-29 11:37:47 +08:00 |
|
|
|
3a91d0091c
|
fix: Tabular的params改为data_params,使discountid正确传递到get_products_with_discount
|
2026-06-29 11:19:54 +08:00 |
|
|
|
4c7a47d71f
|
bugfix
|
2026-06-29 11:09:28 +08:00 |
|
|
|
e9a0cf6650
|
bugfix
|
2026-06-29 11:02:35 +08:00 |
|
|
|
b45c85448a
|
bugfix
|
2026-06-29 11:00:33 +08:00 |
|
|
|
a75164e62d
|
fix: 使用跨库全限定名查询product_management表
|
2026-06-25 16:11:08 +08:00 |
|
|
|
9135b064ff
|
fix: 移除discount_setting/index.ui中无效的Jinja2 data_params配置
|
2026-06-25 15:35:37 +08:00 |
|
Hermes Agent
|
07d4a1071e
|
fix: data_params使用params.discountid接收URL参数
|
2026-06-24 21:46:44 +08:00 |
|
Hermes Agent
|
4f05c285a1
|
fix: 添加init bind传递discountid,dspy添加early debug日志
|
2026-06-24 21:37:22 +08:00 |
|
Hermes Agent
|
abcfd7c9a2
|
fix: 去掉跨库JOIN前缀,同库直接引用
|
2026-06-24 21:34:43 +08:00 |
|
Hermes Agent
|
79756800d7
|
fix: 恢复org_id限制,添加debug日志排查问题
|
2026-06-24 21:32:56 +08:00 |
|
Hermes Agent
|
01a4dddc59
|
fix: 产品查询去掉org_id限制,使用跨库JOIN
|
2026-06-24 21:26:55 +08:00 |
|
Hermes Agent
|
9997c8a087
|
fix: Jinja2模板中entire_url使用单引号避免转义错误
|
2026-06-24 21:22:55 +08:00 |
|
Hermes Agent
|
1db2cc3109
|
chore: load_path添加discount_setting路径注册
|
2026-06-24 21:02:19 +08:00 |
|
Hermes Agent
|
84eaf6c1ee
|
chore: 删除残留的api文件
|
2026-06-24 20:42:41 +08:00 |
|
Hermes Agent
|
29578196a1
|
feat: 独立产品折扣设置页面(全量产品列表+行内upsert)
|
2026-06-24 20:42:36 +08:00 |
|
Hermes Agent
|
b2691fe02a
|
fix: discount_detail_create get discountid from params/query/referer
|
2026-06-24 12:59:14 +08:00 |
|
Hermes Agent
|
f8c2347292
|
fix: use uuid() instead of getID() in dspy files
|
2026-06-24 12:46:34 +08:00 |
|
Hermes Agent
|
8a2d8b39aa
|
fix: use event.params.prodtypeid instead of event in cascading script
|
2026-06-24 12:36:02 +08:00 |
|
Hermes Agent
|
4ca5207f8f
|
chore: disable discount_detail_list CRUD generation (hand-written UI)
|
2026-06-24 12:24:51 +08:00 |
|
Hermes Agent
|
d6d827fabb
|
feat: hand-write discount_detail_list index.ui + get dspy with editable.binds cascading
|
2026-06-24 12:18:51 +08:00 |
|
Hermes Agent
|
80ef13af88
|
fix: use form_binds for edit form cascading dropdowns (prodtypeid→productid)
|
2026-06-24 10:42:40 +08:00 |
|
Hermes Agent
|
1b15225e3d
|
fix: 修正binds配置属性名widget→target,script参数使用event获取changed值
|
2026-06-24 10:27:00 +08:00 |
|
Hermes Agent
|
0990799ee1
|
feat: 产品明细添加级联联动,选择产品种类后自动加载对应产品
|
2026-06-24 10:13:32 +08:00 |
|
Hermes Agent
|
49f3e1a8a2
|
feat: 促销码隐藏id、自动生成、添加二维码tool
- json: id加入exclouded和editexclouded(不显示不输入)
- 新增 api/promo_code_qr.dspy:为选中促销码生成二维码
- 修改 promote/index.dspy:支持code参数,未登录引导登录/注册
- toolbar添加'生成二维码'按钮,选中行后弹窗显示二维码
|
2026-06-24 09:47:36 +08:00 |
|
Hermes Agent
|
ee7175701a
|
feat: 促销码编辑不显示生成时间,依赖数据库DEFAULT CURRENT_TIMESTAMP
|
2026-06-24 09:33:05 +08:00 |
|
Hermes Agent
|
2860d9209c
|
feat: discount_marketing添加产品明细tool按钮,弹窗打开discount_detail_list编辑
|
2026-06-24 09:31:56 +08:00 |
|
Hermes Agent
|
8d71c4f1d9
|
feat: productid联动过滤,cond条件category_id=[[prodtypeid]]
|
2026-06-24 09:30:08 +08:00 |
|
Hermes Agent
|
82522d8382
|
fix: codes移除dbname,修正表名和字段名
- prodtypeid→product_category(name)
- productid→product(product_name)
- 所有表在同一数据库,不需要dbname
|
2026-06-24 09:24:58 +08:00 |
|