| | |
| | | sourceType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.RefundSourceType' |
| | | description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单) |
| | | description: 来源类型(1销售退货) |
| | | type: object |
| | | model.SalesReturn: |
| | | properties: |
| | |
| | | problemDesc: |
| | | description: 问题描述 |
| | | type: string |
| | | product: |
| | | $ref: '#/definitions/model.Product' |
| | | productId: |
| | | description: 产品id |
| | | type: integer |
| | | productName: |
| | | description: 产品名称 |
| | | type: string |
| | | productTypeName: |
| | | description: 产品分类名称 |
| | | type: string |
| | | realTime: |
| | | description: 实际处理时间 |
| | | type: string |
| | |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/request.Contact' |
| | | contact_id: |
| | | description: 联系人ID |
| | | type: integer |
| | | country_id: |
| | | type: integer |
| | | detail_address: |
| | |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/request.Contact' |
| | | contact_id: |
| | | description: 联系人ID |
| | | type: integer |
| | | country_id: |
| | | type: integer |
| | | detail_address: |
| | |
| | | problemDesc: |
| | | description: 问题描述 |
| | | type: string |
| | | productId: |
| | | description: 产品id |
| | | type: integer |
| | | productName: |
| | | description: 产品名称 |
| | | type: string |
| | | productTypeName: |
| | | description: 产品分类名称 |
| | | type: string |
| | | realTime: |
| | | description: 实际处理时间 |
| | | type: string |
| | |
| | | description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"topic": "跟进主题", |
| | | "member_name": "跟进人", "client_name": "客户名称", "client_status": "客户状态", "follow_time": |
| | | "跟进时间", "next_follow_time": "下次跟进时间", "record": "跟进记录", "phone": "联系人电话", |
| | | "contact_name": "联系人姓名"}' |
| | | "contact_name": "联系人姓名", "sales_leads_id": "销售线索id", "sale_chance_id": "销售机会id"}' |
| | | type: object |
| | | type: object |
| | | request.GetMasterOrderList: |
| | |
| | | sourceType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.RefundSourceType' |
| | | description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单) |
| | | description: 来源类型(1销售退款单) |
| | | required: |
| | | - sourceId |
| | | - sourceType |
| | | type: object |
| | | request.SalesReturn: |
| | | properties: |
| | |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/request.Contact' |
| | | contact_id: |
| | | description: 联系人ID |
| | | type: integer |
| | | country_id: |
| | | type: integer |
| | | detail_address: |
| | |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/request.Contact' |
| | | contact_id: |
| | | description: 联系人ID |
| | | type: integer |
| | | country_id: |
| | | type: integer |
| | | detail_address: |
| | |
| | | problemDesc: |
| | | description: 问题描述 |
| | | type: string |
| | | productId: |
| | | description: 产品id |
| | | type: integer |
| | | productName: |
| | | description: 产品名称 |
| | | type: string |
| | | productTypeName: |
| | | description: 产品分类名称 |
| | | type: string |
| | | realTime: |
| | | description: 实际处理时间 |
| | | type: string |
| | |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加销售退款 |
| | | tags: |
| | | - SalesRefund |
| | | - 销售退款单 |
| | | /api/salesRefund/delete: |
| | | delete: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.CommonIds' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 批量删除销售退款单 |
| | | tags: |
| | | - 销售退款单 |
| | | /api/salesRefund/delete/{id}: |
| | | delete: |
| | | parameters: |
| | |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除销售退款 |
| | | tags: |
| | | - SalesRefund |
| | | - 销售退款单 |
| | | /api/salesRefund/list: |
| | | post: |
| | | parameters: |
| | |
| | | type: object |
| | | summary: 销售退款单列表 |
| | | tags: |
| | | - SalesRefund |
| | | - 销售退款单 |
| | | /api/salesRefund/update: |
| | | put: |
| | | parameters: |
| | |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新销售退款 |
| | | tags: |
| | | - SalesRefund |
| | | - 销售退款单 |
| | | /api/salesReturn/add: |
| | | post: |
| | | parameters: |
| | |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加销售退货 |
| | | tags: |
| | | - SalesReturn |
| | | - 销售退货单 |
| | | /api/salesReturn/delete: |
| | | delete: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.CommonIds' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 批量删除销售退货单 |
| | | tags: |
| | | - 销售退货单 |
| | | /api/salesReturn/delete/{id}: |
| | | delete: |
| | | parameters: |
| | |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除销售退货 |
| | | tags: |
| | | - SalesReturn |
| | | - 销售退货单 |
| | | /api/salesReturn/list: |
| | | post: |
| | | parameters: |
| | |
| | | type: object |
| | | summary: 销售退货单列表 |
| | | tags: |
| | | - SalesReturn |
| | | - 销售退货单 |
| | | /api/salesReturn/update: |
| | | put: |
| | | parameters: |
| | |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新销售退货 |
| | | tags: |
| | | - SalesReturn |
| | | - 销售退货单 |
| | | /api/salesReturnStatus/add: |
| | | post: |
| | | parameters: |