| | |
| | | "BankAccountQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.CollectionStatus": { |
| | | "constvar.CollectionSourceType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2 |
| | | ], |
| | | "x-enum-comments": { |
| | | "CollectionSourceTypeSaleDetails": "销售明细", |
| | | "CollectionSourceTypeServiceContract": "服务合同" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "CollectionSourceTypeSaleDetails", |
| | | "CollectionSourceTypeServiceContract" |
| | | ] |
| | | }, |
| | | "constvar.CollectionStatus": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2, |
| | | 3 |
| | | ], |
| | | "x-enum-comments": { |
| | | "CollectionStatusCollected": "已收款", |
| | | "CollectionStatusSubCollected": "部分收款", |
| | | "CollectionStatusUnCollected": "待收款" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "CollectionStatusUnCollected", |
| | | "CollectionStatusSubCollected", |
| | | "CollectionStatusCollected" |
| | | ] |
| | | }, |
| | |
| | | "ReceiptQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.ReceiptSourceType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4, |
| | | 5 |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ReceiptSourceTypeSalesDetails", |
| | | "ReceiptSourceTypeServiceContract", |
| | | "ReceiptSourceTypeInvoice", |
| | | "ReceiptSourceTypeCollectionPlan", |
| | | "ReceiptSourceTypeChuKuDan" |
| | | ] |
| | | }, |
| | | "constvar.SalesDetailsKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | |
| | | "SalesDetailsKeywordTypeSignTime", |
| | | "SalesDetailsKeywordTypePrincipal", |
| | | "SalesDetailsKeywordTypeProductName" |
| | | ] |
| | | }, |
| | | "constvar.SalesReturnSourceType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1 |
| | | ], |
| | | "x-enum-comments": { |
| | | "SalesReturnSourceTypeSaleDetails": "销售明细" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "SalesReturnSourceTypeSaleDetails" |
| | | ] |
| | | }, |
| | | "constvar.SalesStatus": { |
| | |
| | | "properties": { |
| | | "amount": { |
| | | "description": "收款金额", |
| | | "type": "string" |
| | | "type": "number" |
| | | }, |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | |
| | | }, |
| | | "sourceType": { |
| | | "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)", |
| | | "type": "integer" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.ReceiptSourceType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | |
| | | "model.SalesDetails": { |
| | | "type": "object", |
| | | "properties": { |
| | | "Member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "address": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "description": "已收金额", |
| | | "type": "number" |
| | | }, |
| | | "amountTotal": { |
| | | "description": "价税合计", |
| | | "type": "number" |
| | | }, |
| | | "amountUnInvoiced": { |
| | | "description": "未开票金额", |
| | | "type": "number" |
| | |
| | | "type": "integer" |
| | | }, |
| | | "conditions": { |
| | | "type": "string" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorId": { |
| | | "type": "integer" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "deliveryDate": { |
| | |
| | | "model.SalesReturn": { |
| | | "type": "object", |
| | | "properties": { |
| | | "Member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "SalesReturnStatus": { |
| | | "description": "退货状态", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.SalesReturnStatus" |
| | | } |
| | | ] |
| | | }, |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "description": "退货产品", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "reason": { |
| | | "description": "退货原因", |
| | | "type": "string" |
| | | }, |
| | | "repository": { |
| | | "type": "string" |
| | | }, |
| | | "returnDate": { |
| | | "description": "退货日期", |
| | | "type": "string" |
| | | }, |
| | | "salesReturnStatus": { |
| | | "salesReturnStatusId": { |
| | | "description": "退货状态id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "源单类型(1销售明细)", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.SalesReturnSourceType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "金额", |
| | | "type": "number" |
| | | }, |
| | | "amountReceivable": { |
| | | "description": "应收金额", |
| | | "type": "number" |
| | | }, |
| | | "amountReceived": { |
| | | "description": "已收金额", |
| | | "type": "number" |
| | | }, |
| | | "amountTotal": { |
| | | "description": "总额", |
| | | "type": "number" |
| | | }, |
| | | "collectionDate": { |
| | | "description": "计划收款日期", |
| | | "type": "string" |
| | |
| | | }, |
| | | "sourceType": { |
| | | "description": "源单类型(1销售明细2服务合同3销售发票)", |
| | | "type": "integer" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.CollectionSourceType" |
| | | } |
| | | ] |
| | | }, |
| | | "status": { |
| | | "description": "状态(1未收2已收)", |
| | | "description": "状态(1未收2部分已收3已收)", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.CollectionStatus" |
| | |
| | | }, |
| | | "amountReceived": { |
| | | "description": "已收金额", |
| | | "type": "number" |
| | | }, |
| | | "amountTotal": { |
| | | "description": "价税合计", |
| | | "type": "number" |
| | | }, |
| | | "amountUnInvoiced": { |
| | |
| | | "serviceOrderStatus": { |
| | | "$ref": "#/definitions/model.ServiceOrderStatus" |
| | | }, |
| | | "serviceOrderStatusId": { |
| | | "description": "处理状态", |
| | | "type": "integer" |
| | | }, |
| | | "serviceType": { |
| | | "$ref": "#/definitions/model.ServiceType" |
| | | }, |
| | |
| | | "solutionRemark": { |
| | | "description": "内部备注", |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "description": "处理状态", |
| | | "type": "integer" |
| | | }, |
| | | "subject": { |
| | | "description": "主题", |
| | |
| | | "properties": { |
| | | "amount": { |
| | | "description": "收款金额", |
| | | "type": "string" |
| | | "type": "number" |
| | | }, |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | |
| | | }, |
| | | "sourceType": { |
| | | "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)", |
| | | "type": "integer" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.ReceiptSourceType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "description": "退货产品", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "reason": { |
| | | "description": "退货原因", |
| | | "type": "string" |
| | | }, |
| | | "repository": { |
| | | "type": "string" |
| | | }, |
| | | "returnDate": { |
| | | "description": "退货日期", |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "salesReturnStatusId": { |
| | | "description": "退货状态id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "源单类型(1销售明细)", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.SalesReturnSourceType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | |
| | | "properties": { |
| | | "amount": { |
| | | "description": "收款金额", |
| | | "type": "string" |
| | | "type": "number" |
| | | }, |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | |
| | | }, |
| | | "sourceType": { |
| | | "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)", |
| | | "type": "integer" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.ReceiptSourceType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "金额", |
| | | "type": "number" |
| | | }, |
| | | "amountReceivable": { |
| | | "description": "应收金额", |
| | | "type": "number" |
| | | }, |
| | | "amountReceived": { |
| | | "description": "已收金额", |
| | | "type": "number" |
| | | }, |
| | | "amountTotal": { |
| | | "description": "总额", |
| | | "type": "number" |
| | | }, |
| | | "collectionDate": { |
| | | "description": "计划收款日期", |
| | | "type": "string" |
| | |
| | | }, |
| | | "sourceType": { |
| | | "description": "源单类型(1销售明细2服务合同3销售发票)", |
| | | "type": "integer" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.CollectionSourceType" |
| | | } |
| | | ] |
| | | }, |
| | | "status": { |
| | | "description": "状态(1未收2已收)", |
| | | "description": "状态(1未收2部分已收3已收)", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.CollectionStatus" |