From 07079a17b93d1dc2f06d73a5a08f6ba63a87d9a3 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 10 十一月 2023 10:51:32 +0800
Subject: [PATCH] 出入库操作添加物流信息

---
 docs/swagger.yaml |   97 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 97 insertions(+), 0 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index c2d1ffe..b36a994 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -33,6 +33,20 @@
     - CostingMethodStandardPrice
     - CostingMethodFIFO
     - CostingMethodAverageCost
+  constvar.FileType:
+    enum:
+    - file
+    - picture
+    - thumbnail
+    type: string
+    x-enum-comments:
+      FileType_File: 鏂囦欢
+      FileType_Picture: 鍥剧墖
+      FileType_Thumbnail: 缂╃暐鍥�
+    x-enum-varnames:
+    - FileType_File
+    - FileType_Picture
+    - FileType_Thumbnail
   constvar.ForceRemovalStrategy:
     enum:
     - 1
@@ -203,6 +217,19 @@
     - WhetherTypeAsk
     - WhetherTypeAlways
     - ReservationNever
+  models.Attachment:
+    properties:
+      FileUrl:
+        type: string
+      ext:
+        type: string
+      fileName:
+        type: string
+      fileType:
+        $ref: '#/definitions/constvar.FileType'
+      id:
+        type: integer
+    type: object
   models.Company:
     properties:
       createTime:
@@ -297,11 +324,38 @@
       updateTime:
         type: string
     type: object
+  models.LogisticCompany:
+    properties:
+      contact:
+        description: 鑱旂郴浜�
+        type: string
+      contact_phone:
+        description: 鑱旂郴鐢佃瘽
+        type: string
+      hidden:
+        description: 闅愯棌
+        type: boolean
+      id:
+        type: string
+      monthly_account:
+        description: 鏈堢粨璐﹀彿
+        type: string
+      name:
+        type: string
+    type: object
   models.Material:
     properties:
       amount:
         description: 鏁伴噺
         type: number
+      attachmentIDs:
+        items:
+          type: integer
+        type: array
+      attachmentList:
+        items:
+          $ref: '#/definitions/models.Attachment'
+        type: array
       barcode:
         description: 鏉$爜
         type: string
@@ -476,6 +530,13 @@
         type: integer
       id:
         type: integer
+      logisticCompany:
+        $ref: '#/definitions/models.LogisticCompany'
+      logisticCompanyId:
+        type: string
+      logisticWeight:
+        description: 鐗╂祦閲嶉噺
+        type: number
       number:
         description: 鍗曞彿
         type: string
@@ -503,6 +564,12 @@
         type: integer
       updateTime:
         type: string
+      waybillNumber:
+        description: 杩愬崟鍙�
+        type: string
+      weight:
+        description: 閲嶉噺
+        type: number
     type: object
   models.OperationDetails:
     properties:
@@ -733,6 +800,11 @@
         type: integer
       id:
         type: integer
+      logisticCompanyId:
+        type: string
+      logisticWeight:
+        description: 鐗╂祦閲嶉噺
+        type: number
       number:
         description: 鍗曞彿
         type: string
@@ -755,6 +827,12 @@
       toLocationId:
         description: 鐩爣浣嶇疆id
         type: integer
+      waybillNumber:
+        description: 杩愬崟鍙�
+        type: string
+      weight:
+        description: 閲嶉噺
+        type: number
     type: object
   request.AddOperationType:
     properties:
@@ -1971,6 +2049,25 @@
       summary: 鏇存敼璁板綍鐘舵��
       tags:
       - 鍏ュ簱/鍑哄簱
+  /api-wms/v1/operation/getLogisticCompanyList:
+    get:
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            allOf:
+            - $ref: '#/definitions/util.ResponseList'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/models.LogisticCompany'
+                  type: array
+              type: object
+      summary: 鑾峰彇鐗╂祦鍏徃鍒楄〃
+      tags:
+      - 鍏ュ簱/鍑哄簱
   /api-wms/v1/operation/list:
     post:
       parameters:

--
Gitblit v1.8.0