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.
81 lines
5.2 KiB
81 lines
5.2 KiB
<UserControl x:Class="BBWY.Client.Views.PackTask.MinBarcodeControl"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:BBWY.Client.Views.PackTask"
|
|
mc:Ignorable="d" Background="White"
|
|
d:DesignHeight="250" d:DesignWidth="200">
|
|
<Grid DataContext="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type local:MinBarcodeControl}}}">
|
|
<DockPanel Grid.Row="1">
|
|
<Border Name="jingjian" Visibility="{Binding model.LabelModel,Converter={StaticResource objConverter},ConverterParameter=精简模板:Visible:Collapsed}" BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Margin="1">
|
|
<StackPanel Orientation="Vertical" >
|
|
<TextBlock Margin="10,10,10,5" FontSize="15" FontWeight="Black" >
|
|
<Run Text="品名:"/>
|
|
<Run Text="{Binding model.BrandName}"/>
|
|
</TextBlock>
|
|
|
|
<TextBlock Margin="10,10,10,5" FontSize="15" FontWeight="Black" >
|
|
<Run Text="规格:"/>
|
|
<Run Text="{Binding model.SkuName}"/>
|
|
</TextBlock>
|
|
<TextBlock Margin="10,10,10,5" FontSize="15" FontWeight="Black" >
|
|
<Run Text="店铺:"/>
|
|
<Run Text="{Binding model.ShopName}"/>
|
|
</TextBlock>
|
|
<Image Source="{Binding BarcodeImage,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="10,10,10,0"/>
|
|
<TextBlock Text="POP" HorizontalAlignment="Center" Margin="10,0,10,0" FontSize="15" FontWeight="Black" >
|
|
<Run Text="{Binding model.SkuId}"/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
</Border>
|
|
<Border Name="biaozhun" Visibility="{Binding model.LabelModel,Converter={StaticResource objConverter},ConverterParameter=标准模板:Visible:Collapsed}" BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Margin="1">
|
|
<StackPanel Orientation="Vertical" >
|
|
|
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" >
|
|
<Run Text="品名:"/>
|
|
<Run Text="{Binding model.BrandName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
|
</TextBlock>
|
|
|
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" >
|
|
<Run Text="型号:"/>
|
|
<Run Text="{Binding model.ProductNo}"/>
|
|
</TextBlock>
|
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" >
|
|
<Run Text="规格:"/>
|
|
<Run Text="{Binding model.SkuName}"/>
|
|
</TextBlock>
|
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" >
|
|
<Run Text="店铺:"/>
|
|
<Run Text="{Binding model.ShopName}"/>
|
|
</TextBlock>
|
|
<Image Source="{Binding BarcodeImage,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="10,10,10,0"/>
|
|
<TextBlock Text="POP" HorizontalAlignment="Center" Margin="10,0,10,0" FontSize="15" FontWeight="Black" >
|
|
<Run Text="{Binding model.SkuId}"/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
</Border>
|
|
<Border Name="wuxinghao" Visibility="{Binding model.LabelModel,Converter={StaticResource objConverter},ConverterParameter=无型号模板:Visible:Collapsed}" BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Margin="1">
|
|
<StackPanel Orientation="Vertical" >
|
|
<TextBlock Margin="10,10,10,5" FontSize="15" FontWeight="Black" >
|
|
<Run Text="品名:"/>
|
|
<Run Text="{Binding model.BrandName}"/>
|
|
</TextBlock>
|
|
|
|
<TextBlock Margin="10,10,10,5" FontSize="15" FontWeight="Black" >
|
|
<Run Text="规格:"/>
|
|
<Run Text="{Binding model.SkuName}"/>
|
|
</TextBlock>
|
|
<TextBlock Margin="10,10,10,5" FontSize="15" FontWeight="Black" >
|
|
<Run Text="店铺:"/>
|
|
<Run Text="{Binding model.ShopName}"/>
|
|
</TextBlock>
|
|
<Image Source="{Binding BarcodeImage,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="10,10,10,0"/>
|
|
<TextBlock Text="POP" HorizontalAlignment="Center" Margin="10,0,10,0" FontSize="15" FontWeight="Black" >
|
|
<Run Text="{Binding model.SkuId}"/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
</Border>
|
|
</DockPanel>
|
|
</Grid>
|
|
</UserControl>
|
|
|