|
|
@ -432,10 +432,15 @@ TextWrapping="Wrap" |
|
|
|
<StackPanel Orientation="Horizontal" Visibility="{Binding BarCodeDTO,Converter={StaticResource objConverter}, ConverterParameter=#null:Collapsed:Visible}"> |
|
|
|
<c:BButton x:Name="btn_lookBarCode" Content="查看" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding DataContext.LookBarCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" CommandParameter="{Binding BarCodeDTO}"/> |
|
|
|
|
|
|
|
<c:BButton x:Name="btn_daCer" Content="打印" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding DataContext.PrintBarcodeCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" CommandParameter="{Binding BarCodeDTO}" /> |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="未配置" Style="{StaticResource middleTextBlock}" Margin="5,0,0,0" |
|
|
|
Visibility="{Binding BarCodeDTO,Converter={StaticResource objConverter}, ConverterParameter=#null:Visible:Collapsed}" |
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="合格证:"/> |
|
|
@ -448,6 +453,10 @@ TextWrapping="Wrap" |
|
|
|
> |
|
|
|
<c:BButton x:Name="btn_lookCer" Content="查看" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding DataContext.LookCerCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" CommandParameter="{Binding Cers}"/> |
|
|
|
|
|
|
|
<c:BButton x:Name="btn_dayinCer" Content="打印" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding DataContext.PrintCerCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" CommandParameter="{Binding Cers}" /> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="无需合格证" Style="{StaticResource middleTextBlock}" Margin="5,0,0,0" |
|
|
|
Visibility="{Binding CertificatePosition,Converter={StaticResource objConverter}, ConverterParameter=无需合格证:Visible:Collapsed}" |
|
|
@ -460,6 +469,40 @@ TextWrapping="Wrap" |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
<!--<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="条形码:"/> |
|
|
|
<StackPanel Orientation="Horizontal" Visibility="{Binding BarCodeDTO,Converter={StaticResource objConverter}, ConverterParameter=#null:Collapsed:Visible}"> |
|
|
|
<c:BButton x:Name="btn_lookBarCode" Content="查看" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding DataContext.LookBarCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" CommandParameter="{Binding BarCodeDTO}"/> |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="未配置" Style="{StaticResource middleTextBlock}" Margin="5,0,0,0" |
|
|
|
Visibility="{Binding BarCodeDTO,Converter={StaticResource objConverter}, ConverterParameter=#null:Visible:Collapsed}" |
|
|
|
/> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="合格证:"/> |
|
|
|
<StackPanel Orientation="Horizontal" |
|
|
|
Visibility="{Binding Cers,Converter={StaticResource objConverter}, ConverterParameter=#null:Collapsed:Visible}" |
|
|
|
> |
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" |
|
|
|
Visibility="{Binding CertificatePosition,Converter={StaticResource objConverter}, ConverterParameter=无需合格证:Collapsed:Visible}" |
|
|
|
> |
|
|
|
<c:BButton x:Name="btn_lookCer" Content="查看" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding DataContext.LookCerCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" CommandParameter="{Binding Cers}"/> |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="无需合格证" Style="{StaticResource middleTextBlock}" Margin="5,0,0,0" |
|
|
|
Visibility="{Binding CertificatePosition,Converter={StaticResource objConverter}, ConverterParameter=无需合格证:Visible:Collapsed}" |
|
|
|
/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="未配置" Style="{StaticResource middleTextBlock}" Margin="5,0,0,0" |
|
|
|
Visibility="{Binding Cers,Converter={StaticResource objConverter}, ConverterParameter=#null:Visible:Collapsed}" |
|
|
|
/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</StackPanel>--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|