| | |
| | | "ReceiptSourceTypeChuKuDan" |
| | | ] |
| | | }, |
| | | "constvar.RefundSourceType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1 |
| | | ], |
| | | "x-enum-comments": { |
| | | "RefundSourceTypeSalesReturn": "销售退货" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "RefundSourceTypeSalesReturn" |
| | | ] |
| | | }, |
| | | "constvar.SalesDetailsKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | |
| | | "SalesDetailsKeywordTypeSignTime", |
| | | "SalesDetailsKeywordTypePrincipal", |
| | | "SalesDetailsKeywordTypeProductName" |
| | | ] |
| | | }, |
| | | "constvar.SalesRefundKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "销售退货单编号", |
| | | "客户名称", |
| | | "退款日期", |
| | | "账户", |
| | | "是否开票", |
| | | "付款方式", |
| | | "销售负责人", |
| | | "修改时间", |
| | | "价税合计" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "SalesRefundKeywordRefundNumber", |
| | | "SalesRefundKeywordClientName", |
| | | "SalesRefundKeywordRefundDate", |
| | | "SalesRefundKeywordAccount", |
| | | "SalesRefundKeywordIsInvoice", |
| | | "SalesRefundKeywordPaymentType", |
| | | "SalesRefundKeywordPrincipal", |
| | | "SalesRefundKeywordUpdateAt", |
| | | "SalesRefundKeywordPriceTotal" |
| | | ] |
| | | }, |
| | | "constvar.SalesReturnSourceType": { |
| | |
| | | "description": "收款金额", |
| | | "type": "number" |
| | | }, |
| | | "bankAccount": { |
| | | "$ref": "#/definitions/model.BankAccount" |
| | | }, |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | |
| | | "description": "币种", |
| | | "type": "string" |
| | | }, |
| | | "paymentType": { |
| | | "$ref": "#/definitions/model.PaymentType" |
| | | }, |
| | | "paymentTypeId": { |
| | | "description": "收款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "principal": { |
| | | "description": "负责人id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | ] |
| | | }, |
| | | "principalId": { |
| | | "description": "负责人id", |
| | |
| | | "model.SalesRefund": { |
| | | "type": "object", |
| | | "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": { |
| | | "type": "array", |
| | |
| | | "refundDate": { |
| | | "type": "string" |
| | | }, |
| | | "refundMethod": { |
| | | "type": "string" |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.RefundSourceType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "收款金额", |
| | | "type": "number" |
| | | }, |
| | | "bankAccount": { |
| | | "$ref": "#/definitions/model.BankAccount" |
| | | }, |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | |
| | | "description": "币种", |
| | | "type": "string" |
| | | }, |
| | | "paymentType": { |
| | | "$ref": "#/definitions/model.PaymentType" |
| | | }, |
| | | "paymentTypeId": { |
| | | "description": "收款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "principal": { |
| | | "description": "负责人id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | ] |
| | | }, |
| | | "principalId": { |
| | | "description": "负责人id", |
| | |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "keywordType": { |
| | | "$ref": "#/definitions/constvar.SalesRefundKeywordType" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | |
| | | "request.SalesRefund": { |
| | | "type": "object", |
| | | "properties": { |
| | | "accountId": { |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "clientId": { |
| | |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "paymentTypeId": { |
| | | "description": "收款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | | "items": { |
| | |
| | | "refundDate": { |
| | | "type": "string" |
| | | }, |
| | | "refundMethod": { |
| | | "type": "string" |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.RefundSourceType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "收款金额", |
| | | "type": "number" |
| | | }, |
| | | "bankAccount": { |
| | | "$ref": "#/definitions/model.BankAccount" |
| | | }, |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | |
| | | "description": "币种", |
| | | "type": "string" |
| | | }, |
| | | "paymentType": { |
| | | "$ref": "#/definitions/model.PaymentType" |
| | | }, |
| | | "paymentTypeId": { |
| | | "description": "收款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "principal": { |
| | | "description": "负责人id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | ] |
| | | }, |
| | | "principalId": { |
| | | "description": "负责人id", |
| | | "type": "integer" |