feat(erp): 添加子产品字段到销售产品结构体
- 在 SaleProduct 结构体中新增 Children 字段 - Children 字段类型为 []SaleProductAdd- 用于支持销售产品的子产品关联功能
This commit is contained in:
parent
5590540bc6
commit
35c29a154a
@ -166,6 +166,7 @@ type SaleProductAdd struct {
|
||||
ContainerNumber string // 箱号
|
||||
SealNumber string // 封号
|
||||
PurchaseProducts []PurchaseProduct // 采购商品
|
||||
Children []SaleProductAdd // 子产品
|
||||
}
|
||||
type PurchaseProduct struct {
|
||||
PurchaseProductId int64 // 采购商品id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user