| | |
| | | uuid: |
| | | type: string |
| | | type: object |
| | | product.Product: |
| | | properties: |
| | | Amount: |
| | | description: 库存剩余量 |
| | | type: number |
| | | IsSale: |
| | | description: 是否销售 |
| | | type: boolean |
| | | MaterialMode: |
| | | description: 物料类型 |
| | | type: string |
| | | MinInventory: |
| | | description: 安全库存 |
| | | type: integer |
| | | Name: |
| | | type: string |
| | | Number: |
| | | type: string |
| | | PurchaseType: |
| | | description: 采购类型 |
| | | type: string |
| | | SalePrice: |
| | | description: 销售价格 |
| | | type: number |
| | | Unit: |
| | | type: string |
| | | type: object |
| | | request.AddAccountId: |
| | | properties: |
| | | name: |
| | |
| | | summary: 更新优先级别 |
| | | tags: |
| | | - 优先级别管理 |
| | | /api/product/info: |
| | | get: |
| | | parameters: |
| | | - description: 参数 |
| | | in: query |
| | | name: productNumber |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/product.Product' |
| | | type: object |
| | | summary: 获取产品详情 |
| | | tags: |
| | | - 产品 |
| | | /api/product/list: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | | name: ProductName |
| | | type: string |
| | | - in: query |
| | | name: ProductNumber |
| | | type: string |
| | | - in: query |
| | | name: page |
| | | type: integer |
| | | - in: query |
| | | name: pageSize |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/product.Product' |
| | | type: array |
| | | type: object |
| | | summary: 获取产品列表 |
| | | tags: |
| | | - 产品 |
| | | /api/province/add: |
| | | post: |
| | | parameters: |