feat(payment): 添加付款用途常量定义并更新数据结构
- 定义 PaymentPurpose 类型和相关常量值 - 在 ERP 服务中添加 Payment 模块引用 - 更新 Payment 结构体中的 PaymentPurpose 字段类型 - 将字符串类型替换为常量类型以增强类型安全 - 添加采购付款单、费用报销和其他支出的用途常量
This commit is contained in:
@@ -32,8 +32,8 @@ type PaymentCostItem struct {
|
||||
InvoiceSerial string // 发票号
|
||||
DepartmentNumber string // 核算部门
|
||||
//SettlementMethod string // 结算方式
|
||||
//PaymentPurpose string // 付款用途
|
||||
ExpenseItem string // 费用项目
|
||||
PaymentPurpose constant.PaymentPurpose // 付款用途
|
||||
ExpenseItem string // 费用项目
|
||||
}
|
||||
|
||||
// Save @TITLE 保存付款单
|
||||
|
||||
Reference in New Issue
Block a user