From 0ec0aef398704cd0219ed452f3aa96c8cdacd647 Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期六, 06 七月 2024 15:27:51 +0800
Subject: [PATCH] 出库、入库、盘点涉及产品重复性检查调整(从【产品编号】变更为以【产品编号、出库库房编号、入库库房编号】作为唯一标识)
---
docs/swagger.yaml | 39 ++++++++++++++++++++++++---------------
1 files changed, 24 insertions(+), 15 deletions(-)
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index b575f22..336f0d7 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -948,15 +948,13 @@
type: string
custodianId:
type: string
+ dealerType:
+ type: string
details:
items:
$ref: '#/definitions/models.OperationDetails'
type: array
id:
- type: integer
- inventoryDealer:
- $ref: '#/definitions/models.MiniDict'
- inventoryDealerType:
type: integer
isInternalOutput:
description: 鏄惁璋冩嫧浜х敓鐨勫嚭搴�
@@ -983,11 +981,6 @@
description: 鍗曞彿
type: string
operationDate:
- description: |-
- FromLocationID int `json:"fromLocationId" gorm:"type:int;not null;comment:婧愪綅缃甶d"` //婧愪綅缃甶d
- FromLocation Location `json:"fromLocation" gorm:"foreignKey:FromLocationID;references:Id"` //婧愪綅缃�
- ToLocationID int `json:"toLocationId" gorm:"type:int;not null;comment:鐩爣浣嶇疆id"` //鐩爣浣嶇疆id
- ToLocation Location `json:"toLocation" gorm:"foreignKey:ToLocationID;references:Id"` //鐩爣浣嶇疆
type: string
operationSource:
allOf:
@@ -1086,6 +1079,9 @@
type: string
salePrice:
description: 閿�鍞崟浠�
+ type: number
+ stockAmount:
+ description: 搴撳瓨鏁伴噺锛岀洏鐐规椂鐢�
type: number
toLocation:
allOf:
@@ -1468,13 +1464,13 @@
type: string
custodianId:
type: string
+ dealerType:
+ type: string
details:
items:
$ref: '#/definitions/request.OperationDetails'
type: array
id:
- type: integer
- inventoryDealerType:
type: integer
locationId:
description: 婧愪綅缃甶d
@@ -1934,6 +1930,9 @@
type: string
salePrice:
description: 閿�鍞崟浠�
+ type: number
+ stockAmount:
+ description: 搴撳瓨鏁伴噺锛岀洏鐐规椂鐢�
type: number
toLocationId:
description: 鐩爣浣嶇疆id
@@ -3570,9 +3569,9 @@
- application/json
responses:
"200":
- description: 鎴愬姛
+ description: OK
schema:
- $ref: '#/definitions/util.Response'
+ $ref: '#/definitions/util.ResponseList'
summary: 鑾峰彇浣嶇疆瀵瑰簲浜у搧鍒楄〃
tags:
- 搴撳瓨鐩樼偣
@@ -3670,14 +3669,24 @@
name: id
required: true
type: string
+ - description: token
+ in: header
+ name: Authorization
+ required: true
+ type: string
produces:
- application/json
responses:
"200":
description: 鎴愬姛
schema:
- $ref: '#/definitions/util.Response'
- summary: 鍏ュ簱/鍑哄簱鍒楄〃
+ allOf:
+ - $ref: '#/definitions/util.Response'
+ - properties:
+ data:
+ $ref: '#/definitions/models.Operation'
+ type: object
+ summary: 鎿嶄綔璇︽儏鎺ュ彛
tags:
- 鍏ュ簱/鍑哄簱
/api-wms/v1/operation/getPersonnelList:
--
Gitblit v1.8.0