From dec0da77e3537bcd71bb31067258194327da9bfa Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 05 七月 2024 10:21:53 +0800 Subject: [PATCH] 操作明细增加当时库存数量供盘点操作用 --- docs/swagger.yaml | 21 ++++++++++----------- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 830ad06..ff40eef 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 @@ -1935,6 +1931,9 @@ salePrice: description: 閿�鍞崟浠� type: number + stockAmount: + description: 搴撳瓨鏁伴噺锛岀洏鐐规椂鐢� + type: number toLocationId: description: 鐩爣浣嶇疆id type: integer -- Gitblit v1.8.0