feat(erp): 添加报销人字段并调整付款单结构

- 在 expense.go 的 Expense 结构体中添加 ExpenseStaffId 字段
- 在 expense.go 的 Add 和 Update 结构体中同步添加 ExpenseStaffId 字段
- 在 payment.go 中移除 SettlementMethod 和 PaymentPurpose 字段
- 在 payment.go 中保留 ExpenseItem 字段并调整其位置
This commit is contained in:
2025-12-18 17:00:50 +08:00
parent 5813fe05ce
commit 0315faea07
2 changed files with 6 additions and 4 deletions

View File

@@ -31,9 +31,9 @@ type PaymentCostItem struct {
Date time.Time // 费用日期
InvoiceSerial string // 发票号
DepartmentNumber string // 核算部门
SettlementMethod string // 结算方式
PaymentPurpose string // 付款用途
ExpenseItem string // 费用项目
//SettlementMethod string // 结算方式
//PaymentPurpose string // 付款用途
ExpenseItem string // 费用项目
}
// Save @TITLE 保存付款单