| | |
| | | "ReceiptSourceTypeChuKuDan" |
| | | ] |
| | | }, |
| | | "constvar.RefundSourceType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1 |
| | | ], |
| | | "x-enum-comments": { |
| | | "RefundSourceTypeSalesReturn": "销售退货" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "RefundSourceTypeSalesReturn" |
| | | ] |
| | | }, |
| | | "constvar.SalesDetailsKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | |
| | | "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": { |
| | | "bankAccount": { |
| | | "$ref": "#/definitions/model.BankAccount" |
| | | }, |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "paymentType": { |
| | | "$ref": "#/definitions/model.PaymentType" |
| | | }, |
| | | "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", |
| | |
| | | "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" |