From 83014b8b29125a2aef427df300b25024e291f608 Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 16 Dec 2025 17:09:25 +0800 Subject: [PATCH] =?UTF-8?q?feat(k3cloud):=20=E6=B7=BB=E5=8A=A0=E5=BA=94?= =?UTF-8?q?=E6=94=B6=E5=8D=95=E8=B4=B9=E7=94=A8=E5=AD=97=E6=AE=B5=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增发票号字段用于标识应收单据 - 添加国内运费字段记录本地运输成本 - 添加国外运费字段记录国际运输成本 - 添加出口佣金字段记录销售佣金信息 - 扩展应收单结构体以支持更多财务明细 --- ik3cloud/receivable.go | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/ik3cloud/receivable.go b/ik3cloud/receivable.go index e10452e..38c3bdf 100644 --- a/ik3cloud/receivable.go +++ b/ik3cloud/receivable.go @@ -11,15 +11,19 @@ import ( type receivable struct { } type ArgsReceivableSave struct { - ReceivableId int64 // 应收单id - Number string // 编码 - CustomNumber string // 客户编码 - CurrencyNumber string // 币种 - DepartmentNumber string // 部门 - StaffXsyNumber string // 业务员 - Products []ReceivableProductItem // 商品 - Rate decimal.Decimal // 汇率 - Date time.Time // 日期 + ReceivableId int64 // 应收单id + InvoiceSerial string // 发票号 + Number string // 编码 + CustomNumber string // 客户编码 + CurrencyNumber string // 币种 + DepartmentNumber string // 部门 + StaffXsyNumber string // 业务员 + Products []ReceivableProductItem // 商品 + Rate decimal.Decimal // 汇率 + Date time.Time // 日期 + DomesticShippingCost decimal.Decimal // 国内运费 + ForeignShippingCost decimal.Decimal // 国外运费 + ForeignCommission decimal.Decimal // 出口佣金 } type ReceivableProductItem struct {