| | |
| | | "入库/出库" |
| | | ], |
| | | "summary": "获取人员列表", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.OperationCondition" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.ResponseList" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/inventory_order.WorkerInfo" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/product/downloadInputFormat": { |
| | | "get": { |
| | | "tags": [ |
| | | "产品" |
| | | ], |
| | | "summary": "下载导入物料/产品模板", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/product/finishDisuse/{id}": { |
| | | "put": { |
| | | "produces": [ |
| | |
| | | "application/xlsx" |
| | | ], |
| | | "tags": [ |
| | | "物料管理" |
| | | "产品" |
| | | ], |
| | | "summary": "导入物料", |
| | | "summary": "导入物料/产品", |
| | | "parameters": [ |
| | | { |
| | | "type": "file", |
| | |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4 |
| | | 4, |
| | | 5 |
| | | ], |
| | | "x-enum-comments": { |
| | | "DisuseType": "报废类型", |
| | | "StockoutType": "出库类型", |
| | | "StorageType": "入库类型", |
| | | "TakeStock": "盘点类型", |
| | | "TakeStockType": "盘点类型", |
| | | "TransferType": "调拨类型" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "StorageType", |
| | | "StockoutType", |
| | | "TransferType", |
| | | "TakeStock" |
| | | "TakeStockType", |
| | | "DisuseType" |
| | | ] |
| | | }, |
| | | "constvar.OperationSource": { |
| | |
| | | "valid": { |
| | | "description": "Valid is true if Time is not NULL", |
| | | "type": "boolean" |
| | | } |
| | | } |
| | | }, |
| | | "inventory_order.WorkerInfo": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "string" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | | "models.MonthStatsItemsType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2 |
| | | ], |
| | | "x-enum-comments": { |
| | | "MonthStatsItemsTypeInput": "入库", |
| | | "MonthStatsItemsTypeOutput": "出库" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "MonthStatsItemsTypeInput", |
| | | "MonthStatsItemsTypeOutput" |
| | | ] |
| | | }, |
| | | "models.MoveHistory": { |
| | | "type": "object", |
| | |
| | | "description": "入库来源,出库去处", |
| | | "type": "string" |
| | | }, |
| | | "type": { |
| | | "$ref": "#/definitions/models.MonthStatsItemsType" |
| | | }, |
| | | "warehouseMonthStatsId": { |
| | | "type": "integer" |
| | | } |
| | |
| | | "locationId": { |
| | | "type": "integer" |
| | | }, |
| | | "locationIds": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | |
| | | }, |
| | | "type": { |
| | | "type": "integer" |
| | | }, |
| | | "warehouseId": { |
| | | "description": "仓库ID", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |