| | |
| | | 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: |
| | |
| | | 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.RefundSourceType: |
| | | enum: |
| | | - 1 |
| | | type: integer |
| | | x-enum-comments: |
| | | RefundSourceTypeSalesReturn: 销售退货 |
| | | x-enum-varnames: |
| | | - RefundSourceTypeSalesReturn |
| | | constvar.SalesDetailsKeywordType: |
| | | enum: |
| | | - 客户名称 |
| | |
| | | - SalesDetailsKeywordTypeSignTime |
| | | - SalesDetailsKeywordTypePrincipal |
| | | - SalesDetailsKeywordTypeProductName |
| | | constvar.SalesRefundKeywordType: |
| | | enum: |
| | | - 销售退货单编号 |
| | | - 客户名称 |
| | | - 退款日期 |
| | | - 账户 |
| | | - 是否开票 |
| | | - 付款方式 |
| | | - 销售负责人 |
| | | - 修改时间 |
| | | - 价税合计 |
| | | type: string |
| | | x-enum-varnames: |
| | | - SalesRefundKeywordRefundNumber |
| | | - SalesRefundKeywordClientName |
| | | - SalesRefundKeywordRefundDate |
| | | - SalesRefundKeywordAccount |
| | | - SalesRefundKeywordIsInvoice |
| | | - SalesRefundKeywordPaymentType |
| | | - SalesRefundKeywordPrincipal |
| | | - SalesRefundKeywordUpdateAt |
| | | - SalesRefundKeywordPriceTotal |
| | | constvar.SalesReturnSourceType: |
| | | enum: |
| | | - 1 |
| | | type: integer |
| | | x-enum-comments: |
| | | SalesReturnSourceTypeSaleDetails: 销售明细 |
| | | x-enum-varnames: |
| | | - SalesReturnSourceTypeSaleDetails |
| | | constvar.SalesStatus: |
| | | enum: |
| | | - 0 |
| | |
| | | type: object |
| | | model.Receipt: |
| | | properties: |
| | | amount: |
| | | description: 收款金额 |
| | | type: number |
| | | bankAccount: |
| | | $ref: '#/definitions/model.BankAccount' |
| | | bankAccountId: |
| | | description: 账户id |
| | | type: integer |
| | |
| | | moneyType: |
| | | description: 币种 |
| | | type: string |
| | | paymentType: |
| | | $ref: '#/definitions/model.PaymentType' |
| | | paymentTypeId: |
| | | description: 收款方式ID |
| | | type: integer |
| | | principal: |
| | | allOf: |
| | | - $ref: '#/definitions/model.User' |
| | | description: 负责人id |
| | | principalId: |
| | | description: 负责人id |
| | | type: integer |
| | |
| | | description: 源单id |
| | | type: integer |
| | | sourceType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.ReceiptSourceType' |
| | | description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单) |
| | | type: integer |
| | | type: object |
| | | model.RefundMethod: |
| | | properties: |
| | |
| | | type: object |
| | | model.SalesDetails: |
| | | properties: |
| | | Member: |
| | | $ref: '#/definitions/model.User' |
| | | address: |
| | | type: string |
| | | addressee: |
| | |
| | | amountReceived: |
| | | description: 已收金额 |
| | | type: number |
| | | amountTotal: |
| | | description: 价税合计 |
| | | type: number |
| | | amountUnInvoiced: |
| | | description: 未开票金额 |
| | | type: number |
| | |
| | | clientId: |
| | | type: integer |
| | | conditions: |
| | | type: string |
| | | createTime: |
| | | type: string |
| | | creatorId: |
| | | type: integer |
| | | creatorName: |
| | | type: string |
| | | deliveryDate: |
| | | type: string |
| | |
| | | type: object |
| | | model.SalesRefund: |
| | | properties: |
| | | accountId: |
| | | amountTotal: |
| | | description: 价税合计 |
| | | type: number |
| | | bankAccount: |
| | | $ref: '#/definitions/model.BankAccount' |
| | | bankAccountId: |
| | | description: 账户id |
| | | type: integer |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | | type: integer |
| | | createTime: |
| | | type: string |
| | | creatorName: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | isInvoice: |
| | | type: integer |
| | | member: |
| | | $ref: '#/definitions/model.User' |
| | | memberId: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | paymentType: |
| | | $ref: '#/definitions/model.PaymentType' |
| | | paymentTypeId: |
| | | description: 收款方式ID |
| | | type: integer |
| | | products: |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | |
| | | type: string |
| | | refundDate: |
| | | type: string |
| | | refundMethod: |
| | | type: string |
| | | sourceId: |
| | | description: 源单id |
| | | type: integer |
| | | sourceType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.RefundSourceType' |
| | | description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单) |
| | | 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: |
| | |
| | | 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: |
| | |
| | | properties: |
| | | amount: |
| | | description: 金额 |
| | | type: number |
| | | amountReceivable: |
| | | description: 应收金额 |
| | | type: number |
| | | amountReceived: |
| | | description: 已收金额 |
| | | type: number |
| | | amountTotal: |
| | | description: 总额 |
| | | type: number |
| | | collectionDate: |
| | | description: 计划收款日期 |
| | |
| | | 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 |
| | |
| | | type: number |
| | | amountReceived: |
| | | description: 已收金额 |
| | | type: number |
| | | amountTotal: |
| | | description: 价税合计 |
| | | type: number |
| | | amountUnInvoiced: |
| | | description: 未开票金额 |
| | |
| | | type: object |
| | | request.AddReceipt: |
| | | properties: |
| | | amount: |
| | | description: 收款金额 |
| | | type: number |
| | | bankAccount: |
| | | $ref: '#/definitions/model.BankAccount' |
| | | bankAccountId: |
| | | description: 账户id |
| | | type: integer |
| | |
| | | moneyType: |
| | | description: 币种 |
| | | type: string |
| | | paymentType: |
| | | $ref: '#/definitions/model.PaymentType' |
| | | paymentTypeId: |
| | | description: 收款方式ID |
| | | type: integer |
| | | principal: |
| | | allOf: |
| | | - $ref: '#/definitions/model.User' |
| | | description: 负责人id |
| | | principalId: |
| | | description: 负责人id |
| | | type: integer |
| | |
| | | description: 源单id |
| | | type: integer |
| | | sourceType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.ReceiptSourceType' |
| | | description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单) |
| | | type: integer |
| | | type: object |
| | | request.AddRefundMethod: |
| | | properties: |
| | |
| | | properties: |
| | | keyword: |
| | | type: string |
| | | keywordType: |
| | | $ref: '#/definitions/constvar.SalesRefundKeywordType' |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | |
| | | type: object |
| | | request.SalesRefund: |
| | | properties: |
| | | accountId: |
| | | bankAccountId: |
| | | description: 账户id |
| | | type: integer |
| | | clientId: |
| | | type: integer |
| | |
| | | type: integer |
| | | number: |
| | | type: string |
| | | paymentTypeId: |
| | | description: 收款方式ID |
| | | type: integer |
| | | products: |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | |
| | | type: string |
| | | refundDate: |
| | | type: string |
| | | refundMethod: |
| | | type: string |
| | | sourceId: |
| | | description: 源单id |
| | | type: integer |
| | | sourceType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.RefundSourceType' |
| | | description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单) |
| | | type: object |
| | | request.SalesReturn: |
| | | properties: |
| | |
| | | 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: |
| | |
| | | type: object |
| | | request.UpdateReceipt: |
| | | properties: |
| | | amount: |
| | | description: 收款金额 |
| | | type: number |
| | | bankAccount: |
| | | $ref: '#/definitions/model.BankAccount' |
| | | bankAccountId: |
| | | description: 账户id |
| | | type: integer |
| | |
| | | moneyType: |
| | | description: 币种 |
| | | type: string |
| | | paymentType: |
| | | $ref: '#/definitions/model.PaymentType' |
| | | paymentTypeId: |
| | | description: 收款方式ID |
| | | type: integer |
| | | principal: |
| | | allOf: |
| | | - $ref: '#/definitions/model.User' |
| | | description: 负责人id |
| | | principalId: |
| | | description: 负责人id |
| | | type: integer |
| | |
| | | description: 源单id |
| | | type: integer |
| | | sourceType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.ReceiptSourceType' |
| | | description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单) |
| | | type: integer |
| | | type: object |
| | | request.UpdateRefundMethod: |
| | | properties: |
| | |
| | | amount: |
| | | description: 金额 |
| | | type: number |
| | | amountReceivable: |
| | | description: 应收金额 |
| | | type: number |
| | | amountReceived: |
| | | description: 已收金额 |
| | | type: number |
| | | amountTotal: |
| | | description: 总额 |
| | | type: number |
| | | collectionDate: |
| | | description: 计划收款日期 |
| | | type: string |
| | |
| | | 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 |