From 729cf301e9ab353dd20c9ec69def8c859af3c743 Mon Sep 17 00:00:00 2001 From: liuwf Date: Tue, 2 Apr 2024 09:47:16 +0800 Subject: [PATCH] . --- Aucma.Core.Palletiz/Business/InstoreBusiness.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Aucma.Core.Palletiz/Business/InstoreBusiness.cs b/Aucma.Core.Palletiz/Business/InstoreBusiness.cs index f879839e..5334f110 100644 --- a/Aucma.Core.Palletiz/Business/InstoreBusiness.cs +++ b/Aucma.Core.Palletiz/Business/InstoreBusiness.cs @@ -187,8 +187,7 @@ namespace Aucma.Core.Palletiz.Business } _ = _recordInstoreServices.AddAsync(recordInstore).Result; - //刷新页面 - AddDataEvent?.Invoke(recordInstore); + #endregion if (!result) @@ -211,7 +210,12 @@ namespace Aucma.Core.Palletiz.Business spaceinfo.InStoreFlag = 3; spaceinfos.Add(spaceinfo); _spaceinfoService.UpdateSpaceInfo(spaceinfos); + + //刷新页面 + AddDataEvent?.Invoke(recordInstore); } + + } catch (Exception e)