feat(erp): 添加会计模块币种相关字段支持

- 在 Accounting 结构体中新增 currency、currencyName、currencySymbol 和 currencyRate 字段
- 在 AccountingEdit 结构体中新增对应的币种信息字段
- 为新增字段添加相应的 JSON 标签映射
- 为新增字段添加中文注释说明
This commit is contained in:
2026-07-09 09:25:25 +08:00
parent 4ab88b2650
commit 32b2beeeb9

View File

@@ -126,6 +126,10 @@ type ReplyAccountingInfo struct {
InvoiceDateEnd *time.Time `json:"invoiceDateEnd"` InvoiceDateEnd *time.Time `json:"invoiceDateEnd"`
InvoiceSerial string `json:"invoiceSerial"` InvoiceSerial string `json:"invoiceSerial"`
AccountingSerial string `json:"accountingSerial"` AccountingSerial string `json:"accountingSerial"`
Currency string `json:"currency"`
CurrencyName string `json:"currencyName"`
CurrencySymbol string `json:"currencySymbol"`
CurrencyRate decimal.Decimal `json:"currencyRate"`
Remark string `json:"remark"` Remark string `json:"remark"`
WorkflowId int64 `json:"workflowId"` WorkflowId int64 `json:"workflowId"`
WorkflowStatus int64 `json:"workflowStatus"` WorkflowStatus int64 `json:"workflowStatus"`
@@ -160,6 +164,10 @@ type AccountingEdit struct {
InvoiceDateEnd *time.Time // 开票期限 InvoiceDateEnd *time.Time // 开票期限
AccountingSerial string // 做账合同号 AccountingSerial string // 做账合同号
Remark string // 备注 Remark string // 备注
Currency string // 币种
CurrencyName string // 币种名称
CurrencySymbol string // 币种符号
CurrencyRate decimal.Decimal // 币种汇率
} }
// Edit @TITLE 编辑 // Edit @TITLE 编辑