You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
6.6 KiB
132 lines
6.6 KiB
<Window x:Class="BBWY.Client.Views.PackTask.PrintPackTaskDetail"
|
|
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:BBWY.Client.Views.PackTask"
|
|
mc:Ignorable="d"
|
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls"
|
|
Title="PrintPackTaskDetail" Height="492" Width="272">
|
|
<Grid x:Name="print_box">
|
|
<Grid Margin="0 10 0 10">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="120"/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<c:BAsyncImage UrlSource="{Binding PackTaskModel.ItemList[0].Logo}"
|
|
Width="100" DecodePixelWidth="100"
|
|
VerticalAlignment="Top" Margin="11,9,0,10"
|
|
Cursor="Hand">
|
|
|
|
</c:BAsyncImage>
|
|
<StackPanel VerticalAlignment="Top" Grid.Column="1" Margin="5">
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Margin="0 0 0 0">
|
|
<Run Text="任务ID:"/>
|
|
<Run Text="{Binding PackTaskModel.TaskId}"/>
|
|
</TextBlock>
|
|
|
|
<TextBlock Margin="0 20 0 0" Text="云仓" HorizontalAlignment="Center" FontWeight="Bold" FontSize="45"/>
|
|
|
|
|
|
</StackPanel>
|
|
</Grid>
|
|
<StackPanel Orientation="Vertical" Grid.Row="1" Margin="0">
|
|
<StackPanel Orientation="Vertical" Margin="5">
|
|
<Grid Margin="0 5 0 5">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock TextWrapping="Wrap">
|
|
<Run Text="店名:"/>
|
|
<Run Text="{Binding PackTaskModel.ShopName}"/>
|
|
</TextBlock>
|
|
<TextBlock TextWrapping="Wrap" Grid.Column="1">
|
|
<Run Text="品牌:"/>
|
|
<Run Text="{Binding PackTaskModel.Brand}"/>
|
|
</TextBlock>
|
|
</Grid>
|
|
|
|
<TextBlock TextWrapping="Wrap">
|
|
<Run Text="SKU名称:"/>
|
|
<Run Text="{Binding PackTaskModel.ItemList[0].SkuName}"/>
|
|
</TextBlock>
|
|
<TextBlock TextWrapping="Wrap" Margin="0 5 0 0">
|
|
<Run Text="品名:"/>
|
|
<Run Text="{Binding PackTaskModel.ItemList[0].BrandName}"/>
|
|
</TextBlock>
|
|
<Grid Margin="0 5 0 5">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock TextWrapping="Wrap">
|
|
<Run Text="SKU数量:"/>
|
|
|
|
<Run Text="{Binding PackTaskModel.SkuCount}"/>
|
|
</TextBlock>
|
|
<TextBlock TextWrapping="Wrap" Grid.Column="1">
|
|
<Run Text="配件数量:"/>
|
|
<Run Text="{Binding PackTaskModel.GoodsNumber}"/>
|
|
</TextBlock>
|
|
</Grid>
|
|
<TextBlock>
|
|
<Run Text="配件:"/>
|
|
<Run Text="{Binding PackTaskModel.SkuTitle }"/>
|
|
</TextBlock>
|
|
<Image Margin="10 10 10 0" Stretch="Fill" Height="50" Source="{Binding BarcodeImage}"/>
|
|
<TextBlock Style="{StaticResource middleTextBlock}" >
|
|
<Run Text="POP"/>
|
|
<Run Text="{Binding PackTaskModel.ItemList[0].SkuId}"/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
<Border Height="2" BorderThickness="1" BorderBrush="Black"/>
|
|
<StackPanel Orientation="Vertical" Margin="5">
|
|
<Grid Margin="0 5 0 5">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="100"/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Margin="0 0 0 0" FontSize="15" FontWeight="Bold">
|
|
<Run Text="包装员:"/>
|
|
<Run Text="{Binding PackTaskModel.PackUser}"/>
|
|
</TextBlock>
|
|
<TextBlock Margin="0 0 0 0" Style="{StaticResource middleTextBlock}" Grid.Column="1" FontWeight="Bold">
|
|
<Run Text="包装费:"/>
|
|
<Run Text="{Binding PackTaskModel.FeesItemResponse PackFees}"/>
|
|
</TextBlock>
|
|
</Grid>
|
|
<TextBlock Margin="0 0 0 0" FontSize="13" FontWeight="Bold">
|
|
<Run Text="截止时间:"/>
|
|
<Run Text="{Binding PackTaskModel.PackCompletionOverTime}"/>
|
|
</TextBlock>
|
|
<TextBlock Margin="0 5 0 5">
|
|
<Run Text="工序套餐:"/>
|
|
<Run Text="{Binding PackTaskModel.FeesItemResponse.ProcessComboName}"/>
|
|
</TextBlock>
|
|
<ListBox
|
|
ItemsSource="{Binding PackTaskModel.FeesItemResponse.ConsumableList}"
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}"
|
|
BorderBrush="{StaticResource Border.Brush}"
|
|
BorderThickness="0"
|
|
Foreground="{StaticResource Text.Color}">
|
|
<ListBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<Grid Height="40">
|
|
<TextBlock Text="{Binding ItemName}"/>
|
|
</Grid>
|
|
</DataTemplate>
|
|
</ListBox.ItemTemplate>
|
|
|
|
</ListBox>
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
</Window>
|
|
|