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.
74 lines
5.3 KiB
XML
74 lines
5.3 KiB
XML
<Window x:Class="Admin.Core.Wpf.Views.PrintToDevView"
|
|
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:Admin.Core.Wpf.Views"
|
|
mc:Ignorable="d"
|
|
Background="White"
|
|
Title="打印" Height="500" Width="500">
|
|
<Grid>
|
|
<Border BorderBrush="#0288d1" BorderThickness="1" Padding="5" CornerRadius="5">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="5*"/>
|
|
<RowDefinition Height="5*"/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<UniformGrid Grid.Row="0" >
|
|
<GroupBox Margin="16 0" Header="订单信息" >
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<WrapPanel Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="计划编号" FontSize="15" Foreground="Gray" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<TextBox FontSize="15" Text="{Binding PlanCode}" Width="100" Foreground="Gray" Margin="15 0 0 0" VerticalAlignment="Center" IsReadOnly="True"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="订单编码" FontSize="15" Foreground="Gray" />
|
|
<TextBox Text="{Binding OrderNo}" FontSize="15" Width="100" Foreground="Gray" Margin="10 0 0 0" HorizontalAlignment="Center" VerticalAlignment="Center" IsReadOnly="True"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="产品名称" FontSize="15" Foreground="Gray" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<TextBox Text="{Binding MaterialName}" FontSize="15" Width="100" Foreground="Gray" Margin="10 0 0 0" HorizontalAlignment="Center" VerticalAlignment="Center" IsReadOnly="True"/>
|
|
</WrapPanel>
|
|
</Grid>
|
|
</GroupBox>
|
|
</UniformGrid>
|
|
<UniformGrid Grid.Row="1" >
|
|
<GroupBox Margin="16 0" Header="打印详情" >
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<WrapPanel Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="打印进度" FontSize="15" Foreground="Gray" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<TextBox Text="SC-12345678" FontSize="15" Width="100" Foreground="Gray" Margin="10 0 0 0" HorizontalAlignment="Center" VerticalAlignment="Center" IsReadOnly="True"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="打印信息" FontSize="15" Foreground="Gray" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<TextBox Text="SC-12345678" FontSize="15" Width="100" Foreground="Gray" Margin="10 0 0 0" HorizontalAlignment="Center" VerticalAlignment="Center" IsReadOnly="True"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="打印状态:" FontSize="15" Foreground="Gray" Margin="5"/>
|
|
<TextBlock Text="SC-12345678" FontSize="15" Margin="5" Foreground="Gray" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<TextBlock Text="异常数量:" Margin="5" FontSize="15" Foreground="Gray"/>
|
|
<TextBlock Text="0" FontSize="15" Margin="5" Foreground="Gray" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</WrapPanel>
|
|
</Grid>
|
|
</GroupBox>
|
|
</UniformGrid>
|
|
<WrapPanel Grid.Row="2" Margin="0 5" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<Button Content="暂停" x:Name="Suspend" Margin="20 0" Command="{Binding OperateCommand}" CommandParameter="{Binding Name,ElementName=Suspend}" />
|
|
<Button Content="取消" x:Name="Cancel" Margin="20 0" Command="{Binding OperateCommand}" CommandParameter="{Binding Name,ElementName=Cancel}" />
|
|
</WrapPanel>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</Window>
|