Просмотр исходного кода

修复检验申请测试缺陷:总计XX米,单位由产品携带

LT069288 2 месяцев назад
Родитель
Сommit
8a76ef0d1d

+ 1 - 1
UniformMaterialManagementSystem/ViewModels/InspectApplyPageViewModel.cs

@@ -216,7 +216,7 @@ namespace UniformMaterialManagementSystem.ViewModels
 
             /*将累计报检数量(含本次)、累计报检次数附加到“申请检验准备情况说明”中*/
             decimal totalInspectedQuantity = InspQuantity + CalculateInspectedQuantity(WorkYear, SelectedCompany?.Guid, SelectedMaterial?.Guid);
-            ApplyDescription += $"该品种累计报检数量:{totalInspectedQuantity}(含此次报检数量){Environment.NewLine}";
+            ApplyDescription += $"该品种累计报检数量:{totalInspectedQuantity}{SelectedMaterial?.MeasureUnit}(含此次报检数量){Environment.NewLine}";
 
             //int totalTimes = CalculateSampleTimes(WorkYear, SelectedCompany?.Guid, SelectedMaterial?.Guid);
             //ApplyDescription += $"累计送检次数:{totalTimes}次";