From 9e3a239ec0fa13909cb3a98e2ad238b42ac63eaa Mon Sep 17 00:00:00 2001
From: lishihai <dslsh@dscom>
Date: 星期三, 19 六月 2024 20:32:24 +0800
Subject: [PATCH] 概述->新建或编辑(出库/入库)信息,产品的Cost成本单价和SalePrice销售单价的值不会更新的BUG
---
request/location_product_amount.go | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/request/location_product_amount.go b/request/location_product_amount.go
index d4c4e9d..9b1a386 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 {
--
Gitblit v1.8.0