From e668092cf0bca471e665580c255c04a6ffc3cb8f Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 29 八月 2023 19:22:51 +0800 Subject: [PATCH] 采购负责人 --- docs/docs.go | 124 ++++++++++++++++++++++++++++++++++++++++- 1 files changed, 121 insertions(+), 3 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index fb4982c..42749da 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -8414,6 +8414,21 @@ "OrderStatusCompleted" ] }, + "purchase.PriceAdjustmentType": { + "type": "integer", + "enum": [ + 1, + 2 + ], + "x-enum-comments": { + "PriceAdjustmentTypeAdd": "澧炲姞", + "PriceAdjustmentTypeSub": "鍑忓皯" + }, + "x-enum-varnames": [ + "PriceAdjustmentTypeAdd", + "PriceAdjustmentTypeSub" + ] + }, "purchase.Purchase": { "type": "object", "properties": { @@ -8441,6 +8456,10 @@ "description": "涓婚敭ID", "type": "integer" }, + "invoiceAmount": { + "description": "宸叉敹绁ㄩ噾棰�", + "type": "number" + }, "name": { "description": "閲囪喘鍚嶇О", "type": "string" @@ -8449,13 +8468,33 @@ "description": "閲囪喘缂栧彿", "type": "string" }, + "orderSource": { + "description": "鍗曟嵁鏉ユ簮", + "type": "string" + }, "orderType": { "description": "鍗曟嵁绫诲瀷", "type": "string" }, + "paidAmount": { + "description": "宸蹭粯閲戦", + "type": "number" + }, "phone": { "description": "鑱旂郴浜虹數璇�", "type": "string" + }, + "priceAdjustment": { + "description": "浠锋牸璋冩暣鍊�", + "type": "number" + }, + "priceAdjustmentType": { + "description": "浠锋牸璋冩暣绫诲瀷", + "allOf": [ + { + "$ref": "#/definitions/purchase.PriceAdjustmentType" + } + ] }, "purchaseType": { "$ref": "#/definitions/purchase.PurchaseType" @@ -8468,9 +8507,17 @@ "description": "閲囪喘鏁伴噺", "type": "number" }, + "realTotalPrice": { + "description": "鏈�缁堜环鏍�", + "type": "number" + }, "remark": { "description": "澶囨敞", "type": "string" + }, + "shouldPayAmount": { + "description": "搴斾粯閲戦", + "type": "number" }, "signingDate": { "description": "绛剧害鏃ユ湡", @@ -8491,9 +8538,29 @@ "description": "渚涘簲鍟唅d", "type": "integer" }, + "totalPrice": { + "description": "浠风◣鍚堣", + "type": "number" + }, + "unInvoiceAmount": { + "description": "鏈敹绁ㄩ噾棰�", + "type": "number" + }, "warehouse": { "description": "鏀惰揣浠撳簱", "type": "string" + }, + "wholeDiscount": { + "description": "鏁村崟鎶樻墸鍊�", + "type": "number" + }, + "wholeDiscountType": { + "description": "鏁村崟鎶樻墸绫诲瀷", + "allOf": [ + { + "$ref": "#/definitions/purchase.WholeDiscountType" + } + ] } } }, @@ -8515,9 +8582,6 @@ "price": { "description": "閲囪喘鍗曚环", "type": "number" - }, - "product": { - "$ref": "#/definitions/test.Product" }, "productId": { "description": "浜у搧id", @@ -8562,6 +8626,24 @@ } } }, + "purchase.WholeDiscountType": { + "type": "integer", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-comments": { + "WholeDiscountTypeDefault": "鏃犳姌鎵�", + "WholeDiscountTypeDiscount": "鐩存帴闄嶄环", + "WholeDiscountTypePercent": "鐧惧垎姣旈檷浠�" + }, + "x-enum-varnames": [ + "WholeDiscountTypeDefault", + "WholeDiscountTypePercent", + "WholeDiscountTypeDiscount" + ] + }, "purchaserequest.AddPurchase": { "type": "object", "properties": { @@ -8603,9 +8685,29 @@ "description": "鑱旂郴浜虹數璇�", "type": "string" }, + "priceAdjustment": { + "description": "浠锋牸璋冩暣鍊�", + "type": "number" + }, + "priceAdjustmentType": { + "description": "浠锋牸璋冩暣绫诲瀷", + "allOf": [ + { + "$ref": "#/definitions/purchase.PriceAdjustmentType" + } + ] + }, "purchaseTypeId": { "description": "閲囪喘绫诲瀷id", "type": "integer" + }, + "quantity": { + "description": "閲囪喘鏁伴噺", + "type": "number" + }, + "realTotalPrice": { + "description": "鏈�缁堜环鏍�", + "type": "number" }, "remark": { "description": "澶囨敞", @@ -8626,6 +8728,22 @@ "supplierId": { "description": "渚涘簲鍟唅d", "type": "integer" + }, + "totalPrice": { + "description": "浠风◣鍚堣", + "type": "number" + }, + "wholeDiscount": { + "description": "鏁村崟鎶樻墸鍊�", + "type": "number" + }, + "wholeDiscountType": { + "description": "鏁村崟鎶樻墸绫诲瀷", + "allOf": [ + { + "$ref": "#/definitions/purchase.WholeDiscountType" + } + ] } } }, -- Gitblit v1.8.0