| | |
| | | package request |
| | | |
| | | import ( |
| | | "aps_crm/model" |
| | | ) |
| | | |
| | | type AddQuotation struct { |
| | | Quotation |
| | | } |
| | | |
| | | type Quotation struct { |
| | | ClientId int `json:"client_id"` |
| | | Number string `json:"number"` |
| | | QuotationStatusId int `json:"quotation_status_id"` |
| | | ValidityDate string `json:"validity_date"` |
| | | ContactId int `json:"contact_id"` |
| | | MemberId int `json:"member_id"` |
| | | SaleChanceId int `json:"sale_chance_id"` |
| | | Conditions string `json:"conditions"` |
| | | File string `json:"file"` |
| | | QuotationName string `json:"quotationName"` //报价单名称 |
| | | ClientId int `json:"client_id"` |
| | | Number string `json:"number"` |
| | | QuotationStatusId int `json:"quotation_status_id"` |
| | | ValidityDate string `json:"validity_date"` |
| | | ContactId int `json:"contact_id"` |
| | | MemberId int `json:"member_id"` |
| | | SaleChanceId int `json:"sale_chance_id"` |
| | | Conditions string `json:"conditions"` |
| | | File string `json:"file"` |
| | | CodeStandID string `json:"codeStandID"` //编码id |
| | | Products []model.Product `json:"products"` |
| | | } |
| | | |
| | | type UpdateQuotation struct { |
| | |
| | | |
| | | type GetQuotationList struct { |
| | | PageInfo |
| | | Keyword string `json:"keyword"` |
| | | SearchMap map[string]interface{} `json:"search_map"` // 搜索条件: map[string]interface{}{"name": "xxx"}; {"sale_chance_id": 销售线索id, "client_name": "客户名称", "member_name": "销售负责人", "contact_name": "联系人", "validity_date": "有效期"} |
| | | } |
| | | |
| | | type DeleteQuotation struct { |
| | | Ids []int `json:"ids"` |
| | | } |