| | |
| | | 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 |
| | |
| | | - ServiceFollowupKeywordCustomerServiceNo |
| | | - ServiceFollowupKeywordVisitor |
| | | - ServiceFollowupKeywordSatisfactionDegree |
| | | constvar.ServiceOrderKeywordType: |
| | | enum: |
| | | - 服务单编号 |
| | | - 主题 |
| | | - 客户名称 |
| | | - 实际处理时间 |
| | | - 服务人员 |
| | | - 服务方式 |
| | | - 产品类别 |
| | | - 故障类别 |
| | | type: string |
| | | x-enum-varnames: |
| | | - ServiceOrderKeywordOrderNumber |
| | | - ServiceOrderKeywordSubject |
| | | - ServiceOrderKeywordClientName |
| | | - ServiceOrderKeywordRealProcessTime |
| | | - ServiceOrderKeywordServiceMan |
| | | - ServiceOrderKeywordServiceType |
| | | - ServiceOrderKeywordProductType |
| | | - ServiceOrderKeywordFaultType |
| | | constvar.ServiceOrderQueryClass: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - ServiceOrderQueryClassExpireLessThen60Days |
| | | constvar.ServiceOrderStatusKeywordType: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - ServiceOrderStatusKeywordCustomerName |
| | | constvar.ServiceOrderStatusQueryClass: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - ServiceOrderStatusQueryClassExpireLessThen60Days |
| | | constvar.UserType: |
| | | enum: |
| | | - 1 |
| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.CollectionProjection: |
| | | properties: |
| | | _: |
| | | description: |- |
| | | The date when the item was deleted |
| | | example: 2023-08-10 15:48:25 |
| | | type: string |
| | | created_at: |
| | | description: |- |
| | | The date when the item was created |
| | | example: 2023-08-10 15:48:25 |
| | | type: string |
| | | creator: |
| | | type: integer |
| | | estimated_collection_amount: |
| | | type: number |
| | | estimated_collection_date: |
| | | type: string |
| | | id: |
| | | description: |- |
| | | The ID of the item |
| | | example: 1 |
| | | type: integer |
| | | modifier: |
| | | type: integer |
| | | sale_chance_id: |
| | | type: integer |
| | | updated_at: |
| | | description: |- |
| | | The date when the item was last updated |
| | | example: 2023-08-10 15:48:25 |
| | | type: string |
| | | type: object |
| | | model.Contact: |
| | | properties: |
| | | birthday: |
| | |
| | | type: integer |
| | | is_first: |
| | | type: boolean |
| | | member: |
| | | $ref: '#/definitions/model.User' |
| | | member_id: |
| | | type: integer |
| | | name: |
| | |
| | | type: integer |
| | | is_first: |
| | | type: boolean |
| | | member: |
| | | $ref: '#/definitions/model.User' |
| | | member_id: |
| | | type: integer |
| | | name: |
| | |
| | | type: object |
| | | model.Contract: |
| | | properties: |
| | | _: |
| | | description: |- |
| | | The date when the item was deleted |
| | | example: 2023-08-10 15:48:25 |
| | | type: string |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | | type: integer |
| | | created_at: |
| | | description: |- |
| | | The date when the item was created |
| | | example: 2023-08-10 15:48:25 |
| | | type: string |
| | | file: |
| | | type: string |
| | | id: |
| | | description: |- |
| | | The ID of the item |
| | | example: 1 |
| | | type: integer |
| | | member: |
| | | $ref: '#/definitions/model.User' |
| | | memberId: |
| | | type: integer |
| | | number: |
| | |
| | | type: integer |
| | | statusId: |
| | | type: integer |
| | | updated_at: |
| | | description: |- |
| | | The date when the item was last updated |
| | | example: 2023-08-10 15:48:25 |
| | | type: string |
| | | type: object |
| | | model.Country: |
| | | properties: |
| | |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.CustomerServiceSheet: |
| | | properties: |
| | | handleStatus: |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | memberId: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | priority: |
| | | type: integer |
| | | serviceFollowupId: |
| | | type: integer |
| | | serviceMode: |
| | | type: integer |
| | | type: object |
| | | model.Department: |
| | | properties: |
| | |
| | | $ref: '#/definitions/model.Client' |
| | | client_id: |
| | | type: integer |
| | | client_status: |
| | | $ref: '#/definitions/model.ClientStatus' |
| | | client_status_id: |
| | | type: integer |
| | | contact: |
| | |
| | | type: string |
| | | record: |
| | | type: string |
| | | sale_chance: |
| | | $ref: '#/definitions/model.SaleChance' |
| | | sale_chance_id: |
| | | type: integer |
| | | sales_leads: |
| | | $ref: '#/definitions/model.SalesLeads' |
| | | sales_leads_id: |
| | | type: integer |
| | | topic: |
| | |
| | | type: string |
| | | id: |
| | | type: integer |
| | | member: |
| | | $ref: '#/definitions/model.User' |
| | | member_id: |
| | | type: integer |
| | | money: |
| | |
| | | type: string |
| | | id: |
| | | type: integer |
| | | member: |
| | | $ref: '#/definitions/model.User' |
| | | member_id: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | products: |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | quotation_status: |
| | | $ref: '#/definitions/model.QuotationStatus' |
| | | quotation_status_id: |
| | | type: integer |
| | | sale_chance: |
| | |
| | | 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: |
| | |
| | | $ref: '#/definitions/model.Client' |
| | | client_id: |
| | | type: integer |
| | | collection_projections: |
| | | items: |
| | | $ref: '#/definitions/model.CollectionProjection' |
| | | type: array |
| | | competitors: |
| | | type: string |
| | | contact: |
| | |
| | | type: string |
| | | key_maker: |
| | | type: string |
| | | member: |
| | | $ref: '#/definitions/model.User' |
| | | member_id: |
| | | type: integer |
| | | name: |
| | |
| | | type: string |
| | | possibilities_id: |
| | | type: integer |
| | | possibility: |
| | | $ref: '#/definitions/model.Possibility' |
| | | process: |
| | | type: string |
| | | projected_amount: |
| | |
| | | $ref: '#/definitions/model.Region' |
| | | region_id: |
| | | type: integer |
| | | regular_customers: |
| | | $ref: '#/definitions/model.RegularCustomers' |
| | | regular_customers_id: |
| | | type: integer |
| | | remark: |
| | | type: string |
| | | sale_stage: |
| | | $ref: '#/definitions/model.SaleStage' |
| | | sale_stage_id: |
| | | type: integer |
| | | sale_type: |
| | | $ref: '#/definitions/model.SaleType' |
| | | sale_type_id: |
| | | type: integer |
| | | sales_sources: |
| | | $ref: '#/definitions/model.SalesSources' |
| | | sales_sources_id: |
| | | type: integer |
| | | salesSources: |
| | | $ref: '#/definitions/model.SalesSources' |
| | | solutions: |
| | | type: string |
| | | status_id: |
| | |
| | | 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 |
| | |
| | | $ref: '#/definitions/model.Region' |
| | | region_id: |
| | | type: integer |
| | | sales_sources: |
| | | $ref: '#/definitions/model.SalesSources' |
| | | sales_sources_id: |
| | | type: integer |
| | | sales_status: |
| | |
| | | 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 |
| | |
| | | amountReceived: |
| | | description: 已收金额 |
| | | type: number |
| | | amountTotal: |
| | | description: 价税合计 |
| | | type: number |
| | | amountUnInvoiced: |
| | | description: 未开票金额 |
| | | type: number |
| | |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/model.Contact' |
| | | contactId: |
| | | type: integer |
| | | endTime: |
| | |
| | | type: object |
| | | model.ServiceFollowup: |
| | | properties: |
| | | Member: |
| | | $ref: '#/definitions/model.User' |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/model.Contact' |
| | | contactId: |
| | | type: integer |
| | | customerServiceSheet: |
| | | $ref: '#/definitions/model.CustomerServiceSheet' |
| | | file: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | isVisit: |
| | | $ref: '#/definitions/model.IsVisit' |
| | | isVisitId: |
| | | type: integer |
| | | memberId: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | oldMember: |
| | | $ref: '#/definitions/model.User' |
| | | oldMemberId: |
| | | type: integer |
| | | planId: |
| | | type: integer |
| | | remark: |
| | | type: string |
| | | satisfaction: |
| | | $ref: '#/definitions/model.Satisfaction' |
| | | satisfactionId: |
| | | type: integer |
| | | serviceId: |
| | | type: integer |
| | | serviceOrder: |
| | | $ref: '#/definitions/model.ServiceOrder' |
| | | serviceOrderId: |
| | | type: integer |
| | | solveRate: |
| | | $ref: '#/definitions/model.SolveRate' |
| | | solveRateId: |
| | | type: integer |
| | | timelyRate: |
| | | $ref: '#/definitions/model.TimelyRate' |
| | | timelyRateId: |
| | | type: integer |
| | | type: object |
| | |
| | | description: 预约上门时间 |
| | | type: string |
| | | carFare: |
| | | description: 交通费 |
| | | description: 交通费 // |
| | | 交通费 |
| | | type: number |
| | | chargeAmount: |
| | | description: 收费金额 |
| | | description: 收费金额 // |
| | | 收费金额 |
| | | type: number |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | |
| | | $ref: '#/definitions/model.Contact' |
| | | contactId: |
| | | description: 联系人id |
| | | type: integer |
| | | contract: |
| | | $ref: '#/definitions/model.Contract' |
| | | contractId: |
| | | description: 合同id |
| | | type: integer |
| | | expectTime: |
| | | description: 希望处理时间 |
| | |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | orderId: |
| | | description: 销售订单id |
| | | type: integer |
| | | orderManage: |
| | | $ref: '#/definitions/model.OrderManage' |
| | | priorityLevel: |
| | | $ref: '#/definitions/model.PriorityLevel' |
| | | priorityLevelId: |
| | |
| | | saleChanceId: |
| | | description: 销售机会id |
| | | type: integer |
| | | salesDetails: |
| | | $ref: '#/definitions/model.SalesDetails' |
| | | salesDetailsId: |
| | | description: 销售明细id |
| | | type: integer |
| | | serviceContract: |
| | | $ref: '#/definitions/model.ServiceContract' |
| | | serviceContractId: |
| | | description: 服务合同id |
| | | type: integer |
| | | serviceManId: |
| | | description: 服务人员 |
| | | type: integer |
| | | serviceNumber: |
| | | description: 服务单编号 |
| | | type: string |
| | | serviceOrderStatus: |
| | | $ref: '#/definitions/model.ServiceOrderStatus' |
| | | serviceOrderStatusId: |
| | | description: 处理状态 |
| | | type: integer |
| | | serviceType: |
| | | $ref: '#/definitions/model.ServiceType' |
| | | serviceTypeId: |
| | |
| | | solutionRemark: |
| | | description: 内部备注 |
| | | type: string |
| | | status: |
| | | description: 处理状态 |
| | | type: integer |
| | | subject: |
| | | description: 主题 |
| | | type: string |
| | |
| | | timeSpentId: |
| | | description: 花费时间 |
| | | type: integer |
| | | type: object |
| | | model.ServiceOrderStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.ServiceType: |
| | | properties: |
| | |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | masterOrder: |
| | | $ref: '#/definitions/model.MasterOrder' |
| | | masterOrderId: |
| | | type: integer |
| | | member: |
| | | $ref: '#/definitions/model.User' |
| | | memberId: |
| | | type: integer |
| | | number: |
| | |
| | | type: integer |
| | | number: |
| | | type: string |
| | | products: |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | quotation_status_id: |
| | | type: integer |
| | | sale_chance_id: |
| | |
| | | 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: |
| | |
| | | type: string |
| | | satisfaction: |
| | | type: integer |
| | | serviceId: |
| | | serviceOrderId: |
| | | type: integer |
| | | solveRate: |
| | | type: integer |
| | |
| | | contactId: |
| | | description: 联系人id |
| | | type: integer |
| | | contractId: |
| | | description: 合同id |
| | | type: integer |
| | | expectTime: |
| | | description: 希望处理时间 |
| | | type: string |
| | |
| | | type: integer |
| | | faultTypeId: |
| | | description: 故障类别id |
| | | type: integer |
| | | orderId: |
| | | description: 销售订单id |
| | | type: integer |
| | | priorityLevelId: |
| | | description: 优先级别id |
| | |
| | | saleChanceId: |
| | | description: 销售机会id |
| | | type: integer |
| | | salesDetailsId: |
| | | description: 销售订单id |
| | | type: integer |
| | | serviceContractId: |
| | | description: 合同id |
| | | type: integer |
| | | serviceManId: |
| | | description: 服务人员 |
| | | type: integer |
| | | serviceNumber: |
| | | description: 服务单编号 |
| | | type: string |
| | | serviceOrderStatusId: |
| | | description: 处理状态 |
| | | type: integer |
| | | serviceTypeId: |
| | | description: 服务方式id |
| | | type: integer |
| | |
| | | solutionRemark: |
| | | description: 内部备注 |
| | | type: string |
| | | status: |
| | | description: 处理状态 |
| | | type: integer |
| | | subject: |
| | | description: 主题 |
| | | type: string |
| | | timeSpentId: |
| | | description: 花费时间 |
| | | type: integer |
| | | type: object |
| | | request.AddServiceOrderStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.AddServiceType: |
| | | properties: |
| | |
| | | type: object |
| | | request.GetContractList: |
| | | properties: |
| | | keyword: |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | search_map: |
| | | additionalProperties: true |
| | | description: '搜索条件: map[string]interface{} {"member_name": "销售负责人", "number": |
| | | "合同编号", "created_at": "创建时间"}' |
| | | type: object |
| | | type: object |
| | | request.GetFaqList: |
| | | properties: |
| | |
| | | type: object |
| | | request.GetMasterOrderList: |
| | | properties: |
| | | keyword: |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | search_map: |
| | | additionalProperties: true |
| | | description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"number": "销售总单号", |
| | | "client_name": "客户名称", "member_name": "销售负责人", "start_time": "开始时间", "end_time": |
| | | "结束时间", "money": "总金额", "member_name": "负责人"}' |
| | | type: object |
| | | type: object |
| | | request.GetOrderManageList: |
| | | properties: |
| | |
| | | type: object |
| | | request.GetQuotationList: |
| | | properties: |
| | | keyword: |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | searchMap: |
| | | additionalProperties: true |
| | | description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"sale_chance_id": |
| | | 销售线索id, "client_name": "客户名称", "member_name": "销售负责人", "contact_name": "联系人", |
| | | "validity_date": "有效期"}' |
| | | type: object |
| | | type: object |
| | | request.GetSaleChanceList: |
| | | properties: |
| | | keyword: |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | search_map: |
| | | additionalProperties: true |
| | | description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"name": "机会名称", |
| | | "client_name": "客户名称","number":"编号", "contact_name":"联系人姓名", "member_name": |
| | | "销售负责人", "status": "状态", "sale_stage": "阶段", "possibilities": "可能性", "expected_time": |
| | | "预计成交时间", "budget": "资金绝对值", "projected_amount": "预计合同金额"}' |
| | | type: object |
| | | type: object |
| | | request.GetSalesDetailsList: |
| | | properties: |
| | |
| | | properties: |
| | | keyword: |
| | | type: string |
| | | keywordType: |
| | | $ref: '#/definitions/constvar.SalesRefundKeywordType' |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | serviceOrderId: |
| | | description: 服务回访单id |
| | | type: integer |
| | | type: object |
| | | request.GetSubOrderList: |
| | | request.GetServiceOrderList: |
| | | properties: |
| | | keyword: |
| | | type: string |
| | | keywordType: |
| | | $ref: '#/definitions/constvar.ServiceOrderKeywordType' |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | queryClass: |
| | | $ref: '#/definitions/constvar.ServiceOrderQueryClass' |
| | | salesDetailsId: |
| | | type: integer |
| | | serviceContractId: |
| | | type: integer |
| | | type: object |
| | | request.GetSubOrderList: |
| | | properties: |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | search_map: |
| | | additionalProperties: true |
| | | description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"number": "销售子单号", |
| | | "client_name": "客户名称", "master_order_number": "销售总单号", "member_name": "销售负责人", |
| | | "master_order_id": "销售总单id"}' |
| | | type: object |
| | | type: object |
| | | request.GetUserList: |
| | | properties: |
| | |
| | | type: string |
| | | subOrderId: |
| | | type: integer |
| | | type: object |
| | | request.PushSaleChance: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | step: |
| | | type: integer |
| | | required: |
| | | - id |
| | | - step |
| | | type: object |
| | | request.PushSalesLeads: |
| | | properties: |
| | |
| | | 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: array |
| | | required: |
| | | - client_types |
| | | type: object |
| | | request.UpdateCollectionProjection: |
| | | properties: |
| | | estimated_collection_amount: |
| | | description: 预计收款金额 |
| | | type: number |
| | | estimated_collection_time: |
| | | description: 预计收款时间 |
| | | type: string |
| | | id: |
| | | type: integer |
| | | type: object |
| | | request.UpdateContact: |
| | | properties: |
| | |
| | | type: integer |
| | | number: |
| | | type: string |
| | | products: |
| | | items: |
| | | $ref: '#/definitions/model.Product' |
| | | type: array |
| | | quotation_status_id: |
| | | type: integer |
| | | sale_chance_id: |
| | |
| | | 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 |
| | |
| | | type: string |
| | | satisfaction: |
| | | type: integer |
| | | serviceId: |
| | | serviceOrderId: |
| | | type: integer |
| | | solveRate: |
| | | type: integer |
| | |
| | | contactId: |
| | | description: 联系人id |
| | | type: integer |
| | | contractId: |
| | | description: 合同id |
| | | type: integer |
| | | expectTime: |
| | | description: 希望处理时间 |
| | | type: string |
| | |
| | | description: 故障类别id |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | orderId: |
| | | description: 销售订单id |
| | | type: integer |
| | | priorityLevelId: |
| | | description: 优先级别id |
| | |
| | | saleChanceId: |
| | | description: 销售机会id |
| | | type: integer |
| | | salesDetailsId: |
| | | description: 销售订单id |
| | | type: integer |
| | | serviceContractId: |
| | | description: 合同id |
| | | type: integer |
| | | serviceManId: |
| | | description: 服务人员 |
| | | type: integer |
| | | serviceNumber: |
| | | description: 服务单编号 |
| | | type: string |
| | | serviceOrderStatusId: |
| | | description: 处理状态 |
| | | type: integer |
| | | serviceTypeId: |
| | | description: 服务方式id |
| | | type: integer |
| | |
| | | solutionRemark: |
| | | description: 内部备注 |
| | | type: string |
| | | status: |
| | | description: 处理状态 |
| | | type: integer |
| | | subject: |
| | | description: 主题 |
| | | type: string |
| | | timeSpentId: |
| | | description: 花费时间 |
| | | type: integer |
| | | type: object |
| | | request.UpdateServiceOrderStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateServiceType: |
| | | properties: |
| | |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加收款预测 |
| | | tags: |
| | | - CollectionProjection |
| | | /api/collectionProjection/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除收款预测 |
| | | tags: |
| | | - CollectionProjection |
| | | /api/collectionProjection/list: |
| | | post: |
| | | parameters: |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 获取收款预测列表 |
| | | tags: |
| | | - CollectionProjection |
| | | /api/collectionProjection/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateCollectionProjection' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新收款预测 |
| | | tags: |
| | | - CollectionProjection |
| | | /api/contact/add: |
| | |
| | | summary: 销售机会列表 |
| | | tags: |
| | | - SaleChance |
| | | /api/saleChance/push: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.PushSaleChance' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 推进销售机会 |
| | | tags: |
| | | - SaleChance |
| | | /api/saleChance/update: |
| | | put: |
| | | parameters: |
| | |
| | | tags: |
| | | - 服务单管理 |
| | | /api/serviceOrder/list: |
| | | get: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.GetServiceOrderList' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | summary: 更新服务单 |
| | | tags: |
| | | - 服务单管理 |
| | | /api/serviceOrderStatus/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddServiceOrderStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加服务单状态 |
| | | tags: |
| | | - 服务单状态 |
| | | /api/serviceOrderStatus/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除服务单状态 |
| | | tags: |
| | | - 服务单状态 |
| | | /api/serviceOrderStatus/list: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | | name: keyword |
| | | type: string |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: keywordType |
| | | type: string |
| | | x-enum-varnames: |
| | | - ServiceOrderStatusKeywordCustomerName |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: queryClass |
| | | type: string |
| | | x-enum-varnames: |
| | | - ServiceOrderStatusQueryClassExpireLessThen60Days |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.ServiceOrderStatus' |
| | | type: array |
| | | type: object |
| | | summary: 获取服务单状态列表 |
| | | tags: |
| | | - 服务单状态 |
| | | /api/serviceOrderStatus/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateServiceOrderStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新服务单状态 |
| | | tags: |
| | | - 服务单状态 |
| | | /api/serviceType/add: |
| | | post: |
| | | parameters: |