| | |
| | | required: |
| | | - ids |
| | | type: object |
| | | request.ConfirmOutput: |
| | | properties: |
| | | products: |
| | | items: |
| | | $ref: '#/definitions/request.ConfirmOutputProducts' |
| | | type: array |
| | | saleDetailNumber: |
| | | type: string |
| | | type: object |
| | | request.ConfirmOutputProducts: |
| | | properties: |
| | | number: |
| | | description: 产品编号 |
| | | type: string |
| | | outputAmount: |
| | | description: 本次发货数量 |
| | | type: number |
| | | type: object |
| | | request.Contact: |
| | | properties: |
| | | birthday: |
| | |
| | | items: |
| | | $ref: '#/definitions/response.OutsourcingInfo' |
| | | type: array |
| | | productInfo: |
| | | items: |
| | | $ref: '#/definitions/response.SalesDetailsProductInfo' |
| | | type: array |
| | | purchaseInfo: |
| | | items: |
| | | $ref: '#/definitions/response.Purchase' |
| | |
| | | items: |
| | | $ref: '#/definitions/model.SaleType' |
| | | type: array |
| | | type: object |
| | | response.SalesDetailsProductInfo: |
| | | properties: |
| | | amount: |
| | | description: 订单数量 |
| | | type: number |
| | | cost: |
| | | description: 产品成本 |
| | | type: string |
| | | deliveryAmount: |
| | | description: 发货数量 |
| | | type: integer |
| | | finishAmount: |
| | | description: 完成数量 |
| | | type: integer |
| | | makeAmount: |
| | | description: 制造数量 |
| | | type: integer |
| | | makeFinishAmount: |
| | | description: 制造完成数量 |
| | | type: integer |
| | | margin: |
| | | description: 毛利率 |
| | | type: string |
| | | outsourcingAmount: |
| | | description: 委外数量 |
| | | type: integer |
| | | outsourcingFinishAmount: |
| | | description: 委外完成数量 |
| | | type: integer |
| | | price: |
| | | description: 产品价格 |
| | | type: number |
| | | productId: |
| | | type: string |
| | | productName: |
| | | type: string |
| | | profit: |
| | | description: 毛利 |
| | | type: string |
| | | purchaseAmount: |
| | | description: 采购数量 |
| | | type: integer |
| | | purchaseFinishAmount: |
| | | description: 采购完成数量 |
| | | type: integer |
| | | specs: |
| | | description: 物料规格 |
| | | type: string |
| | | total: |
| | | description: 产品总价 |
| | | type: number |
| | | unit: |
| | | description: 单位 |
| | | type: string |
| | | type: object |
| | | response.SalesDetailsResponse: |
| | | properties: |
| | |
| | | summary: 添加销售明细 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/confirmOutput: |
| | | post: |
| | | parameters: |
| | | - description: 明细编码 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.ConfirmOutput' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/response.ListResponse' |
| | | summary: 确认发货 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/delete: |
| | | delete: |
| | | parameters: |
| | |
| | | schema: |
| | | $ref: '#/definitions/response.ListResponse' |
| | | summary: 获取产品发货信息 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/getSalesDetailsProductInfo/{number}: |
| | | get: |
| | | parameters: |
| | | - description: 明细编码 |
| | | in: path |
| | | name: number |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/response.ListResponse' |
| | | summary: 获取销售明细产品信息 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/list: |