feat(payment): 添加付款用途常量定义并更新数据结构

- 定义 PaymentPurpose 类型和相关常量值
- 在 ERP 服务中添加 Payment 模块引用
- 更新 Payment 结构体中的 PaymentPurpose 字段类型
- 将字符串类型替换为常量类型以增强类型安全
- 添加采购付款单、费用报销和其他支出的用途常量
This commit is contained in:
2026-01-06 15:33:39 +08:00
parent 9f74a84866
commit fbf9ba96bc
3 changed files with 11 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ type Erp struct {
Template template
Accounting accounting
Payable payable
Payment payment
Receivable receivable
Receipt receipt
Expense expense