wangjia
80e63ca7f7
feat(client): token 地基补字阶/圆角/间距标量层 AppDims(codegen 单源)
...
gen_tokens.mjs 扩展解析 :root 共享块 → 生成 app_dims.g.dart:
间距 sp1-10 / 圆角 rSm-rPill / 字号 fsDisplay-fsXs,主题无关 const 标量。
为屏幕重建提供「禁硬编码 px」的单一真源;app_tokens.g.dart 保持字节一致。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01TSKEiHsvauyxYUW2itzUXX
2026-07-01 20:46:51 +08:00
wangjia
648c00434c
feat(client): 设置页新增外观主题选择器(A/B/C 实时切换)
...
系统参数 Tab 顶部加「外观主题」卡片:三枚带微缩预览的主题色板
(经典蓝/琥珀/酒窖),点选即调用 themeController.set 实时换色并持久化。
表格列头 F0F4FF → thBg 一并清理。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01TSKEiHsvauyxYUW2itzUXX
2026-07-01 20:46:51 +08:00
wangjia
dfe9796ae8
refactor(client): 裸色字面量 F0F6FF/F0F4FF 迁移到 token
...
入库选填区/退单提示条 F0F6FF → infoSoft;表格列头 F0F4FF → thBg;
登录历史项/外壳用户菜单 hover → rowHover、菜单文字 → text。
深色主题 B / 暖色主题 C 下这些 chrome 现可正确随主题换色。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01TSKEiHsvauyxYUW2itzUXX
2026-07-01 20:46:51 +08:00
wangjia
d7260e0d73
refactor(client): license_copy 内联色 + 删除 app_theme.dart(AppTheme 退役)
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
a7298b643c
refactor(client): 往来/设备/登录/关于颜色迁移到 context.tokens
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
9afe0dcf6e
refactor(client): 设置/外壳颜色迁移到 context.tokens
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
7a92b0dfff
refactor(client): 商品/财务域颜色迁移到 context.tokens
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
7612495bbc
refactor(client): 出库域颜色迁移到 context.tokens
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
6f9253e021
refactor(client): 入库域颜色迁移到 context.tokens
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
2c1e9b3fe8
refactor(client): 库存域颜色迁移到 context.tokens
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
fb8c5b6926
refactor(client): widgets 颜色迁移到 context.tokens
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
a6c583b468
refactor(client): 移除 themes.dart 未使用 import
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
789e53ee92
feat(client): main 接入可切换三主题(启动恢复持久化选择)
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
f9f7031cd8
feat(client): 主题选择 controller + SharedPreferences 持久化
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
ab34394109
feat(client): context.tokens 取色扩展
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
b69b3acaaf
feat(client): 三套 ThemeData 构建(挂 AppTokens,B 为 dark)
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
c5818b4e51
feat(client): codegen 单源生成三主题 AppTokens(禁手写 hex)
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
5b9ac47362
feat(client): 新增 AppTokens ThemeExtension 类型
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:46:51 +08:00
wangjia
021c4f17cc
chore: release client-v1.0.86
...
Deploy Client / build-windows (push) Successful in 1m54s
Deploy Client / build-client-web (push) Successful in 44s
Deploy Client / build-macos (push) Successful in 2m22s
Deploy Client / build-android (push) Successful in 1m35s
Deploy Client / build-ios (push) Successful in 2m47s
Deploy Client / release-deploy-client (push) Successful in 1m57s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-27 19:28:01 +08:00
wangjia
ed7a37cc05
chore: release client-v1.0.85
...
Deploy Client / build-client-web (push) Successful in 50s
Deploy Client / build-macos (push) Successful in 2m16s
Deploy Client / build-android (push) Successful in 1m31s
Deploy Client / build-ios (push) Successful in 2m31s
Deploy Client / build-windows (push) Successful in 1m53s
Deploy Client / release-deploy-client (push) Successful in 1m55s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-27 16:49:00 +08:00
wangjia
47cf0ae547
chore: release client-v1.0.84
...
Deploy Client / build-client-web (push) Successful in 45s
Deploy Client / build-windows (push) Successful in 2m43s
Deploy Client / build-macos (push) Successful in 2m15s
Deploy Client / build-android (push) Successful in 1m20s
Deploy Client / build-ios (push) Successful in 2m52s
Deploy Client / release-deploy-client (push) Successful in 1m51s
修复出库单/入库单打印时单据明细超过一页导致 MultiPage 分页死循环卡死的回归
(_buildOrderDoc 改返回可拆分子组件列表,左侧竖线点缀改由 pageTheme 背景每页绘制)。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-26 22:28:00 +08:00
wangjia
1558ce1e94
refactor(client): 出入库单打印改用「紧凑报表」版式
...
- 左侧竖线点缀 + 抬头左对齐内联(公司名 + 单据类型同行)
- 抬头信息改为灰底信息条;明细表收紧字号/行距、灰底表头
- 数量/单价/金额/总计改等宽数字(PDF 内置 Courier,Web monospace)
- 单据总计改为右对齐灰底条
- 仅排版调整,字段/数据/售价口径/温馨提示逻辑均不变
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-26 18:10:12 +08:00
wangjia
a355a3a2a2
feat(client): 出入库单打印按新版式重做 + 单价口径修正
...
- 版式参照单据样板:公司抬头 + 两行三列表头 + 统一明细列
(商品编号/名称/系列/规格/批次号/生产日期/数量/单价/金额/备注)
- 单据总计独立成行(仅数量+金额,右对齐高亮)
- 出库单保留温馨提示,入库单去掉
- 签字行:制单人=当前登录用户(OrderPrintMeta),采购员/销售员=经办人;
公司名取门店(shopInfoProvider)
- 出库单单价=售价(sale_price),金额=售价×数量;历史单 sale_price=0
时回退 unit_price/total_price。入库单单价=进价(unit_price)
- 桌面 PDF 与 Web HTML 两端同构
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-26 17:03:23 +08:00
wangjia
5187702fc5
chore: release client-v1.0.82
...
Deploy Client / build-client-web (push) Successful in 47s
Deploy Client / build-windows (push) Successful in 1m56s
Deploy Client / build-macos (push) Successful in 2m15s
Deploy Client / build-android (push) Successful in 1m20s
Deploy Client / build-ios (push) Successful in 2m47s
Deploy Client / release-deploy-client (push) Successful in 1m51s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-26 01:52:04 +08:00
wangjia
3d83f94f24
chore: release client-v1.0.81
...
Deploy Client / build-client-web (push) Successful in 42s
Deploy Client / build-windows (push) Successful in 1m55s
Deploy Client / build-macos (push) Successful in 2m19s
Deploy Client / build-android (push) Successful in 1m7s
Deploy Client / build-ios (push) Successful in 2m37s
Deploy Client / release-deploy-client (push) Successful in 1m53s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-24 18:40:23 +08:00
wangjia
5861b9210c
chore: release client-v1.0.80
...
Deploy Client / build-client-web (push) Successful in 43s
Deploy Client / build-windows (push) Successful in 1m56s
Deploy Client / build-macos (push) Successful in 2m11s
Deploy Client / build-android (push) Successful in 1m29s
Deploy Client / build-ios (push) Successful in 2m47s
Deploy Client / release-deploy-client (push) Successful in 1m49s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-24 18:02:32 +08:00
wangjia
a678c3806e
chore: release client-v1.0.79
...
Deploy Client / build-client-web (push) Successful in 44s
Deploy Client / build-macos (push) Successful in 2m29s
Deploy Client / build-android (push) Successful in 1m23s
Deploy Client / build-ios (push) Successful in 2m59s
Deploy Client / build-windows (push) Successful in 1m52s
Deploy Client / release-deploy-client (push) Successful in 2m40s
入库/出库单搜索框升级:搜索后关键词转为框内 chip 标签 + 一键清除(✕),仅保留单个搜索词;新增 SearchChip 组件 + provider currentKeyword getter 进屏同步。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-24 12:08:55 +08:00
wangjia
84f99ef459
test: 补酒名搜索拼音/多租户与前端搜索限流用例
...
- backend: 入库酒名全拼(feitian)+首字母(ftmt)命中、不相关拼音不命中
- backend: 入库酒名反查的多租户隔离(店A搜茅台不串到店B)
- client: setKeyword 防抖(350ms内连发取最后一次)+去重(同词不重查)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-24 00:19:34 +08:00
wangjia
102ace42ac
feat(client): 入库/出库搜索框支持酒名,并对搜索限流
...
- 搜索框 hint 改为「单号/往来单位/酒名」
- setKeyword 加去重+350ms 防抖:同词不重查、连发回车/狂点合并取最后一次,
避免酒名模糊查询(单次约 55ms 明细扫描)被刷
- Timer 在 provider dispose 时取消
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-24 00:19:34 +08:00
wangjia
08b41a8f63
feat(client): 入库单价允许留空/0(待定价),移除 >0 校验
...
- 删除新建入库商品明细单价的「不能为空 + >0」校验,留空或填 0 视为「待定价」
- 待定价明细经审核后在入库单详情「确认进价」补填真实进价
- 清理未使用的 productCode 局部变量与 _productCodeOf 辅助方法
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-24 00:19:34 +08:00
wangjia
f395920a8c
feat(client): 入库确认进价入口与「待定价」标注
...
入库单详情弹窗为已审核+含 0 价明细+管理员时显示「确认进价」,
逐行补填真实进价调后端;库存列表与入库明细 0 价/NULL 显示
「待定价」而非 ¥0.00。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-23 20:07:50 +08:00
wangjia
7969bb41e3
feat(client): 商品详情页图片支持双击全屏查看
...
抽出共享全屏查看器 fullscreen_image_viewer.dart(复用扫码页的
InteractiveViewer+PageView+黑底 modal),详情页缩略图双击打开,
扫码公开页改为复用同一组件去重。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-23 20:07:49 +08:00
wangjia
a20645671b
chore: release client-v1.0.75
...
Deploy Client / build-client-web (push) Successful in 41s
Deploy Client / build-macos (push) Successful in 5m37s
Deploy Client / build-android (push) Successful in 1m15s
Deploy Client / build-ios (push) Successful in 4m3s
Deploy Client / build-windows (push) Has been cancelled
Deploy Client / release-deploy-client (push) Has been cancelled
出库列表加商品编码精确搜索框 + 移除数据导入入口
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-22 22:25:22 +08:00
wangjia
078fab30f0
chore: release client-v1.0.74
...
Deploy Client / build-client-web (push) Successful in 39s
Deploy Client / build-macos (push) Successful in 2m23s
Deploy Client / build-android (push) Successful in 1m37s
Deploy Client / build-ios (push) Successful in 2m51s
Deploy Client / build-windows (push) Has been cancelled
Deploy Client / release-deploy-client (push) Has been cancelled
入库/出库详情页明细新增生产日期、批次号两列
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-22 20:16:19 +08:00
wangjia
2fac1aff66
chore: release client-v1.0.73
...
Deploy Client / build-client-web (push) Successful in 40s
Deploy Client / build-windows (push) Successful in 2m7s
Deploy Client / build-macos (push) Successful in 2m11s
Deploy Client / build-android (push) Successful in 1m8s
Deploy Client / build-ios (push) Successful in 2m48s
Deploy Client / release-deploy-client (push) Successful in 1m26s
出库选货弹窗改为分页加载(默认20条+库存总数+翻页)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-22 14:26:23 +08:00
wangjia
6b0b2645ce
chore: release client-v1.0.72
...
Deploy Client / build-client-web (push) Successful in 41s
Deploy Client / build-windows (push) Successful in 2m34s
Deploy Client / build-macos (push) Successful in 2m17s
Deploy Client / build-android (push) Successful in 1m26s
Deploy Client / build-ios (push) Successful in 2m42s
Deploy Client / release-deploy-client (push) Successful in 1m35s
出库售价可编辑列(应收按售价) + 退单按钮红色实心 + 库存列表隐藏数量列
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-22 13:02:29 +08:00
wangjia
6c43800354
fix(client): 退单按钮改红色实心样式,与原型一致突出危险操作
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-21 22:51:40 +08:00
wangjia
51acee2705
chore: release client-v1.0.71
...
Deploy Client / build-client-web (push) Successful in 47s
Deploy Client / build-macos (push) Successful in 2m11s
Deploy Client / build-android (push) Successful in 1m11s
Deploy Client / build-ios (push) Successful in 2m29s
Deploy Client / build-windows (push) Successful in 2m27s
Deploy Client / release-deploy-client (push) Successful in 1m27s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-21 22:17:50 +08:00
wangjia
e36de528b0
fix(client): 数据导入页新增入库单/出库单导入槽
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-21 21:25:01 +08:00
wangjia
9d5bc18de1
chore: release client-v1.0.70
...
Deploy Client / build-client-web (push) Successful in 38s
Deploy Client / build-macos (push) Successful in 2m10s
Deploy Client / build-android (push) Successful in 56s
Deploy Client / build-ios (push) Successful in 2m35s
Deploy Client / build-windows (push) Successful in 1m49s
Deploy Client / release-deploy-client (push) Successful in 1m23s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-21 19:46:49 +08:00
wangjia
381588826c
chore: release client-v1.0.69
...
Deploy Client / build-client-web (push) Successful in 40s
Deploy Client / build-macos (push) Successful in 2m13s
Deploy Client / build-android (push) Successful in 1m6s
Deploy Client / build-windows (push) Successful in 1m56s
Deploy Client / build-ios (push) Successful in 2m41s
Deploy Client / release-deploy-client (push) Successful in 1m24s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-21 19:09:47 +08:00
wangjia
fcc0fd988b
chore: release client-v1.0.68
...
Deploy Client / build-client-web (push) Successful in 38s
Deploy Client / build-windows (push) Successful in 1m53s
Deploy Client / build-macos (push) Successful in 2m7s
Deploy Client / build-android (push) Successful in 59s
Deploy Client / build-ios (push) Successful in 2m36s
Deploy Client / release-deploy-client (push) Successful in 1m23s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-21 18:14:54 +08:00
wangjia
6d70bd3e37
chore: release client-v1.0.67
...
Deploy Client / build-client-web (push) Successful in 41s
Deploy Client / build-windows (push) Successful in 1m52s
Deploy Client / build-macos (push) Successful in 2m33s
Deploy Client / build-android (push) Successful in 1m6s
Deploy Client / build-ios (push) Successful in 2m42s
Deploy Client / release-deploy-client (push) Successful in 1m27s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-21 17:33:32 +08:00
wangjia
182adca282
feat(client): 列表日期列改名入库/出库时间删审核时间列 + 日期控件改可键入框带日历
...
Deploy Client / build-client-web (push) Successful in 41s
Deploy Client / build-windows (push) Successful in 2m34s
Deploy Client / build-macos (push) Successful in 2m20s
Deploy Client / build-android (push) Successful in 1m5s
Deploy Client / build-ios (push) Successful in 2m44s
Deploy Client / release-deploy-client (push) Successful in 1m26s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-21 16:39:32 +08:00
wangjia
025f3b7bbc
feat(client): 入库录入去除按名称复用,明细带产品信息由后端建独立产品
...
Deploy Client / build-client-web (push) Successful in 40s
Deploy Client / build-macos (push) Successful in 2m14s
Deploy Client / build-android (push) Successful in 1m31s
Deploy Client / build-ios (push) Successful in 2m53s
Deploy Client / build-windows (push) Has been cancelled
Deploy Client / release-deploy-client (push) Has been cancelled
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-21 16:30:37 +08:00
wangjia
71ed15b40b
feat(client): 入库/出库加搜索框,入库/出库/库存加刷新按钮
...
Deploy Client / build-client-web (push) Successful in 42s
Deploy Client / build-windows (push) Successful in 1m53s
Deploy Client / build-macos (push) Successful in 2m10s
Deploy Client / build-android (push) Successful in 1m15s
Deploy Client / build-ios (push) Successful in 2m28s
Deploy Client / release-deploy-client (push) Successful in 1m21s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
2026-06-20 16:03:01 +08:00
wangjia
bcc02a2f09
chore: release client-v1.0.63
...
Deploy Client / build-client-web (push) Successful in 37s
Deploy Client / build-windows (push) Successful in 2m32s
Deploy Client / build-macos (push) Successful in 2m2s
Deploy Client / build-android (push) Successful in 1m7s
Deploy Client / build-ios (push) Successful in 2m31s
Deploy Client / release-deploy-client (push) Successful in 1m33s
fix(client): 入库/出库单状态筛选改服务端,全部状态含未审核 + 下拉补待审核
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-20 12:19:51 +08:00
wangjia
648d9bc0d5
chore: release client-v1.0.62
...
Deploy Client / build-client-web (push) Successful in 40s
Deploy Client / build-macos (push) Successful in 2m0s
Deploy Client / build-android (push) Successful in 1m9s
Deploy Client / build-ios (push) Successful in 2m30s
Deploy Client / build-windows (push) Successful in 2m16s
Deploy Client / release-deploy-client (push) Successful in 1m23s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-20 10:14:44 +08:00
wangjia
36c7ad8b43
chore: release client-v1.0.61
...
Deploy Client / build-client-web (push) Successful in 38s
Deploy Client / build-windows (push) Successful in 1m52s
Deploy Client / build-macos (push) Successful in 1m55s
Deploy Client / build-android (push) Successful in 1m0s
Deploy Client / build-ios (push) Successful in 2m47s
Deploy Client / release-deploy-client (push) Successful in 1m21s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-20 08:56:02 +08:00
wangjia
a76724b385
feat(client): 录单表单优化 + 可搜索下拉支持新建 + 日期选择器组件
...
新增 DatePickerField 日期选择器与 date_util;可搜索下拉 SearchableOptionField
支持内联新建选项;入库/出库录单表单、商品页、财务页、app_shell 导航相应调整。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-20 07:05:22 +08:00