diff --git a/FATrace.Model/FileModel/OEMInventoryTransaction.cs b/FATrace.Model/FileModel/OEMInventoryTransaction.cs index 04d5df6..ab1481e 100644 --- a/FATrace.Model/FileModel/OEMInventoryTransaction.cs +++ b/FATrace.Model/FileModel/OEMInventoryTransaction.cs @@ -40,18 +40,18 @@ namespace FATrace.Model public string? RawName { get; set; } /// - /// 入库总重量 KG + /// 入库总箱数 /// - public string? TotalInWeightKg { get; set; } + public string? TotalInCase { get; set; } /// - /// 出库总重量 KG + /// 出库总箱数 /// - public string? TotalOutWeightKg { get; set; } + public string? TotalOutCase { get; set; } /// - /// 剩余重量 KG + /// 剩余箱数 /// - public string? RemainWeightKg { get; set; } + public string? RemainCase { get; set; } } } diff --git a/FATrace.WPLApp/Services/ReadFileServices.cs b/FATrace.WPLApp/Services/ReadFileServices.cs index 74ebfa3..f98e4c4 100644 --- a/FATrace.WPLApp/Services/ReadFileServices.cs +++ b/FATrace.WPLApp/Services/ReadFileServices.cs @@ -592,13 +592,13 @@ namespace FATrace.WPLApp.Services Origin = GetCellString(row, 2, formatter), RawCode = GetCellString(row, 3, formatter), RawName = GetCellString(row, 4, formatter), - TotalInWeightKg = GetCellString(row, 5, formatter), - TotalOutWeightKg = GetCellString(row, 6, formatter), - RemainWeightKg = GetCellString(row, 7, formatter) + TotalInCase = GetCellString(row, 5, formatter), + TotalOutCase = GetCellString(row, 6, formatter), + RemainCase = GetCellString(row, 7, formatter) }; if (IsAllEmpty(entity.InTime, entity.OutTime, entity.Origin, entity.RawCode, entity.RawName, - entity.TotalInWeightKg, entity.TotalOutWeightKg, entity.RemainWeightKg)) + entity.TotalInCase, entity.TotalOutCase, entity.RemainCase)) continue; list.Add(entity); diff --git a/FATrace.WPLApp/Views/FactoryInboundView.xaml b/FATrace.WPLApp/Views/FactoryInboundView.xaml index bba6df9..c821f54 100644 --- a/FATrace.WPLApp/Views/FactoryInboundView.xaml +++ b/FATrace.WPLApp/Views/FactoryInboundView.xaml @@ -162,7 +162,7 @@ + Header="重量(KG)" /> + mc:Ignorable="d"> @@ -26,8 +27,14 @@ FontWeight="SemiBold" Text="工厂-出入库" /> - - + + @@ -41,41 +48,80 @@ - - + + - + - + - - + + - + - - - - @@ -83,14 +129,16 @@ - - + + - - - - - - - - + + + + + + + + - + @@ -140,16 +212,32 @@ - - @@ -83,14 +129,16 @@ - - + + - - - - - - - + + + + + + + - + @@ -139,16 +208,32 @@ - - @@ -87,14 +137,16 @@ - - + + - - - - - - - - - - + + + + + + + + + + - + @@ -146,16 +228,32 @@ - - @@ -83,14 +129,16 @@ - - + + - - - - - - - - + + + + + + + + - + @@ -140,16 +212,32 @@ - - @@ -87,14 +137,16 @@ - - + + - - - - - - - - - - + + + + + + + + + + - + @@ -146,16 +228,32 @@ - - @@ -87,14 +137,16 @@ - - + + - - - - - - + + + + + + - + @@ -142,16 +209,32 @@ -