You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

494 lines
42 KiB
Plaintext

1 year ago
<Window x:Class="XGLFinishPro.Views.FirstInspectionReport"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:XGLFinishPro.Views"
mc:Ignorable="d"
Loaded="Window_Loaded"
WindowState="Maximized"
Height="1000" Width="1900" ResizeMode="NoResize" WindowStyle="None">
<Window.Resources>
<Style TargetType="ComboBox">
<Setter Property="Width" Value="148"/>
<Setter Property="Height" Value="57"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="HorizontalContentAlignment" Value="Center"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="FontSize" Value="20"/>
<Setter Property="IsEditable" Value="True"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ComboBox">
<Grid x:Name="TogGrid">
<ToggleButton x:Name="ToggleButton"
ClickMode="Press"
Focusable="false"
Click="ToggleButton_Click"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch">
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center"
Content="{TemplateBinding SelectionBoxItem}"
ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}"
ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
</ToggleButton>
<Popup x:Name="Popup"
Placement="Bottom"
IsOpen="{TemplateBinding IsDropDownOpen}"
AllowsTransparency="True"
Focusable="False"
PopupAnimation="Slide">
<Grid x:Name="DropDown"
SnapsToDevicePixels="True"
MinWidth="{TemplateBinding ActualWidth}"
MaxHeight="200">
<Border x:Name="DropDownBorder"
Background="White"
BorderThickness="1"
BorderBrush="Black"/>
<ScrollViewer Margin="4,6,4,6"
SnapsToDevicePixels="True">
<StackPanel IsItemsHost="True"
KeyboardNavigation.DirectionalNavigation="Contained"/>
</ScrollViewer>
</Grid>
</Popup>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsFocused" Value="true">
<Setter TargetName="ToggleButton" Property="Background" Value="Gray"/>
</Trigger>
<Trigger Property="IsMouseOver" Value="true">
<Setter TargetName="ToggleButton" Property="Background" Value="Gray"/>
</Trigger>
<Trigger Property="HasItems" Value="false">
<Setter TargetName="DropDownBorder" Property="MinHeight" Value="95"/>
</Trigger>
<Trigger Property="IsEnabled" Value="false">
<Setter Property="Foreground" Value="Gray"/>
</Trigger>
<Trigger Property="IsGrouping" Value="true">
<Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
</Trigger>
<!-- 新增的Trigger用于在选择完成后将按钮颜色变回原来的颜色 -->
<Trigger Property="IsDropDownOpen" Value="false">
<Setter TargetName="ToggleButton" Property="Background" Value="White"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="CheckBoxStyle" TargetType="{x:Type CheckBox}">
<Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="LayoutTransform">
<Setter.Value>
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
</Setter.Value>
</Setter>
</Style>
<!--<Style x:Key="ComboBoxStyle" TargetType="{x:Type ComboBox}">
<Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="Width" Value="40"/>
<Setter Property="FontSize" Value="15"/>
<Setter Property="LayoutTransform">
<Setter.Value>
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
</Setter.Value>
</Setter>
</Style>-->
<Style x:Key="LabelStyle" TargetType="Label">
<Setter Property="FontSize" Value="25"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
</Style>
<Style x:Key="TextBlockStyle" TargetType="TextBlock">
<Setter Property="FontSize" Value="25"/>
<Setter Property="Margin" Value="10,0,8,0"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
</Style>
</Window.Resources>
<Viewbox>
<Grid x:Name="MainGrid" Height="1000" Width="1850">
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="20"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Vertical">
<Grid Height="200" Width="1900" Background="White">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="2*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal" Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center" Grid.ColumnSpan="3">
<Button Content="刷新" Background="#2B7EE6" Foreground="White" Width="100" FontSize="20" Height="50" Margin="10" Click="Refresh_Click"/>
<Button Content="新增一列" Background="#2B7EE6" Foreground="White" Width="100" FontSize="20" Height="50" Margin="10" Click="Add_Click"/>
<Button Content="提交" Background="#2B7EE6" Foreground="White" Width="100" FontSize="20" Height="50" Margin="10" Click="Submit_Click"/>
<Button Content="关闭" Background="#2B7EE6" Foreground="White" Width="100" FontSize="20" Height="50" Margin="10" Click="Close_Click"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Column="0" Grid.Row="0">
<Image Source="/Resources/logo.png" Width="160" Height="50"/>
</StackPanel>
<StackPanel Grid.Column="0" Grid.ColumnSpan="6">
<TextBlock Text="中山榄菊日化实业有限公司" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="40" TextWrapping="Wrap" />
<TextBlock Text="产品首检记录表" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="40" TextWrapping="Wrap" />
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Column="0" Grid.Row="1">
<TextBlock Text="生产车间:黑蚊香车间" Style="{StaticResource TextBlockStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Column="0" Grid.Row="2">
<TextBlock Text="产品名称:" Style="{StaticResource TextBlockStyle}"/>
<TextBlock x:Name="ProductName1" Style="{StaticResource TextBlockStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="1">
<TextBlock Text="生成产线:" Style="{StaticResource TextBlockStyle}"/>
<TextBlock x:Name="Line1" Style="{StaticResource TextBlockStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Column="2" Grid.Row="1">
<TextBlock Text="检查人:" Style="{StaticResource TextBlockStyle}"/>
<TextBlock x:Name="NickName1" Style="{StaticResource TextBlockStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Column="2" Grid.Row="2">
<TextBlock Text="检查日期:" Style="{StaticResource TextBlockStyle}"/>
<TextBlock x:Name="CheckDate1" Style="{StaticResource TextBlockStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Column="3" Grid.Row="1">
<TextBlock Text="生产车间:黑蚊香车间" Style="{StaticResource TextBlockStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Column="3" Grid.Row="2">
<TextBlock Text="产品名称:" Style="{StaticResource TextBlockStyle}"/>
<TextBlock x:Name="ProductName2" Style="{StaticResource TextBlockStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Column="4" Grid.Row="1">
<TextBlock Text="生成产线:" Style="{StaticResource TextBlockStyle}"/>
<TextBlock x:Name="Line2" Style="{StaticResource TextBlockStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Column="5" Grid.Row="1">
<TextBlock Text="检查人:" Style="{StaticResource TextBlockStyle}"/>
<TextBlock x:Name="NickName2" Style="{StaticResource TextBlockStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Column="5" Grid.Row="2">
<TextBlock Text="检查日期:" Style="{StaticResource TextBlockStyle}"/>
<TextBlock x:Name="CheckDate2" Style="{StaticResource TextBlockStyle}"/>
</StackPanel>
</Grid>
</StackPanel>
</Grid>
<Border Grid.Row="1" BorderBrush="Black" BorderThickness="1">
<Grid x:Name="LeftGrid">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1.2*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="0" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="1" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="1" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="2" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="3" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="4" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="5" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="6" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="7" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="8" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="9" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="10" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line Y2="1" StrokeThickness="1" Stroke="Black" HorizontalAlignment="Left" Stretch="Fill" Grid.Column="0" Grid.RowSpan="12"/>
<Line Y2="1" StrokeThickness="1" Stroke="Black" HorizontalAlignment="Left" Stretch="Fill" Grid.Column="1" Grid.RowSpan="12"/>
<Line Y2="1" StrokeThickness="1" Stroke="Black" HorizontalAlignment="Left" Stretch="Fill" Grid.Column="2" Grid.RowSpan="12"/>
<Line Y2="1" StrokeThickness="1" Stroke="Black" HorizontalAlignment="Left" Stretch="Fill" Grid.Column="3" Grid.RowSpan="12"/>
<Line Y2="1" StrokeThickness="1" Stroke="Black" HorizontalAlignment="Left" Stretch="Fill" Grid.Column="4" Grid.RowSpan="12"/>
<Line Y2="1" StrokeThickness="1" Stroke="Black" HorizontalAlignment="Left" Stretch="Fill" Grid.Column="5" Grid.RowSpan="12"/>
<TextBlock Text="项目" Style="{StaticResource TextBlockStyle}" Grid.RowSpan="2"/>
<TextBlock Text="检查时间" Style="{StaticResource TextBlockStyle}" Grid.Column="1"/>
<TextBlock Text="检查时间" Style="{StaticResource TextBlockStyle}" Grid.Column="2"/>
<TextBlock Text="检查时间" Style="{StaticResource TextBlockStyle}" Grid.Column="3"/>
<TextBlock Text="检查时间" Style="{StaticResource TextBlockStyle}" Grid.Column="4"/>
<TextBlock Text="检查时间" Style="{StaticResource TextBlockStyle}" Grid.Column="5"/>
<TextBlock Text="物料" Style="{StaticResource TextBlockStyle}" Grid.Row="2"/>
<TextBlock Text="产品外观" Style="{StaticResource TextBlockStyle}" Grid.Row="3"/>
<TextBlock Text="生产批号" Style="{StaticResource TextBlockStyle}" Grid.Row="4"/>
<TextBlock Text="灌装量/净含量/喷药量" TextWrapping="Wrap" Style="{StaticResource TextBlockStyle}" Grid.Row="5"/>
<TextBlock Text="打包带及堆板" Style="{StaticResource TextBlockStyle}" Grid.Row="6"/>
<TextBlock Text="生产操作违规" Style="{StaticResource TextBlockStyle}" Grid.Row="7"/>
<TextBlock Text="机器设备异常" Style="{StaticResource TextBlockStyle}" Grid.Row="8"/>
<TextBlock Text="工作环境异常" Style="{StaticResource TextBlockStyle}" Grid.Row="9"/>
<TextBlock Text="其它不良现象" Style="{StaticResource TextBlockStyle}" Grid.Row="10"/>
<TextBlock Text="批量或致命性质量异常" TextWrapping="Wrap" Style="{StaticResource TextBlockStyle}" Grid.Row="11"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="1" Grid.Column="1">
<ComboBox SelectionChanged="ComboBox_Change" x:Name="HourLeft1" Width="50" Height="40"/>
<TextBlock Text=":" VerticalAlignment="Center" Margin="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MintueLeft1" Width="50" Height="40"/>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="1" Grid.Column="2">
<ComboBox SelectionChanged="ComboBox_Change" x:Name="HourLeft2" Width="50" Height="40"/>
<TextBlock Text=":" VerticalAlignment="Center" Margin="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MintueLeft2" Width="50" Height="40"/>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="1" Grid.Column="3">
<ComboBox SelectionChanged="ComboBox_Change" x:Name="HourLeft3" Width="50" Height="40"/>
<TextBlock Text=":" VerticalAlignment="Center" Margin="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MintueLeft3" Width="50" Height="40"/>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="1" Grid.Column="4">
<ComboBox SelectionChanged="ComboBox_Change" x:Name="HourLeft4" Width="50" Height="40"/>
<TextBlock Text=":" VerticalAlignment="Center" Margin="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MintueLeft4" Width="50" Height="40"/>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="1" Grid.Column="5">
<ComboBox SelectionChanged="ComboBox_Change" x:Name="HourLeft5" Width="50" Height="40"/>
<TextBlock Text=":" VerticalAlignment="Center" Margin="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MintueLeft5" Width="50" Height="40"/>
</StackPanel>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MaterialLeft1" Grid.Column="1" Grid.Row="2"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="AppearanceLeft1" Grid.Column="1" Grid.Row="3"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="StampLeft1" Grid.Column="1" Grid.Row="4"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="SprayLeft1" Grid.Column="1" Grid.Row="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="PackageLeft1" Grid.Column="1" Grid.Row="6"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="GenerateLeft1" Grid.Column="1" Grid.Row="7"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="DeviceLeft1" Grid.Column="1" Grid.Row="8"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="WorkLeft1" Grid.Column="1" Grid.Row="9"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OtherLeft1" Grid.Column="1" Grid.Row="10"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OverLeft1" Grid.Column="1" Grid.Row="11"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MaterialLeft2" Grid.Column="2" Grid.Row="2"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="AppearanceLeft2" Grid.Column="2" Grid.Row="3"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="StampLeft2" Grid.Column="2" Grid.Row="4"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="SprayLeft2" Grid.Column="2" Grid.Row="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="PackageLeft2" Grid.Column="2" Grid.Row="6"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="GenerateLeft2" Grid.Column="2" Grid.Row="7"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="DeviceLeft2" Grid.Column="2" Grid.Row="8"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="WorkLeft2" Grid.Column="2" Grid.Row="9"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OtherLeft2" Grid.Column="2" Grid.Row="10"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OverLeft2" Grid.Column="2" Grid.Row="12"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MaterialLeft3" Grid.Column="3" Grid.Row="2"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="AppearanceLeft3" Grid.Column="3" Grid.Row="3"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="StampLeft3" Grid.Column="3" Grid.Row="4"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="SprayLeft3" Grid.Column="3" Grid.Row="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="PackageLeft3" Grid.Column="3" Grid.Row="6"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="GenerateLeft3" Grid.Column="3" Grid.Row="7"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="DeviceLeft3" Grid.Column="3" Grid.Row="8"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="WorkLeft3" Grid.Column="3" Grid.Row="9"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OtherLeft3" Grid.Column="3" Grid.Row="10"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OverLeft3" Grid.Column="3" Grid.Row="13"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MaterialLeft4" Grid.Column="4" Grid.Row="2"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="AppearanceLeft4" Grid.Column="4" Grid.Row="3"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="StampLeft4" Grid.Column="4" Grid.Row="4"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="SprayLeft4" Grid.Column="4" Grid.Row="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="PackageLeft4" Grid.Column="4" Grid.Row="6"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="GenerateLeft4" Grid.Column="4" Grid.Row="7"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="DeviceLeft4" Grid.Column="4" Grid.Row="8"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="WorkLeft4" Grid.Column="4" Grid.Row="9"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OtherLeft4" Grid.Column="4" Grid.Row="10"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OverLeft4" Grid.Column="4" Grid.Row="14"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MaterialLeft5" Grid.Column="5" Grid.Row="2"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="AppearanceLeft5" Grid.Column="5" Grid.Row="3"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="StampLeft5" Grid.Column="5" Grid.Row="4"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="SprayLeft5" Grid.Column="5" Grid.Row="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="PackageLeft5" Grid.Column="5" Grid.Row="6"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="GenerateLeft5" Grid.Column="5" Grid.Row="7"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="DeviceLeft5" Grid.Column="5" Grid.Row="8"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="WorkLeft5" Grid.Column="5" Grid.Row="9"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OtherLeft5" Grid.Column="5" Grid.Row="10"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OverLeft5" Grid.Column="5" Grid.Row="15"/>
</Grid>
</Border>
<Border Grid.Row="1" Grid.Column="2" BorderBrush="Black" BorderThickness="1">
<Grid x:Name="RightGrid" Grid.Row="1" Grid.Column="2">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1.2*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="0" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="1" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="1" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="2" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="3" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="4" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="5" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="6" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="7" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="8" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="9" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line X1="1" StrokeThickness="1" Stroke="Black" Grid.Row="10" VerticalAlignment="Bottom" Stretch="Fill" Grid.Column="0" Grid.ColumnSpan="6"/>
<Line Y2="1" StrokeThickness="1" Stroke="Black" HorizontalAlignment="Left" Stretch="Fill" Grid.Column="0" Grid.RowSpan="12"/>
<Line Y2="1" StrokeThickness="1" Stroke="Black" HorizontalAlignment="Left" Stretch="Fill" Grid.Column="1" Grid.RowSpan="12"/>
<Line Y2="1" StrokeThickness="1" Stroke="Black" HorizontalAlignment="Left" Stretch="Fill" Grid.Column="2" Grid.RowSpan="12"/>
<Line Y2="1" StrokeThickness="1" Stroke="Black" HorizontalAlignment="Left" Stretch="Fill" Grid.Column="3" Grid.RowSpan="12"/>
<Line Y2="1" StrokeThickness="1" Stroke="Black" HorizontalAlignment="Left" Stretch="Fill" Grid.Column="4" Grid.RowSpan="12"/>
<Line Y2="1" StrokeThickness="1" Stroke="Black" HorizontalAlignment="Left" Stretch="Fill" Grid.Column="5" Grid.RowSpan="12"/>
<TextBlock Text="项目" Style="{StaticResource TextBlockStyle}" Grid.RowSpan="2"/>
<TextBlock Text="检查时间" Style="{StaticResource TextBlockStyle}" Grid.Column="1"/>
<TextBlock Text="检查时间" Style="{StaticResource TextBlockStyle}" Grid.Column="2"/>
<TextBlock Text="检查时间" Style="{StaticResource TextBlockStyle}" Grid.Column="3"/>
<TextBlock Text="检查时间" Style="{StaticResource TextBlockStyle}" Grid.Column="4"/>
<TextBlock Text="检查时间" Style="{StaticResource TextBlockStyle}" Grid.Column="5"/>
<TextBlock Text="内容物" Style="{StaticResource TextBlockStyle}" Grid.Row="2"/>
<TextBlock Text="产品外观" Style="{StaticResource TextBlockStyle}" Grid.Row="3"/>
<TextBlock Text="生产批号" Style="{StaticResource TextBlockStyle}" Grid.Row="4"/>
<TextBlock Text="灌装量/净含量/喷药量" TextWrapping="Wrap" Style="{StaticResource TextBlockStyle}" Grid.Row="5"/>
<TextBlock Text="打包带及堆板" Style="{StaticResource TextBlockStyle}" Grid.Row="6"/>
<TextBlock Text="生产操作违规" Style="{StaticResource TextBlockStyle}" Grid.Row="7"/>
<TextBlock Text="机器设备异常" Style="{StaticResource TextBlockStyle}" Grid.Row="8"/>
<TextBlock Text="工作环境异常" Style="{StaticResource TextBlockStyle}" Grid.Row="9"/>
<TextBlock Text="其它不良现象" Style="{StaticResource TextBlockStyle}" Grid.Row="10"/>
<TextBlock Text="批量或致命性质量异常" TextWrapping="Wrap" Style="{StaticResource TextBlockStyle}" Grid.Row="11"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="1" Grid.Column="1">
<ComboBox SelectionChanged="ComboBox_Change" x:Name="HourRight1" Width="50" Height="40"/>
<TextBlock Text=":" VerticalAlignment="Center" Margin="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MintueRight1" Width="50" Height="40"/>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="1" Grid.Column="2">
<ComboBox SelectionChanged="ComboBox_Change" x:Name="HourRight2" Width="50" Height="40"/>
<TextBlock Text=":" VerticalAlignment="Center" Margin="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MintueRight2" Width="50" Height="40"/>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="1" Grid.Column="3">
<ComboBox SelectionChanged="ComboBox_Change" x:Name="HourRight3" Width="50" Height="40"/>
<TextBlock Text=":" VerticalAlignment="Center" Margin="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MintueRight3" Width="50" Height="40"/>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="1" Grid.Column="4">
<ComboBox SelectionChanged="ComboBox_Change" x:Name="HourRight4" Width="50" Height="40"/>
<TextBlock Text=":" VerticalAlignment="Center" Margin="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MintueRight4" Width="50" Height="40"/>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="1" Grid.Column="5">
<ComboBox SelectionChanged="ComboBox_Change" x:Name="HourRight5" Width="50" Height="40"/>
<TextBlock Text=":" VerticalAlignment="Center" Margin="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MintueRight5" Width="50" Height="40"/>
</StackPanel>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MaterialRight1" Grid.Column="1" Grid.Row="2"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="AppearanceRight1" Grid.Column="1" Grid.Row="3"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="StampRight1" Grid.Column="1" Grid.Row="4"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="SprayRight1" Grid.Column="1" Grid.Row="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="PackageRight1" Grid.Column="1" Grid.Row="6"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="GenerateRight1" Grid.Column="1" Grid.Row="7"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="DeviceRight1" Grid.Column="1" Grid.Row="8"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="WorkRight1" Grid.Column="1" Grid.Row="9"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OtherRight1" Grid.Column="1" Grid.Row="10"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OverRight1" Grid.Column="1" Grid.Row="11"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MaterialRight2" Grid.Column="2" Grid.Row="2"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="AppearanceRight2" Grid.Column="2" Grid.Row="3"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="StampRight2" Grid.Column="2" Grid.Row="4"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="SprayRight2" Grid.Column="2" Grid.Row="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="PackageRight2" Grid.Column="2" Grid.Row="6"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="GenerateRight2" Grid.Column="2" Grid.Row="7"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="DeviceRight2" Grid.Column="2" Grid.Row="8"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="WorkRight2" Grid.Column="2" Grid.Row="9"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OtherRight2" Grid.Column="2" Grid.Row="10"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OverRight2" Grid.Column="2" Grid.Row="12"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MaterialRight3" Grid.Column="3" Grid.Row="2"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="AppearanceRight3" Grid.Column="3" Grid.Row="3"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="StampRight3" Grid.Column="3" Grid.Row="4"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="SprayRight3" Grid.Column="3" Grid.Row="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="PackageRight3" Grid.Column="3" Grid.Row="6"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="GenerateRight3" Grid.Column="3" Grid.Row="7"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="DeviceRight3" Grid.Column="3" Grid.Row="8"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="WorkRight3" Grid.Column="3" Grid.Row="9"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OtherRight3" Grid.Column="3" Grid.Row="10"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OverRight3" Grid.Column="3" Grid.Row="13"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MaterialRight4" Grid.Column="4" Grid.Row="2"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="AppearanceRight4" Grid.Column="4" Grid.Row="3"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="StampRight4" Grid.Column="4" Grid.Row="4"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="SprayRight4" Grid.Column="4" Grid.Row="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="PackageRight4" Grid.Column="4" Grid.Row="6"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="GenerateRight4" Grid.Column="4" Grid.Row="7"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="DeviceRight4" Grid.Column="4" Grid.Row="8"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="WorkRight4" Grid.Column="4" Grid.Row="9"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OtherRight4" Grid.Column="4" Grid.Row="10"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OverRight4" Grid.Column="4" Grid.Row="14"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="MaterialRight5" Grid.Column="5" Grid.Row="2"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="AppearanceRight5" Grid.Column="5" Grid.Row="3"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="StampRight5" Grid.Column="5" Grid.Row="4"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="SprayRight5" Grid.Column="5" Grid.Row="5"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="PackageRight5" Grid.Column="5" Grid.Row="6"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="GenerateRight5" Grid.Column="5" Grid.Row="7"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="DeviceRight5" Grid.Column="5" Grid.Row="8"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="WorkRight5" Grid.Column="5" Grid.Row="9"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OtherRight5" Grid.Column="5" Grid.Row="10"/>
<ComboBox SelectionChanged="ComboBox_Change" x:Name="OverRight5" Grid.Column="5" Grid.Row="15"/>
</Grid>
</Border>
<Border VerticalAlignment="Top" Height="100" Grid.Row="2" BorderBrush="Black" BorderThickness="1" Grid.Column="0" Margin="0,0,0,10" Grid.ColumnSpan="6">
<StackPanel>
<TextBlock Text="备注:" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
<TextBlock Text="1、无异常的打√有异常的描述异常及数量比例有数据的需要填写数据" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
<TextBlock Text="2、正式开工前、更换产品或版本、关键设备故障维护后需进行首件确认并填写记录" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
</StackPanel>
</Border>
</Grid>
</Viewbox>
</Window>