| | |
| | | - 5 |
| | | - 6 |
| | | - 7 |
| | | - 8 |
| | | type: integer |
| | | x-enum-comments: |
| | | LocationTypeCustomer: 客户位置 |
| | |
| | | - LocationTypeInventoryLoss |
| | | - LocationTypeProduction |
| | | - LocationTypeTransit |
| | | - LocationTypeDisuse |
| | | constvar.MaterialMode: |
| | | enum: |
| | | - 原材料 |
| | |
| | | description: 备注 |
| | | type: string |
| | | type: object |
| | | request.AddDisuse: |
| | | properties: |
| | | amount: |
| | | type: number |
| | | fromLocationId: |
| | | type: integer |
| | | productId: |
| | | type: string |
| | | productName: |
| | | type: string |
| | | sourceNumber: |
| | | type: string |
| | | toLocationId: |
| | | type: integer |
| | | unit: |
| | | type: string |
| | | type: object |
| | | request.AddOperation: |
| | | properties: |
| | | comment: |
| | |
| | | sourceNumber: |
| | | type: string |
| | | type: object |
| | | request.QueryDisuseList: |
| | | properties: |
| | | number: |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | sourceNumber: |
| | | type: string |
| | | type: object |
| | | request.QueryOperationList: |
| | | properties: |
| | | page: |
| | |
| | | type: integer |
| | | remark: |
| | | description: 备注 |
| | | type: string |
| | | type: object |
| | | request.UpdateDisuse: |
| | | properties: |
| | | amount: |
| | | type: number |
| | | fromLocationId: |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | operationDate: |
| | | type: string |
| | | productId: |
| | | type: string |
| | | productName: |
| | | type: string |
| | | sourceNumber: |
| | | type: string |
| | | status: |
| | | $ref: '#/definitions/constvar.OperationStatus' |
| | | toLocationId: |
| | | type: integer |
| | | unit: |
| | | type: string |
| | | type: object |
| | | request.UpdateOperation: |
| | |
| | | summary: 编辑作业类型 |
| | | tags: |
| | | - 业务类型 |
| | | /api-wms/v1/product/addDisuse: |
| | | post: |
| | | parameters: |
| | | - description: 入库/出库信息 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddDisuse' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 添加报废信息 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/addProduct: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 删除产品类型 |
| | | tags: |
| | | - 产品类型 |
| | | /api-wms/v1/product/finishDisuse/{id}: |
| | | put: |
| | | parameters: |
| | | - description: id |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 验证报废 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/getProductCategoryDetails/{id}: |
| | | get: |
| | | parameters: |
| | |
| | | summary: 获取产品列表 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/listDisuse: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.QueryDisuseList' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 报废列表 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/listOperaton: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 产品历史出入库信息 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/updateDisuse: |
| | | post: |
| | | parameters: |
| | | - description: 入库/出库信息 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateDisuse' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 修改报废信息 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/updateProduct: |
| | | post: |
| | | parameters: |