feat(erp): 添加运费和佣金字段支持

- 在 shipment 模块中新增国内运费、海外运费和海外佣金字段
- 在 receipt 模块中添加银行账户字段
- 更新 receivable 模块中的应收款项信息结构体
- 扩展 shipment 相关的数据传输对象和修改逻辑
- 为所有相关模块添加新的财务计算字段
- 重构数据结构以支持更详细的成本跟踪功能
This commit is contained in:
2026-01-14 17:22:47 +08:00
parent 88992cc8ba
commit e3874373f5
6 changed files with 42 additions and 19 deletions

View File

@@ -131,6 +131,9 @@ type ShipmentAdd struct {
MarkText string // 唛头文字
MarkImg string // 唛头图片
SaleIds []int64 // 销售合同
DomesticShippingCost decimal.Decimal // 国内运费
ForeignShippingCost decimal.Decimal // 国外运费
ForeignCommission decimal.Decimal // 国外佣金
}
// Add @TITLE 添加
@@ -214,6 +217,9 @@ type ArgsShipmentData struct {
MarkText string // 唛头文字
MarkImg string // 唛头图片
VouchingClerkId int64 // 单证id
DomesticShippingCost decimal.Decimal // 国内运费
ForeignShippingCost decimal.Decimal // 国外运费
ForeignCommission decimal.Decimal // 国外佣金
}
// Edit @TITLE 编辑