From 6b373cf70da0903a44ae3d7c4ebebae7c99dc2e4 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期二, 26 三月 2024 16:37:37 +0800 Subject: [PATCH] 采购单修改3 --- docs/docs.go | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 110 insertions(+), 2 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 5dc2a02..7e686f0 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": [] @@ -2315,6 +2353,59 @@ "properties": { "msg": { "type": "string" + } + } + } + ] + } + } + } + } + }, + "/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" + } } } } @@ -4447,6 +4538,23 @@ } } }, + "purchaserequest.SaveQualityInspectionInfo": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + }, + "purchaseId": { + "type": "integer" + }, + "status": { + "type": "integer" + } + } + }, "purchaserequest.UpdatePurchase": { "type": "object", "properties": { -- Gitblit v1.8.0