Compare commits

..

3 Commits

Author SHA1 Message Date
wangjia 03772542d2 docs(changelog): 1.1.9 发版说明
Design Source Checks / design-source (push) Failing after 11m21s
Deploy Client / build-client-web (push) Successful in 7m49s
Deploy Client / build-windows-ci (push) Failing after 5m10s
Deploy Client / build-macos (push) Successful in 12m17s
Deploy Client / build-ios (push) Has been cancelled
Deploy Client / build-windows (push) Has been cancelled
Deploy Client / release-deploy-client (push) Has been cancelled
Deploy Client / build-android (push) Has been cancelled
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P9G7E3wmAYL9KeYCVZVsqu
2026-07-18 08:16:55 +08:00
wangjia 5cf8958313 feat(prototype): 登记支付状态图标 待支付/已支付/已关闭
Design Source Checks / design-source (push) Has been cancelled
ds-flow 原型单源:BADGE_ICON 补三个支付状态图标,先登记再供页面使用。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P9G7E3wmAYL9KeYCVZVsqu
2026-07-18 07:53:53 +08:00
wangjia f6e326794e fix(backend): 出入库列表 Preload(Items) 供手机端卡片显示品项数
List 之前未 preload items,手机端 MCard sub 行拿不到 items.length。
入库进价对 operator 本就可见(客户端无条件展示+待定价逻辑依赖 costPrice),
故 stock_in 不加脱敏;stock_out 侧成本敏感,List 已有 stripStockOutCost 兜底,安全。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P9G7E3wmAYL9KeYCVZVsqu
2026-07-18 07:53:53 +08:00
4 changed files with 27 additions and 3 deletions
+19
View File
@@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.1.9] - 2026-07-18
### 新功能
- 授权管理独立成一级页面,分「授权 / 购买续费 / 订单管理」三个标签。
- 购买支持外跳支付页或内嵌二维码扫码付款,可查看/取消订单。
- 财务应收应付汇总、财务筛选新增「往来单位」搜索。
- 出入库单详情新增「生产日期 / 批次号」列;库存商品详情新增「供应商 / 批次号」。
- 出入库列表状态筛选改为多选(默认草稿 + 待审核);新建单自动填充默认仓库。
- 出入库列表卡片(手机端)显示品项数。
### 改进
- 慢请求监控(后台记录 >500ms 请求,便于排查卡顿)。
### 修复
- 切换账号后仍显示上一账号数据。
- 订单时间按本地时区显示(原为 UTC)。
- 「已在运行」提示框、出入库抽屉在特定情况下的闪退。
- 支付宝下单因网关地址过长失败。
## [1.1.8] - 2026-07-10
### 新功能
+3 -1
View File
@@ -75,7 +75,9 @@ func (h *StockInHandler) List(c *gin.Context) {
query.Count(&total)
orders := make([]model.StockInOrder, 0)
query.Preload("Warehouse", "shop_id = ?", shopID).
// 列表卡片需要 items.length 显示品项数(手机端 MCard sub 行)
query.Preload("Items").
Preload("Warehouse", "shop_id = ?", shopID).
Preload("Partner", "shop_id = ?", shopID).
Preload("Operator", "shop_id = ?", shopID).
Preload("Reviewer", "shop_id = ?", shopID).
+3 -1
View File
@@ -87,7 +87,9 @@ func (h *StockOutHandler) List(c *gin.Context) {
query.Count(&total)
orders := make([]model.StockOutOrder, 0)
query.Preload("Warehouse", "shop_id = ?", shopID).
// 列表卡片需要 items.length 显示品项数(手机端 MCard sub 行)
query.Preload("Items").
Preload("Warehouse", "shop_id = ?", shopID).
Preload("Partner", "shop_id = ?", shopID).
Preload("Operator", "shop_id = ?", shopID).
Preload("Reviewer", "shop_id = ?", shopID).
+2 -1
View File
@@ -17,7 +17,8 @@
'在线':'i-wifi','离线':'i-wifi-off',
'进行中':'i-ic04','已完成':'i-check',
'未使用':'i-tag','已兑换':'i-check','作废':'i-close',
'未结清':'i-ic04','已结清':'i-check','收款':'i-download','付款':'i-upload'
'未结清':'i-ic04','已结清':'i-check','收款':'i-download','付款':'i-upload',
'待支付':'i-ic04','已支付':'i-check','已关闭':'i-close'
};
window.BADGE_ICON = BADGE_ICON;
function enhanceBadges(){