chore: release server-v1.0.75
Deploy Server / release-deploy-server (push) Successful in 1m7s

出库售价(应收按售价) + 库存选择器分页上限修复 + seed 改为序列号模型

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
This commit is contained in:
wangjia
2026-06-22 13:01:25 +08:00
parent 6c43800354
commit 3641f1cf16
9 changed files with 420 additions and 323 deletions
+2 -1
View File
@@ -416,7 +416,8 @@ func (s *StockService) ReturnStockOut(shopID, orderID, userID uint64, role strin
return err
}
it.ReturnedQuantity = it.Quantity
returnedAmount += it.TotalPrice
// 冲应收按售价口径(与审核建应收 TotalAmount=Σ售价×数量 一致)
returnedAmount += it.Quantity * it.SalePrice
}
// 冲减应收(负向调整记录)