1.BUG修复:扫码退出入库后 偶发无法进行下一个入库的bug

This commit is contained in:
hehaibing-1996
2024-05-27 11:08:06 +08:00
parent 00621bcd55
commit a73bb8e6b1
3 changed files with 16 additions and 1 deletions

View File

@ -149,6 +149,7 @@ namespace 货架标准上位机.ViewModel
if (Result != null && Result.Code == 200)
{
Logs.Write($"货架{scanner.ShelfCode}已成功退出入库!", LogsType.Scanner);
scanner.IsInstoreMode = false;
scanner.ShelfCode = string.Empty;
scanner.ModulesStr = string.Empty;
}
@ -229,6 +230,7 @@ namespace 货架标准上位机.ViewModel
var Result = ApiHelp.GetDataFromHttp<ResponseBase>(LocalFile.Config.ApiIpHost + "instore/shelfGoOutInStore", body, "POST");
if (Result != null && Result.Code == 200)
{
scanner.IsInstoreMode = false;
scanner.ShelfCode = string.Empty;
scanner.ModulesStr = string.Empty;