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.
59 lines
2.9 KiB
59 lines
2.9 KiB
<c:BWindow x:Class="BBWY.Client.Views.PackTask.LookCerWindow"
|
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls"
|
|
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:hc="https://handyorg.github.io/handycontrol"
|
|
Style="{StaticResource bwstyle}"
|
|
Height="373" Width="386"
|
|
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:ctr="clr-namespace:BBWY.Client.Converters"
|
|
xmlns:cmodel="clr-namespace:BBWY.Client.Models"
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
CloseButtonVisibility="Visible"
|
|
CloseButtonColor="{StaticResource WindowButtonColor}"
|
|
MinButtonVisibility="Collapsed"
|
|
MaxButtonVisibility="Collapsed"
|
|
RightButtonGroupMargin="0,5,5,0"
|
|
|
|
>
|
|
<!-- ResizeMode="NoResize" DataContext="{Binding CreateSetBarCodeView,Source={StaticResource Locator}}"-->
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="40"/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Border BorderThickness="0,0,0,1" BorderBrush="{StaticResource MainMenu.BorderBrush}"
|
|
Background="{StaticResource Border.Background}">
|
|
<TextBlock Text="查看合格证" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</Border>
|
|
|
|
|
|
<hc:TabControl Grid.Row="1" MaxWidth="385" ItemsSource="{Binding GoodsNumberCerList,Mode=TwoWay}" IsAnimationEnabled="True" IsDraggable="True" IsTabFillEnabled="True" Name="tab" DockPanel.Dock="Bottom">
|
|
<hc:TabControl.Resources>
|
|
<ResourceDictionary >
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml"/>
|
|
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml"/>
|
|
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</hc:TabControl.Resources>
|
|
<TabControl.ItemTemplate>
|
|
<DataTemplate>
|
|
<TextBlock HorizontalAlignment="Center" Text="{Binding CertificateModel.GoodsNumberIndex,StringFormat=配件{0}}"/>
|
|
</DataTemplate>
|
|
</TabControl.ItemTemplate>
|
|
<TabControl.ContentTemplate>
|
|
<DataTemplate>
|
|
<local:CerControl model="{Binding CertificateModel,Mode=TwoWay}"/>
|
|
</DataTemplate>
|
|
</TabControl.ContentTemplate>
|
|
</hc:TabControl>
|
|
|
|
|
|
</Grid>
|
|
</c:BWindow>
|
|
|