| | |
| | | } |
| | | }, |
| | | "/api-wms/v1/operation/operation/{id}": { |
| | | "put": { |
| | | "delete": { |
| | | "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/update": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateOperation" |
| | | } |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "入库信息id", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "入库/出库" |
| | | ], |
| | | "summary": "删除入库/出库信息", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "id", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | "description": "位置名称", |
| | | "type": "string" |
| | | }, |
| | | "nextCount": { |
| | | "description": "下次盘点", |
| | | "type": "string" |
| | | }, |
| | | "notes": { |
| | | "description": "外部备注", |
| | | "type": "string" |
| | | }, |
| | | "parentId": { |
| | | "description": "上级id", |
| | | "type": "string" |
| | | }, |
| | | "recentlyCount": { |
| | | "description": "最近盘点", |
| | | "type": "string" |
| | | }, |
| | | "replenishLocation": { |
| | |
| | | "description": "默认源位置id", |
| | | "type": "integer" |
| | | }, |
| | | "earlyOperations": { |
| | | "description": "预填写作业详情", |
| | | "type": "boolean" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "description": "仓库名称", |
| | | "type": "string" |
| | | }, |
| | | "prefix": { |
| | | "description": "前缀", |
| | | "type": "string" |
| | | }, |
| | | "printLabel": { |
| | |
| | | "description": "作业类型id", |
| | | "type": "integer" |
| | | }, |
| | | "operationTypeName": { |
| | | "description": "作业类型名称", |
| | | "type": "string" |
| | | }, |
| | | "sourceNumber": { |
| | | "description": "源单号", |
| | | "type": "string" |
| | |
| | | "description": "操作id", |
| | | "type": "integer" |
| | | }, |
| | | "amount": { |
| | | "description": "数量", |
| | | "type": "number" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "string" |
| | |
| | | "productName": { |
| | | "description": "产品名称", |
| | | "type": "string" |
| | | }, |
| | | "quantity": { |
| | | "description": "数量", |
| | | "type": "number" |
| | | }, |
| | | "unit": { |
| | | "type": "string" |
| | |
| | | "description": "作业类型id", |
| | | "type": "integer" |
| | | }, |
| | | "operationTypeName": { |
| | | "description": "作业类型名称", |
| | | "type": "string" |
| | | }, |
| | | "sourceNumber": { |
| | | "description": "源单号", |
| | | "type": "string" |