From 845f1b6da081aae73325e558356f9ab8a851462e Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 10 十一月 2023 15:05:12 +0800
Subject: [PATCH] 确认出库修改crm销售明细状态
---
docs/swagger.yaml | 127 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 126 insertions(+), 1 deletions(-)
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index c318180..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:
@@ -924,6 +1002,22 @@
wareHouseCode:
type: string
type: object
+ request.GetLocationList:
+ properties:
+ jointName:
+ description: 鎷兼帴鍚嶇О
+ type: string
+ keyWord:
+ type: string
+ page:
+ description: 椤电爜
+ type: integer
+ pageSize:
+ description: 姣忛〉澶у皬
+ type: integer
+ type:
+ type: integer
+ type: object
request.GetProductList:
properties:
categoryId:
@@ -949,6 +1043,8 @@
pageSize:
description: 姣忛〉澶у皬
type: integer
+ productId:
+ type: string
type:
description: 绫诲瀷:bh=琛ヨ揣
type: string
@@ -1456,6 +1552,16 @@
summary: 缂栬緫閮ㄩ棬淇℃伅
tags:
- 閮ㄩ棬淇℃伅
+ /api-wms/v1/attachment/uploadFiles:
+ post:
+ responses:
+ "200":
+ description: 鎴愬姛
+ schema:
+ $ref: '#/definitions/util.Response'
+ summary: 涓婁紶闄勪欢
+ tags:
+ - 闄勪欢绠$悊
/api-wms/v1/company/company:
get:
parameters:
@@ -1692,7 +1798,7 @@
name: object
required: true
schema:
- $ref: '#/definitions/request.GetProductList'
+ $ref: '#/definitions/request.GetLocationList'
produces:
- application/json
responses:
@@ -1943,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