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.
176 lines
7.9 KiB
XML
176 lines
7.9 KiB
XML
<UserControl
|
|
x:Class="COSMO.IM.LanJu.Index.LanJu_Prepare"
|
|
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:local="clr-namespace:COSMO.IM.LanJu.Index"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
Width="1920"
|
|
Height="800"
|
|
mc:Ignorable="d">
|
|
<UserControl.Resources>
|
|
<Style x:Key="RoundButton" TargetType="Button">
|
|
<Setter Property="Width" Value="25" />
|
|
<Setter Property="Height" Value="25" />
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Grid>
|
|
<Ellipse
|
|
Name="GelBackground"
|
|
Stroke="Black"
|
|
StrokeThickness="1">
|
|
|
|
</Ellipse>
|
|
<ContentPresenter
|
|
Name="GelButtonContent"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Content="{TemplateBinding Content}" />
|
|
<Grid.Background>
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
<GradientStop Color="#FF2281D1"></GradientStop>
|
|
<GradientStop Color="#FF34268A" Offset="1"></GradientStop>
|
|
<GradientStop Color="#FF33288B" Offset="0.5"></GradientStop>
|
|
</LinearGradientBrush>
|
|
</Grid.Background>
|
|
</Grid>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
</UserControl.Resources>
|
|
|
|
<Viewbox Stretch="Fill">
|
|
<Canvas
|
|
Width="1920"
|
|
Height="800"
|
|
Background="#F2F3F5">
|
|
<Grid
|
|
Canvas.Top="-10"
|
|
Width="1920"
|
|
Height="800"
|
|
Margin="0">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1546" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="310" />
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="350" />
|
|
</Grid.RowDefinitions>
|
|
<Label
|
|
Grid.Row="0"
|
|
Grid.Column="0"
|
|
Width="175"
|
|
Height="37"
|
|
Margin="26,5,0,0"
|
|
HorizontalAlignment="Left">
|
|
<TextBlock
|
|
FontSize="22"
|
|
FontWeight="Bold"
|
|
Text="准备清单" />
|
|
</Label>
|
|
|
|
<DataGrid
|
|
Grid.Row="1"
|
|
Grid.Column="0"
|
|
Width="1520"
|
|
Height="309"
|
|
Margin="25,0,0,0"
|
|
AutoGenerateColumns="False">
|
|
<DataGrid.ColumnHeaderStyle>
|
|
<Style TargetType="DataGridColumnHeader">
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
<Setter Property="Height" Value="48" />
|
|
<Setter Property="FontSize" Value="24" />
|
|
<Setter Property="Foreground" Value="White" />
|
|
<Setter Property="Background" Value="#2B7EE6" />
|
|
</Style>
|
|
</DataGrid.ColumnHeaderStyle>
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Width="304" Header="序号" />
|
|
<DataGridTextColumn Width="304" Header="准备类型" />
|
|
<DataGridTextColumn Width="304" Header="准备内容" />
|
|
<DataGridTextColumn Width="304" Header="状态" />
|
|
<DataGridTextColumn Width="300" Header="完成时间" />
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
|
|
<Button
|
|
x:Name="btnStartOrders"
|
|
Grid.Row="1"
|
|
Grid.Column="1"
|
|
Width="250"
|
|
Height="250"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Foreground="White"
|
|
FontSize="16"
|
|
Content="开始工单"
|
|
Style="{StaticResource RoundButton}"/>
|
|
|
|
<Label
|
|
Grid.Row="2"
|
|
Grid.Column="0"
|
|
Width="175"
|
|
Height="37"
|
|
Margin="26,5,0,0"
|
|
HorizontalAlignment="Left">
|
|
<TextBlock
|
|
FontSize="22"
|
|
FontWeight="Bold"
|
|
Text="工单" />
|
|
</Label>
|
|
<DataGrid
|
|
x:Name="WorkOrder"
|
|
Grid.Row="3"
|
|
Grid.Column="0"
|
|
Grid.ColumnSpan="2"
|
|
Width="2490"
|
|
Height="309"
|
|
Margin="25,0,0,0"
|
|
HorizontalAlignment="Left"
|
|
AutoGenerateColumns="False">
|
|
<DataGrid.ColumnHeaderStyle>
|
|
<Style TargetType="DataGridColumnHeader">
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
<Setter Property="Height" Value="48" />
|
|
<Setter Property="FontSize" Value="24" />
|
|
<Setter Property="Foreground" Value="White" />
|
|
<Setter Property="Background" Value="#2B7EE6" />
|
|
</Style>
|
|
</DataGrid.ColumnHeaderStyle>
|
|
<DataGrid.Columns>
|
|
<DataGridTemplateColumn Width="350" Header="操作">
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
<DataTemplate>
|
|
<StackPanel
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
<Button
|
|
Width="90"
|
|
Height="30"
|
|
Background="Black"
|
|
Content="11" />
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
</DataGridTemplateColumn>
|
|
<DataGridTextColumn Width="200" Header="序号" />
|
|
<DataGridTextColumn Width="250" Header="工单编码" />
|
|
<DataGridTextColumn Width="150" Header="订单编码" />
|
|
<DataGridTextColumn Width="450" Header="产品名称" />
|
|
<DataGridTextColumn Width="200" Header="产品型号" />
|
|
<DataGridTextColumn Width="200" Header="工单数量" />
|
|
<DataGridTextColumn Width="*" Header="生产批次" />
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
</Grid>
|
|
</Canvas>
|
|
</Viewbox>
|
|
</UserControl>
|