| | |
| | | validity_date: |
| | | type: string |
| | | type: object |
| | | model.QuotationStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.RefundMethod: |
| | | properties: |
| | | id: |
| | |
| | | type: string |
| | | type: object |
| | | model.ReportSource: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Repository: |
| | | properties: |
| | | id: |
| | | type: integer |
| | |
| | | type: string |
| | | returnDate: |
| | | type: string |
| | | status: |
| | | salesReturnStatus: |
| | | type: integer |
| | | type: object |
| | | model.SalesReturnStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.SalesSources: |
| | | properties: |
| | |
| | | validity_date: |
| | | type: string |
| | | type: object |
| | | request.AddQuotationStatus: |
| | | properties: |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddRefundMethod: |
| | | properties: |
| | | name: |
| | |
| | | - name |
| | | type: object |
| | | request.AddReportSource: |
| | | properties: |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddRepository: |
| | | properties: |
| | | name: |
| | | type: string |
| | |
| | | properties: |
| | | salesReturn: |
| | | $ref: '#/definitions/request.SalesReturn' |
| | | type: object |
| | | request.AddSalesReturnStatus: |
| | | properties: |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddSalesSources: |
| | | properties: |
| | |
| | | validity_date: |
| | | type: string |
| | | type: object |
| | | request.UpdateQuotationStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateQuotationStatuss: |
| | | properties: |
| | | quotation_status: |
| | | items: |
| | | $ref: '#/definitions/request.UpdateQuotationStatus' |
| | | type: array |
| | | required: |
| | | - quotation_status |
| | | type: object |
| | | request.UpdateRefundMethod: |
| | | properties: |
| | | id: |
| | |
| | | type: array |
| | | required: |
| | | - report_source |
| | | type: object |
| | | request.UpdateRepository: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateRepositorys: |
| | | properties: |
| | | repository: |
| | | items: |
| | | $ref: '#/definitions/request.UpdateRepository' |
| | | type: array |
| | | required: |
| | | - repository |
| | | type: object |
| | | request.UpdateSaleChance: |
| | | properties: |
| | |
| | | type: integer |
| | | salesReturn: |
| | | $ref: '#/definitions/request.SalesReturn' |
| | | type: object |
| | | request.UpdateSalesReturnStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateSalesReturnStatuss: |
| | | properties: |
| | | sales_return_status: |
| | | items: |
| | | $ref: '#/definitions/request.UpdateSalesReturnStatus' |
| | | type: array |
| | | required: |
| | | - sales_return_status |
| | | type: object |
| | | request.UpdateSalesSources: |
| | | properties: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.Province' |
| | | type: array |
| | | quotationStatus: |
| | | description: 报价单状态 |
| | | items: |
| | | $ref: '#/definitions/model.QuotationStatus' |
| | | type: array |
| | | refundMethod: |
| | | description: 退款方式 |
| | | items: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.ReportSource' |
| | | type: array |
| | | repository: |
| | | description: 退货仓库 |
| | | items: |
| | | $ref: '#/definitions/model.Repository' |
| | | type: array |
| | | sale_stage: |
| | | description: 销售阶段 |
| | | items: |
| | |
| | | description: 商机来源 |
| | | items: |
| | | $ref: '#/definitions/model.SalesSources' |
| | | type: array |
| | | salesReturnStatus: |
| | | description: 退货单状态 |
| | | items: |
| | | $ref: '#/definitions/model.SalesReturnStatus' |
| | | type: array |
| | | satisfaction: |
| | | description: 满意度 |
| | |
| | | $ref: '#/definitions/model.Quotation' |
| | | type: array |
| | | type: object |
| | | response.QuotationStatusResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.QuotationStatus' |
| | | type: array |
| | | type: object |
| | | response.RefundMethodResponse: |
| | | properties: |
| | | list: |
| | |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.ReportSource' |
| | | type: array |
| | | type: object |
| | | response.RepositoryResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Repository' |
| | | type: array |
| | | type: object |
| | | response.SaleChanceResponse: |
| | |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.SalesReturn' |
| | | type: array |
| | | type: object |
| | | response.SalesReturnStatusResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.SalesReturnStatus' |
| | | type: array |
| | | type: object |
| | | response.SalesSourceResponse: |
| | |
| | | summary: 更新报价单 |
| | | tags: |
| | | - Quotation |
| | | /api/quotationStatus/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddQuotationStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加报价单状态 |
| | | tags: |
| | | - QuotationStatus |
| | | /api/quotationStatus/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: |
| | | - QuotationStatus |
| | | /api/quotationStatus/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.QuotationStatusResponse' |
| | | type: object |
| | | summary: 获取报价单状态列表 |
| | | tags: |
| | | - QuotationStatus |
| | | /api/quotationStatus/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateQuotationStatuss' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新报价单状态 |
| | | tags: |
| | | - QuotationStatus |
| | | /api/refundMethod/add: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 更新报表来源 |
| | | tags: |
| | | - ReportSource |
| | | /api/repository/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddRepository' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加退货仓库 |
| | | tags: |
| | | - Repository |
| | | /api/repository/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: |
| | | - Repository |
| | | /api/repository/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.RepositoryResponse' |
| | | type: object |
| | | summary: 获取退货仓库列表 |
| | | tags: |
| | | - Repository |
| | | /api/repository/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateRepositorys' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新退货仓库 |
| | | tags: |
| | | - Repository |
| | | /api/saleChance/add: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 更新销售退货 |
| | | tags: |
| | | - SalesReturn |
| | | /api/salesReturnStatus/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddSalesReturnStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加退货单状态 |
| | | tags: |
| | | - SalesReturnStatus |
| | | /api/salesReturnStatus/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: |
| | | - SalesReturnStatus |
| | | /api/salesReturnStatus/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.SalesReturnStatusResponse' |
| | | type: object |
| | | summary: 获取退货单状态列表 |
| | | tags: |
| | | - SalesReturnStatus |
| | | /api/salesReturnStatus/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateSalesReturnStatuss' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新退货单状态 |
| | | tags: |
| | | - SalesReturnStatus |
| | | /api/salesSources/add: |
| | | post: |
| | | parameters: |
| | |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加状态 |
| | | tags: |
| | | - Status |
| | | - SalesReturnStatus |
| | | /api/status/delete/{id}: |
| | | delete: |
| | | parameters: |
| | |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除状态 |
| | | tags: |
| | | - Status |
| | | - SalesReturnStatus |
| | | /api/status/list: |
| | | get: |
| | | produces: |
| | |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 状态列表 |
| | | tags: |
| | | - Status |
| | | - SalesReturnStatus |
| | | /api/status/update: |
| | | put: |
| | | parameters: |
| | |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新状态 |
| | | tags: |
| | | - Status |
| | | - SalesReturnStatus |
| | | /api/subOrder/add: |
| | | post: |
| | | parameters: |