From 230ce554d9a42e5c1e322bf13d186f87651edd96 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 12 一月 2024 10:49:03 +0800
Subject: [PATCH] 物料只查有库存的

---
 controllers/report_forms_controller.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/controllers/report_forms_controller.go b/controllers/report_forms_controller.go
index b6c8866..a495b07 100644
--- a/controllers/report_forms_controller.go
+++ b/controllers/report_forms_controller.go
@@ -339,6 +339,7 @@
 	for _, amount := range amounts {
 		var resp response.LocationForms
 		resp.Amount = amount.Amount
+		resp.LocationId = amount.LocationId
 		resp.LocationName = amount.Location.Name
 		resp.ProduceId = amount.Product.ID
 		resp.ProductName = amount.Product.Name

--
Gitblit v1.8.0