| | |
| | | type: number |
| | | total: |
| | | type: number |
| | | unit: |
| | | type: string |
| | | type: object |
| | | model.Province: |
| | | properties: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | projectId: |
| | | type: string |
| | | quotation: |
| | | $ref: '#/definitions/model.Quotation' |
| | | quotationId: |
| | |
| | | pos: |
| | | type: string |
| | | realName: |
| | | type: string |
| | | subUserIds: |
| | | description: 下属员工用户id,用逗号分开 |
| | | type: string |
| | | userType: |
| | | $ref: '#/definitions/constvar.UserType' |
| | |
| | | type: object |
| | | request.AddSalesDetails: |
| | | properties: |
| | | Member: |
| | | $ref: '#/definitions/model.User' |
| | | address: |
| | | type: string |
| | | addressee: |
| | | type: string |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | | type: integer |
| | | codeStandID: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | projectId: |
| | | type: string |
| | | quotationId: |
| | | type: integer |
| | | remark: |
| | |
| | | type: object |
| | | request.GetContractList: |
| | | properties: |
| | | keyword: |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | principalIds: |
| | | items: |
| | | type: integer |
| | | type: array |
| | | sourceId: |
| | | type: integer |
| | | sourceType: |
| | |
| | | type: object |
| | | request.SalesDetails: |
| | | properties: |
| | | Member: |
| | | $ref: '#/definitions/model.User' |
| | | address: |
| | | type: string |
| | | addressee: |
| | | type: string |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | | type: integer |
| | | codeStandID: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | projectId: |
| | | type: string |
| | | quotationId: |
| | | type: integer |
| | | remark: |
| | |
| | | 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: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.Repository' |
| | | type: array |
| | | type: object |
| | | response.Response: |
| | | properties: |
| | | code: |
| | | type: integer |
| | | data: {} |
| | | msg: |
| | | type: string |
| | | type: object |
| | | response.SaleChanceResponse: |
| | | properties: |
| | |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - collectionFormat: csv |
| | | in: query |
| | | items: |
| | | type: integer |
| | | name: principleIds |
| | | type: array |
| | | - in: query |
| | | name: sourceId |
| | | type: integer |
| | |
| | | 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/getApsProjectList: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/response.Response' |
| | | summary: 获取aps项目列表 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/getProductInventoryInfo/{number}: |
| | |
| | | summary: 销售明细单列表 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/update: |
| | | /api/salesDetails/sendSalesDetailsToOtherSystem: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateSalesDetails' |
| | | $ref: '#/definitions/request.SalesDetails' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新销售明细状态 |
| | | $ref: '#/definitions/response.ListResponse' |
| | | summary: 推送销售明细信息到其他系统 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | |
| | | 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: |