| | |
| | | Creator User `json:"-" gorm:"foreignKey:CreatorId"` //创建人信息 |
| | | Reason string `json:"reason" gorm:"column:reason;type:varchar(255);comment:退货原因"` //退货原因 |
| | | Products []*model.Product `json:"products" gorm:"many2many:salesReturn_product;"` //退货产品 |
| | | CodeStandID string `json:"codeStandID"` //编码id |
| | | } |
| | | |
| | | type UpdateSalesReturnRequest struct { |
| | |
| | | PageInfo |
| | | Keyword string `json:"keyword"` |
| | | KeywordType constvar.SalesReturnKeywordType |
| | | SourceType constvar.SalesReturnSourceType `json:"sourceType"` // 源单类型(1销售明细) |
| | | SourceId int `json:"sourceId"` // 源单id |
| | | ClientId int `json:"clientId"` //客户id |
| | | } |