fix(receivable): 修正应收单中的字段映射错误
- 修正了收货人信息从 Consignee 字段改为 RecCompanyName 字段 - 修正了国内运费、国外运费和国外佣金的字段引用路径 - 在应收单编辑接口中添加了运费和佣金字段的更新逻辑 - 修正了运输逻辑中国内运费字段的计算错误
This commit is contained in:
@@ -143,8 +143,11 @@ func (r *receivable) Info(ctx context.Context, receivableId int64) (reply ReplyR
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ArgsReceivableEdit struct {
|
type ArgsReceivableEdit struct {
|
||||||
ReceivableId int64 // 应收单ID
|
ReceivableId int64 // 应收单ID
|
||||||
BusinessDate *time.Time // 业务日期
|
BusinessDate *time.Time // 业务日期
|
||||||
|
DomesticShippingCost decimal.Decimal // 国内运费
|
||||||
|
ForeignShippingCost decimal.Decimal // 国外运费
|
||||||
|
ForeignCommission decimal.Decimal // 国外佣金
|
||||||
}
|
}
|
||||||
|
|
||||||
// Edit @TITLE 修改
|
// Edit @TITLE 修改
|
||||||
|
|||||||
Reference in New Issue
Block a user