Browse Source

界面及图标优化

LT069288 2 months ago
parent
commit
59d4e60305

BIN
UniformMaterialManagementSystem/Resources/Pictures/DeliveryReceipt.png


BIN
UniformMaterialManagementSystem/Resources/Pictures/FactoryLicense.png


BIN
UniformMaterialManagementSystem/Resources/Pictures/MaterialReceipt.png


BIN
UniformMaterialManagementSystem/Resources/Pictures/MaterialUsage.png


+ 4 - 10
UniformMaterialManagementSystem/Views/ContractPage.xaml

@@ -151,7 +151,7 @@
         </Style>
         </Style>
 
 
     </UserControl.Resources>
     </UserControl.Resources>
-    <Grid>
+    <Grid Background="White">
         <TabControl FlowDirection="LeftToRight">
         <TabControl FlowDirection="LeftToRight">
             <TabItem Header="合同录入">
             <TabItem Header="合同录入">
                 <Grid Background="White">
                 <Grid Background="White">
@@ -161,10 +161,7 @@
                         <RowDefinition Height="Auto" />
                         <RowDefinition Height="Auto" />
                         <RowDefinition Height="*" />
                         <RowDefinition Height="*" />
                     </Grid.RowDefinitions>
                     </Grid.RowDefinitions>
-                    <Border
-                        Grid.Row="0"
-                        BorderBrush="Gray"
-                        BorderThickness="1">
+                    <Border Grid.Row="0">
                         <Grid>
                         <Grid>
                             <ToolBarPanel>
                             <ToolBarPanel>
                                 <ToolBar Background="White" ToolBarTray.IsLocked="True">
                                 <ToolBar Background="White" ToolBarTray.IsLocked="True">
@@ -1102,10 +1099,7 @@
                         <RowDefinition Height="*" />
                         <RowDefinition Height="*" />
                     </Grid.RowDefinitions>
                     </Grid.RowDefinitions>
                     <!--  菜单项  -->
                     <!--  菜单项  -->
-                    <Border
-                        Grid.Row="0"
-                        BorderBrush="Gray"
-                        BorderThickness="1">
+                    <Border Grid.Row="0">
                         <Grid Background="White">
                         <Grid Background="White">
                             <Grid.ColumnDefinitions>
                             <Grid.ColumnDefinitions>
                                 <ColumnDefinition Width="80" />
                                 <ColumnDefinition Width="80" />
@@ -1355,7 +1349,7 @@
                         Height="2"
                         Height="2"
                         HorizontalAlignment="Stretch" />
                         HorizontalAlignment="Stretch" />
                     <ScrollViewer Grid.Row="3" VerticalScrollBarVisibility="Auto">
                     <ScrollViewer Grid.Row="3" VerticalScrollBarVisibility="Auto">
-                        <Border BorderBrush="LightSlateGray" BorderThickness="1">
+                        <Border>
                             <Grid Background="White">
                             <Grid Background="White">
                                 <Grid.RowDefinitions>
                                 <Grid.RowDefinitions>
                                     <RowDefinition Height="60" />
                                     <RowDefinition Height="60" />

+ 1 - 1
UniformMaterialManagementSystem/Views/FactoryLicense/FactoryLicenseInputPage.xaml

@@ -151,7 +151,7 @@
                 <Border
                 <Border
                     Grid.Row="0"
                     Grid.Row="0"
                     BorderBrush="Gray"
                     BorderBrush="Gray"
-                    BorderThickness="1">
+                    BorderThickness="0,0,1,0">
                     <Grid Background="White">
                     <Grid Background="White">
                         <Grid.ColumnDefinitions>
                         <Grid.ColumnDefinitions>
                             <ColumnDefinition Width="Auto" />
                             <ColumnDefinition Width="Auto" />

+ 1 - 1
UniformMaterialManagementSystem/Views/FactoryLicense/FactoryLicenseManagePage.xaml

@@ -150,7 +150,7 @@
                 <Border
                 <Border
                     Grid.Row="0"
                     Grid.Row="0"
                     BorderBrush="Gray"
                     BorderBrush="Gray"
-                    BorderThickness="1">
+                    BorderThickness="0,0,1,0">
                     <Grid Background="White">
                     <Grid Background="White">
                         <Grid.ColumnDefinitions>
                         <Grid.ColumnDefinitions>
                             <ColumnDefinition Width="Auto" />
                             <ColumnDefinition Width="Auto" />

+ 1 - 1
UniformMaterialManagementSystem/Views/FactoryLicensePage.xaml

@@ -8,7 +8,7 @@
     d:DesignHeight="450"
     d:DesignHeight="450"
     d:DesignWidth="800"
     d:DesignWidth="800"
     mc:Ignorable="d">
     mc:Ignorable="d">
-    <Grid>
+    <Grid Background="White">
         <TabControl>
         <TabControl>
             <TabItem Header="许可证录入">
             <TabItem Header="许可证录入">
                 <license:FactoryLicenseInputPage />
                 <license:FactoryLicenseInputPage />

+ 1 - 1
UniformMaterialManagementSystem/Views/InspectApplyAndInspectionRecordPage.xaml

@@ -8,7 +8,7 @@
     d:DesignHeight="450"
     d:DesignHeight="450"
     d:DesignWidth="800"
     d:DesignWidth="800"
     mc:Ignorable="d">
     mc:Ignorable="d">
-    <Grid>
+    <Grid Background="White">
         <TabControl FlowDirection="LeftToRight">
         <TabControl FlowDirection="LeftToRight">
             <TabItem Header="检验申请录入">
             <TabItem Header="检验申请录入">
                 <local:InspectApplyPage />
                 <local:InspectApplyPage />

+ 9 - 14
UniformMaterialManagementSystem/Views/InspectApplyPage.xaml

@@ -164,7 +164,7 @@
         <Border
         <Border
             Grid.Row="0"
             Grid.Row="0"
             BorderBrush="Gray"
             BorderBrush="Gray"
-            BorderThickness="1">
+            BorderThickness="0,0,0,1">
             <ToolBarPanel>
             <ToolBarPanel>
                 <ToolBar Background="White" ToolBarTray.IsLocked="True">
                 <ToolBar Background="White" ToolBarTray.IsLocked="True">
                     <Button Click="Button_Click" Command="{Binding SaveInspectApplyCommand}">
                     <Button Click="Button_Click" Command="{Binding SaveInspectApplyCommand}">
@@ -196,10 +196,7 @@
             </ToolBarPanel>
             </ToolBarPanel>
         </Border>
         </Border>
 
 
-        <Border
-            Grid.Row="1"
-            BorderBrush="Gray"
-            BorderThickness="1">
+        <Border Grid.Row="1">
             <Grid Background="White">
             <Grid Background="White">
                 <Grid.ColumnDefinitions>
                 <Grid.ColumnDefinitions>
                     <ColumnDefinition Width="3*" />
                     <ColumnDefinition Width="3*" />
@@ -208,11 +205,7 @@
                 </Grid.ColumnDefinitions>
                 </Grid.ColumnDefinitions>
                 <!--  左侧  -->
                 <!--  左侧  -->
                 <ScrollViewer Grid.Column="0" VerticalScrollBarVisibility="Auto">
                 <ScrollViewer Grid.Column="0" VerticalScrollBarVisibility="Auto">
-                    <Border
-                        Grid.Column="0"
-                        Padding="10,10,20,10"
-                        BorderBrush="Gray"
-                        BorderThickness="1">
+                    <Border Padding="10,10,20,10">
                         <Grid Background="White">
                         <Grid Background="White">
                             <Grid.RowDefinitions>
                             <Grid.RowDefinitions>
                                 <RowDefinition Height="Auto" />
                                 <RowDefinition Height="Auto" />
@@ -830,16 +823,18 @@
                 <GridSplitter
                 <GridSplitter
                     Grid.Column="1"
                     Grid.Column="1"
                     Width="2"
                     Width="2"
-                    HorizontalAlignment="Stretch" />
+                    HorizontalAlignment="Stretch"
+                    BorderBrush="LightSlateGray"
+                    BorderThickness="0,0,1,0" />
                 <!--  右侧  -->
                 <!--  右侧  -->
                 <Border
                 <Border
                     Grid.Column="2"
                     Grid.Column="2"
                     Padding="10,10,10,10"
                     Padding="10,10,10,10"
                     BorderBrush="Gray"
                     BorderBrush="Gray"
-                    BorderThickness="1">
+                    BorderThickness="0,0,0,0">
                     <Grid Background="White">
                     <Grid Background="White">
                         <Grid.RowDefinitions>
                         <Grid.RowDefinitions>
-                            <RowDefinition Height="50" />
+                            <RowDefinition Height="35" />
                             <RowDefinition Height="*" />
                             <RowDefinition Height="*" />
                         </Grid.RowDefinitions>
                         </Grid.RowDefinitions>
                         <TextBlock
                         <TextBlock
@@ -856,7 +851,7 @@
                             <Border
                             <Border
                                 Grid.Row="0"
                                 Grid.Row="0"
                                 BorderBrush="Gray"
                                 BorderBrush="Gray"
-                                BorderThickness="1">
+                                BorderThickness="1,1,1,0">
                                 <ToolBarPanel>
                                 <ToolBarPanel>
                                     <ToolBar Background="White" ToolBarTray.IsLocked="True">
                                     <ToolBar Background="White" ToolBarTray.IsLocked="True">
                                         <Button
                                         <Button

+ 9 - 7
UniformMaterialManagementSystem/Views/InspectionRecordPage.xaml

@@ -170,7 +170,7 @@
                 <Border
                 <Border
                     Grid.Row="0"
                     Grid.Row="0"
                     BorderBrush="Gray"
                     BorderBrush="Gray"
-                    BorderThickness="1">
+                    BorderThickness="0,0,0,0">
                     <Grid Background="White">
                     <Grid Background="White">
                         <Grid.ColumnDefinitions>
                         <Grid.ColumnDefinitions>
                             <ColumnDefinition Width="Auto" />
                             <ColumnDefinition Width="Auto" />
@@ -523,10 +523,9 @@
                         <!--  左侧  -->
                         <!--  左侧  -->
                         <ScrollViewer Grid.Column="0" VerticalScrollBarVisibility="Auto">
                         <ScrollViewer Grid.Column="0" VerticalScrollBarVisibility="Auto">
                             <Border
                             <Border
-                                Grid.Column="0"
                                 Padding="10,10,20,10"
                                 Padding="10,10,20,10"
                                 BorderBrush="Gray"
                                 BorderBrush="Gray"
-                                BorderThickness="1">
+                                BorderThickness="0">
                                 <Grid Background="White">
                                 <Grid Background="White">
                                     <Grid.RowDefinitions>
                                     <Grid.RowDefinitions>
                                         <RowDefinition Height="Auto" />
                                         <RowDefinition Height="Auto" />
@@ -839,6 +838,7 @@
                                         Grid.Row="8"
                                         Grid.Row="8"
                                         Grid.Column="1"
                                         Grid.Column="1"
                                         Grid.ColumnSpan="3"
                                         Grid.ColumnSpan="3"
+                                        Height="185"
                                         Padding="5"
                                         Padding="5"
                                         FontSize="14"
                                         FontSize="14"
                                         IsReadOnly="True"
                                         IsReadOnly="True"
@@ -941,16 +941,18 @@
             <GridSplitter
             <GridSplitter
                 Grid.Column="1"
                 Grid.Column="1"
                 Width="2"
                 Width="2"
-                HorizontalAlignment="Stretch" />
+                HorizontalAlignment="Stretch"
+                BorderBrush="LightSlateGray"
+                BorderThickness="0,0,1,0" />
             <Grid Grid.Column="2" Background="White">
             <Grid Grid.Column="2" Background="White">
                 <!--  右侧  -->
                 <!--  右侧  -->
                 <Border
                 <Border
                     Padding="10,10,10,10"
                     Padding="10,10,10,10"
                     BorderBrush="Gray"
                     BorderBrush="Gray"
-                    BorderThickness="1">
+                    BorderThickness="0">
                     <Grid Background="White">
                     <Grid Background="White">
                         <Grid.RowDefinitions>
                         <Grid.RowDefinitions>
-                            <RowDefinition Height="50" />
+                            <RowDefinition Height="35" />
                             <RowDefinition Height="*" />
                             <RowDefinition Height="*" />
                         </Grid.RowDefinitions>
                         </Grid.RowDefinitions>
                         <TextBlock
                         <TextBlock
@@ -967,7 +969,7 @@
                             <Border
                             <Border
                                 Grid.Row="0"
                                 Grid.Row="0"
                                 BorderBrush="Gray"
                                 BorderBrush="Gray"
-                                BorderThickness="1">
+                                BorderThickness="1,1,1,0">
                                 <ToolBarPanel>
                                 <ToolBarPanel>
                                     <ToolBar Background="White" ToolBarTray.IsLocked="True">
                                     <ToolBar Background="White" ToolBarTray.IsLocked="True">
                                         <Button Command="{Binding ExportDetailCommand}">
                                         <Button Command="{Binding ExportDetailCommand}">

+ 2 - 2
UniformMaterialManagementSystem/Views/InspectionReport/InspectionReportInputPage.xaml

@@ -154,7 +154,7 @@
                 <Border
                 <Border
                     Grid.Row="0"
                     Grid.Row="0"
                     BorderBrush="Gray"
                     BorderBrush="Gray"
-                    BorderThickness="1">
+                    BorderThickness="0,0,1,0">
                     <Grid Background="White">
                     <Grid Background="White">
                         <Grid.ColumnDefinitions>
                         <Grid.ColumnDefinitions>
                             <ColumnDefinition Width="Auto" />
                             <ColumnDefinition Width="Auto" />
@@ -697,7 +697,7 @@
                         <Border
                         <Border
                             Grid.Row="0"
                             Grid.Row="0"
                             BorderBrush="Gray"
                             BorderBrush="Gray"
-                            BorderThickness="1">
+                            BorderThickness="1,1,1,0">
                             <ToolBarPanel>
                             <ToolBarPanel>
                                 <ToolBar Background="White" ToolBarTray.IsLocked="True">
                                 <ToolBar Background="White" ToolBarTray.IsLocked="True">
                                     <Button HorizontalContentAlignment="Center" Command="{Binding AddInspectionReportDetailCommand}">
                                     <Button HorizontalContentAlignment="Center" Command="{Binding AddInspectionReportDetailCommand}">

+ 2 - 2
UniformMaterialManagementSystem/Views/InspectionReport/InspectionReportManagePage.xaml

@@ -155,7 +155,7 @@
                 <Border
                 <Border
                     Grid.Row="0"
                     Grid.Row="0"
                     BorderBrush="Gray"
                     BorderBrush="Gray"
-                    BorderThickness="1">
+                    BorderThickness="0,0,1,0">
                     <ToolBarPanel>
                     <ToolBarPanel>
                         <ToolBar Background="White" ToolBarTray.IsLocked="True">
                         <ToolBar Background="White" ToolBarTray.IsLocked="True">
                             <Button Command="{Binding LoadDataCommand}">
                             <Button Command="{Binding LoadDataCommand}">
@@ -759,7 +759,7 @@
                         <Border
                         <Border
                             Grid.Row="0"
                             Grid.Row="0"
                             BorderBrush="Gray"
                             BorderBrush="Gray"
-                            BorderThickness="1">
+                            BorderThickness="1,1,1,0">
                             <ToolBarPanel>
                             <ToolBarPanel>
                                 <ToolBar Background="White" ToolBarTray.IsLocked="True">
                                 <ToolBar Background="White" ToolBarTray.IsLocked="True">
                                     <Button
                                     <Button

+ 1 - 1
UniformMaterialManagementSystem/Views/SampleRegistration/SampleRegistrationInputPage.xaml

@@ -154,7 +154,7 @@
                 <Border
                 <Border
                     Grid.Row="0"
                     Grid.Row="0"
                     BorderBrush="Gray"
                     BorderBrush="Gray"
-                    BorderThickness="1">
+                    BorderThickness="0,0,1,0">
                     <ToolBarPanel>
                     <ToolBarPanel>
                         <ToolBar Background="White" ToolBarTray.IsLocked="True">
                         <ToolBar Background="White" ToolBarTray.IsLocked="True">
 
 

+ 1 - 1
UniformMaterialManagementSystem/Views/SampleRegistration/SampleRegistrationManagePage.xaml

@@ -155,7 +155,7 @@
                 <Border
                 <Border
                     Grid.Row="0"
                     Grid.Row="0"
                     BorderBrush="Gray"
                     BorderBrush="Gray"
-                    BorderThickness="1">
+                    BorderThickness="0,0,1,0">
                     <ToolBarPanel>
                     <ToolBarPanel>
                         <ToolBar Background="White" ToolBarTray.IsLocked="True">
                         <ToolBar Background="White" ToolBarTray.IsLocked="True">
 
 

+ 1 - 1
UniformMaterialManagementSystem/Views/SampleRegistrationPage.xaml

@@ -9,7 +9,7 @@
     d:DesignHeight="450"
     d:DesignHeight="450"
     d:DesignWidth="800"
     d:DesignWidth="800"
     mc:Ignorable="d">
     mc:Ignorable="d">
-    <Grid>
+    <Grid Background="White">
         <TabControl>
         <TabControl>
             <TabItem Header="抽样登记录入">
             <TabItem Header="抽样登记录入">
                 <sample:SampleRegistrationInputPage />
                 <sample:SampleRegistrationInputPage />