| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/operation/cancel/{id}": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "入库/出库" |
| | | ], |
| | | "summary": "取消", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "id", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/operation/finish/{id}": { |
| | | "put": { |
| | | "produces": [ |
| | |
| | | "schema": { |
| | | "$ref": "#/definitions/models.ProductCategory" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/product/cancelDisuse/{id}": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "产品" |
| | | ], |
| | | "summary": "取消报废", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "id", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4 |
| | | 4, |
| | | 5 |
| | | ], |
| | | "x-enum-comments": { |
| | | "OperationStatus_Cancel": "完成", |
| | | "OperationStatus_Draft": "草稿", |
| | | "OperationStatus_Finish": "完成", |
| | | "OperationStatus_Ready": "就绪", |
| | |
| | | "OperationStatus_Draft", |
| | | "OperationStatus_Waiting", |
| | | "OperationStatus_Ready", |
| | | "OperationStatus_Finish" |
| | | "OperationStatus_Finish", |
| | | "OperationStatus_Cancel" |
| | | ] |
| | | }, |
| | | "constvar.OrderCreation": { |
| | |
| | | Description: "", |
| | | InfoInstanceName: "swagger", |
| | | SwaggerTemplate: docTemplate, |
| | | LeftDelim: "{{", |
| | | RightDelim: "}}", |
| | | } |
| | | |
| | | func init() { |