feat(erp): 添加付款类型常量和费用付款单相关字段

- 新增 PaymentType 类型和 Purchase、Cost 枚举值
- 在 RequestSearch 结构体中添加 AccountingSerial 字段
- 在 RequestItem 结构体中添加 AccountingSerial、PayableSerial、PaymentType 等字段
- 在请求结构体中移除已弃用的 DueDate 和 ExpectedPayDate 字段
- 添加 PrepaidAmount 和 PaidAmount 金额相关字段
This commit is contained in:
2026-01-21 13:36:08 +08:00
parent 17adfabb44
commit aad11de594
3 changed files with 55 additions and 29 deletions

View File

@@ -104,3 +104,10 @@ const (
Ik3cloudStatusSuccess Ik3cloudStatus = 3 // 推送成功
Ik3cloudStatusFail Ik3cloudStatus = 4 // 推送失败
)
type PaymentType = int64
const (
PaymentTypePurchase PaymentType = 1 // 采购付款单
PaymentTypeCost PaymentType = 2 // 费用付款单
)