From 07079a17b93d1dc2f06d73a5a08f6ba63a87d9a3 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期五, 10 十一月 2023 10:51:32 +0800 Subject: [PATCH] 出入库操作添加物流信息 --- docs/docs.go | 146 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 146 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 1a45405..31880ec 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -963,6 +963,40 @@ } } }, + "/api-wms/v1/operation/getLogisticCompanyList": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鍏ュ簱/鍑哄簱" + ], + "summary": "鑾峰彇鐗╂祦鍏徃鍒楄〃", + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.ResponseList" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/models.LogisticCompany" + } + } + } + } + ] + } + } + } + } + }, "/api-wms/v1/operation/list": { "post": { "produces": [ @@ -2224,6 +2258,24 @@ "CostingMethodAverageCost" ] }, + "constvar.FileType": { + "type": "string", + "enum": [ + "file", + "picture", + "thumbnail" + ], + "x-enum-comments": { + "FileType_File": "鏂囦欢", + "FileType_Picture": "鍥剧墖", + "FileType_Thumbnail": "缂╃暐鍥�" + }, + "x-enum-varnames": [ + "FileType_File", + "FileType_Picture", + "FileType_Thumbnail" + ] + }, "constvar.ForceRemovalStrategy": { "type": "integer", "enum": [ @@ -2436,6 +2488,26 @@ "ReservationNever" ] }, + "models.Attachment": { + "type": "object", + "properties": { + "FileUrl": { + "type": "string" + }, + "ext": { + "type": "string" + }, + "fileName": { + "type": "string" + }, + "fileType": { + "$ref": "#/definitions/constvar.FileType" + }, + "id": { + "type": "integer" + } + } + }, "models.Company": { "type": "object", "properties": { @@ -2572,12 +2644,51 @@ } } }, + "models.LogisticCompany": { + "type": "object", + "properties": { + "contact": { + "description": "鑱旂郴浜�", + "type": "string" + }, + "contact_phone": { + "description": "鑱旂郴鐢佃瘽", + "type": "string" + }, + "hidden": { + "description": "闅愯棌", + "type": "boolean" + }, + "id": { + "type": "string" + }, + "monthly_account": { + "description": "鏈堢粨璐﹀彿", + "type": "string" + }, + "name": { + "type": "string" + } + } + }, "models.Material": { "type": "object", "properties": { "amount": { "description": "鏁伴噺", "type": "number" + }, + "attachmentIDs": { + "type": "array", + "items": { + "type": "integer" + } + }, + "attachmentList": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Attachment" + } }, "barcode": { "description": "鏉$爜", @@ -2814,6 +2925,16 @@ "id": { "type": "integer" }, + "logisticCompany": { + "$ref": "#/definitions/models.LogisticCompany" + }, + "logisticCompanyId": { + "type": "string" + }, + "logisticWeight": { + "description": "鐗╂祦閲嶉噺", + "type": "number" + }, "number": { "description": "鍗曞彿", "type": "string" @@ -2855,6 +2976,14 @@ }, "updateTime": { "type": "string" + }, + "waybillNumber": { + "description": "杩愬崟鍙�", + "type": "string" + }, + "weight": { + "description": "閲嶉噺", + "type": "number" } } }, @@ -3191,6 +3320,13 @@ "id": { "type": "integer" }, + "logisticCompanyId": { + "type": "string" + }, + "logisticWeight": { + "description": "鐗╂祦閲嶉噺", + "type": "number" + }, "number": { "description": "鍗曞彿", "type": "string" @@ -3222,6 +3358,14 @@ "toLocationId": { "description": "鐩爣浣嶇疆id", "type": "integer" + }, + "waybillNumber": { + "description": "杩愬崟鍙�", + "type": "string" + }, + "weight": { + "description": "閲嶉噺", + "type": "number" } } }, @@ -4154,6 +4298,8 @@ Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, + LeftDelim: "{{", + RightDelim: "}}", } func init() { -- Gitblit v1.8.0