| | |
| | | import ( |
| | | "aps_crm/constvar" |
| | | "aps_crm/model" |
| | | "aps_crm/proto/code" |
| | | ) |
| | | |
| | | type AddSalesReturnRequest struct { |
| | |
| | | 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 |
| | | CodeRule code.CodeStandard `json:"codeRule"` |
| | | } |
| | | |
| | | type UpdateSalesReturnRequest struct { |
| | |
| | | KeywordType constvar.SalesReturnKeywordType |
| | | SourceType constvar.SalesReturnSourceType `json:"sourceType"` // 源单类型(1销售明细) |
| | | SourceId int `json:"sourceId"` // 源单id |
| | | ClientId int `json:"clientId"` //客户id |
| | | } |