feat(erp): 添加销售价格字段和收汇客户信息字段

- 在销售审核模块中为产品项目添加销售单价字段
- 在销售变更模块中为产品添加变更前后销售价格字段
- 在发货单相关结构体中添加收汇客户ID、名称和地址字段
- 在应收账款模块中添加收汇客户相关信息字段
- 统一在发货单主结构体和详情结构体中添加收汇客户字段
- 引入decimal库支持精确的价格计算和存储
This commit is contained in:
2026-09-08 15:04:20 +08:00
parent fe41947c99
commit f546c3f22a
6 changed files with 39 additions and 9 deletions

View File

@@ -48,6 +48,9 @@ type ShipmentItem struct {
InvoiceDate *time.Time `json:"invoiceDate"`
CustomName string `json:"customName"`
CustomShortName string `json:"customShortName"`
RecCustomId int64 `json:"recCustomId"`
RecCustomName string `json:"recCustomName"`
RecCustomAddress string `json:"recCustomAddress"`
EstSailingDate *time.Time `json:"estSailingDate"`
ShipPort string `json:"shipPort"`
DischargePort string `json:"dischargePort"`
@@ -109,6 +112,9 @@ type ReplyModifyInfo struct {
RecBankCardNo string `json:"recBankCardNo"`
RecBankCardName string `json:"recBankCardName"`
RecBankAddress string `json:"recBankAddress"`
RecCustomId int64 `json:"recCustomId"`
RecCustomName string `json:"recCustomName"`
RecCustomAddress string `json:"recCustomAddress"`
RecCompanyName string `json:"recCompanyName"`
Shipper string `json:"shipper"`
Consignee string `json:"consignee"`
@@ -189,6 +195,9 @@ type ArgsShipmentData struct {
RecBankCardNo string // 收款银行卡号
RecBankCardName string // 收款银行卡名
RecBankAddress string // 收汇银行地址
RecCustomId int64 // 收汇客户
RecCustomName string // 收汇客户名称
RecCustomAddress string // 收汇客户地址
RecCompanyName string // 收汇公司名称
PaymentTerms string // 付款条件
TradeCountry string // 贸易国