zhangqian
2023-08-13 67c554b33cc0550929b6ec4855c52e7ca374ccee
docs/swagger.yaml
@@ -11,16 +11,30 @@
    type: string
    x-enum-varnames:
    - BankAccountQueryClassExpireLessThen60Days
  constvar.CollectionStatus:
  constvar.CollectionSourceType:
    enum:
    - 1
    - 2
    type: integer
    x-enum-comments:
      CollectionSourceTypeSaleDetails: 销售明细
      CollectionSourceTypeServiceContract: 服务合同
    x-enum-varnames:
    - CollectionSourceTypeSaleDetails
    - CollectionSourceTypeServiceContract
  constvar.CollectionStatus:
    enum:
    - 1
    - 2
    - 3
    type: integer
    x-enum-comments:
      CollectionStatusCollected: 已收款
      CollectionStatusSubCollected: 部分收款
      CollectionStatusUnCollected: 待收款
    x-enum-varnames:
    - CollectionStatusUnCollected
    - CollectionStatusSubCollected
    - CollectionStatusCollected
  constvar.CourierCompanyKeywordType:
    enum:
@@ -114,6 +128,20 @@
    type: string
    x-enum-varnames:
    - ReceiptQueryClassExpireLessThen60Days
  constvar.ReceiptSourceType:
    enum:
    - 1
    - 2
    - 3
    - 4
    - 5
    type: integer
    x-enum-varnames:
    - ReceiptSourceTypeSalesDetails
    - ReceiptSourceTypeServiceContract
    - ReceiptSourceTypeInvoice
    - ReceiptSourceTypeCollectionPlan
    - ReceiptSourceTypeChuKuDan
  constvar.SalesDetailsKeywordType:
    enum:
    - 客户名称
@@ -128,6 +156,14 @@
    - SalesDetailsKeywordTypeSignTime
    - SalesDetailsKeywordTypePrincipal
    - SalesDetailsKeywordTypeProductName
  constvar.SalesReturnSourceType:
    enum:
    - 1
    type: integer
    x-enum-comments:
      SalesReturnSourceTypeSaleDetails: 销售明细
    x-enum-varnames:
    - SalesReturnSourceTypeSaleDetails
  constvar.SalesStatus:
    enum:
    - 0
@@ -965,7 +1001,7 @@
    properties:
      amount:
        description: 收款金额
        type: string
        type: number
      bankAccountId:
        description: 账户id
        type: integer
@@ -996,8 +1032,9 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.ReceiptSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        type: integer
    type: object
  model.RefundMethod:
    properties:
@@ -1142,6 +1179,8 @@
    type: object
  model.SalesDetails:
    properties:
      Member:
        $ref: '#/definitions/model.User'
      address:
        type: string
      addressee:
@@ -1155,6 +1194,9 @@
      amountReceived:
        description: 已收金额
        type: number
      amountTotal:
        description: 价税合计
        type: number
      amountUnInvoiced:
        description: 未开票金额
        type: number
@@ -1163,6 +1205,12 @@
      clientId:
        type: integer
      conditions:
        type: string
      createTime:
        type: string
      creatorId:
        type: integer
      creatorName:
        type: string
      deliveryDate:
        type: string
@@ -1271,8 +1319,20 @@
    type: object
  model.SalesReturn:
    properties:
      Member:
        $ref: '#/definitions/model.User'
      SalesReturnStatus:
        allOf:
        - $ref: '#/definitions/model.SalesReturnStatus'
        description: 退货状态
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      createTime:
        type: string
      creatorName:
        type: string
      id:
        type: integer
      memberId:
@@ -1280,17 +1340,28 @@
      number:
        type: string
      products:
        description: 退货产品
        items:
          $ref: '#/definitions/model.Product'
        type: array
      reason:
        description: 退货原因
        type: string
      repository:
        type: string
      returnDate:
        description: 退货日期
        type: string
      salesReturnStatus:
      salesReturnStatusId:
        description: 退货状态id
        type: integer
      sourceId:
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.SalesReturnSourceType'
        description: 源单类型(1销售明细)
    type: object
  model.SalesReturnStatus:
    properties:
@@ -1317,6 +1388,15 @@
    properties:
      amount:
        description: 金额
        type: number
      amountReceivable:
        description: 应收金额
        type: number
      amountReceived:
        description: 已收金额
        type: number
      amountTotal:
        description: 总额
        type: number
      collectionDate:
        description: 计划收款日期
@@ -1345,12 +1425,13 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.CollectionSourceType'
        description: 源单类型(1销售明细2服务合同3销售发票)
        type: integer
      status:
        allOf:
        - $ref: '#/definitions/constvar.CollectionStatus'
        description: 状态(1未收2已收)
        description: 状态(1未收2部分已收3已收)
      term:
        description: 期次
        type: integer
@@ -1367,6 +1448,9 @@
        type: number
      amountReceived:
        description: 已收金额
        type: number
      amountTotal:
        description: 价税合计
        type: number
      amountUnInvoiced:
        description: 未开票金额
@@ -1585,6 +1669,9 @@
        type: string
      serviceOrderStatus:
        $ref: '#/definitions/model.ServiceOrderStatus'
      serviceOrderStatusId:
        description: 处理状态
        type: integer
      serviceType:
        $ref: '#/definitions/model.ServiceType'
      serviceTypeId:
@@ -1598,9 +1685,6 @@
      solutionRemark:
        description: 内部备注
        type: string
      status:
        description: 处理状态
        type: integer
      subject:
        description: 主题
        type: string
@@ -2198,7 +2282,7 @@
    properties:
      amount:
        description: 收款金额
        type: string
        type: number
      bankAccountId:
        description: 账户id
        type: integer
@@ -2229,8 +2313,9 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.ReceiptSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        type: integer
    type: object
  request.AddRefundMethod:
    properties:
@@ -3427,17 +3512,28 @@
      number:
        type: string
      products:
        description: 退货产品
        items:
          $ref: '#/definitions/model.Product'
        type: array
      reason:
        description: 退货原因
        type: string
      repository:
        type: string
      returnDate:
        description: 退货日期
        type: string
      status:
      salesReturnStatusId:
        description: 退货状态id
        type: integer
      sourceId:
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.SalesReturnSourceType'
        description: 源单类型(1销售明细)
    type: object
  request.SetAuthorityMenu:
    properties:
@@ -4148,7 +4244,7 @@
    properties:
      amount:
        description: 收款金额
        type: string
        type: number
      bankAccountId:
        description: 账户id
        type: integer
@@ -4179,8 +4275,9 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.ReceiptSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        type: integer
    type: object
  request.UpdateRefundMethod:
    properties:
@@ -4521,6 +4618,15 @@
      amount:
        description: 金额
        type: number
      amountReceivable:
        description: 应收金额
        type: number
      amountReceived:
        description: 已收金额
        type: number
      amountTotal:
        description: 总额
        type: number
      collectionDate:
        description: 计划收款日期
        type: string
@@ -4548,12 +4654,13 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.CollectionSourceType'
        description: 源单类型(1销售明细2服务合同3销售发票)
        type: integer
      status:
        allOf:
        - $ref: '#/definitions/constvar.CollectionStatus'
        description: 状态(1未收2已收)
        description: 状态(1未收2部分已收3已收)
      term:
        description: 期次
        type: integer