wangjia
|
e9b0dfd652
|
docs(design): 在售徽章图标 勾 → 购物车(i-cart 新增,sprite 两端同步)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-04 09:58:35 +08:00 |
|
wangjia
|
0d43c43c29
|
docs(design): 移动出入库工具栏全图标化(新增去文字、状态去文字箭头)
- 新增按钮只留 + 图标(primary 方钮,title 提示)
- 状态筛选改纯图标钮:默认漏斗,选中某状态后按钮图标切换为该状态的
BADGE_ICON 代表图标并转 primary 高亮,取消回漏斗 ghost
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-04 09:57:41 +08:00 |
|
wangjia
|
6cadc276bd
|
docs(design): 全系统徽章圆点统一图标化(icons.js BADGE_ICON 单源自动注入)
- icons.js 新增 BADGE_ICON 全量状态映射(库存/单据/往来/角色/设备/盘点/兑换券/
收付 28 词)+ MutationObserver 运行时增强:任何屏渲染的 .badge.b-* 自动注入
代表图标并隐藏圆点,动态重渲染同样生效,屏内无需手写 svg
- 新增状态只需在 BADGE_ICON 登记一行即全局生效;已手写 .bi/.ico 的徽章跳过
- index.html 徽章登记区注明机制;实测 index 47/47、库存/往来/移动出入库全部命中
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-04 09:55:13 +08:00 |
|
wangjia
|
4d82d37495
|
docs(design): 提示条图标换清晰变体 i-info/i-alert(h.01 发丝点改实心圆)
小尺寸下 lucide info/alert 的 h.01 点状路径细如没画完;新增点为 r1.1 实心圆的
i-info/i-alert(sprite 两端同步),替换 index 示例、出入库桌面/移动提示条、
移动卡片 foot 信息图标(i-ic24/i-ic42/i-ic69 原图标保留供他处沿用)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-04 09:51:52 +08:00 |
|
wangjia
|
0a2f407868
|
docs(design): 待定价徽章图标 价签 → ¥(i-yen 新增,sprite 两端同步)
用户建议货币符号更直观;产品金额全为 ¥,故用 lucide japanese-yen(与人民币
符号同形)而非 $,四屏 STICON 与 index.html 登记区同步更新
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-04 09:49:18 +08:00 |
|
wangjia
|
ed2a933956
|
docs(design): 移动出入库筛选合一行(状态下拉+漏斗) + 详情字段对齐桌面 + 库存去FAB
- 搜索/状态/详细搜索/新增 合为一行:状态 pills 撤除改 m-select 下拉
(底部选项 sheet 带图标徽章,激活高亮),详细搜索改漏斗图标按钮(激活转 primary)
- 详情 sheet 字段名与顺序对齐桌面抽屉:单号升为标题,补 仓库/商品数 行,
明细标签改 入库明细/出库明细,合计金额(出库+合计利润)移至明细卡之后
- 样本数据补 wh 仓库字段
- 库存屏 FAB 移除(入库建档铁律,库存不手工新增)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-04 09:46:49 +08:00 |
|
wangjia
|
84e0653443
|
docs(design): 单据状态徽章图标化 + 移动出入库列表补 KPI 卡/新增按钮进搜索行
- atoms.css 徽章新增两变体并登记 index.html:.bi 代表性图标替代圆点(桌面),
.ico 纯图标紧凑徽章(移动卡片,22px 圆)
- 图标映射:草稿=文件 待审核=时钟 已审核=勾 已拒绝=叉 退单=撤回箭头(i-undo 新增
lucide undo-2,原型/官网 sprite 两端同步) 待定价=价签
- 桌面 stock-in/out-list 表格与抽屉状态徽章圆点 → 图标
- 移动 m-stock-*-list:卡片徽章改纯图标横排(解决竖排文字徽章过大);详情 sheet
用图标+文字徽章;FAB 移除,「新增」primary 按钮放搜索框旁;补 2×2 KPI 卡
(近30天笔数/金额 + 待审核/草稿 点击筛选,对齐桌面滚动窗口径)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-04 09:38:58 +08:00 |
|
wangjia
|
12952ea9ae
|
docs(design): 移动出入库列表原型补齐桌面近期功能(简化版)
- 新状态词对齐桌面/后端:已通过/已驳回 → 已审核/已拒绝,新增 部分退单/已退单
徽章与筛选 pill(return_state: partial/full)
- 新增「详细搜索」pill 入口 + 底部 sheet(与 Flutter 详细搜索同字段集,竖排
单列,select 内联展开 m-opt 选项,激活计数高亮)
- 详情 sheet 补 审核员 行与退单徽章;已审核单加「退单」入口
- 新增 退单 sheet(勾选明细+数量+全部退单,入库=从库存删除/出库=加回库存文案)
- 确认进价(入库)升级为 sheet 表单;出库新增 确认售价 sheet(先卖后定价)
- 出库详情补 合计利润 行(管理员可见)与明细待定价徽章
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-04 09:24:32 +08:00 |
|
wangjia
|
9b37568fdb
|
ci: 设计真相源检查挂 CI(PR + main push 自动跑四道闸)
Design Source Checks / design-source (push) Successful in 16s
- 新增 tools/check-l1-sync.mjs:L1 同源四道——tokens 快照逐字节、icons
两端同集同内容、官网 token 值对齐原型主题 A、web 硬编码 hex 扫描
(白名单 #fff/#1677ff,ds-allow 可豁免);注入测试验证红绿行为
- 新增 .gitea/workflows/checks.yml:pull_request + push(main) 触发,
串跑 check-ds 12 道 / check-l1-sync / check_ds_code / codegen 新鲜度
(regen→dart format→零 diff,消除重跑假 diff 问题)
- 修复 web/checkout.njk 对公转账图标底色硬编码 #8A94A6 → var(--faint)
- CLAUDE.md「设计真相源分层」登记 CI 闸与本地等价命令
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-04 07:14:49 +08:00 |
|
wangjia
|
e0fdb8c12f
|
docs(design): 设计真相源分层治理落地(原型漂移拍板)
- CLAUDE.md 新增「设计真相源分层」强制规则:L1 设计系统层原型单源不变;
L2 屏级三态(同步/快照/代码先行);L3 新屏仍 design-first;漂移改定期体检
- CONTRACT 块 4 加「真相源」列(14 屏同步 / register 快照),新增代码先行
屏小节(授权管理面板/购买卡/官网 checkout 等,不反向补原型)
- screens.mjs 注释明确只登记「同步」态屏,与 CONTRACT 互为镜像
- 附带体检:golden 84 用例全绿(failures 264 张陈留物已清);
fidelity 36 屏×主题全部阈内(≤8%);check-ds 12 道闸全过
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-04 06:56:17 +08:00 |
|
wangjia
|
e022494f63
|
chore: release site-v1.1.4
Deploy Site / release-deploy-site (push) Successful in 24s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
site-v1.1.4
|
2026-07-04 00:22:32 +08:00 |
|
wangjia
|
31024cfda6
|
chore: release client-v1.1.3
Deploy Client / build-client-web (push) Successful in 58s
Deploy Client / build-windows (push) Successful in 2m6s
Deploy Client / build-macos (push) Successful in 2m44s
Deploy Client / build-android (push) Successful in 1m25s
Deploy Client / build-ios (push) Successful in 3m11s
Deploy Client / release-deploy-client (push) Successful in 1m36s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
client-v1.1.3
|
2026-07-04 00:21:56 +08:00 |
|
wangjia
|
0e91768da4
|
feat(site): 下载页平台专属图标 + 检测卡放大重排
- 图标 sprite 新增 i-apple / i-android(simple-icons 品牌图标,填充式)与
i-tablet-smartphone(lucide),先登记原型 icons.js 再同步官网 icons.njk
- 下载页 macOS/Android/iOS 卡片及当前平台检测卡换用专属图标(原为 copy/phone-call/funnel 错配)
- 检测卡高度加倍:icbox 44→84、标题 16→22、内边距加大,新增引导行与版本徽章,
描述文字由 muted 灰改为正文色;窄屏按钮转全宽
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-04 00:08:01 +08:00 |
|
wangjia
|
24afb3b5fd
|
refactor(client): 授权信息卡从「关于我们」迁至 设置→授权管理,替换授权到期时间卡
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 23:57:17 +08:00 |
|
wangjia
|
cd6621d733
|
feat(client): 购买卡年付明示省 2 个月(tab 标注+划线原价+省钱说明行)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 23:50:20 +08:00 |
|
wangjia
|
c3455ce7a7
|
feat(client): 授权管理拆四卡,首月特惠默认选中,关于页备案号加链接
- 授权管理面板拆四张卡:授权到期时间 / 在线购买续费 / 兑换券 / 到期降级规则;
非管理员在购买卡位显示「联系管理员 + 查看套餐价格」引导
- 购买卡套餐 tab 首月特惠放第一位并默认选中;已享受过特惠则默认高级版年付
- 关于页页脚备案号可点击跳转工信部备案查询
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 23:46:40 +08:00 |
|
wangjia
|
2a5fea2647
|
fix(client): 关于页版本号不再显示 build 号,页脚版权加 ICP 备案号
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 23:39:18 +08:00 |
|
wangjia
|
02db118f61
|
feat(client): 在线购买改为设置页内联卡片,左侧菜单改「授权管理」
- purchase_dialog.dart → purchase_card.dart:弹窗改 PurchaseCard 内联卡片,
三阶段(选套餐/待支付/成功)操作按钮改卡片内右对齐,新增「重新选择」回退
- 设置授权面板拆两张卡:授权管理(到期统计+兑换券+降级说明)+
在线购买/续费(仅管理员可见,PurchaseCard 内联)
- 移除统计条与移动端的弹窗入口按钮
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 23:39:12 +08:00 |
|
wangjia
|
15ed05dc1e
|
feat(client): 设置授权卡重排——在线购买/续费升为主 CTA
卡片改名「授权管理」,购买按钮升 primary 并排进到期统计条(窄屏通栏在统计条下方),
不再藏在「没有兑换券?」后面;兑换券降为次要入口;非管理员显示联系管理员+官网价格链接。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 23:21:34 +08:00 |
|
wangjia
|
c15ffc7d32
|
chore: release site-v1.1.3(页脚 ICP 备案号)
Deploy Site / release-deploy-site (push) Successful in 25s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
site-v1.1.3
|
2026-07-03 23:09:16 +08:00 |
|
wangjia
|
633dadf84f
|
chore: release client-v1.1.2
Deploy Client / build-client-web (push) Successful in 49s
Deploy Client / build-windows (push) Successful in 3m45s
Deploy Client / build-macos (push) Successful in 2m43s
Deploy Client / build-android (push) Successful in 1m38s
Deploy Client / build-ios (push) Successful in 3m12s
Deploy Client / release-deploy-client (push) Successful in 1m31s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
client-v1.1.2
|
2026-07-03 22:42:55 +08:00 |
|
wangjia
|
fdab62b3bb
|
chore: release site-v1.1.2
Deploy Site / release-deploy-site (push) Successful in 25s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
site-v1.1.2
|
2026-07-03 22:42:55 +08:00 |
|
wangjia
|
d951549934
|
chore: release server-v1.1.3
Deploy Server / release-deploy-server (push) Successful in 1m1s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
server-v1.1.3
|
2026-07-03 22:42:55 +08:00 |
|
wangjia
|
a996593b1c
|
fix(backend): 特惠限次 webhook 兜底——第二笔已支付特惠单只标 paid 不叠加时长
按 pay-contract 看板要求:续期入账前事务内再查本店是否已有另一笔 paid 的
promo_first_month(防绕过前端/并发双买);命中则跳过 entitle、记 ALERT 告警,
回调仍回 SUCCESS(钱已收,退款人工处理)。补对应测试(双买不叠加/正常套餐不受影响)。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 22:28:21 +08:00 |
|
wangjia
|
b3c9d98eae
|
feat: ¥1 首月特惠套餐(新店专享,每店限购一次,官网+App 同步上线)
- 后端:payPlans 新增 promo_first_month(¥1/30 天/标准版权益);下单强校验每店限购一次(仅 paid 计数,弃单可重下),已享用返回 409;新增 GET /license/promo-status 供前端置灰
- 官网:checkout 套餐段第二位插「🔥 首月特惠 ¥1」+ 推广横幅 + 划线原价 ¥299;首页价格区第二位插特惠卡(5 列);已享用自动置灰
- App:购买弹窗套餐段改三档(标准/特惠/高级),特惠选中显示推广横幅与划线价,已享用置灰并禁用提交
- 实付金额以 pay 侧为准,pay 需 seed promo_first_month 产品后生效
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 22:25:07 +08:00 |
|
wangjia
|
c7de728c18
|
feat(site): 导航登录态下拉菜单 + 个人信息/退出登录页,登录不再直跳 App
- 导航「进入系统 · 名字」改为下拉:个人信息 / 进入系统 / 退出登录,导航可重入刷新(window.jiuNavRender)
- 新增 /profile/(账号 / 门店 / 授权三卡,authFetch 实时拉取)与 /logout/(撤销会话 + 清本地凭证)
- 登录成功默认落地 /profile/(?next= 站内白名单不变),不再直跳 /app/
- auth.js 增加 jiuAuth.clear();site.css 含本轮下拉 / profile / 特惠卡样式
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 22:24:55 +08:00 |
|
wangjia
|
24123eb93c
|
feat(client): App 内在线购买/续费授权(管理员支付宝下单+到账轮询)
- 新增套餐目录 license_plans.dart(标准/高级 × 月付/年付,与官网 checkout 一致)
- license 模型/仓库新增 PurchaseOrder/PurchaseStatusInfo 与下单、查单接口
- 系统设置授权面板:管理员显示「在线购买 / 续费」按钮,弹窗选套餐→
外部浏览器打开支付宝收银台→3s 轮询到账→自动刷新授权并展示新到期日
- 用户手册(docs.md + user-manual.html)同步补充在线购买入口说明
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 21:57:03 +08:00 |
|
wangjia
|
e0f721117f
|
chore: release site-v1.1.1
Deploy Site / release-deploy-site (push) Successful in 24s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
site-v1.1.1
|
2026-07-03 21:18:28 +08:00 |
|
wangjia
|
c010d8b416
|
fix(site): 官网 401 自动用 refresh_token 续签重试;资产加构建版本号破缓存
- 新增共享 auth.js(jiuAuth):access token 60 分钟过期后,checkout 提交/
结果页轮询遇 401 自动 POST /auth/refresh 换新 token 并重试一次,仍失败
才跳登录——修复「已登录点提交订单却被踢回登录页」
- 登录判定放宽为 access 或 refresh token 任一存在(refresh 7 天有效)
- 所有 JS/CSS 引用加 ?v=构建版本号:修复旧版 nav.js 被浏览器缓存后在新
页面执行(右上角错位的旧用户面板、带引号的 "张三" 显示)
- nav.js 改经 jiuAuth 读 localStorage(JSON 解码,去掉引号显示)
- 登录页回填上次的门店编号与账号
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 21:08:13 +08:00 |
|
wangjia
|
71909a76d7
|
chore: release site-v1.1.0(版本序列对齐,内容同 1.0.56)
Deploy Site / release-deploy-site (push) Successful in 26s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
site-v1.1.0
|
2026-07-03 20:49:31 +08:00 |
|
wangjia
|
a79a4d4468
|
chore: release site-v1.0.56
Deploy Site / release-deploy-site (push) Successful in 25s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
site-v1.0.56
|
2026-07-03 20:42:56 +08:00 |
|
wangjia
|
f4197e3c7d
|
chore: release server-v1.1.2
Deploy Server / release-deploy-server (push) Successful in 1m3s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
server-v1.1.2
|
2026-07-03 20:41:55 +08:00 |
|
wangjia
|
b856f5fec8
|
docs: 用户/开发手册 HTML 版、db-schema 补 license_purchases、CLAUDE.md 文档地图、pay 对接指南
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 20:40:21 +08:00 |
|
wangjia
|
d256e7ac85
|
feat(site): 官网全新重建(App 真相源风格)+ 四档套餐 + 在线购买流
- tokens.css/site.css 逐值对齐原型设计系统,icons 雪碧图,零外链;首页/下载/帮助/法务全站重皮肤,真实截图
- 注册与登录在官网内完成(写 shared_preferences_web 兼容 localStorage,不再跳 App)
- 价格区四档:免费/标准 299/高级 599/定制;登录后标准/高级按钮变「购买 / 续费」
- 新增 /checkout/(套餐+月付年付切换)与 /license/result/(支付回跳轮询到账)
- 登录页支持 ?next= 站内回跳;二维码措辞改「扫码看详情可分享」
- 下载页构建期真实下载链接+运行时 release 刷新;旧 features 页/死 CSS/dist 产物清理
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 20:40:21 +08:00 |
|
wangjia
|
18925d7d15
|
feat(backend): 在线购买/续费对接 pay 收款中枢——下单/webhook 验签入账/续期叠加/查单兜底
- POST /license/purchase(仅管理员)建单并调 pay 下单,返回收银台 pay_url
- POST /pay/callback 公开接收器:HMAC 验签+时间戳窗口+按 out_trade_no 幂等+金额逐分核对,同事务续期
- 续期与兑换券同口径:未过期从到期日叠加、已过期从现在起算,写入 tier/max_devices/features
- 后台每 60s 查单兜底防 webhook 丢失;closed 标 failed
- 新表 license_purchases(schema.sql/AutoMigrate/testutil 同步);配置 PAY_SECRET/PAY_BASE_URL/PAY_RETURN_URL
- 契约真相源 ~/code/pay-contract openapi.yaml v1.0.0
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 20:40:06 +08:00 |
|
wangjia
|
fbcf573034
|
chore: release client-v1.1.1
Deploy Client / build-client-web (push) Successful in 53s
Deploy Client / build-windows (push) Successful in 2m10s
Deploy Client / build-macos (push) Successful in 3m19s
Deploy Client / build-android (push) Successful in 1m22s
Deploy Client / build-ios (push) Successful in 3m19s
Deploy Client / release-deploy-client (push) Successful in 1m32s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
client-v1.1.1
|
2026-07-03 14:32:34 +08:00 |
|
wangjia
|
5ae5c8bc34
|
chore: release server-v1.1.1
Deploy Server / release-deploy-server (push) Successful in 1m1s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
server-v1.1.1
|
2026-07-03 14:32:31 +08:00 |
|
wangjia
|
d23aaa8771
|
docs(design): 原型同步(草稿 KPI 4 卡+warn 色登记、抽屉列/去¥、库存总价列演示数据重算)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 14:31:50 +08:00 |
|
wangjia
|
2bf5b98ba2
|
feat(client): 草稿 KPI 卡(暗黄)+ 出库详情总售价列 + 明细去¥缩号 + 建单默认值 + 若干列名
- 出入库列表加草稿 KPI 卡(DsKpiTone.warn 新档,审核卡后,点击筛选草稿)
- 出库详情 7 列:售价后加总售价;明细行内价格去 ¥ 且缩一号(合计保留 ¥);
5/7 列宽重排(系列/数量左移、进价(单瓶)不折行)
- 出库建单:数量默认=可用数量、售价默认=参考售价(product.sale_price)
- 入库详情列名:进价(单瓶)/总价;库存列表「单价」→「总价」(库存×成本);
商品抽屉:成本价(单瓶)/总成本价
- 公开商品预览页加返回按钮(仅 App 内 canPop 时显示,扫码直达保持纯净)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 14:31:50 +08:00 |
|
wangjia
|
4d1d69595b
|
fix(backend): 财务汇总 500(only_full_group_by 预处理协议回归)+ summary 加 draft_count
- /finance/summary:SEC-001 给 JOIN 加 shop_id 条件后,MySQL 预处理协议推导不出
p.name 函数依赖 → 1055(文本协议可过,CLI 无法复现)。GROUP BY 补 p.name 修复,
并给该 handler 加错误日志(此前吞错致排查困难)。v1.0.85 起全店受影响。
- 出入库 summary 新增 draft_count(草稿单数 KPI 卡数据源)。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 14:31:50 +08:00 |
|
wangjia
|
cd3cc0d8fe
|
chore: release client-v1.1.0
Deploy Client / build-client-web (push) Successful in 1m0s
Deploy Client / build-windows (push) Successful in 2m6s
Deploy Client / build-macos (push) Successful in 2m45s
Deploy Client / build-android (push) Successful in 1m18s
Deploy Client / build-ios (push) Successful in 3m38s
Deploy Client / release-deploy-client (push) Successful in 1m33s
出库成本/售价/利润重设计作为 minor 里程碑:1.0.88 → 1.1.0(同内容重标,与 server-v1.1.0 配套)。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
client-v1.1.0
|
2026-07-03 13:01:16 +08:00 |
|
wangjia
|
56359f9623
|
chore: release server-v1.1.0
Deploy Server / release-deploy-server (push) Successful in 53s
定价字段消歧+利润模型作为 minor 里程碑:1.0.86 → 1.1.0(同内容重标)。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
server-v1.1.0
|
2026-07-03 12:56:40 +08:00 |
|
wangjia
|
3852d70520
|
chore: release client-v1.0.88
Deploy Client / build-client-web (push) Successful in 52s
Deploy Client / build-macos (push) Successful in 2m49s
Deploy Client / build-android (push) Successful in 1m21s
Deploy Client / build-ios (push) Successful in 3m11s
Deploy Client / build-windows (push) Successful in 2m16s
Deploy Client / release-deploy-client (push) Successful in 1m31s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
client-v1.0.88
|
2026-07-03 12:45:40 +08:00 |
|
wangjia
|
8d5e8c8be9
|
chore: release server-v1.0.86
Deploy Server / release-deploy-server (push) Successful in 1m3s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
server-v1.0.86
|
2026-07-03 12:45:12 +08:00 |
|
wangjia
|
85a6eb9150
|
docs: 定价重设计原型同步(stock-in.js 双模式/详情三列)+ CLAUDE.md 定价口径节 + db-schema/CONTRACT 更新
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 12:44:22 +08:00 |
|
wangjia
|
979ca3c83b
|
feat(client): 出库明细成本/售价/利润三列重设计 + 建单利润列 + 入库列头统一
- 出库详情抽屉(管理员):数量/成本价/售价/利润 + 合计金额/合计利润 双行;
operator 见 售价/小计(服务端抹零+前端隐藏双保险);利润负数 danger
- 出库建单:商品名称下带编码(字体同系列列);金额列→利润列(实时);
底栏合计利润(仅管理员);进价列仅管理员;提交发新 key(cost_price/sale_price)
- 入库建单列头:进价(单瓶)/ 参考售价 / 总进价
- 退单弹窗金额改售价口径(与冲应收一致);打印保留待定价回退成本兼容
- models 字段随后端消歧改名;golden 重打;新增抽屉双形态 widget 测试
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 12:44:22 +08:00 |
|
wangjia
|
4fd0bb8b83
|
feat(backend): 出入库定价字段消歧 + 总利润落库 + 成本仅管理员可见
- 字段重命名(旧列弃用保留,启动幂等回填 BackfillPricingColumns):
入库 unit_price/total_price/total_amount → cost_price/cost_amount/cost_total;
出库同前缀 + 新增 sale_amount(售价小计)/ sale_total(应收)/ profit_total(总利润)
- 建单落三值;确认售价联动重算 sale_amount/sale_total/profit_total;
确认进价回填成本后联动重算受影响出库单利润(recalcStockOutProfit)
- 出库 List/Get 对 operator/readonly 抹零成本与利润(stripStockOutCost 服务端兜底)
- 兼容一版:Create/Update 接受旧 key unit_price 回落(v1.0.87 及之前客户端)
- SUM 聚合/价格趋势/导入/种子工具同步切新列;测试全量改名 + 6 个新回归
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 12:44:22 +08:00 |
|
wangjia
|
607b8aa763
|
devops: jiu 证书切 certbot webroot 自动续期(letsencrypt live 路径)
ali 上重签 jiu.51yanmei.com(authenticator 由 dns-cloudflare 切 webroot,NS 迁阿里云后
旧方式必失败);certbot-renew.timer 启用 + deploy 钩子自动 reload;dry-run 通过;
EC2 同步的证书副本(/etc/nginx/ssl)已删除。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
|
2026-07-03 10:55:24 +08:00 |
|
wangjia
|
0b5e27b6b9
|
chore: release client-v1.0.87
Deploy Client / build-client-web (push) Successful in 55s
Deploy Client / build-macos (push) Successful in 2m47s
Deploy Client / build-android (push) Successful in 1m45s
Deploy Client / build-ios (push) Successful in 3m24s
Deploy Client / build-windows (push) Successful in 2m1s
Deploy Client / release-deploy-client (push) Successful in 1m35s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
client-v1.0.87
|
2026-07-03 10:01:00 +08:00 |
|
wangjia
|
7cd63048e5
|
chore: release server-v1.0.85
Deploy Server / release-deploy-server (push) Successful in 53s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
server-v1.0.85
|
2026-07-03 09:59:59 +08:00 |
|