feat(erp): 添加应付和应收列表的统计信息

- 在ReplyPayableList中添加Count字段用于应付统计
- 新增PayableCount结构体包含金额统计功能
- 在ReplyReceivableList中添加Count字段用于应收统计
- 新增ReceivableCount结构体包含应收、已收和未收金额统计
- 扩展数据返回结构以支持财务统计数据展示
This commit is contained in:
2026-07-10 14:08:21 +08:00
parent 32b2beeeb9
commit bb8de3675c
2 changed files with 10 additions and 0 deletions

View File

@@ -29,6 +29,10 @@ type PayableSearch struct {
type ReplyPayableList struct {
List []PayableItem `json:"list"`
Total int64 `json:"total"`
Count PayableCount `json:"count"`
}
type PayableCount struct {
Amount decimal.Decimal `json:"amount"`
}
type PayableItem struct {
Id int64 `json:"id"`