liujiandao
2023-10-12 17aaed743ab7a3520ec8eb9e4ab7c776ca807cdd
docs/swagger.yaml
@@ -101,18 +101,6 @@
    type: string
    x-enum-varnames:
    - FaqQueryClassExpireLessThen60Days
  constvar.InvoiceKeywordType:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - InvoiceKeywordCustomerName
  constvar.InvoiceQueryClass:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - InvoiceQueryClassExpireLessThen60Days
  constvar.InvoiceSourceType:
    enum:
    - 1
@@ -3672,6 +3660,21 @@
          "contact_name": "联系人姓名", "sales_leads_id": "销售线索id", "sale_chance_id": "销售机会id"}'
        type: object
    type: object
  request.GetInvoiceList:
    properties:
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      sourceId:
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.InvoiceSourceType'
        description: 源单类型(1销售明细单2服务合同)
    type: object
  request.GetMasterOrderList:
    properties:
      page:
@@ -3752,6 +3755,9 @@
      pageSize:
        description: 每页大小
        type: integer
      saleChanceId:
        description: 销售机会id
        type: integer
    type: object
  request.GetSalesLeadsList:
    properties:
@@ -3780,6 +3786,8 @@
      pageSize:
        description: 每页大小
        type: integer
      sourceId:
        type: integer
    type: object
  request.GetSalesReturnList:
    properties:
@@ -3793,9 +3801,29 @@
      pageSize:
        description: 每页大小
        type: integer
      sourceId:
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.SalesReturnSourceType'
        description: 源单类型(1销售明细)
    type: object
  request.GetServiceCollectionPlanList:
    properties:
      sourceId:
        type: integer
      sourceType:
        $ref: '#/definitions/constvar.CollectionSourceType'
    required:
    - sourceId
    - sourceType
    type: object
  request.GetServiceContractList:
    properties:
      contactId:
        description: 联系人id
        type: integer
      keyword:
        type: string
      keywordType:
@@ -3808,6 +3836,15 @@
        type: integer
      queryClass:
        $ref: '#/definitions/constvar.ServiceContractQueryClass'
      quotationId:
        description: 报价单id
        type: integer
      saleChanceId:
        description: 销售机会id
        type: integer
      salesDetailsId:
        description: 合同订单id
        type: integer
    type: object
  request.GetServiceFeeManageList:
    properties:
@@ -8373,33 +8410,14 @@
      tags:
      - 销售发票
  /api/invoice/list:
    get:
    post:
      parameters:
      - in: query
        name: keyword
        type: string
      - enum:
        - ""
        in: query
        name: keywordType
        type: string
        x-enum-varnames:
        - InvoiceKeywordCustomerName
      - description: 页码
        in: query
        name: page
        type: integer
      - description: 每页大小
        in: query
        name: pageSize
        type: integer
      - enum:
        - ""
        in: query
        name: queryClass
        type: string
        x-enum-varnames:
        - InvoiceQueryClassExpireLessThen60Days
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetInvoiceList'
      produces:
      - application/json
      responses:
@@ -9724,6 +9742,10 @@
  /api/receipt/list:
    get:
      parameters:
      - description: 客户id
        in: query
        name: clientId
        type: integer
      - description: 页码
        in: query
        name: page
@@ -9735,7 +9757,8 @@
      - in: query
        name: sourceId
        type: integer
      - enum:
      - description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        enum:
        - 1
        - 2
        - 3
@@ -11155,25 +11178,14 @@
      tags:
      - 收款计划管理
  /api/serviceCollectionPlan/list:
    get:
    post:
      parameters:
      - in: query
        name: sourceId
      - description: 参数
        in: body
        name: object
        required: true
        type: integer
      - enum:
        - 1
        - 2
        in: query
        name: sourceType
        required: true
        type: integer
        x-enum-comments:
          CollectionSourceTypeSaleDetails: 销售明细
          CollectionSourceTypeServiceContract: 服务合同
        x-enum-varnames:
        - CollectionSourceTypeSaleDetails
        - CollectionSourceTypeServiceContract
        schema:
          $ref: '#/definitions/request.GetServiceCollectionPlanList'
      produces:
      - application/json
      responses: