24 Commits

Author SHA1 Message Date
3cbde03d6e fix(accounting): use DOM querySelector for date values instead of getWidgetById 2026-07-17 15:47:29 +08:00
07086034be perf(accounting): remove summary from billing, fix acc_dir 0=借/1=贷, add DB index 2026-07-17 15:35:03 +08:00
6986ade835 fix(accounting): use Text widget instead of Button for download 2026-07-17 15:14:34 +08:00
03cb4049f4 fix(accounting): add padding/borderRadius to download button, remove HBox height constraint 2026-07-17 15:13:08 +08:00
e125f6ab8d fix(accounting): use bricks-native bgcolor/color instead of css for download button 2026-07-17 15:12:10 +08:00
d4e32a2292 fix(accounting): wire up download button, fix LEFT JOIN in download DSPY 2026-07-17 15:11:16 +08:00
fba38804de fix(billing): submit_text→submit_label, wid→self, fix indentation
- submit_label is the correct InlineForm option (not submit_text)
- Use wid:self instead of explicit widget id
- binds was incorrectly indented inside options
2026-07-16 16:59:51 +08:00
f7f9581cd9 fix(billing): InlineForm target can't find sibling Tabular
InlineForm and Tabular are siblings in the same VBox. Default
getWidgetById() searches downward from the source widget, missing
siblings. Use 'app.' prefix to resolve from root.
2026-07-16 16:28:25 +08:00
b95a57fd34 fix: submit改用method:render,零JS代码 2026-07-01 11:56:49 +08:00
5b9619c850 fix: InlineForm submit绑定修正,wid+getWidgetById替代this 2026-06-30 17:52:22 +08:00
60e9e3c9b3 fix: Form→InlineForm, type→uitype:date, flex+cheight增大显示 2026-06-30 17:39:20 +08:00
a7d1aa170e fix: billing.ui用{% set %}变量替代"转义,避免Jinja2报错 2026-06-30 17:24:20 +08:00
434cfe950c feat: billing - add stats summary and Excel download 2026-05-31 14:18:53 +08:00
c141134001 fix: use this.render(params) instead of this.loadData for Tabular (DataViewer API) 2026-05-31 14:11:14 +08:00
dd12be3833 bugix 2026-05-31 14:08:52 +08:00
7fbc826330 bugix 2026-05-31 14:06:32 +08:00
1029078b56 bugix 2026-05-31 14:05:05 +08:00
8d447b90ea refactor: billing - use Form title, Tabular always present, form submit loadData via script 2026-05-31 13:56:56 +08:00
6d3dcf2db9 fix: billing layout - wrap Form in fixed-height VBox, Tabular as filler 2026-05-31 13:46:33 +08:00
eec08d684c bugfix 2026-05-31 13:42:07 +08:00
7c2c584407 fix: billing layout - Form fixed height, Tabular css filler 2026-05-31 13:30:32 +08:00
7361614f89 fix: billing query - use Tabular instead of DataViewer, fix form submit target
- Changed DataViewer to Tabular with row_options.fields for proper table rendering
- Form submit target changed from 'self' to 'billing_page' (root VBox ID)
  with mode:replace, preventing nested page loading inside Form
- Fixed page_size to page_rows (correct parameter name)
- Added column definitions: date, time, subject, direction, summary, amount, balance
2026-05-31 13:24:32 +08:00
8a3f1955d3 fix: collation mismatch in SQL JOINs + billing date fields use uitype:date 2026-05-31 11:44:58 +08:00
997c7a445e feat: 新增账单查询页面,按机构id+日期范围查询acc_detail 2026-05-31 10:27:14 +08:00