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 @@
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
@@ -140,16 +212,32 @@
-
+
-
+
-
+
-
+
@@ -158,7 +246,10 @@
-
+
diff --git a/FATrace.WPLApp/Views/FactoryMaterialWithdrawalView.xaml b/FATrace.WPLApp/Views/FactoryMaterialWithdrawalView.xaml
index 563ec12..c444922 100644
--- a/FATrace.WPLApp/Views/FactoryMaterialWithdrawalView.xaml
+++ b/FATrace.WPLApp/Views/FactoryMaterialWithdrawalView.xaml
@@ -2,12 +2,13 @@
x:Class="FATrace.WPLApp.Views.FactoryMaterialWithdrawalView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
+ d:DesignHeight="720"
+ d:DesignWidth="1280"
prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d"
- d:DesignWidth="1280" d:DesignHeight="720">
+ mc:Ignorable="d">
@@ -26,8 +27,14 @@
FontWeight="SemiBold"
Text="工厂-领料" />
-
-
+
+
@@ -41,41 +48,80 @@
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
@@ -83,14 +129,16 @@
-
-
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
@@ -139,16 +208,32 @@
-
+
-
+
-
+
-
+
@@ -157,7 +242,10 @@
-
+
diff --git a/FATrace.WPLApp/Views/FactoryOutboundView.xaml b/FATrace.WPLApp/Views/FactoryOutboundView.xaml
index 8bf8306..b3e1658 100644
--- a/FATrace.WPLApp/Views/FactoryOutboundView.xaml
+++ b/FATrace.WPLApp/Views/FactoryOutboundView.xaml
@@ -2,12 +2,13 @@
x:Class="FATrace.WPLApp.Views.FactoryOutboundView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
+ d:DesignHeight="720"
+ d:DesignWidth="1280"
prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d"
- d:DesignWidth="1280" d:DesignHeight="720">
+ mc:Ignorable="d">
@@ -26,8 +27,14 @@
FontWeight="SemiBold"
Text="工厂-成品出库" />
-
-
+
+
@@ -41,45 +48,88 @@
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
@@ -87,14 +137,16 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
+
@@ -146,16 +228,32 @@
-
+
-
+
-
+
-
+
@@ -164,7 +262,10 @@
-
+
diff --git a/FATrace.WPLApp/Views/OEMInboundView.xaml b/FATrace.WPLApp/Views/OEMInboundView.xaml
index 5b43825..11bd33a 100644
--- a/FATrace.WPLApp/Views/OEMInboundView.xaml
+++ b/FATrace.WPLApp/Views/OEMInboundView.xaml
@@ -162,7 +162,7 @@
+ Header="重量(g)" />
+ mc:Ignorable="d">
@@ -26,8 +27,14 @@
FontWeight="SemiBold"
Text="OEM-出入库" />
-
-
+
+
@@ -41,41 +48,80 @@
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
@@ -83,14 +129,16 @@
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
@@ -140,16 +212,32 @@
-
+
-
+
-
+
-
+
@@ -158,7 +246,10 @@
-
+
diff --git a/FATrace.WPLApp/Views/OEMOutboundView.xaml b/FATrace.WPLApp/Views/OEMOutboundView.xaml
index 0956266..15e1aa1 100644
--- a/FATrace.WPLApp/Views/OEMOutboundView.xaml
+++ b/FATrace.WPLApp/Views/OEMOutboundView.xaml
@@ -2,12 +2,13 @@
x:Class="FATrace.WPLApp.Views.OEMOutboundView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
+ d:DesignHeight="720"
+ d:DesignWidth="1280"
prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d"
- d:DesignWidth="1280" d:DesignHeight="720">
+ mc:Ignorable="d">
@@ -26,8 +27,14 @@
FontWeight="SemiBold"
Text="OEM-出库" />
-
-
+
+
@@ -41,45 +48,88 @@
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
@@ -87,14 +137,16 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
+
@@ -146,16 +228,32 @@
-
+
-
+
-
+
-
+
@@ -164,7 +262,10 @@
-
+
diff --git a/FATrace.WPLApp/Views/OEMRawUsageInfoView.xaml b/FATrace.WPLApp/Views/OEMRawUsageInfoView.xaml
index aa39b3e..5513e89 100644
--- a/FATrace.WPLApp/Views/OEMRawUsageInfoView.xaml
+++ b/FATrace.WPLApp/Views/OEMRawUsageInfoView.xaml
@@ -2,12 +2,13 @@
x:Class="FATrace.WPLApp.Views.OEMRawUsageInfoView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
+ d:DesignHeight="720"
+ d:DesignWidth="1280"
prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d"
- d:DesignWidth="1280" d:DesignHeight="720">
+ mc:Ignorable="d">
@@ -26,8 +27,14 @@
FontWeight="SemiBold"
Text="OEM-原料使用信息" />
-
-
+
+
@@ -41,45 +48,88 @@
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
@@ -87,14 +137,16 @@
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
@@ -142,16 +209,32 @@
-
+
-
+
-
+
-
+
@@ -160,7 +243,10 @@
-
+