model/purchase/purchase.go
@@ -7,7 +7,7 @@ ) type Purchase struct { global.GVA_MODEL global.GVA_MODEL_INT PurchaseTypeId int `json:"purchaseTypeId,string" form:"purchaseType" gorm:"type:int(11);not null;default 0;comment:采购类型id"` // 采购类型id PurchaseType PurchaseType `json:"purchaseType" gorm:"foreignKey:PurchaseTypeId"` OrderSource string `json:"orderSource" gorm:"type:varchar(255);not null;default '';comment:单据来源"` // 单据来源