feat(sale): 添加公司成本字段到销售效益结构
- 在 SaleBenefit 结构体中新增 companyCost 字段 - 为 CompanyCost 字段添加 JSON 标签映射 - 为 CompanyCost 字段添加结构体标签注释 - 保持与其他成本字段的一致性设计
This commit is contained in:
@@ -67,6 +67,7 @@ type ReplyBenefitInfo struct {
|
|||||||
DomesticShippingCost decimal.Decimal `json:"domesticShippingCost"`
|
DomesticShippingCost decimal.Decimal `json:"domesticShippingCost"`
|
||||||
DocumentCost decimal.Decimal `json:"documentCost"`
|
DocumentCost decimal.Decimal `json:"documentCost"`
|
||||||
OtherCost decimal.Decimal `json:"otherCost"`
|
OtherCost decimal.Decimal `json:"otherCost"`
|
||||||
|
CompanyCost decimal.Decimal `json:"companyCost"`
|
||||||
TotalSaleAmount decimal.Decimal `json:"totalSaleAmount"`
|
TotalSaleAmount decimal.Decimal `json:"totalSaleAmount"`
|
||||||
ForeignShippingCost decimal.Decimal `json:"foreignShippingCost"`
|
ForeignShippingCost decimal.Decimal `json:"foreignShippingCost"`
|
||||||
BankFees decimal.Decimal `json:"bankFees"`
|
BankFees decimal.Decimal `json:"bankFees"`
|
||||||
@@ -97,6 +98,7 @@ type ArgsBenefitEdit struct {
|
|||||||
SaleId int64 // 销售合同
|
SaleId int64 // 销售合同
|
||||||
DomesticShippingCost decimal.Decimal // 国内运杂费
|
DomesticShippingCost decimal.Decimal // 国内运杂费
|
||||||
DocumentCost decimal.Decimal // 单证费
|
DocumentCost decimal.Decimal // 单证费
|
||||||
|
CompanyCost decimal.Decimal // 其他费用
|
||||||
TotalSaleAmount decimal.Decimal // 出口总价
|
TotalSaleAmount decimal.Decimal // 出口总价
|
||||||
ForeignShippingCost decimal.Decimal // 国外运杂费
|
ForeignShippingCost decimal.Decimal // 国外运杂费
|
||||||
BankFees decimal.Decimal // 银行手续费
|
BankFees decimal.Decimal // 银行手续费
|
||||||
|
|||||||
Reference in New Issue
Block a user