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

@ -15,7 +15,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<_TargetId>Folder</_TargetId> <_TargetId>Folder</_TargetId>
<SiteUrlToLaunchAfterPublish /> <SiteUrlToLaunchAfterPublish />
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier> <RuntimeIdentifier>win-x64</RuntimeIdentifier>
<ProjectGuid>118d453b-1693-4c00-8378-20ecbfcf2700</ProjectGuid> <ProjectGuid>118d453b-1693-4c00-8378-20ecbfcf2700</ProjectGuid>
<SelfContained>false</SelfContained> <SelfContained>false</SelfContained>
<PublishSingleFile>false</PublishSingleFile> <PublishSingleFile>false</PublishSingleFile>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net472\publish\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
</PropertyGroup>
</Project>

View File

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