From c7e82fd1d76b9fb25497d5aba4372bbfe13a8468 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 28 三月 2024 20:00:21 +0800 Subject: [PATCH] 采购入库增加来源 --- docs/docs.go | 147 +++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 135 insertions(+), 12 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 5dc2a02..238ddaf 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1606,6 +1606,44 @@ } } }, + "/purchase/allProductInWarehouse": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Purchase" + ], + "summary": "鍏ㄩ儴鍚堟牸鍏ュ簱", + "parameters": [ + { + "description": "鍙傛暟", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/purchaserequest.PurchaseProductConfirmInfo" + } + } + ], + "responses": { + "200": { + "description": "鑾峰彇纭淇℃伅", + "schema": { + "$ref": "#/definitions/response.Response" + } + } + } + } + }, "/purchase/getOperationInfo/{id}": { "get": { "security": [ @@ -1794,8 +1832,8 @@ } } }, - "/purchase/newSubmit/{id}": { - "get": { + "/purchase/newSubmit": { + "post": { "security": [ { "ApiKeyAuth": [] @@ -1813,11 +1851,13 @@ "summary": "鏂扮増鎻愪氦", "parameters": [ { - "type": "integer", - "description": "閲囪喘鍗旾D", - "name": "id", - "in": "path", - "required": true + "description": "鍙傛暟", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/purchaserequest.SubmitPurchase" + } } ], "responses": { @@ -2324,6 +2364,59 @@ } } }, + "/purchase/savePurchaseQualityInspectionInfo": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Purchase" + ], + "summary": "淇濆瓨閲囪喘璐ㄦ淇℃伅淇℃伅", + "parameters": [ + { + "description": "鍙傛暟", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/purchaserequest.SaveQualityInspectionInfo" + } + } + ], + "responses": { + "200": { + "description": "鑾峰彇纭淇℃伅", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/purchase.PurchaseProductConfirm" + } + } + } + } + ] + } + } + } + } + }, "/purchase/submit": { "post": { "security": [ @@ -2343,11 +2436,13 @@ "summary": "鎻愪氦閲囪喘鍗�", "parameters": [ { - "type": "integer", - "description": "閲囪喘鍗旾D", - "name": "id", - "in": "path", - "required": true + "description": "鍙傛暟", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/purchaserequest.SubmitPurchase" + } } ], "responses": { @@ -4447,6 +4542,34 @@ } } }, + "purchaserequest.SaveQualityInspectionInfo": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + }, + "purchaseId": { + "type": "integer" + }, + "status": { + "type": "integer" + } + } + }, + "purchaserequest.SubmitPurchase": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "status": { + "$ref": "#/definitions/purchase.OrderStatus" + } + } + }, "purchaserequest.UpdatePurchase": { "type": "object", "properties": { -- Gitblit v1.8.0