feat(erp): 添加付款客户信息字段支持
- 在收据结构体中增加PayCustomId和PayCustomName字段 - 将原有的CustomId字段注释明确为付款客户id - 在收据明细结构体中添加PayCustomId和PayCustomName字段 - 在ik3cloud收据服务中增加PayCustomNumber字段 - 保持原有客户信息字段的同时支持付款客户信息的存储
This commit is contained in:
@@ -35,6 +35,8 @@ type ReceiptItem struct {
|
||||
ReceiptSerial string `json:"receiptSerial"`
|
||||
CustomId int64 `json:"customId"`
|
||||
CustomName string `json:"customName"`
|
||||
PayCustomId int64 `json:"payCustomId"`
|
||||
PayCustomName string `json:"payCustomName"`
|
||||
ReceiptDate time.Time `json:"receiptDate"`
|
||||
Currency string `json:"currency"`
|
||||
CurrencyName string `json:"currencyName"`
|
||||
@@ -72,7 +74,7 @@ type ReceiptAdd struct {
|
||||
CurrencyName string // 币种名称
|
||||
CurrencySymbol string // 币种符号
|
||||
CurrencyRate decimal.Decimal // 币种汇率
|
||||
CustomId int64 // 客户id
|
||||
PayCustomId int64 // 付款客户id
|
||||
BankName string // 结汇银行
|
||||
EntryAmount decimal.Decimal // 外币入账金额
|
||||
ForeignFee decimal.Decimal // 国外扣费
|
||||
@@ -100,6 +102,8 @@ type ReplyReceiptInfo struct {
|
||||
CurrencyRate decimal.Decimal `json:"currencyRate"`
|
||||
CustomId int64 `json:"customId"`
|
||||
CustomName string `json:"customName"`
|
||||
PayCustomId int64 `json:"payCustomId"`
|
||||
PayCustomName string `json:"payCustomName"`
|
||||
BankName string `json:"bankName"`
|
||||
EntryAmount decimal.Decimal `json:"entryAmount"`
|
||||
ForeignFee decimal.Decimal `json:"foreignFee"`
|
||||
|
||||
@@ -23,6 +23,7 @@ type ArgsReceiptSave struct {
|
||||
Remarks string // 备注
|
||||
Costs []ReceiptCost // 费用明细
|
||||
CustomNumber string // 客户编号
|
||||
PayCustomNumber string // 付款客户编号
|
||||
}
|
||||
|
||||
type ReceiptCost struct {
|
||||
|
||||
Reference in New Issue
Block a user