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.0 KiB
XML
74 lines
5.0 KiB
XML
<Window x:Class="Aucma.Core.PrintTo.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:Aucma.Core.PrintTo.Views"
|
|
mc:Ignorable="d"
|
|
Background="#0C4CA3" Name="window"
|
|
Title="二维码打印" Height="700" Width="700" WindowStartupLocation="CenterScreen" WindowStyle="None">
|
|
|
|
<Grid Margin="15">
|
|
<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="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<TextBox FontSize="15" Text="{Binding ProductCode}" Width="300" Foreground="White" Margin="15 0 0 0" VerticalAlignment="Center" IsReadOnly="True"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="物料名称" FontSize="15" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<TextBox Text="{Binding MaterialName}" FontSize="15" Width="300" Foreground="White" Margin="15 0 0 0" HorizontalAlignment="Center" VerticalAlignment="Center" IsReadOnly="True"/>
|
|
</WrapPanel>
|
|
<!--<WrapPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="打印数量" FontSize="15" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<TextBox Text="{Binding PrintAmount}" FontSize="15" Width="250" Foreground="White" Margin="15 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/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<WrapPanel Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="打印进度" FontSize="15" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<ProgressBar Style="{x:Null}" Height="15" Minimum="1" Maximum="{Binding MaxProgress}" Value="{Binding Progress}" Width="300" Margin="5"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="打印信息" FontSize="15" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<TextBox Text="{Binding PrintProgress}" FontSize="15" Width="300" Foreground="White" 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="White" Margin="5"/>
|
|
<TextBlock FontSize="15" Margin="10 0" Background="{Binding State}" Width="20" Height="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<TextBlock Text="异常条码数量:" Margin="5" FontSize="15" Foreground="White"/>
|
|
<TextBlock Text="{Binding ErrorNum}" FontSize="15" Margin="10 0" Width="150" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<Button Content="{Binding StopOrStart}" x:Name="Suspend" Margin="20 0" Command="{Binding OperateCommand}" IsEnabled="{Binding OperateEnabled}" />
|
|
<Button Content="关闭" x:Name="Close" Margin="20 0" Command="{Binding CloseWindowCommand}" CommandParameter="{Binding ElementName=window}" />
|
|
</WrapPanel>
|
|
</Grid>
|
|
</GroupBox>
|
|
</UniformGrid>
|
|
</Grid>
|
|
</Window>
|