| | |
| | | type: object |
| | | request.AddOperation: |
| | | properties: |
| | | carrierID: |
| | | type: integer |
| | | carrierName: |
| | | type: string |
| | | companyID: |
| | | type: integer |
| | | companyName: |
| | | type: string |
| | | contacterID: |
| | | type: integer |
| | | contacterName: |
| | | type: string |
| | | details: |
| | | items: |
| | | $ref: '#/definitions/request.OperationDetails' |
| | |
| | | toLocationId: |
| | | description: 目标位置id |
| | | type: integer |
| | | tracking: |
| | | type: string |
| | | transferWeight: |
| | | type: number |
| | | weight: |
| | | type: number |
| | | type: object |
| | | request.AddOperationType: |
| | | properties: |
| | |
| | | remark: |
| | | description: 备注 |
| | | type: string |
| | | type: object |
| | | request.UpdateOperation: |
| | | properties: |
| | | carrierID: |
| | | type: integer |
| | | carrierName: |
| | | type: string |
| | | companyID: |
| | | type: integer |
| | | companyName: |
| | | type: string |
| | | contacterID: |
| | | type: integer |
| | | contacterName: |
| | | type: string |
| | | details: |
| | | items: |
| | | $ref: '#/definitions/request.OperationDetails' |
| | | type: array |
| | | fromLocationId: |
| | | description: 源位置id |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | number: |
| | | description: 单号 |
| | | type: string |
| | | operationDate: |
| | | type: string |
| | | operationTypeId: |
| | | description: 作业类型id |
| | | type: integer |
| | | sourceNumber: |
| | | description: 源单号 |
| | | type: string |
| | | status: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.OperationStatus' |
| | | description: 状态 |
| | | toLocationId: |
| | | description: 目标位置id |
| | | type: integer |
| | | tracking: |
| | | type: string |
| | | transferWeight: |
| | | type: number |
| | | weight: |
| | | type: number |
| | | type: object |
| | | request.UpdateOperationType: |
| | | properties: |
| | |
| | | tags: |
| | | - 公司 |
| | | /api-wms/v1/operation/operation: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: operationTypeId |
| | | type: integer |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 入库/出库列表 |
| | | tags: |
| | | - 入库/出库 |
| | | post: |
| | | parameters: |
| | | - description: 入库/出库信息 |
| | |
| | | summary: 添加入库/出库 |
| | | tags: |
| | | - 入库/出库 |
| | | /api-wms/v1/operation/operation/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: id |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 删除入库/出库信息 |
| | | tags: |
| | | - 入库/出库 |
| | | put: |
| | | parameters: |
| | | - description: 入库信息 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateOperation' |
| | | - 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/addProduct: |
| | | post: |
| | | parameters: |