feat(erp): 添加运费和佣金字段支持
- 在 shipment 模块中新增国内运费、海外运费和海外佣金字段 - 在 receipt 模块中添加银行账户字段 - 更新 receivable 模块中的应收款项信息结构体 - 扩展 shipment 相关的数据传输对象和修改逻辑 - 为所有相关模块添加新的财务计算字段 - 重构数据结构以支持更详细的成本跟踪功能
This commit is contained in:
@@ -45,6 +45,7 @@ type ReceiptItem struct {
|
||||
CurrencyName string `json:"currencyName"`
|
||||
CurrencySymbol string `json:"currencySymbol"`
|
||||
CurrencyRate decimal.Decimal `json:"currencyRate"`
|
||||
BankAccount string `json:"bankAccount"`
|
||||
BankName string `json:"bankName"`
|
||||
EntryAmount decimal.Decimal `json:"entryAmount"`
|
||||
ReceivableFxAmount decimal.Decimal `json:"receivableFxAmount"`
|
||||
@@ -79,6 +80,7 @@ type ReceiptAdd struct {
|
||||
CurrencySymbol string // 币种符号
|
||||
CurrencyRate decimal.Decimal // 币种汇率
|
||||
PayCustomId int64 // 付款客户id
|
||||
BankAccount string // 结汇银行账号
|
||||
BankName string // 结汇银行
|
||||
EntryAmount decimal.Decimal // 外币入账金额
|
||||
ForeignFee decimal.Decimal // 国外扣费
|
||||
@@ -108,6 +110,7 @@ type ReplyReceiptInfo struct {
|
||||
CustomName string `json:"customName"`
|
||||
PayCustomId int64 `json:"payCustomId"`
|
||||
PayCustomName string `json:"payCustomName"`
|
||||
BankAccount string `json:"bankAccount"`
|
||||
BankName string `json:"bankName"`
|
||||
EntryAmount decimal.Decimal `json:"entryAmount"`
|
||||
ForeignFee decimal.Decimal `json:"foreignFee"`
|
||||
|
||||
Reference in New Issue
Block a user