| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/forms/doWarehouseMonthStats": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "报表" |
| | | ], |
| | | "summary": "手动跑月度统计库存报表", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DoWarehouseMonthStats" |
| | | } |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.ResponseList" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/models.MonthStats" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/forms/downloadHistory": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "报表" |
| | | ], |
| | | "summary": "月度统计库存报表", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.GetMonthStats" |
| | | } |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.ResponseList" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/models.MonthStats" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/forms/warehouseMonthStats": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "报表" |
| | | ], |
| | | "summary": "仓库月度统计库存报表", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.ResponseList" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/models.Operation" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "type": "string", |
| | | "description": "仓库id", |
| | | "name": "warehouseId", |
| | | "name": "warehouseIds", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "BaseOperationTypeAdjust" |
| | | ] |
| | | }, |
| | | "constvar.BoolType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2 |
| | | ], |
| | | "x-enum-comments": { |
| | | "BoolTypeFalse": "false", |
| | | "BoolTypeTrue": "true" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "BoolTypeTrue", |
| | | "BoolTypeFalse" |
| | | ] |
| | | }, |
| | | "constvar.CostingMethod": { |
| | | "type": "integer", |
| | | "enum": [ |
| | |
| | | "enum": [ |
| | | 1, |
| | | 2, |
| | | 3 |
| | | 3, |
| | | 4 |
| | | ], |
| | | "x-enum-comments": { |
| | | "StockoutType": "出库类型", |
| | | "StorageType": "入库类型", |
| | | "TakeStock": "盘点类型", |
| | | "TransferType": "调拨类型" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "TransferType", |
| | | "StorageType", |
| | | "StockoutType" |
| | | "StockoutType", |
| | | "TransferType", |
| | | "TakeStock" |
| | | ] |
| | | }, |
| | | "constvar.OperationSource": { |
| | |
| | | "updateTime": { |
| | | "type": "string" |
| | | }, |
| | | "warehouse": { |
| | | "$ref": "#/definitions/models.Warehouse" |
| | | }, |
| | | "warehouseId": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "type": "number" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "dealerType": { |
| | | "description": "出入库类型", |
| | | "type": "string" |
| | | }, |
| | | "fromLocation": { |
| | |
| | | "description": "仓库名称", |
| | | "type": "string" |
| | | }, |
| | | "openMonthStats": { |
| | | "description": "是否开启月度统计", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.BoolType" |
| | | } |
| | | ] |
| | | }, |
| | | "outboundTransportation": { |
| | | "description": "出库运输", |
| | | "type": "integer" |
| | |
| | | } |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "inventoryDealerType": { |
| | | "type": "integer" |
| | | }, |
| | | "locationId": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DoWarehouseMonthStats": { |
| | | "type": "object", |
| | | "properties": { |
| | | "token": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.EditMiniDict": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "preload": { |
| | | "type": "boolean" |
| | | }, |
| | | "warehouseID": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "inventoryDealerType": { |
| | | "type": "integer" |
| | | }, |
| | | "locationId": { |
| | | "description": "源位置id", |
| | | "type": "integer" |
| | |
| | | "description": "目标位置id", |
| | | "type": "integer" |
| | | }, |
| | | "warehouseId": { |
| | | "description": "仓库id", |
| | | "type": "integer" |
| | | }, |
| | | "waybillNumber": { |
| | | "description": "运单号", |
| | | "type": "string" |