From ed69aa9de9d079f2046b50560646b0e1b1921fca Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 30 Jun 2026 14:02:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(receivable):=20=E4=BF=AE=E6=AD=A3=E5=BA=94?= =?UTF-8?q?=E6=94=B6=E5=8D=95=E4=B8=AD=E7=9A=84=E5=AD=97=E6=AE=B5=E6=98=A0?= =?UTF-8?q?=E5=B0=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修正了收货人信息从 Consignee 字段改为 RecCompanyName 字段 - 修正了国内运费、国外运费和国外佣金的字段引用路径 - 在应收单编辑接口中添加了运费和佣金字段的更新逻辑 - 修正了运输逻辑中国内运费字段的计算错误 --- erp/receivable.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/erp/receivable.go b/erp/receivable.go index 303cfa3..79e961b 100644 --- a/erp/receivable.go +++ b/erp/receivable.go @@ -143,8 +143,11 @@ func (r *receivable) Info(ctx context.Context, receivableId int64) (reply ReplyR } type ArgsReceivableEdit struct { - ReceivableId int64 // 应收单ID - BusinessDate *time.Time // 业务日期 + ReceivableId int64 // 应收单ID + BusinessDate *time.Time // 业务日期 + DomesticShippingCost decimal.Decimal // 国内运费 + ForeignShippingCost decimal.Decimal // 国外运费 + ForeignCommission decimal.Decimal // 国外佣金 } // Edit @TITLE 修改