From 4f526b034a6e13a521ad71dcbdbea97043d6ea19 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 20 三月 2024 19:21:20 +0800 Subject: [PATCH] 发货信息字段完善 --- docs/docs.go | 1711 +++++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 1,135 insertions(+), 576 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 795c9c9..875b1b9 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -404,79 +404,6 @@ } } }, - "/api/base/captcha": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "Base" - ], - "summary": "鑾峰彇楠岃瘉鐮�", - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.LoginResponse" - } - } - } - ] - } - } - } - } - }, - "/api/base/login": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "Base" - ], - "summary": "鐢ㄦ埛鐧诲綍", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.Login" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.LoginResponse" - } - } - } - ] - } - } - } - } - }, "/api/city/add": { "post": { "produces": [ @@ -1267,6 +1194,36 @@ "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/code/getAutoCode": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "缂栫爜" + ], + "summary": "鑾峰彇鑷姩缂栫爜", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/code.CodeStandard" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" } } } @@ -4960,6 +4917,46 @@ } } }, + "/api/product/getProductOrderInfo/{number}": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "浜у搧" + ], + "summary": "鑾峰彇浜у搧璁㈠崟淇℃伅", + "parameters": [ + { + "type": "string", + "description": "鏄庣粏缂栫爜", + "name": "number", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.Info" + } + } + } + ] + } + } + } + } + }, "/api/product/info": { "get": { "produces": [ @@ -5032,6 +5029,12 @@ "type": "string", "description": "浜у搧缂栫爜", "name": "productNumber", + "in": "query" + }, + { + "type": "string", + "description": "鎶ヤ环鍗曠紪鐮�", + "name": "quotationNumber", "in": "query" } ], @@ -5320,6 +5323,40 @@ } } }, + "/api/quotation/statistics": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "Quotation" + ], + "summary": "鎶ヤ环鍗曠粺璁�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "integer" + } + } + } + } + ] + } + } + } + } + }, "/api/quotation/update": { "put": { "produces": [ @@ -5556,6 +5593,15 @@ "in": "query" }, { + "type": "array", + "items": { + "type": "integer" + }, + "collectionFormat": "csv", + "name": "principleIds", + "in": "query" + }, + { "type": "integer", "name": "sourceId", "in": "query" @@ -5749,6 +5795,142 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateRefundMethods" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "閫�娆炬柟寮忕鐞�" + ], + "summary": "娣诲姞閫�娆炬柟寮�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddRefundType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundType/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "閫�娆炬柟寮忕鐞�" + ], + "summary": "鍒犻櫎閫�娆炬柟寮�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "閫�娆炬柟寮忕鐞�" + ], + "summary": "鑾峰彇閫�娆炬柟寮忓垪琛�", + "parameters": [ + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.RefundType" + } + } + } + } + ] + } + } + } + } + }, + "/api/refundType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "閫�娆炬柟寮忕鐞�" + ], + "summary": "鏇存柊閫�娆炬柟寮�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateRefundType" } } ], @@ -6826,6 +7008,66 @@ } } }, + "/api/salesDetails/confirmOutput": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails" + ], + "summary": "纭鍙戣揣", + "parameters": [ + { + "description": "鏄庣粏缂栫爜", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.ConfirmOutput" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" + } + } + } + } + }, + "/api/salesDetails/confirmOutputOver": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails" + ], + "summary": "纭鍙戣揣", + "parameters": [ + { + "description": "鏄庣粏缂栫爜", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.ConfirmOutputOver" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" + } + } + } + } + }, "/api/salesDetails/delete": { "delete": { "produces": [ @@ -6884,6 +7126,113 @@ } } }, + "/api/salesDetails/getApsProjectList": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails" + ], + "summary": "鑾峰彇aps椤圭洰鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.Response" + } + } + } + } + }, + "/api/salesDetails/getDeliveryList": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails" + ], + "summary": "鍙戣揣鏄庣粏", + "parameters": [ + { + "description": "鏄庣粏缂栫爜", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.GetWarehouseProductInfoReq" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" + } + } + } + } + }, + "/api/salesDetails/getDeliveryPrepareInfo": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails" + ], + "summary": "鑾峰彇浜у搧鍏ュ簱淇℃伅", + "parameters": [ + { + "description": "鏄庣粏缂栫爜", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.GetWarehouseProductInfoReq" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" + } + } + } + } + }, + "/api/salesDetails/getProductInventoryInfo/{number}": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails" + ], + "summary": "鑾峰彇浜у搧鍙戣揣淇℃伅", + "parameters": [ + { + "type": "string", + "description": "鏄庣粏缂栫爜", + "name": "number", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" + } + } + } + } + }, "/api/salesDetails/list": { "post": { "produces": [ @@ -6926,6 +7275,36 @@ } } }, + "/api/salesDetails/sendSalesDetailsToOtherSystem": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails" + ], + "summary": "鎺ㄩ�侀攢鍞槑缁嗕俊鎭埌鍏朵粬绯荤粺", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SalesDetails" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" + } + } + } + } + }, "/api/salesDetails/update": { "put": { "produces": [ @@ -6943,6 +7322,36 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateSalesDetails" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/salesDetails/updateStatus": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails" + ], + "summary": "鏇存柊閿�鍞槑缁嗙姸鎬�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateSalesDetailsStatus" } } ], @@ -9534,6 +9943,96 @@ } } }, + "/api/system/getSystemSet": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "绯荤粺璁剧疆" + ], + "summary": "鑾峰彇绯荤粺璁剧疆", + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + ] + } + } + } + } + }, + "/api/system/saveSystemSet": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "绯荤粺璁剧疆" + ], + "summary": "淇濆瓨绯荤粺璁剧疆", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SaveSystemSet" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/system/useSystemSet/{modeType}": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "绯荤粺璁剧疆" + ], + "summary": "浣跨敤绯荤粺璁剧疆", + "parameters": [ + { + "type": "string", + "description": "鏌ヨ鍙傛暟", + "name": "modeType", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" + } + } + } + } + }, "/api/timeSpent/add": { "post": { "produces": [ @@ -9768,259 +10267,6 @@ "responses": { "200": { "description": "OK", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/changePassword": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鐢ㄦ埛淇敼瀵嗙爜", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.ChangePasswordReq" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/deleteUser": { - "delete": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鍒犻櫎鐢ㄦ埛", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.DeleteUserReq" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/getUserInfo": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鑾峰彇鑷韩淇℃伅", - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/getUserList": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鍒嗛〉鑾峰彇鐢ㄦ埛鍒楄〃(涓嶄紶鍒嗛〉鍙傛暟锛岃幏鍙栧叏閮�)", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.GetUserList" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.PageResult" - } - } - } - ] - } - } - } - } - }, - "/api/user/register": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "娉ㄥ唽璐﹀彿", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.Register" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.UserResponse" - } - } - } - ] - } - } - } - } - }, - "/api/user/resetPassword": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "閲嶇疆鐢ㄦ埛瀵嗙爜", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/model.User" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/setSelfInfo": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "璁剧疆鐢ㄦ埛淇℃伅", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.ChangeUserInfo" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/setUserInfo": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "璁剧疆鐢ㄦ埛淇℃伅", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.ChangeUserInfo" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", "schema": { "$ref": "#/definitions/contextx.Response" } @@ -10519,6 +10765,33 @@ "SalesDetailsKeywordTypeSignTime", "SalesDetailsKeywordTypePrincipal", "SalesDetailsKeywordTypeProductName" + ] + }, + "constvar.SalesDetailsStatus": { + "type": "integer", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "x-enum-comments": { + "InStock": "澶囪揣涓�", + "OverCLose": "宸插叧闂�", + "OverOutbound": "鍑哄簱瀹屾垚", + "WaitConfirmed": "寰呯‘璁�", + "WaitDecompose": "寰呭垎瑙�", + "WaitOutbound": "寰呭嚭搴�" + }, + "x-enum-varnames": [ + "WaitConfirmed", + "WaitDecompose", + "InStock", + "WaitOutbound", + "OverOutbound", + "OverCLose" ] }, "constvar.SalesRefundKeywordType": { @@ -11310,6 +11583,9 @@ "quotationId": { "type": "integer" }, + "sendTime": { + "type": "string" + }, "serviceContractStatus": { "$ref": "#/definitions/model.ServiceContractStatus" }, @@ -11511,6 +11787,9 @@ "description": "瀹㈡埛id", "type": "integer" }, + "codeStandID": { + "type": "string" + }, "courierCompany": { "$ref": "#/definitions/model.CourierCompany" }, @@ -11546,6 +11825,9 @@ "invoiceTypeId": { "description": "鍙戠エ绫诲瀷id", "type": "integer" + }, + "number": { + "type": "string" }, "principalId": { "description": "閿�鍞礋璐d汉id", @@ -11814,11 +12096,17 @@ "amount": { "type": "number" }, + "cost": { + "type": "string" + }, "desc": { "type": "string" }, "id": { "type": "integer" + }, + "margin": { + "type": "string" }, "name": { "type": "string" @@ -11829,8 +12117,20 @@ "price": { "type": "number" }, + "profit": { + "type": "string" + }, + "specs": { + "type": "string" + }, "total": { "type": "number" + }, + "type": { + "type": "string" + }, + "unit": { + "type": "string" } } }, @@ -11854,6 +12154,10 @@ "model.Quotation": { "type": "object", "properties": { + "amountTotal": { + "description": "浠锋牸鍚堣", + "type": "number" + }, "client": { "$ref": "#/definitions/model.Client" }, @@ -11892,6 +12196,9 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "type": "string" }, "quotation_status": { "$ref": "#/definitions/model.QuotationStatus" @@ -12012,6 +12319,17 @@ } }, "model.RefundMethod": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.RefundType": { "type": "object", "properties": { "id": { @@ -12173,6 +12491,12 @@ "process": { "type": "string" }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, "projected_amount": { "type": "number" }, @@ -12217,6 +12541,14 @@ }, "solutions": { "type": "string" + }, + "status": { + "description": "鐘舵��", + "allOf": [ + { + "$ref": "#/definitions/model.Status" + } + ] }, "status_id": { "type": "integer" @@ -12304,6 +12636,9 @@ "creatorName": { "type": "string" }, + "deliverType": { + "type": "integer" + }, "deliveryDate": { "type": "string" }, @@ -12334,6 +12669,15 @@ "$ref": "#/definitions/model.Product" } }, + "projectId": { + "type": "string" + }, + "quotation": { + "$ref": "#/definitions/model.Quotation" + }, + "quotationId": { + "type": "integer" + }, "remark": { "type": "string" }, @@ -12348,6 +12692,12 @@ }, "signTime": { "type": "string" + }, + "source": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" }, "updateTime": { "type": "string" @@ -12443,8 +12793,13 @@ "model.SalesRefund": { "type": "object", "properties": { - "Source": { - "$ref": "#/definitions/model.SalesReturn" + "RefundType": { + "description": "閫�娆炬柟寮�", + "allOf": [ + { + "$ref": "#/definitions/model.RefundType" + } + ] }, "amountTotal": { "description": "浠风◣鍚堣", @@ -12505,6 +12860,13 @@ }, "refundDate": { "type": "string" + }, + "refundTypeId": { + "description": "閫�娆炬柟寮廔D", + "type": "integer" + }, + "salesReturn": { + "$ref": "#/definitions/model.SalesReturn" }, "sourceId": { "description": "婧愬崟id", @@ -13124,6 +13486,10 @@ "severity": { "$ref": "#/definitions/model.Severity" }, + "severityId": { + "description": "涓ラ噸绋嬪害id", + "type": "integer" + }, "solution": { "description": "瑙e喅鏂规硶", "type": "string" @@ -13241,6 +13607,23 @@ } } }, + "model.SystemSet": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "modeType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, "model.TimeSpent": { "type": "object", "properties": { @@ -13302,6 +13685,10 @@ "type": "string" }, "realName": { + "type": "string" + }, + "subUserIds": { + "description": "涓嬪睘鍛樺伐鐢ㄦ埛id,鐢ㄩ�楀彿鍒嗗紑", "type": "string" }, "userType": { @@ -13454,9 +13841,6 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -13605,13 +13989,6 @@ "description": "鎵�灞炲叕鍙窱D", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, - "codeStandID": { - "description": "缂栫爜id", - "type": "string" - }, "country_id": { "description": "鍥藉ID", "type": "integer" @@ -13668,9 +14045,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -13690,6 +14064,10 @@ }, "quotation_id": { "type": "integer" + }, + "sendTime": { + "description": "鍙戣揣鏃堕棿", + "type": "string" }, "status_id": { "type": "integer" @@ -13831,6 +14209,9 @@ "description": "瀹㈡埛id", "type": "integer" }, + "codeStandID": { + "type": "string" + }, "courierCompanyId": { "description": "鐗╂祦鍏徃", "type": "integer" @@ -13854,6 +14235,10 @@ "invoiceTypeId": { "description": "鍙戠エ绫诲瀷id", "type": "integer" + }, + "number": { + "description": "鍙戠エ缂栧彿", + "type": "string" }, "principalId": { "description": "閿�鍞礋璐d汉id", @@ -13937,9 +14322,6 @@ "properties": { "client_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -14061,9 +14443,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14088,6 +14467,10 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "description": "鎶ヤ环鍗曞悕绉�", + "type": "string" }, "quotation_status_id": { "type": "integer" @@ -14212,6 +14595,17 @@ } } }, + "request.AddRefundType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddRegion": { "type": "object", "properties": { @@ -14283,9 +14677,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14337,6 +14728,12 @@ }, "process": { "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } }, "projected_amount": { "type": "number" @@ -14401,17 +14798,20 @@ "request.AddSalesDetails": { "type": "object", "properties": { + "Member": { + "$ref": "#/definitions/model.User" + }, "address": { "type": "string" }, "addressee": { "type": "string" }, + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -14419,6 +14819,10 @@ }, "conditions": { "type": "string" + }, + "deliverType": { + "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣", + "type": "integer" }, "deliveryDate": { "type": "string" @@ -14447,6 +14851,12 @@ "$ref": "#/definitions/model.Product" } }, + "projectId": { + "type": "string" + }, + "quotationId": { + "type": "integer" + }, "remark": { "type": "string" }, @@ -14459,6 +14869,12 @@ "signTime": { "type": "string" }, + "source": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" + }, "wechatOrderStatusId": { "type": "integer" } @@ -14469,9 +14885,6 @@ "properties": { "city_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -14596,9 +15009,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14707,9 +15117,6 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14804,9 +15211,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14871,9 +15275,6 @@ "clientId": { "description": "瀹㈡埛id", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -14947,7 +15348,7 @@ "description": "鏈嶅姟鏂瑰紡id", "type": "integer" }, - "severity": { + "severityId": { "description": "涓ラ噸绋嬪害id", "type": "integer" }, @@ -15029,9 +15430,6 @@ "properties": { "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -15145,48 +15543,6 @@ } } }, - "request.ChangePasswordReq": { - "type": "object", - "properties": { - "newPassword": { - "description": "鏂板瘑鐮�", - "type": "string" - }, - "password": { - "description": "瀵嗙爜", - "type": "string" - } - } - }, - "request.ChangeUserInfo": { - "type": "object", - "properties": { - "email": { - "description": "鐢ㄦ埛閭", - "type": "string" - }, - "headerImg": { - "description": "鐢ㄦ埛澶村儚", - "type": "string" - }, - "id": { - "description": "鐢ㄦ埛ID", - "type": "string" - }, - "nickName": { - "description": "鐢ㄦ埛鏄电О", - "type": "string" - }, - "phone": { - "description": "鐢ㄦ埛鎵嬫満鍙�", - "type": "string" - }, - "pos": { - "description": "鐢ㄦ埛宀椾綅", - "type": "string" - } - } - }, "request.CheckClientName": { "type": "object", "properties": { @@ -15209,6 +15565,41 @@ } } }, + "request.ConfirmOutput": { + "type": "object", + "properties": { + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/request.ConfirmOutputProducts" + } + }, + "saleDetailNumber": { + "type": "string" + } + } + }, + "request.ConfirmOutputOver": { + "type": "object", + "properties": { + "saleDetailNumber": { + "type": "string" + } + } + }, + "request.ConfirmOutputProducts": { + "type": "object", + "properties": { + "number": { + "description": "浜у搧缂栧彿", + "type": "string" + }, + "outputAmount": { + "description": "鏈鍙戣揣鏁伴噺", + "type": "number" + } + } + }, "request.Contact": { "type": "object", "properties": { @@ -15224,13 +15615,6 @@ "client_id": { "description": "鎵�灞炲叕鍙窱D", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, - "codeStandID": { - "description": "缂栫爜id", - "type": "string" }, "country_id": { "description": "鍥藉ID", @@ -15423,15 +15807,6 @@ } } }, - "request.DeleteUserReq": { - "type": "object", - "properties": { - "userId": { - "description": "鐢ㄦ埛ID", - "type": "string" - } - } - }, "request.DownloadFile": { "type": "object", "required": [ @@ -15467,9 +15842,6 @@ }, "client_status_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "type": "string" @@ -15555,6 +15927,9 @@ "request.GetContractList": { "type": "object", "properties": { + "keyword": { + "type": "string" + }, "page": { "description": "椤电爜", "type": "integer" @@ -15620,6 +15995,12 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "principalIds": { + "type": "array", + "items": { + "type": "integer" + } }, "sourceId": { "type": "integer" @@ -15732,6 +16113,10 @@ }, "keywordType": { "$ref": "#/definitions/constvar.SalesDetailsKeywordType" + }, + "number": { + "description": "閿�鍞槑缁嗗崟鍙�", + "type": "string" }, "page": { "description": "椤电爜", @@ -15966,44 +16351,6 @@ } } }, - "request.GetUserList": { - "type": "object", - "properties": { - "keyword": { - "description": "妯$硦鏌ヨ鍏抽敭瀛�", - "type": "string" - }, - "page": { - "description": "椤电爜", - "type": "integer" - }, - "pageSize": { - "description": "姣忛〉澶у皬", - "type": "integer" - } - } - }, - "request.Login": { - "type": "object", - "properties": { - "captcha": { - "description": "楠岃瘉鐮�", - "type": "string" - }, - "captchaId": { - "description": "楠岃瘉鐮両D", - "type": "string" - }, - "password": { - "description": "瀵嗙爜", - "type": "string" - }, - "username": { - "description": "鐢ㄦ埛鍚�", - "type": "string" - } - } - }, "request.Plan": { "type": "object", "properties": { @@ -16070,66 +16417,23 @@ } } }, - "request.Register": { - "type": "object", - "properties": { - "authorityId": { - "description": "鐢ㄦ埛瑙掕壊ID", - "type": "integer" - }, - "departmentId": { - "type": "integer" - }, - "email": { - "type": "string" - }, - "headerImg": { - "type": "string" - }, - "id": { - "type": "string" - }, - "nickName": { - "type": "string" - }, - "password": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "pos": { - "type": "string" - }, - "rePassword": { - "description": "纭瀵嗙爜", - "type": "string" - }, - "realName": { - "type": "string" - }, - "userType": { - "$ref": "#/definitions/constvar.UserType" - }, - "username": { - "type": "string" - } - } - }, "request.SalesDetails": { "type": "object", "properties": { + "Member": { + "$ref": "#/definitions/model.User" + }, "address": { "type": "string" }, "addressee": { "type": "string" }, + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -16137,6 +16441,10 @@ }, "conditions": { "type": "string" + }, + "deliverType": { + "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣", + "type": "integer" }, "deliveryDate": { "type": "string" @@ -16165,6 +16473,12 @@ "$ref": "#/definitions/model.Product" } }, + "projectId": { + "type": "string" + }, + "quotationId": { + "type": "integer" + }, "remark": { "type": "string" }, @@ -16176,6 +16490,12 @@ }, "signTime": { "type": "string" + }, + "source": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" }, "wechatOrderStatusId": { "type": "integer" @@ -16195,9 +16515,6 @@ }, "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -16248,9 +16565,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -16294,6 +16608,17 @@ "$ref": "#/definitions/constvar.SalesReturnSourceType" } ] + } + } + }, + "request.SaveSystemSet": { + "type": "object", + "properties": { + "sets": { + "type": "array", + "items": { + "$ref": "#/definitions/model.SystemSet" + } } } }, @@ -16449,9 +16774,6 @@ "client_type_id": { "description": "瀹㈡埛绫诲瀷ID", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -16683,13 +17005,6 @@ "description": "鎵�灞炲叕鍙窱D", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, - "codeStandID": { - "description": "缂栫爜id", - "type": "string" - }, "country_id": { "description": "鍥藉ID", "type": "integer" @@ -16749,9 +17064,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -16774,6 +17086,10 @@ }, "quotation_id": { "type": "integer" + }, + "sendTime": { + "description": "鍙戣揣鏃堕棿", + "type": "string" }, "status_id": { "type": "integer" @@ -17012,6 +17328,9 @@ "description": "瀹㈡埛id", "type": "integer" }, + "codeStandID": { + "type": "string" + }, "courierCompanyId": { "description": "鐗╂祦鍏徃", "type": "integer" @@ -17038,6 +17357,10 @@ "invoiceTypeId": { "description": "鍙戠エ绫诲瀷id", "type": "integer" + }, + "number": { + "description": "鍙戠エ缂栧彿", + "type": "string" }, "principalId": { "description": "閿�鍞礋璐d汉id", @@ -17153,9 +17476,6 @@ "properties": { "client_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -17338,9 +17658,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -17368,6 +17685,10 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "description": "鎶ヤ环鍗曞悕绉�", + "type": "string" }, "quotation_status_id": { "type": "integer" @@ -17525,6 +17846,17 @@ "items": { "$ref": "#/definitions/request.UpdateRefundMethod" } + } + } + }, + "request.UpdateRefundType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -17687,9 +18019,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -17744,6 +18073,12 @@ }, "process": { "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } }, "projected_amount": { "type": "number" @@ -17852,14 +18187,22 @@ } } }, + "request.UpdateSalesDetailsStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" + } + } + }, "request.UpdateSalesLeads": { "type": "object", "properties": { "city_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -18114,9 +18457,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -18246,9 +18586,6 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -18344,9 +18681,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -18414,9 +18748,6 @@ "clientId": { "description": "瀹㈡埛id", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -18493,7 +18824,7 @@ "description": "鏈嶅姟鏂瑰紡id", "type": "integer" }, - "severity": { + "severityId": { "description": "涓ラ噸绋嬪害id", "type": "integer" }, @@ -18611,9 +18942,6 @@ "properties": { "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -19154,6 +19482,35 @@ } } }, + "response.Info": { + "type": "object", + "properties": { + "makeInfo": { + "type": "array", + "items": { + "$ref": "#/definitions/response.WorkOrderInfo" + } + }, + "outsourcingInfo": { + "type": "array", + "items": { + "$ref": "#/definitions/response.OutsourcingInfo" + } + }, + "productInfo": { + "type": "array", + "items": { + "$ref": "#/definitions/response.SalesDetailsProductInfo" + } + }, + "purchaseInfo": { + "type": "array", + "items": { + "$ref": "#/definitions/response.Purchase" + } + } + } + }, "response.IsInvoiceResponse": { "type": "object", "properties": { @@ -19255,18 +19612,46 @@ } } }, - "response.PageResult": { + "response.OutsourcingInfo": { "type": "object", "properties": { - "list": {}, - "page": { + "amount": { + "description": "璁㈠崟鏁伴噺", "type": "integer" }, - "pageSize": { + "endTime": { + "type": "string" + }, + "finishAmount": { + "description": "瀹屾垚鏁伴噺", "type": "integer" }, - "total": { - "type": "integer" + "outsourcingId": { + "description": "濮斿璁㈠崟id", + "type": "string" + }, + "outsourcingStatus": { + "type": "string" + }, + "productId": { + "type": "string" + }, + "productName": { + "type": "string" + }, + "specs": { + "description": "鐗╂枡瑙勬牸", + "type": "string" + }, + "startTime": { + "type": "string" + }, + "supplierName": { + "type": "string" + }, + "unit": { + "description": "鍗曚綅", + "type": "string" } } }, @@ -19303,6 +19688,45 @@ "items": { "$ref": "#/definitions/model.Province" } + } + } + }, + "response.Purchase": { + "type": "object", + "properties": { + "amount": { + "description": "璁㈠崟鏁伴噺", + "type": "integer" + }, + "finishAmount": { + "description": "瀹屾垚鏁伴噺", + "type": "integer" + }, + "productId": { + "type": "string" + }, + "productName": { + "type": "string" + }, + "purchaseName": { + "type": "string" + }, + "purchaseNumber": { + "type": "string" + }, + "specs": { + "description": "鐗╂枡瑙勬牸", + "type": "string" + }, + "status": { + "type": "integer" + }, + "supplierName": { + "type": "string" + }, + "unit": { + "description": "鍗曚綅", + "type": "string" } } }, @@ -19386,6 +19810,18 @@ } } }, + "response.Response": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": {}, + "msg": { + "type": "string" + } + } + }, "response.SaleChanceResponse": { "type": "object", "properties": { @@ -19419,6 +19855,81 @@ "items": { "$ref": "#/definitions/model.SaleType" } + } + } + }, + "response.SalesDetailsProductInfo": { + "type": "object", + "properties": { + "amount": { + "description": "璁㈠崟鏁伴噺", + "type": "number" + }, + "cost": { + "description": "浜у搧鎴愭湰", + "type": "string" + }, + "deliveryAmount": { + "description": "鍙戣揣鏁伴噺", + "type": "integer" + }, + "finishAmount": { + "description": "瀹屾垚鏁伴噺", + "type": "integer" + }, + "makeAmount": { + "description": "鍒堕�犳暟閲�", + "type": "integer" + }, + "makeFinishAmount": { + "description": "鍒堕�犲畬鎴愭暟閲�", + "type": "integer" + }, + "margin": { + "description": "姣涘埄鐜�", + "type": "string" + }, + "outsourcingAmount": { + "description": "濮斿鏁伴噺", + "type": "integer" + }, + "outsourcingFinishAmount": { + "description": "濮斿瀹屾垚鏁伴噺", + "type": "integer" + }, + "price": { + "description": "浜у搧浠锋牸", + "type": "number" + }, + "productId": { + "type": "string" + }, + "productName": { + "type": "string" + }, + "profit": { + "description": "姣涘埄", + "type": "string" + }, + "purchaseAmount": { + "description": "閲囪喘鏁伴噺", + "type": "integer" + }, + "purchaseFinishAmount": { + "description": "閲囪喘瀹屾垚鏁伴噺", + "type": "integer" + }, + "specs": { + "description": "鐗╂枡瑙勬牸", + "type": "string" + }, + "total": { + "description": "浜у搧鎬讳环", + "type": "number" + }, + "unit": { + "description": "鍗曚綅", + "type": "string" } } }, @@ -19600,11 +20111,59 @@ } } }, - "response.UserResponse": { + "response.WorkOrderInfo": { "type": "object", "properties": { - "user": { - "$ref": "#/definitions/model.User" + "amount": { + "description": "璁㈠崟鏁伴噺", + "type": "integer" + }, + "endTime": { + "type": "string" + }, + "finishAmount": { + "description": "瀹屾垚鏁伴噺", + "type": "integer" + }, + "orderId": { + "type": "string" + }, + "orderStatus": { + "type": "string" + }, + "productId": { + "type": "string" + }, + "productName": { + "type": "string" + }, + "specs": { + "description": "鐗╂枡瑙勬牸", + "type": "string" + }, + "startTime": { + "type": "string" + }, + "unit": { + "description": "鍗曚綅", + "type": "string" + }, + "workOrderId": { + "type": "string" + }, + "workOrderStatus": { + "type": "string" + } + } + }, + "v1.GetWarehouseProductInfoReq": { + "type": "object", + "properties": { + "saleDetailID": { + "type": "integer" + }, + "saleDetailNumber": { + "type": "string" } } } -- Gitblit v1.8.0