|
@@ -2,6 +2,7 @@
|
|
using CommunityToolkit.Mvvm.Input;
|
|
using CommunityToolkit.Mvvm.Input;
|
|
using Microsoft.Win32;
|
|
using Microsoft.Win32;
|
|
using System.Collections.ObjectModel;
|
|
using System.Collections.ObjectModel;
|
|
|
|
+using System.Collections.Specialized;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Data;
|
|
using System.Data;
|
|
@@ -146,6 +147,13 @@ namespace UniformMaterialManagementSystem.ViewModels
|
|
|
|
|
|
//默认情况说明
|
|
//默认情况说明
|
|
_defaultApplyDescription = ApplyDescription = $"订购方送检的理化检测报告合格,报告号: [{InspReportNo}]{Environment.NewLine}按照生产工艺及标准规范要求,我公司对该产品的外观颜色、花型条干、实物质量、理化性能等自检合格,现依据监督检验有关要求,申请出厂检验。{Environment.NewLine}总包数: [{TotalPackage}] 包{Environment.NewLine}总数量: [{InspQuantity}] {Environment.NewLine}详见附表{Environment.NewLine}";
|
|
_defaultApplyDescription = ApplyDescription = $"订购方送检的理化检测报告合格,报告号: [{InspReportNo}]{Environment.NewLine}按照生产工艺及标准规范要求,我公司对该产品的外观颜色、花型条干、实物质量、理化性能等自检合格,现依据监督检验有关要求,申请出厂检验。{Environment.NewLine}总包数: [{TotalPackage}] 包{Environment.NewLine}总数量: [{InspQuantity}] {Environment.NewLine}详见附表{Environment.NewLine}";
|
|
|
|
+
|
|
|
|
+ InspectApplyDetails.CollectionChanged += InspectApplyDetailsOnCollectionChanged;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ private void InspectApplyDetailsOnCollectionChanged(object? sender, NotifyCollectionChangedEventArgs e)
|
|
|
|
+ {
|
|
|
|
+ CalculateDetailSummary();
|
|
}
|
|
}
|
|
|
|
|
|
#region 检验申请录入相关方法
|
|
#region 检验申请录入相关方法
|