feat(erp): 添加会计模块中的运费和佣金字段

- 在 ReplyAccountingInfo 结构体中添加 DomesticShippingCost、ForeignShippingCost 和 ForeignCommission 字段
- 在 AccountingEdit 结构体中添加 DomesticShippingCost、ForeignShippingCost 和 ForeignCommission 字段
- 更新结构体字段对齐格式以提高代码可读性
This commit is contained in:
2026-07-24 17:07:04 +08:00
parent 248ad5fc22
commit 0e95e178b4

View File

@@ -132,6 +132,9 @@ type ReplyAccountingInfo struct {
CurrencySymbol string `json:"currencySymbol"`
CurrencyRate decimal.Decimal `json:"currencyRate"`
Remark string `json:"remark"`
DomesticShippingCost decimal.Decimal `json:"domesticShippingCost"`
ForeignShippingCost decimal.Decimal `json:"foreignShippingCost"`
ForeignCommission decimal.Decimal `json:"foreignCommission"`
WorkflowId int64 `json:"workflowId"`
WorkflowStatus int64 `json:"workflowStatus"`
WorkflowReason string `json:"workflowReason"`
@@ -169,6 +172,9 @@ type AccountingEdit struct {
CurrencyName string // 币种名称
CurrencySymbol string // 币种符号
CurrencyRate decimal.Decimal // 币种汇率
DomesticShippingCost decimal.Decimal // 国内运费
ForeignShippingCost decimal.Decimal // 国外运费
ForeignCommission decimal.Decimal // 国外佣金
}
// Edit @TITLE 编辑