| | |
| | | isScrapLocation: |
| | | description: 是否报废位置 |
| | | type: boolean |
| | | jointName: |
| | | description: 拼接名称 |
| | | type: string |
| | | name: |
| | | description: 位置名称 |
| | | type: string |
| | |
| | | weight: |
| | | description: 重量 |
| | | type: number |
| | | type: object |
| | | models.Operation: |
| | | properties: |
| | | comment: |
| | | type: string |
| | | companyID: |
| | | type: integer |
| | | companyName: |
| | | type: string |
| | | contacterID: |
| | | type: integer |
| | | contacterName: |
| | | type: string |
| | | createTime: |
| | | type: string |
| | | details: |
| | | items: |
| | | $ref: '#/definitions/models.OperationDetails' |
| | | type: array |
| | | fromLocation: |
| | | allOf: |
| | | - $ref: '#/definitions/models.Location' |
| | | description: 源位置 |
| | | fromLocationId: |
| | | description: 源位置id |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | number: |
| | | description: 单号 |
| | | type: string |
| | | operationDate: |
| | | type: string |
| | | operationTypeId: |
| | | description: 作业类型id |
| | | type: integer |
| | | operationTypeName: |
| | | description: 作业类型名称 |
| | | type: string |
| | | sourceNumber: |
| | | description: 源单号 |
| | | type: string |
| | | status: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.OperationStatus' |
| | | description: 状态 |
| | | toLocation: |
| | | allOf: |
| | | - $ref: '#/definitions/models.Location' |
| | | description: 目标位置 |
| | | toLocationId: |
| | | description: 目标位置id |
| | | type: integer |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | models.OperationDetails: |
| | | properties: |
| | | amount: |
| | | description: 数量 |
| | | type: number |
| | | createTime: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | operationId: |
| | | description: 操作id |
| | | type: integer |
| | | productId: |
| | | description: 产品id |
| | | type: string |
| | | productName: |
| | | description: 产品名称 |
| | | type: string |
| | | unit: |
| | | type: string |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | models.OperationType: |
| | | properties: |
| | |
| | | description: 产品名称 |
| | | type: string |
| | | unit: |
| | | type: string |
| | | type: object |
| | | request.QueryOperationList: |
| | | properties: |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | productId: |
| | | type: string |
| | | type: object |
| | | request.UpdateCompany: |
| | |
| | | summary: 获取产品列表 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/listOperaton: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.QueryOperationList' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.ResponseList' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/models.Operation' |
| | | type: array |
| | | type: object |
| | | summary: 产品历史出入库信息 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/updateProduct: |
| | | post: |
| | | parameters: |