From 0ec0aef398704cd0219ed452f3aa96c8cdacd647 Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期六, 06 七月 2024 15:27:51 +0800
Subject: [PATCH] 出库、入库、盘点涉及产品重复性检查调整(从【产品编号】变更为以【产品编号、出库库房编号、入库库房编号】作为唯一标识)
---
request/location_product_amount.go | 25 +++++++++++++++++++------
1 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/request/location_product_amount.go b/request/location_product_amount.go
index d4c4e9d..48b978f 100644
--- a/request/location_product_amount.go
+++ b/request/location_product_amount.go
@@ -4,6 +4,11 @@
"github.com/shopspring/decimal"
)
+type GetList struct {
+ PageInfo
+ Keyword string `json:"keyword"`
+}
+
type AddLocationProductAmount struct {
AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸��
DifferenceAmount decimal.Decimal `json:"differenceAmount"` //璁℃暟鏁伴噺
@@ -14,12 +19,13 @@
type UpdateLocationProductAmount struct {
//LocationProductAmountId int `json:"locationProductAmountId"` //搴撳瓨鐩樼偣id
- AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸��
- DifferenceAmount decimal.Decimal `json:"differenceAmount"` //璁℃暟鏁伴噺
- Amount decimal.Decimal `json:"amount"` //搴撳瓨鏁伴噺
- ProductId string `json:"productId"` //浜у搧id
- OperationId int `json:"operationId"` //鍑哄叆搴搃d
- LocationId int `json:"locationId"` //浣嶇疆id
+ AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸��
+ DifferenceAmount decimal.Decimal `json:"differenceAmount"` //璁℃暟鏁伴噺
+ Amount decimal.Decimal `json:"amount"` //搴撳瓨鏁伴噺
+ ProductId string `json:"productId"` //浜у搧id
+ OperationId int `json:"operationId"` //鍑哄叆搴搃d
+ LocationId int `json:"locationId"` //浣嶇疆id
+ ProductCategoryId int `json:"productCategoryId"` //浜у搧绉嶇被id
}
type GetRuleList struct {
@@ -32,3 +38,10 @@
ProductId string `json:"productId"` //浜у搧id
LocationProductAmountId int `json:"locationProductAmountId"` //搴撳瓨鐩樼偣id
}
+
+type GetLocationProductList struct {
+ PageInfo
+ Keyword string `json:"keyword"`
+ WarehouseId int `json:"warehouseId"`
+ LocationId int `json:"locationId"`
+}
--
Gitblit v1.8.0