| | |
| | | - SalesDetailsKeywordTypeSignTime |
| | | - SalesDetailsKeywordTypePrincipal |
| | | - SalesDetailsKeywordTypeProductName |
| | | constvar.SalesDetailsStatus: |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | - 3 |
| | | - 4 |
| | | type: integer |
| | | x-enum-comments: |
| | | OverCLose: 已关闭 |
| | | OverOutbound: 出库完成 |
| | | WaitConfirmed: 待确认 |
| | | WaitOutbound: 待出库 |
| | | x-enum-varnames: |
| | | - WaitConfirmed |
| | | - WaitOutbound |
| | | - OverOutbound |
| | | - OverCLose |
| | | constvar.SalesRefundKeywordType: |
| | | enum: |
| | | - 销售退货单编号 |
| | |
| | | $ref: '#/definitions/model.Quotation' |
| | | quotationId: |
| | | type: integer |
| | | sendTime: |
| | | type: string |
| | | serviceContractStatus: |
| | | $ref: '#/definitions/model.ServiceContractStatus' |
| | | statusId: |
| | |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | | codeStandID: |
| | | type: string |
| | | courierCompany: |
| | | $ref: '#/definitions/model.CourierCompany' |
| | | courierCompanyId: |
| | |
| | | invoiceTypeId: |
| | | description: 发票类型id |
| | | type: integer |
| | | number: |
| | | type: string |
| | | principalId: |
| | | description: 销售负责人id |
| | | type: integer |
| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.RefundType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Region: |
| | | properties: |
| | | id: |
| | |
| | | $ref: '#/definitions/model.Possibility' |
| | | process: |
| | | type: string |
| | | products: |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | projected_amount: |
| | | type: number |
| | | province: |
| | |
| | | type: integer |
| | | solutions: |
| | | type: string |
| | | status: |
| | | allOf: |
| | | - $ref: '#/definitions/model.Status' |
| | | description: 状态 |
| | | status_id: |
| | | type: integer |
| | | threats: |
| | |
| | | type: integer |
| | | creatorName: |
| | | type: string |
| | | deliverType: |
| | | type: integer |
| | | deliveryDate: |
| | | type: string |
| | | id: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | quotation: |
| | | $ref: '#/definitions/model.Quotation' |
| | | quotationId: |
| | | type: integer |
| | | remark: |
| | | type: string |
| | | saleChance: |
| | |
| | | type: integer |
| | | signTime: |
| | | type: string |
| | | source: |
| | | type: string |
| | | status: |
| | | $ref: '#/definitions/constvar.SalesDetailsStatus' |
| | | updateTime: |
| | | type: string |
| | | wechatOrderStatus: |
| | |
| | | type: object |
| | | model.SalesRefund: |
| | | properties: |
| | | Source: |
| | | $ref: '#/definitions/model.SalesReturn' |
| | | RefundType: |
| | | allOf: |
| | | - $ref: '#/definitions/model.RefundType' |
| | | description: 退款方式 |
| | | amountTotal: |
| | | description: 价税合计 |
| | | type: number |
| | |
| | | type: string |
| | | refundDate: |
| | | type: string |
| | | refundTypeId: |
| | | description: 退款方式ID |
| | | type: integer |
| | | salesReturn: |
| | | $ref: '#/definitions/model.SalesReturn' |
| | | sourceId: |
| | | description: 源单id |
| | | type: integer |
| | |
| | | type: integer |
| | | severity: |
| | | $ref: '#/definitions/model.Severity' |
| | | severityId: |
| | | description: 严重程度id |
| | | type: integer |
| | | solution: |
| | | description: 解决方法 |
| | | type: string |
| | |
| | | Unit: |
| | | type: string |
| | | type: object |
| | | product.WorkOrderInfo: |
| | | properties: |
| | | EndTime: |
| | | type: string |
| | | OrderId: |
| | | type: string |
| | | OrderStatus: |
| | | type: string |
| | | ProductName: |
| | | type: string |
| | | StartTime: |
| | | type: string |
| | | WorkOrderId: |
| | | type: string |
| | | WorkOrderStatus: |
| | | type: string |
| | | type: object |
| | | request.AddAccountId: |
| | | properties: |
| | | name: |
| | |
| | | client_type_id: |
| | | description: 客户类型ID |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | client_id: |
| | | description: 所属公司ID |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | | country_id: |
| | | description: 国家ID |
| | | type: integer |
| | |
| | | properties: |
| | | client_id: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | type: string |
| | | quotation_id: |
| | | type: integer |
| | | sendTime: |
| | | description: 发货时间 |
| | | type: string |
| | | status_id: |
| | | type: integer |
| | | type: object |
| | |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | | codeStandID: |
| | | type: string |
| | | courierCompanyId: |
| | | description: 物流公司 |
| | | type: integer |
| | |
| | | invoiceTypeId: |
| | | description: 发票类型id |
| | | type: integer |
| | | number: |
| | | description: 发票编号 |
| | | type: string |
| | | principalId: |
| | | description: 销售负责人id |
| | | type: integer |
| | |
| | | properties: |
| | | client_id: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | properties: |
| | | client_id: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddRefundType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.AddRegion: |
| | | properties: |
| | | name: |
| | |
| | | type: integer |
| | | client_id: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | type: integer |
| | | process: |
| | | type: string |
| | | products: |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | projected_amount: |
| | | type: number |
| | | province_id: |
| | |
| | | type: string |
| | | clientId: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | | conditions: |
| | | type: string |
| | | deliverType: |
| | | description: 交付类型:1.一次发货,2.多次发货 |
| | | type: integer |
| | | deliveryDate: |
| | | type: string |
| | | logisticCompany: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | quotationId: |
| | | type: integer |
| | | remark: |
| | | type: string |
| | | saleChanceId: |
| | |
| | | type: integer |
| | | signTime: |
| | | type: string |
| | | source: |
| | | type: string |
| | | status: |
| | | $ref: '#/definitions/constvar.SalesDetailsStatus' |
| | | wechatOrderStatusId: |
| | | type: integer |
| | | type: object |
| | |
| | | properties: |
| | | city_id: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | properties: |
| | | clientId: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | client_type_id: |
| | | description: 客户类型ID |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | properties: |
| | | clientId: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | serviceTypeId: |
| | | description: 服务方式id |
| | | type: integer |
| | | severity: |
| | | severityId: |
| | | description: 严重程度id |
| | | type: integer |
| | | solution: |
| | |
| | | properties: |
| | | clientId: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | client_id: |
| | | description: 所属公司ID |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | | country_id: |
| | | description: 国家ID |
| | | type: integer |
| | |
| | | type: integer |
| | | client_status_id: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | type: string |
| | | contact_id: |
| | |
| | | type: string |
| | | keywordType: |
| | | $ref: '#/definitions/constvar.SalesDetailsKeywordType' |
| | | number: |
| | | description: 销售明细单号 |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | |
| | | type: string |
| | | clientId: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | | conditions: |
| | | type: string |
| | | deliverType: |
| | | description: 交付类型:1.一次发货,2.多次发货 |
| | | type: integer |
| | | deliveryDate: |
| | | type: string |
| | | logisticCompany: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | quotationId: |
| | | type: integer |
| | | remark: |
| | | type: string |
| | | saleChanceId: |
| | |
| | | type: integer |
| | | signTime: |
| | | type: string |
| | | source: |
| | | type: string |
| | | status: |
| | | $ref: '#/definitions/constvar.SalesDetailsStatus' |
| | | wechatOrderStatusId: |
| | | type: integer |
| | | type: object |
| | |
| | | type: integer |
| | | clientId: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | properties: |
| | | clientId: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | client_type_id: |
| | | description: 客户类型ID |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | client_id: |
| | | description: 所属公司ID |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | | country_id: |
| | | description: 国家ID |
| | | type: integer |
| | |
| | | properties: |
| | | client_id: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | type: string |
| | | quotation_id: |
| | | type: integer |
| | | sendTime: |
| | | description: 发货时间 |
| | | type: string |
| | | status_id: |
| | | type: integer |
| | | type: object |
| | |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | | codeStandID: |
| | | type: string |
| | | courierCompanyId: |
| | | description: 物流公司 |
| | | type: integer |
| | |
| | | invoiceTypeId: |
| | | description: 发票类型id |
| | | type: integer |
| | | number: |
| | | description: 发票编号 |
| | | type: string |
| | | principalId: |
| | | description: 销售负责人id |
| | | type: integer |
| | |
| | | properties: |
| | | client_id: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | properties: |
| | | client_id: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | required: |
| | | - refund_method |
| | | type: object |
| | | request.UpdateRefundType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateRegion: |
| | | properties: |
| | | id: |
| | |
| | | type: integer |
| | | client_id: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | type: integer |
| | | process: |
| | | type: string |
| | | products: |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | projected_amount: |
| | | type: number |
| | | province_id: |
| | |
| | | salesDetails: |
| | | $ref: '#/definitions/request.SalesDetails' |
| | | type: object |
| | | request.UpdateSalesDetailsStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | status: |
| | | $ref: '#/definitions/constvar.SalesDetailsStatus' |
| | | type: object |
| | | request.UpdateSalesLeads: |
| | | properties: |
| | | city_id: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | properties: |
| | | clientId: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | client_type_id: |
| | | description: 客户类型ID |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | properties: |
| | | clientId: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | serviceTypeId: |
| | | description: 服务方式id |
| | | type: integer |
| | | severity: |
| | | severityId: |
| | | description: 严重程度id |
| | | type: integer |
| | | solution: |
| | |
| | | properties: |
| | | clientId: |
| | | type: integer |
| | | codeRule: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | codeStandID: |
| | | description: 编码id |
| | | type: string |
| | |
| | | summary: 更新客户类型 |
| | | tags: |
| | | - ClientType |
| | | /api/code/getAutoCode: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/code.CodeStandard' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/response.ListResponse' |
| | | summary: 获取自动编码 |
| | | tags: |
| | | - 编码 |
| | | /api/code/getCodeList: |
| | | get: |
| | | parameters: |
| | |
| | | summary: 更新优先级别 |
| | | tags: |
| | | - 优先级别管理 |
| | | /api/product/getProductOrderInfo/{number}: |
| | | get: |
| | | parameters: |
| | | - description: 明细编码 |
| | | in: path |
| | | name: number |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/product.WorkOrderInfo' |
| | | type: array |
| | | type: object |
| | | summary: 获取产品订单信息 |
| | | tags: |
| | | - 产品 |
| | | /api/product/info: |
| | | get: |
| | | parameters: |
| | |
| | | summary: 更新退款方式 |
| | | tags: |
| | | - RefundMethod |
| | | /api/refundType/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddRefundType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加退款方式 |
| | | tags: |
| | | - 退款方式管理 |
| | | /api/refundType/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/refundType/list: |
| | | get: |
| | | parameters: |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.RefundType' |
| | | type: array |
| | | type: object |
| | | summary: 获取退款方式列表 |
| | | tags: |
| | | - 退款方式管理 |
| | | /api/refundType/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateRefundType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新退款方式 |
| | | tags: |
| | | - 退款方式管理 |
| | | /api/region/add: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 添加销售明细 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/createOperation: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.SalesDetails' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/response.ListResponse' |
| | | summary: 创建产品出库信息 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/delete: |
| | | delete: |
| | | parameters: |
| | |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除销售明细 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/getProductInventoryInfo/{number}: |
| | | get: |
| | | parameters: |
| | | - description: 明细编码 |
| | | in: path |
| | | name: number |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/response.ListResponse' |
| | | summary: 获取产品库存信息 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/list: |
| | |
| | | summary: 更新销售明细 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/updateStatus: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateSalesDetailsStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新销售明细状态 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesLeads/add: |
| | | post: |
| | | parameters: |