| | |
| | | type: string |
| | | x-enum-varnames: |
| | | - ReceiptQueryClassExpireLessThen60Days |
| | | constvar.SalesDetailsKeywordType: |
| | | enum: |
| | | - 客户名称 |
| | | - 订单编号 |
| | | - 签约日期 |
| | | - 销售负责人 |
| | | - 产品名称 |
| | | type: string |
| | | x-enum-varnames: |
| | | - SalesDetailsKeywordTypeCustomerName |
| | | - SalesDetailsKeywordTypeOrderNumber |
| | | - SalesDetailsKeywordTypeSignTime |
| | | - SalesDetailsKeywordTypePrincipal |
| | | - SalesDetailsKeywordTypeProductName |
| | | constvar.SalesStatus: |
| | | enum: |
| | | - 0 |
| | |
| | | - UserTypeSuper |
| | | - UserTypePrimary |
| | | - UserTypeSub |
| | | constvar.WechatOrderStatusKeywordType: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - WechatOrderStatusKeywordCustomerName |
| | | constvar.WechatOrderStatusQueryClass: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - WechatOrderStatusQueryClassExpireLessThen60Days |
| | | contextx.Response: |
| | | properties: |
| | | code: |
| | |
| | | type: string |
| | | addressee: |
| | | type: string |
| | | amountInvoiced: |
| | | description: 已开票金额 |
| | | type: number |
| | | amountReceivable: |
| | | description: 应收金额 |
| | | type: number |
| | | amountReceived: |
| | | description: 已收金额 |
| | | type: number |
| | | amountUnInvoiced: |
| | | description: 未开票金额 |
| | | type: number |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | |
| | | type: array |
| | | remark: |
| | | type: string |
| | | saleChance: |
| | | $ref: '#/definitions/model.SaleChance' |
| | | saleChanceId: |
| | | type: integer |
| | | saleType: |
| | |
| | | signTime: |
| | | type: string |
| | | wechatOrderStatus: |
| | | $ref: '#/definitions/model.WechatOrderStatus' |
| | | wechatOrderStatusId: |
| | | type: integer |
| | | type: object |
| | | model.SalesLeads: |
| | |
| | | username: |
| | | type: string |
| | | uuid: |
| | | type: string |
| | | type: object |
| | | model.WechatOrderStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | product.Product: |
| | |
| | | type: object |
| | | request.AddSalesDetails: |
| | | properties: |
| | | salesDetails: |
| | | $ref: '#/definitions/request.SalesDetails' |
| | | address: |
| | | type: string |
| | | addressee: |
| | | type: string |
| | | clientId: |
| | | type: integer |
| | | conditions: |
| | | type: string |
| | | deliveryDate: |
| | | type: string |
| | | logisticCompany: |
| | | type: string |
| | | logisticCost: |
| | | type: number |
| | | logisticNumber: |
| | | type: string |
| | | memberId: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | phone: |
| | | type: string |
| | | products: |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | remark: |
| | | type: string |
| | | saleChanceId: |
| | | type: integer |
| | | saleType: |
| | | type: integer |
| | | signTime: |
| | | type: string |
| | | wechatOrderStatusId: |
| | | type: integer |
| | | type: object |
| | | request.AddSalesLeads: |
| | | properties: |
| | |
| | | type: string |
| | | typeId: |
| | | type: integer |
| | | required: |
| | | - memberId |
| | | type: object |
| | | request.AddServiceContractStatus: |
| | | properties: |
| | |
| | | - userId |
| | | - vettingId |
| | | - vettingType |
| | | type: object |
| | | request.AddWechatOrderStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.Assign: |
| | | properties: |
| | |
| | | properties: |
| | | keyword: |
| | | type: string |
| | | keywordType: |
| | | $ref: '#/definitions/constvar.SalesDetailsKeywordType' |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | |
| | | type: integer |
| | | signTime: |
| | | type: string |
| | | wechatOrderStatus: |
| | | wechatOrderStatusId: |
| | | type: integer |
| | | type: object |
| | | request.SalesRefund: |
| | |
| | | type: string |
| | | typeId: |
| | | type: integer |
| | | required: |
| | | - memberId |
| | | type: object |
| | | request.UpdateServiceContractStatus: |
| | | properties: |
| | |
| | | required: |
| | | - id |
| | | - status |
| | | type: object |
| | | request.UpdateWechatOrderStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | response.AccountIdResponse: |
| | | properties: |
| | |
| | | summary: 更新审批 |
| | | tags: |
| | | - Vetting |
| | | /api/wechatOrderStatus/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddWechatOrderStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加微信订单状态 |
| | | tags: |
| | | - 微信订单状态 |
| | | /api/wechatOrderStatus/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除微信订单状态 |
| | | tags: |
| | | - 微信订单状态 |
| | | /api/wechatOrderStatus/list: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | | name: keyword |
| | | type: string |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: keywordType |
| | | type: string |
| | | x-enum-varnames: |
| | | - WechatOrderStatusKeywordCustomerName |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: queryClass |
| | | type: string |
| | | x-enum-varnames: |
| | | - WechatOrderStatusQueryClassExpireLessThen60Days |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.WechatOrderStatus' |
| | | type: array |
| | | type: object |
| | | summary: 获取微信订单状态列表 |
| | | tags: |
| | | - 微信订单状态 |
| | | /api/wechatOrderStatus/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateWechatOrderStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新微信订单状态 |
| | | tags: |
| | | - 微信订单状态 |
| | | swagger: "2.0" |