| | |
| | | package request |
| | | |
| | | import ( |
| | | "aps_crm/constvar" |
| | | "aps_crm/model" |
| | | ) |
| | | |
| | |
| | | } |
| | | |
| | | type ServiceContract struct { |
| | | ClientId int `json:"clientId"` |
| | | Number string `json:"number"` |
| | | MemberId int `json:"memberId"` |
| | | ContactId int `json:"contactId"` |
| | | SaleChanceId int `json:"saleChanceId"` |
| | | ContractId int `json:"contractId"` |
| | | QuotationId int `json:"quotationId"` |
| | | TypeId int `json:"typeId"` |
| | | SignTime string `json:"signTime"` |
| | | StartTime string `json:"startTime"` |
| | | EndTime string `json:"endTime"` |
| | | StatusId int `json:"statusId"` |
| | | ServiceTimes int `json:"serviceTimes"` |
| | | Terms string `json:"terms"` |
| | | Remark string `json:"remark"` |
| | | Products []model.Product `json:"products"` |
| | | ClientId int `json:"clientId"` |
| | | Number string `json:"number"` |
| | | MemberId int `json:"memberId" binding:"required"` |
| | | ContactId int `json:"contactId"` |
| | | SaleChanceId int `json:"saleChanceId"` |
| | | SalesDetailsId int `json:"salesDetailsId"` |
| | | QuotationId int `json:"quotationId"` |
| | | TypeId int `json:"typeId"` |
| | | SignTime string `json:"signTime" binding:"datetime=2006-01-02"` |
| | | StartTime string `json:"startTime"` |
| | | EndTime string `json:"endTime"` |
| | | StatusId int `json:"statusId"` |
| | | ServiceTimes int `json:"serviceTimes"` |
| | | Terms string `json:"terms"` |
| | | Remark string `json:"remark"` |
| | | Products []*model.Product `json:"products"` |
| | | ServiceContractTypeId int `json:"serviceContractTypeId"` |
| | | ServiceContractStatusId int `json:"serviceContractStatusId"` |
| | | CodeStandID string `json:"codeStandID"` //编码id |
| | | } |
| | | |
| | | type UpdateServiceContract struct { |
| | |
| | | |
| | | type GetServiceContractList struct { |
| | | PageInfo |
| | | Keyword string `json:"keyword"` |
| | | QueryClass constvar.ServiceContractQueryClass `json:"queryClass"` |
| | | KeywordType constvar.ServiceContractKeywordType `json:"keywordType"` |
| | | Keyword string `json:"keyword"` |
| | | SalesDetailsId int `json:"salesDetailsId"` //合同订单id |
| | | QuotationId int `json:"quotationId"` //报价单id |
| | | SaleChanceId int `json:"saleChanceId"` //销售机会id |
| | | ContactId int `json:"contactId"` //联系人id |
| | | } |
| | | |
| | | type DeleteServiceContract struct { |
| | | Ids []int `json:"ids"` |
| | | } |