From fda60dd56911c03330eb7330ebabd5d46e9d7622 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期五, 15 十二月 2023 16:14:03 +0800 Subject: [PATCH] 库存盘点列表bug --- docs/docs.go | 257 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 254 insertions(+), 3 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 76ee786..1ec49df 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1097,6 +1097,25 @@ } } }, + "/api-wms/v1/operation/getClientList": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鍏ュ簱/鍑哄簱" + ], + "summary": "鑾峰彇鐗╂祦鍏徃鍒楄〃", + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, "/api-wms/v1/operation/getLogisticCompanyList": { "get": { "produces": [ @@ -1131,6 +1150,53 @@ } } }, + "/api-wms/v1/operation/getOperationInfo/{id}": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鍏ュ簱/鍑哄簱" + ], + "summary": "鍏ュ簱/鍑哄簱鍒楄〃", + "parameters": [ + { + "type": "string", + "description": "id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-wms/v1/operation/getSupplierList": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鍏ュ簱/鍑哄簱" + ], + "summary": "鑾峰彇鐗╂祦鍏徃鍒楄〃", + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, "/api-wms/v1/operation/list": { "post": { "produces": [ @@ -1148,6 +1214,36 @@ "required": true, "schema": { "$ref": "#/definitions/request.OperationList" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-wms/v1/operation/listByCondition": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鍏ュ簱/鍑哄簱" + ], + "summary": "鍑哄叆搴撴槑缁�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.OperationCondition" } } ], @@ -1230,6 +1326,34 @@ "鍏ュ簱/鍑哄簱" ], "summary": "鍒犻櫎鍏ュ簱/鍑哄簱淇℃伅", + "parameters": [ + { + "type": "integer", + "description": "id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-wms/v1/operation/outputOperation/{id}": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鍏ュ簱/鍑哄簱" + ], + "summary": "鎵撳嵃", "parameters": [ { "type": "integer", @@ -2167,6 +2291,36 @@ } } }, + "/api-wms/v1/reorderRule/submitOrder": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "閲嶈璐ц鍒�" + ], + "summary": "鍐嶈涓�娆�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.ReorderRule" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, "/api-wms/v1/reorderRule/updateReorderRule": { "post": { "produces": [ @@ -2612,7 +2766,7 @@ 5 ], "x-enum-comments": { - "OperationStatus_Cancel": "瀹屾垚", + "OperationStatus_Cancel": "鍙栨秷", "OperationStatus_Draft": "鑽夌", "OperationStatus_Finish": "瀹屾垚", "OperationStatus_Ready": "灏辩华", @@ -3002,6 +3156,9 @@ "description": "HSCode string ` + "`" + `gorm:\"type:varchar(255);comment:HS缂栫爜\" json:\"HSCode\"` + "`" + ` //HS缂栫爜\nOriginCountryId int ` + "`" + `gorm:\"type:int(11);comment:鍘熶骇鍦癷d\" json:\"originCountryId\"` + "`" + ` //鍘熶骇鍦癷d\nOriginCountryName string ` + "`" + `gorm:\"type:varchar(255);comment:鍘熶骇鍦板悕绉癨" json:\"originCountryName\"` + "`" + ` //鍘熶骇鍦板悕绉�", "type": "string" }, + "inputAmount": { + "type": "number" + }, "internalNotes": { "description": "鍐呴儴璇存槑", "type": "string" @@ -3034,7 +3191,15 @@ "description": "鏈�澶у簱瀛�", "type": "number" }, + "maxInventoryRule": { + "description": "鏈�澶у簱瀛�", + "type": "number" + }, "minInventory": { + "description": "鏈�灏忓簱瀛�", + "type": "number" + }, + "minInventoryRule": { "description": "鏈�灏忓簱瀛�", "type": "number" }, @@ -3073,6 +3238,12 @@ "description": "鍑哄簱璇存槑", "type": "string" }, + "outputAmount": { + "type": "number" + }, + "predictionAmount": { + "type": "number" + }, "principal": { "description": "璐熻矗浜�", "type": "string" @@ -3099,6 +3270,9 @@ }, "purchaseType": { "$ref": "#/definitions/constvar.PurchaseType" + }, + "reorderRuleNum": { + "type": "integer" }, "salePrice": { "description": "閿�鍞崟浠�", @@ -3143,6 +3317,9 @@ "models.Operation": { "type": "object", "properties": { + "auditDate": { + "type": "string" + }, "baseOperationType": { "description": "鍩虹浣滀笟绫诲瀷", "allOf": [ @@ -3213,6 +3390,18 @@ }, "operationTypeName": { "description": "浣滀笟绫诲瀷鍚嶇О", + "type": "string" + }, + "receiverAddr": { + "type": "string" + }, + "receiverName": { + "type": "string" + }, + "receiverPhone": { + "type": "string" + }, + "source": { "type": "string" }, "sourceNumber": { @@ -3297,6 +3486,9 @@ } ] }, + "createTime": { + "type": "string" + }, "forceRemovalStrategy": { "description": "寮哄埗涓嬫灦绛栫暐", "allOf": [ @@ -3330,6 +3522,9 @@ }, "routeName": { "description": "鍏徃", + "type": "string" + }, + "updateTime": { "type": "string" } } @@ -3380,6 +3575,10 @@ "route": { "description": "璺嚎", "type": "string" + }, + "supplierId": { + "description": "渚涘簲鍟唅d", + "type": "integer" }, "unit": { "description": "鍗曚綅", @@ -3606,6 +3805,15 @@ }, "operationTypeName": { "description": "浣滀笟绫诲瀷鍚嶇О", + "type": "string" + }, + "receiverAddr": { + "type": "string" + }, + "receiverName": { + "type": "string" + }, + "receiverPhone": { "type": "string" }, "sourceNumber": { @@ -3884,6 +4092,10 @@ "request.GetLocationList": { "type": "object", "properties": { + "isScrapLocation": { + "description": "鏄惁鎶ュ簾", + "type": "boolean" + }, "jointName": { "description": "鎷兼帴鍚嶇О", "type": "string" @@ -3978,6 +4190,22 @@ }, "sourceNumber": { "type": "string" + } + } + }, + "request.OperationCondition": { + "type": "object", + "properties": { + "condition": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" } } }, @@ -4287,6 +4515,15 @@ "description": "浣滀笟绫诲瀷鍚嶇О", "type": "string" }, + "receiverAddr": { + "type": "string" + }, + "receiverName": { + "type": "string" + }, + "receiverPhone": { + "type": "string" + }, "sourceNumber": { "description": "婧愬崟鍙�", "type": "string" @@ -4461,8 +4698,17 @@ "description": "婧愪綅缃�", "type": "string" }, + "fromLocationId": { + "type": "integer" + }, "number": { "description": "鍗曞彿", + "type": "string" + }, + "operationId": { + "type": "integer" + }, + "productId": { "type": "string" }, "productName": { @@ -4477,9 +4723,16 @@ "description": "鐩爣浣嶇疆", "type": "string" }, + "toLocationId": { + "type": "integer" + }, "unit": { "description": "鍗曚綅", "type": "string" + }, + "weight": { + "description": "閲嶉噺", + "type": "number" } } }, @@ -4581,8 +4834,6 @@ Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, - LeftDelim: "{{", - RightDelim: "}}", } func init() { -- Gitblit v1.8.0