diff --git a/erp/receipt.go b/erp/receipt.go index 9da98c5..423cc33 100644 --- a/erp/receipt.go +++ b/erp/receipt.go @@ -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"` diff --git a/ik3cloud/receipt.go b/ik3cloud/receipt.go index 6ce5c0b..a074c51 100644 --- a/ik3cloud/receipt.go +++ b/ik3cloud/receipt.go @@ -23,6 +23,7 @@ type ArgsReceiptSave struct { Remarks string // 备注 Costs []ReceiptCost // 费用明细 CustomNumber string // 客户编号 + PayCustomNumber string // 付款客户编号 } type ReceiptCost struct {