| | |
| | | principalId: |
| | | description: 销售负责人id |
| | | type: integer |
| | | products: |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | sourceId: |
| | | description: 源单id |
| | | type: integer |
| | |
| | | model.Product: |
| | | properties: |
| | | amount: |
| | | type: integer |
| | | type: number |
| | | desc: |
| | | type: string |
| | | id: |
| | |
| | | amountReceived: |
| | | description: 已收金额 |
| | | type: number |
| | | amountUnInvoiced: |
| | | description: 未开票金额 |
| | | type: number |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | | type: integer |
| | | contactId: |
| | |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddCollectionProjection: |
| | | properties: |
| | | estimated_collection_amount: |
| | | description: 预计收款金额 |
| | | type: number |
| | | estimated_collection_time: |
| | | description: 预计收款时间 |
| | | type: string |
| | | sale_chance_id: |
| | | description: 销售机会id |
| | | type: integer |
| | | type: object |
| | | request.AddContact: |
| | | properties: |
| | | birthday: |
| | |
| | | principalId: |
| | | description: 销售负责人id |
| | | type: integer |
| | | products: |
| | | description: 发票对应产品,从相应源单里获取 |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | sourceId: |
| | | description: 源单id |
| | | type: integer |
| | |
| | | principalId: |
| | | description: 销售负责人id |
| | | type: integer |
| | | products: |
| | | description: 发票对应产品,从相应源单里获取 |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | sourceId: |
| | | description: 源单id |
| | | type: integer |
| | |
| | | taxpayerIdNumber: |
| | | description: 纳税识别号 |
| | | type: string |
| | | required: |
| | | - id |
| | | type: object |
| | | request.UpdateInvoiceStatus: |
| | | properties: |
| | |
| | | summary: 更新客户类型 |
| | | tags: |
| | | - ClientType |
| | | /api/collectionProjection/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddCollectionProjection' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加收款预测 |
| | | tags: |
| | | - CollectionProjection |
| | | /api/contact/add: |
| | | post: |
| | | parameters: |