From ef58851f0477a883cef4bae9a2ab883ce7878b3a Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期二, 02 一月 2024 16:21:49 +0800 Subject: [PATCH] 入库验证bug --- controllers/operation.go | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/controllers/operation.go b/controllers/operation.go index 2a2b48f..37418a6 100644 --- a/controllers/operation.go +++ b/controllers/operation.go @@ -408,6 +408,7 @@ return } if len(locAmountList) > 0 { + mapLocAmount = make(map[string]*models.LocationProductAmount) for _, v := range locAmountList { mapLocAmount[strconv.Itoa(v.LocationId)+v.ProductId] = v } -- Gitblit v1.8.0