feat(purchase): 为采购关联商品增加厂家名称字段

- 在 PurchaseAssociationItem 结构体中添加 FactoryName 字段
- 此修改旨在提供更完整的采购信息,包括厂家名称
This commit is contained in:
守护自己的云 2025-07-16 15:31:42 +08:00
parent 9ca986711c
commit 5ca73d9075

View File

@ -258,12 +258,13 @@ func (p *purchase) FactoryBatch(ctx context.Context, args ArgsPurchaseFactoryBat
} }
type PurchaseAssociationItem struct { type PurchaseAssociationItem struct {
Id int64 `json:"id"` Id int64 `json:"id"`
FactoryId int64 `json:"factoryId"` FactoryId int64 `json:"factoryId"`
SaleId int64 `json:"saleId"` SaleId int64 `json:"saleId"`
PoSerial string `json:"poSerial"` PoSerial string `json:"poSerial"`
BatchNo int64 `json:"batchNo"` BatchNo int64 `json:"batchNo"`
WorkflowId int64 `json:"workflowId"` WorkflowId int64 `json:"workflowId"`
FactoryName string `json:"factoryName"`
} }
// Association @TITLE 关联采购合同 // Association @TITLE 关联采购合同