From e671afceddf5a295149d0fd76342b18588f04d91 Mon Sep 17 00:00:00 2001 From: liuyunfeng Date: Thu, 6 Jun 2024 09:48:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BE=A4=E4=B8=ADbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DocumentSettings/DocumentManager.cs | 2 +- .../LabelDefinitions/LabelDefinitionManager.cs | 2 +- .../GaoTongs/Inputs/ZuPanEditInput.cs | 2 +- .../GaoTongs/GaoTongAppService.cs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/DocumentSettings/DocumentManager.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/DocumentSettings/DocumentManager.cs index 0f6e2fd99..9e25d389b 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/DocumentSettings/DocumentManager.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/DocumentSettings/DocumentManager.cs @@ -22,7 +22,7 @@ public class DocumentManager : DomainService, IDocumentManager var result = await _documentSettingRepository.FindAsync(p => p.Code == typeName).ConfigureAwait(false); if (result == null) { - throw new UserFriendlyException($"未找到 {typeName} 单据的配置信息"); + throw new UserFriendlyException($"documentSetting未找到 {typeName} 单据的配置信息"); } return result; } diff --git a/be/Modules/Label/src/Win_in.Sfs.Label.Domain/LabelDefinitions/LabelDefinitionManager.cs b/be/Modules/Label/src/Win_in.Sfs.Label.Domain/LabelDefinitions/LabelDefinitionManager.cs index 0c0744ffc..fa34cfa1e 100644 --- a/be/Modules/Label/src/Win_in.Sfs.Label.Domain/LabelDefinitions/LabelDefinitionManager.cs +++ b/be/Modules/Label/src/Win_in.Sfs.Label.Domain/LabelDefinitions/LabelDefinitionManager.cs @@ -23,7 +23,7 @@ public class LabelDefinitionManager : DomainService, ILabelDefinitionManager var result = await _labelDefinitionRepository.FindAsync(p => p.Code == labelType).ConfigureAwait(false); if (result == null) { - throw new UserFriendlyException($"未找到 {labelType} 单据的配置信息"); + throw new UserFriendlyException($"labelDefinition未找到 {labelType} 单据的配置信息"); } return result; } diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/GaoTongs/Inputs/ZuPanEditInput.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/GaoTongs/Inputs/ZuPanEditInput.cs index 743546879..cfe5711bc 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/GaoTongs/Inputs/ZuPanEditInput.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/GaoTongs/Inputs/ZuPanEditInput.cs @@ -17,7 +17,7 @@ public class ZuPanEditInput : EntityDto public string ContainerCode { get; set; } [Display(Name = "数量")] - public string Qty { get; set; } + public decimal Qty { get; set; } [Display(Name = "固定值,在立库中配置。用于多立库时区分哪个立库")] public string ToLocationCode { get; set; } diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/GaoTongs/GaoTongAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/GaoTongs/GaoTongAppService.cs index 80143b4d8..2cd636b5c 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/GaoTongs/GaoTongAppService.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/GaoTongs/GaoTongAppService.cs @@ -88,7 +88,7 @@ public class GaoTongAppService : ApplicationService, IGaoTongAppService detailObj.ItemDesc1 = itemBasicObj.Desc1; detailObj.ItemDesc2 = itemBasicObj.Desc2; detailObj.Uom = itemBasicObj.BasicUom; - detailObj.Qty = input.Qty.TryToDecimalZero(); + detailObj.Qty = input.Qty; //.TryToDecimalZero(); detailObj.StdPackQty = itemBasicObj.StdPackQty; #region 去箱、去批、去托 @@ -204,7 +204,7 @@ public class GaoTongAppService : ApplicationService, IGaoTongAppService detailObj.ItemDesc1 = itemBasicObj.Desc1; detailObj.ItemDesc2 = itemBasicObj.Desc2; detailObj.Uom = itemBasicObj.BasicUom; - detailObj.Qty = input.Qty.TryToDecimalZero(); + detailObj.Qty = input.Qty; //.TryToDecimalZero(); detailObj.StdPackQty = itemBasicObj.StdPackQty; #region 去箱、去批、去托