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.
139 lines
7.7 KiB
139 lines
7.7 KiB
2 years ago
|
<c:BWindow x:Class="BBWYB.Client.Views.PackPurchaseTask.SetBarCodeWindow"
|
||
|
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"
|
||
|
Style="{StaticResource bwstyle}"
|
||
|
Height="651" Width="577"
|
||
|
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
||
|
xmlns:c="clr-namespace:SJ.Controls;assembly=SJ.Controls"
|
||
|
xmlns:ctr="clr-namespace:BBWYB.Client.Converters"
|
||
|
xmlns:cmodel="clr-namespace:BBWYB.Client.Models"
|
||
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
||
|
CloseButtonVisibility="Visible"
|
||
|
CloseButtonColor="{StaticResource WindowButtonColor}"
|
||
|
MinButtonVisibility="Collapsed"
|
||
|
MaxButtonVisibility="Collapsed"
|
||
|
RightButtonGroupMargin="0,5,5,0">
|
||
|
<Grid>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="40"/>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition Height="40"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Border BorderThickness="0,0,0,1" BorderBrush="{StaticResource MainMenu.BorderBrush}"
|
||
|
Background="{StaticResource Border.Background}">
|
||
|
<TextBlock Text="设置条形码" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||
|
</Border>
|
||
|
|
||
|
<Grid Grid.Row="1">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<StackPanel Orientation="Vertical" >
|
||
|
<!--{Binding CertificateModel.IsLogo,Converter={StaticResource objConverter},ConverterParameter=1:true:false}-->
|
||
|
<RadioButton GroupName="bar" IsChecked="{Binding BarCodeModel.LabelModel,Converter={StaticResource enumToBooleanConverter},ConverterParameter={x:Static cmodel:BarcodeLabelModel.精简模板}}" Command="{Binding BarLabelCheckCommand}" CommandParameter="{x:Static cmodel:BarcodeLabelModel.精简模板}" Content="精简" Margin="10,10,0,0" Height="30" VerticalAlignment="Top"/>
|
||
|
<Border BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Height="220" Margin="5">
|
||
|
<StackPanel Orientation="Vertical" >
|
||
|
<TextBlock Margin="10,25,10,0" FontSize="15" FontWeight="Black" >
|
||
|
<Run Text="品名:"/>
|
||
|
<Run Text="{Binding BarCodeModel.BrandName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
||
|
</TextBlock>
|
||
|
|
||
|
<TextBlock Margin="10,25,10,0" FontSize="15" FontWeight="Black" >
|
||
|
<Run Text="规格:"/>
|
||
|
<Run Text="{Binding BarCodeModel.SkuName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
||
|
</TextBlock>
|
||
|
<Image Source="/resources/images/barcode.png" Margin="10,25,10,0"/>
|
||
|
<TextBlock Text="POP" HorizontalAlignment="Center" Margin="10,0,10,0" FontSize="15" FontWeight="Black" >
|
||
|
<Run Text="{Binding BarCodeModel.SkuId,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
||
|
</TextBlock>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</StackPanel>
|
||
|
</Border>
|
||
|
|
||
|
</StackPanel>
|
||
|
<StackPanel Grid.Column="1" Orientation="Vertical" >
|
||
|
<RadioButton GroupName="bar" IsChecked="{Binding BarCodeModel.LabelModel,Converter={StaticResource enumToBooleanConverter},ConverterParameter={x:Static cmodel:BarcodeLabelModel.标准模板}}" Content="标准" Command="{Binding BarLabelCheckCommand}" CommandParameter="{x:Static cmodel:BarcodeLabelModel.标准模板}" Margin="10,10,0,0" Height="30" VerticalAlignment="Top"/>
|
||
|
<Border BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Height="220" Margin="5">
|
||
|
<StackPanel Orientation="Vertical" >
|
||
|
|
||
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" >
|
||
|
<Run Text="品牌:"/>
|
||
|
<Run Text="{Binding BarCodeModel.Brand}"/>
|
||
|
</TextBlock>
|
||
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" >
|
||
|
<Run Text="品名:"/>
|
||
|
<Run Text="{Binding BarCodeModel.BrandName}"/>
|
||
|
</TextBlock>
|
||
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" >
|
||
|
<Run Text="型号:"/>
|
||
|
<Run Text="{Binding BarCodeModel.ProductNo}"/>
|
||
|
</TextBlock>
|
||
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" >
|
||
|
<Run Text="规格:"/>
|
||
|
<Run Text="{Binding BarCodeModel.SkuName}"/>
|
||
|
</TextBlock>
|
||
|
<Image Source="/resources/images/barcode.png" Margin="10,10,10,0"/>
|
||
|
<TextBlock Text="POP" HorizontalAlignment="Center" Margin="10,0,10,0" FontSize="15" FontWeight="Black" >
|
||
|
<Run Text="{Binding BarCodeModel.SkuId}"/>
|
||
|
</TextBlock>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</StackPanel>
|
||
|
</Border>
|
||
|
|
||
|
</StackPanel>
|
||
|
|
||
|
<StackPanel Grid.Column="0" Grid.Row="1" Orientation="Vertical" >
|
||
|
<RadioButton GroupName="bar" IsChecked="{Binding BarCodeModel.LabelModel,Converter={StaticResource enumToBooleanConverter},ConverterParameter={x:Static cmodel:BarcodeLabelModel.无型号模板}}" Content="无型号" Command="{Binding BarLabelCheckCommand}" CommandParameter="{x:Static cmodel:BarcodeLabelModel.无型号模板}" Margin="10,10,0,0" Height="30" VerticalAlignment="Top"/>
|
||
|
<Border BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Height="220" Margin="5">
|
||
|
<StackPanel Orientation="Vertical" >
|
||
|
|
||
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" >
|
||
|
<Run Text="品牌:"/>
|
||
|
<Run Text="{Binding BarCodeModel.Brand}"/>
|
||
|
</TextBlock>
|
||
|
<TextBlock Margin="10,20,10,10" FontSize="15" FontWeight="Black" >
|
||
|
<Run Text="品名:"/>
|
||
|
<Run Text="{Binding BarCodeModel.BrandName}"/>
|
||
|
</TextBlock>
|
||
|
|
||
|
<TextBlock Margin="10" FontSize="15" FontWeight="Black" >
|
||
|
<Run Text="规格:"/>
|
||
|
<Run Text="{Binding BarCodeModel.SkuName}"/>
|
||
|
</TextBlock>
|
||
|
<Image Source="/resources/images/barcode.png" Margin="10,10,10,0"/>
|
||
|
<TextBlock Text="POP" HorizontalAlignment="Center" Margin="10,0,10,0" FontSize="15" FontWeight="Black" >
|
||
|
<Run Text="{Binding BarCodeModel.SkuId}"/>
|
||
|
</TextBlock>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</StackPanel>
|
||
|
</Border>
|
||
|
|
||
|
</StackPanel>
|
||
|
|
||
|
</Grid>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<Border Grid.Row="2" Height="1" VerticalAlignment="Top" BorderBrush="{StaticResource Border.Background}" BorderThickness="1"/>
|
||
|
<c:BButton Background="{StaticResource Button.Selected.Background}" Grid.Row="2" Content="保存" HorizontalAlignment="Right" Width="100" VerticalAlignment="Stretch"
|
||
|
Click="BButton_Click" />
|
||
|
</Grid>
|
||
|
</c:BWindow>
|