| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/operation/listByCondition": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "入库/出库" |
| | | ], |
| | | "summary": "出入库明细", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.OperationCondition" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/operation/listTransfer": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | 5 |
| | | ], |
| | | "x-enum-comments": { |
| | | "OperationStatus_Cancel": "完成", |
| | | "OperationStatus_Cancel": "取消", |
| | | "OperationStatus_Draft": "草稿", |
| | | "OperationStatus_Finish": "完成", |
| | | "OperationStatus_Ready": "就绪", |
| | |
| | | "receiverPhone": { |
| | | "type": "string" |
| | | }, |
| | | "source": { |
| | | "type": "string" |
| | | }, |
| | | "sourceNumber": { |
| | | "description": "源单号", |
| | | "type": "string" |
| | |
| | | }, |
| | | "fromLocationId": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "description": "Unit string ` + "`" + `json:\"unit\"` + "`" + `", |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "type": "string" |
| | |
| | | }, |
| | | "sourceNumber": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.OperationCondition": { |
| | | "type": "object", |
| | | "properties": { |
| | | "condition": { |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "operationId": { |
| | | "type": "integer" |
| | | }, |
| | | "operationTypeName": { |
| | | "description": "作业类型名称", |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "description": "数量", |
| | | "type": "number" |
| | | }, |
| | | "locationId": { |
| | | "description": "位置id", |
| | | "type": "integer" |
| | | }, |
| | | "locationName": { |
| | | "description": "位置名称", |
| | | "type": "string" |