From c4e6bf4b1fdb872ba514ab03efa3c53333d1a120 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 18 三月 2024 10:11:03 +0800
Subject: [PATCH] 确认发货

---
 docs/swagger.yaml |  114 ++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 96 insertions(+), 18 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 9f0261d..4980a47 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -3457,6 +3457,24 @@
     required:
     - ids
     type: object
+  request.ConfirmOutput:
+    properties:
+      products:
+        items:
+          $ref: '#/definitions/request.ConfirmOutputProducts'
+        type: array
+      saleDetailNumber:
+        type: string
+    type: object
+  request.ConfirmOutputProducts:
+    properties:
+      number:
+        description: 浜у搧缂栧彿
+        type: string
+      outputAmount:
+        description: 鏈鍙戣揣鏁伴噺
+        type: number
+    type: object
   request.Contact:
     properties:
       birthday:
@@ -6117,6 +6135,10 @@
         items:
           $ref: '#/definitions/response.OutsourcingInfo'
         type: array
+      productInfo:
+        items:
+          $ref: '#/definitions/response.SalesDetailsProductInfo'
+        type: array
       purchaseInfo:
         items:
           $ref: '#/definitions/response.Purchase'
@@ -6348,6 +6370,61 @@
         items:
           $ref: '#/definitions/model.SaleType'
         type: array
+    type: object
+  response.SalesDetailsProductInfo:
+    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
     type: object
   response.SalesDetailsResponse:
     properties:
@@ -10808,6 +10885,25 @@
       summary: 娣诲姞閿�鍞槑缁�
       tags:
       - SalesDetails
+  /api/salesDetails/confirmOutput:
+    post:
+      parameters:
+      - description: 鏄庣粏缂栫爜
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.ConfirmOutput'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/response.ListResponse'
+      summary: 纭鍙戣揣
+      tags:
+      - SalesDetails
   /api/salesDetails/delete:
     delete:
       parameters:
@@ -10911,24 +11007,6 @@
           schema:
             $ref: '#/definitions/response.ListResponse'
       summary: 鑾峰彇浜у搧鍙戣揣淇℃伅
-      tags:
-      - SalesDetails
-  /api/salesDetails/getSalesDetailsProductInfo/{number}:
-    get:
-      parameters:
-      - description: 鏄庣粏缂栫爜
-        in: path
-        name: number
-        required: true
-        type: string
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: OK
-          schema:
-            $ref: '#/definitions/response.ListResponse'
-      summary: 鑾峰彇閿�鍞槑缁嗕骇鍝佷俊鎭�
       tags:
       - SalesDetails
   /api/salesDetails/list:

--
Gitblit v1.8.0