feat(k3cloud): 添加应收单费用字段支持
- 新增发票号字段用于标识应收单据 - 添加国内运费字段记录本地运输成本 - 添加国外运费字段记录国际运输成本 - 添加出口佣金字段记录销售佣金信息 - 扩展应收单结构体以支持更多财务明细
This commit is contained in:
@@ -12,6 +12,7 @@ type receivable struct {
|
|||||||
}
|
}
|
||||||
type ArgsReceivableSave struct {
|
type ArgsReceivableSave struct {
|
||||||
ReceivableId int64 // 应收单id
|
ReceivableId int64 // 应收单id
|
||||||
|
InvoiceSerial string // 发票号
|
||||||
Number string // 编码
|
Number string // 编码
|
||||||
CustomNumber string // 客户编码
|
CustomNumber string // 客户编码
|
||||||
CurrencyNumber string // 币种
|
CurrencyNumber string // 币种
|
||||||
@@ -20,6 +21,9 @@ type ArgsReceivableSave struct {
|
|||||||
Products []ReceivableProductItem // 商品
|
Products []ReceivableProductItem // 商品
|
||||||
Rate decimal.Decimal // 汇率
|
Rate decimal.Decimal // 汇率
|
||||||
Date time.Time // 日期
|
Date time.Time // 日期
|
||||||
|
DomesticShippingCost decimal.Decimal // 国内运费
|
||||||
|
ForeignShippingCost decimal.Decimal // 国外运费
|
||||||
|
ForeignCommission decimal.Decimal // 出口佣金
|
||||||
}
|
}
|
||||||
|
|
||||||
type ReceivableProductItem struct {
|
type ReceivableProductItem struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user