This website requires JavaScript.
30766b6c88
Revert "fix: skip_keys添加value_mode,防止定价项顶层value_mode被误当字段检查导致匹配失败"
main
Hermes Agent
2026-06-23 17:04:13 +08:00
b2521678ad
Revert "fix: non-field keys in pricing items skip instead of raise - aligns top-level loop (line 618) with filters loop (line 653) behavior - value_mode and other control params at filter level no longer cause 'fields中没有定义' error"
Hermes Agent
2026-06-23 17:04:13 +08:00
03a0bea51f
Revert "fix: value_mode read from field definition, not filter_item - removed item_value_mode from filters loops (2 places) - check_value(f, fv, dv) now falls back to f.value_mode per field - fixes: filter-level value_mode:between was applied to ALL fields including model (string), causing between parse error on model name"
Hermes Agent
2026-06-23 17:04:13 +08:00
1e65451da4
fix: value_mode read from field definition, not filter_item - removed item_value_mode from filters loops (2 places) - check_value(f, fv, dv) now falls back to f.value_mode per field - fixes: filter-level value_mode:between was applied to ALL fields including model (string), causing between parse error on model name
Hermes Agent
2026-06-23 16:16:37 +08:00
6df2569c8e
fix: non-field keys in pricing items skip instead of raise - aligns top-level loop (line 618) with filters loop (line 653) behavior - value_mode and other control params at filter level no longer cause 'fields中没有定义' error
Hermes Agent
2026-06-23 16:06:00 +08:00
3a9e30313b
fix: skip_keys添加value_mode,防止定价项顶层value_mode被误当字段检查导致匹配失败
Hermes Agent
2026-06-23 15:45:36 +08:00
e4bbef8e17
feat: register get_ppid_pricing on env for pre-inference pricing check
Hermes Agent
2026-06-22 17:55:27 +08:00
0f562ec834
移除__pycache__,补充.gitignore
Hermes Agent
2026-06-22 14:59:31 +08:00
6bb7af3535
data_filter改为filterjson逻辑表达式格式
Hermes Agent
2026-06-22 14:43:34 +08:00
65e7af4c84
data_filter改为search_fields
Hermes Agent
2026-06-22 14:10:15 +08:00
d28d1b6173
name字段搜索使用LIKE模糊匹配
Hermes Agent
2026-06-22 13:53:31 +08:00
7f5dc485cb
chore: remove generated CRUD files from git tracking
Hermes Agent
2026-06-22 12:22:23 +08:00
f148e0c1f9
regenerate CRUD with app. prefix target
Hermes Agent
2026-06-22 12:16:56 +08:00
3863bdcbcc
regenerate CRUD with prepend_all for search code fields
Hermes Agent
2026-06-22 12:11:53 +08:00
a2d0fc9798
regenerate CRUD with script bind for search form
Hermes Agent
2026-06-22 12:09:26 +08:00
daf72d297d
regenerate CRUD with enriched code field support in data_filter
Hermes Agent
2026-06-22 11:56:16 +08:00
c7b364926d
feat: add i18n translations (zh/en/jp/ko) for all modules
Hermes Agent
2026-06-19 15:01:35 +08:00
38f0c10dfe
Revert "fix: root VBox height:100% instead of cheight:40"
Hermes Agent
2026-06-19 14:26:29 +08:00
d89961c1e4
fix: root VBox height:100% instead of cheight:40
Hermes Agent
2026-06-19 14:25:09 +08:00
851ea8b51b
feat: add data_filter for name and providerid
Hermes Agent
2026-06-19 14:17:32 +08:00
9a0f82b28d
fix: remove providerid alters from CRUD JSON, let model codes handle it
Hermes Agent
2026-06-19 14:02:09 +08:00
74d9848674
fix: add uitype:code to providerid alters for orgname display
Hermes Agent
2026-06-19 08:46:39 +08:00
a6150a4309
feat: add =~= (closed-closed interval) support in check_value for between ranges
Hermes Agent
2026-06-18 23:22:14 +08:00
7d8fae01ca
fix: check_value支持filter_item级别的value_mode
Hermes Agent
2026-06-18 17:49:28 +08:00
0d841f078e
feat: pricing_program discount field validation [0-1]
Hermes Agent
2026-06-18 17:36:40 +08:00
9241edfb6c
fix: test_pricing使用urlwidget加载控件JSON
Hermes Agent
2026-06-18 16:18:28 +08:00
edee247a11
fix: test_pricing结果直接返回完整控件JSON
Hermes Agent
2026-06-18 16:13:52 +08:00
d22dbc57ae
fix: test_pricing结果用subwidgets控件数组渲染
Hermes Agent
2026-06-18 16:08:59 +08:00
bcdb1e02cd
feat: 定价测试窗口添加标题'定价测试'
Hermes Agent
2026-06-18 16:06:16 +08:00
972400e382
feat: test_pricing_program结果每条记录单独显示
Hermes Agent
2026-06-18 16:03:43 +08:00
759cd14a56
fix: filters数组改为AND逻辑,缺键视为匹配
Hermes Agent
2026-06-18 15:26:04 +08:00
616c3a1926
fix: 供应商折扣负数校验,clamp到0~1范围(bug6)
Hermes Agent
2026-06-16 10:45:29 +08:00
c5eb5b9399
fix: get_pricing_display 异常保护,返回None
yumoqing
2026-06-12 15:32:27 +08:00
c875a8dc2b
fix: test_pricing 传入已解析的 dict 导致 yaml.safe_load 报错
yumoqing
2026-06-12 15:12:44 +08:00
7df8e530a4
remove: pricing_item CRUD and related functions (not used)
yumoqing
2026-06-12 14:41:58 +08:00
ac3d7c6d91
fix: implement missing get_all_spec_fields_by_pptid, sor_get_spec_fields, get_pricing_specs_by_pptid
yumoqing
2026-06-12 14:18:52 +08:00
00abc0caa4
bugfix
yumoqing
2026-06-12 14:04:57 +08:00
c8b5bba342
bugfix
yumoqing
2026-06-12 13:55:10 +08:00
8d1808fe96
bgufix
yumoqing
2026-06-12 13:49:27 +08:00
9094e07465
bgufix
yumoqing
2026-06-12 13:47:09 +08:00
22a3a96833
bgufix
yumoqing
2026-06-12 13:03:55 +08:00
fffcd03c87
fix: remove nonexistent ownerid filter from pricing_program_timing CRUD
yumoqing
2026-06-11 16:30:57 +08:00
c2a7dbb98f
docs: 添加HTTP API文档和pricing_data使用指南
yumoqing
2026-06-05 19:18:46 +08:00
c1bfaca049
fix: 支持filters列表格式 + display_text展示过滤条件
yumoqing
2026-06-05 19:07:11 +08:00
502468e0cb
fix: model filter提升为item级适用条件
yumoqing
2026-06-05 18:53:33 +08:00
3ad50beda8
refactor: 清理冗余空字段
yumoqing
2026-06-05 18:49:51 +08:00
66b4744def
fix: tiered只展示价格不同的条目,过滤冗余
yumoqing
2026-06-05 18:47:50 +08:00
38ff69ca55
refactor: 精简pricing_display, tiered只保留有意义filter
yumoqing
2026-06-05 18:34:27 +08:00
3eefe1a67f
fix: pricing_display 不乘unit_val + 添加可读display_text字段
yumoqing
2026-06-05 18:26:30 +08:00
2706815dee
fix: use DictObject for config_data to support dot notation in derived fields
yumoqing
2026-06-05 16:07:35 +08:00
022bab8314
feat: add derived field support for nested usage data
yumoqing
2026-06-05 15:04:47 +08:00
df1fa2cfe0
fix: 百万单位定价展示乘以单位值 + 生产混合格式走formula路径
yumoqing
2026-06-05 14:33:36 +08:00
e2d46f4074
fix: add fallback unit_values in get_pricing_display
yumoqing
2026-06-05 14:32:27 +08:00
da07250049
feat: update unit_values and get_pricing_display for new format
yumoqing
2026-06-05 14:06:58 +08:00
7200454c46
feat: support new pricing format (price_factors + unit_prices)
yumoqing
2026-06-05 14:00:24 +08:00
392f281758
fix: replace wildcard patterns with explicit per-file entries in load_path.py
yumoqing
2026-06-04 13:03:24 +08:00
977be0d39c
feat: add pricing display API for customer-facing pricing data
yumoqing
2026-06-04 12:13:55 +08:00
5d4e008ec8
fix: guard hot_reload binding with None check
yumoqing
2026-06-02 17:36:38 +08:00
ba69fb84d1
debug: add hot_reload handler logging
yumoqing
2026-06-01 22:53:09 +08:00
b7ca795127
cleanup: remove dead module-level get_pricing_program and duplicate assignment
yumoqing
2026-06-01 18:57:50 +08:00
52dd91c6ee
chore: remove __pycache__, add to gitignore
yumoqing
2026-06-01 18:10:39 +08:00
7b9d3d2ba0
refactor: bind hot_reload event via EventDispatcher, add on_hot_reload to PricingProgram
yumoqing
2026-06-01 18:10:30 +08:00
71329af722
fix: 定价管理菜单直接进入pricing_program CRUD,跳过index.ui
yumoqing
2026-06-01 15:55:20 +08:00
12472b792f
fix: reduce module card height (remove cheight, compact padding/icons)
yumoqing
2026-05-30 21:20:48 +08:00
fc1f8bb182
fix: wrap Tabular in VBox with cheight for proper scrolling
yumoqing
2026-05-29 22:09:53 +08:00
8159c79d55
feat: respect module_cache config for pricing cache
yumoqing
2026-05-29 17:59:06 +08:00
c041c76c9f
refactor: use wildcard % in load_path.py for auto-coverage
yumoqing
2026-05-29 00:52:20 +08:00
b7e69b48cd
fix: responsive UI with VScrollPanel, cfontsize, css:card
yumoqing
2026-05-29 00:12:52 +08:00
5813749a98
bugfix
yumoqing
2026-05-27 18:17:44 +08:00
c1bdc467a6
refactor(models): convert to json format per database-table-definition-spec
yumoqing
2026-05-27 13:23:30 +08:00
6379c1a0e3
feat: add load_path.py RBAC permission registration script
yumoqing
2026-05-27 13:16:09 +08:00
ce5062215e
fix: remove hardcoded dark theme colors from index.ui
yumoqing
2026-05-27 11:31:15 +08:00
0e9a0ef126
fix: add filler css + overflowY:auto to content container
feat/modern-ui-pricing
yumoqing
2026-05-26 13:55:19 +08:00
bf868f3f3a
fix: add dark mode background (#0B1120) to pricing index.ui
yumoqing
2026-05-26 11:57:18 +08:00
7c41db3f9b
feat: modernize pricing UI - add index.ui with card navigation
yumoqing
2026-05-25 18:30:48 +08:00
fc54699be7
feat: add json table definitions for all models (converted from xlsx)
yumoqing
2026-05-21 12:46:36 +08:00
9ccbb47920
bugfix
yumoqing
2026-05-19 12:09:52 +08:00
b981d07f40
fix: refresh pricing cache for timing id events
yumoqing
2026-05-19 01:12:55 +08:00
c85b9527c3
bugfix
yumoqing
2026-05-18 16:02:14 +08:00
1677d18704
bugfix
yumoqing
2026-05-16 16:55:58 +08:00
eebe7c2733
bugfix
yumoqing
2026-05-16 16:53:01 +08:00
168ce230c4
bugfix
yumoqing
2026-05-16 16:50:01 +08:00
7095d8dca2
bugfix
yumoqing
2026-05-16 16:40:09 +08:00
1f1faaa085
bugfix
yumoqing
2026-05-16 16:38:44 +08:00
7468bcd781
bugfix
yumoqing
2026-05-16 16:36:41 +08:00
4f40be10dc
bugfix
yumoqing
2026-05-16 16:32:47 +08:00
a264e72a24
bugfix
yumoqing
2026-05-16 16:19:22 +08:00
19f03c82c3
bugfix
yumoqing
2026-05-16 16:13:18 +08:00
0efc1be770
bugfix
yumoqing
2026-05-14 17:01:56 +08:00
28b3cf4977
bugfix
yumoqing
2026-05-14 13:48:08 +08:00
f78c6f6494
bugfix
yumoqing
2026-05-14 13:41:41 +08:00
37ad188a26
bugfix
yumoqing
2026-05-14 13:34:29 +08:00
c8bc20d786
bugfix
yumoqing
2026-05-14 13:29:49 +08:00
4667c49372
bugfix
yumoqing
2026-05-14 13:16:37 +08:00
8643e22a50
bugfix
yumoqing
2026-05-14 13:14:35 +08:00
e7381291e8
bugfix
yumoqing
2026-05-14 13:12:05 +08:00
d98479ee6e
bugfix
yumoqing
2026-05-14 13:10:45 +08:00
896c87c4f0
bugfix
yumoqing
2026-05-14 13:10:13 +08:00
a7afc0f834
bugfix
yumoqing
2026-05-14 11:52:58 +08:00
c2a273d07f
bugfix
yumoqing
2026-05-07 16:42:45 +08:00