| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/locationProductAmount/getLocationProductAmount": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "库存盘点" |
| | | ], |
| | | "summary": "获取位置产品信息", |
| | | "parameters": [ |
| | | { |
| | | "description": "入参", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.GetRuleList" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/models.LocationProductAmount" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/locationProductAmount/getRuleList": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-wms/v1/operation/getPersonnelList": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "入库/出库" |
| | | ], |
| | | "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" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | |
| | | "ReservationNever" |
| | | ] |
| | | }, |
| | | "inventory_order.WorkerInfo": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "string" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "models.Attachment": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "warehouseId": { |
| | | "description": "仓库ID", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "models.LocationProductAmount": { |
| | | "type": "object", |
| | | "properties": { |
| | | "amount": { |
| | | "description": "库存数量", |
| | | "type": "number" |
| | | }, |
| | | "createDate": { |
| | | "description": "日期", |
| | | "type": "string" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "location": { |
| | | "$ref": "#/definitions/models.Location" |
| | | }, |
| | | "locationId": { |
| | | "description": "LocationProductId int ` + "`" + `json:\"locationProductId\" gorm:\"type:int;not null;comment:上架规则id\"` + "`" + ` //上架规则id\nLocationProduct LocationProduct ` + "`" + `json:\"locationProduct\" gorm:\"foreignKey:LocationProductId;references:Id\"` + "`" + `", |
| | | "type": "integer" |
| | | }, |
| | | "product": { |
| | | "$ref": "#/definitions/models.Material" |
| | | }, |
| | | "productCategory": { |
| | | "$ref": "#/definitions/models.ProductCategory" |
| | | }, |
| | | "productCategoryId": { |
| | | "description": "产品种类id", |
| | | "type": "integer" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "string" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "models.Operation": { |
| | | "type": "object", |
| | | "properties": { |
| | | "accountant": { |
| | | "type": "string" |
| | | }, |
| | | "accountantId": { |
| | | "type": "string" |
| | | }, |
| | | "auditDate": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "custodian": { |
| | | "type": "string" |
| | | }, |
| | | "custodianId": { |
| | | "type": "string" |
| | | }, |
| | | "details": { |
| | |
| | | "logisticWeight": { |
| | | "description": "物流重量", |
| | | "type": "number" |
| | | }, |
| | | "manager": { |
| | | "type": "string" |
| | | }, |
| | | "managerId": { |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "description": "单号", |
| | |
| | | "request.AddOperation": { |
| | | "type": "object", |
| | | "properties": { |
| | | "accountant": { |
| | | "type": "string" |
| | | }, |
| | | "accountantId": { |
| | | "type": "string" |
| | | }, |
| | | "comment": { |
| | | "description": "备注", |
| | | "type": "string" |
| | |
| | | }, |
| | | "contacterName": { |
| | | "description": "联系人姓名-非必填", |
| | | "type": "string" |
| | | }, |
| | | "custodian": { |
| | | "type": "string" |
| | | }, |
| | | "custodianId": { |
| | | "type": "string" |
| | | }, |
| | | "details": { |
| | |
| | | "logisticWeight": { |
| | | "description": "物流重量", |
| | | "type": "number" |
| | | }, |
| | | "manager": { |
| | | "type": "string" |
| | | }, |
| | | "managerId": { |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "description": "单号", |
| | |
| | | "request.UpdateOperation": { |
| | | "type": "object", |
| | | "properties": { |
| | | "accountant": { |
| | | "type": "string" |
| | | }, |
| | | "accountantId": { |
| | | "type": "string" |
| | | }, |
| | | "baseOperationType": { |
| | | "description": "基础作业类型", |
| | | "allOf": [ |
| | |
| | | "description": "联系人姓名-非必填", |
| | | "type": "string" |
| | | }, |
| | | "custodian": { |
| | | "type": "string" |
| | | }, |
| | | "custodianId": { |
| | | "type": "string" |
| | | }, |
| | | "details": { |
| | | "type": "array", |
| | | "items": { |
| | |
| | | "description": "物流重量", |
| | | "type": "number" |
| | | }, |
| | | "manager": { |
| | | "type": "string" |
| | | }, |
| | | "managerId": { |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "description": "单号", |
| | | "type": "string" |