From d1cb09e7a23e7221b6c090ad33e4481a5b79f615 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 29 十一月 2023 17:44:29 +0800
Subject: [PATCH] 出入库报表搜索增加几个字段

---
 response/report_forms_response.go |   25 ++++++++++++++++---------
 1 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/response/report_forms_response.go b/response/report_forms_response.go
index 8bf283c..6585587 100644
--- a/response/report_forms_response.go
+++ b/response/report_forms_response.go
@@ -2,6 +2,7 @@
 
 import (
 	"github.com/shopspring/decimal"
+	"wms/constvar"
 )
 
 type InventoryForms struct {
@@ -18,15 +19,21 @@
 }
 
 type InventoryHistory struct {
-	Number        string          `json:"number"`        //鍗曞彿
-	Date          string          `json:"date"`          //鏃ユ湡
-	ProductName   string          `json:"productName"`   //浜у搧鍚嶇О
-	FromLocation  string          `json:"fromLocation"`  //婧愪綅缃�
-	ToLocation    string          `json:"toLocation"`    //鐩爣浣嶇疆
-	Amount        decimal.Decimal `json:"amount"`        //鏁伴噺
-	Unit          string          `json:"unit"`          //鍗曚綅
-	ContactedName string          `json:"contactedName"` //瀹屾垚鑰�
-	Status        string          `json:"status"`        //鐘舵��
+	Number            string                     `json:"number"`            //鍗曞彿
+	Date              string                     `json:"date"`              //鏃ユ湡
+	ProductName       string                     `json:"productName"`       //浜у搧鍚嶇О
+	FromLocation      string                     `json:"fromLocation"`      //婧愪綅缃�
+	ToLocation        string                     `json:"toLocation"`        //鐩爣浣嶇疆
+	Amount            decimal.Decimal            `json:"amount"`            //鏁伴噺
+	Unit              string                     `json:"unit"`              //鍗曚綅
+	ContactedName     string                     `json:"contactedName"`     //瀹屾垚鑰�
+	Status            string                     `json:"status"`            //鐘舵��
+	BaseOperationType constvar.BaseOperationType `json:"baseOperationType"` //鍩虹浣滀笟绫诲瀷
+	Weight            decimal.Decimal            `json:"weight"`            //閲嶉噺
+	ProductId         string                     `json:"productId"`
+	FromLocationId    int                        `json:"fromLocationId"`
+	ToLocationId      int                        `json:"toLocationId"`
+	OperationId       int                        `json:"operationId"`
 }
 
 type LocationForms struct {

--
Gitblit v1.8.0