|
|
@ -123,9 +123,13 @@ |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
|
CommandParameter="{Binding DepartmentName}" |
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Visibility="{Binding OrderId, Converter={StaticResource objConverter},ConverterParameter=#null:Visible:Collapsed}"> |
|
|
|
<TextBlock VerticalAlignment="Center" Text="对接人:" Margin="16,0,0,0" /> |
|
|
|
<TextBlock VerticalAlignment="Center" Text="{Binding AcceptName}" Margin="5,0,0,0" /> |
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</Grid> |
|
|
@ -292,20 +296,33 @@ |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="条形码:"/> |
|
|
|
<StackPanel Orientation="Horizontal" Visibility="{Binding BarCodeModel,Converter={StaticResource objConverter}, ConverterParameter=#null:Collapsed:Visible}"> |
|
|
|
<c:BButton x:Name="btn_lookBarCode" Content="查看" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding LookBarCommand}" /> |
|
|
|
|
|
|
|
<c:BButton x:Name="btn_daCer" Content="打印" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding PrintBarcodeCommand}"/> |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="未配置" Style="{StaticResource middleTextBlock}" |
|
|
|
Visibility="{Binding BarCodeModel,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 CertificateModel,Converter={StaticResource objConverter}, ConverterParameter=#null:Collapsed:Visible}" |
|
|
|
> |
|
|
|
<c:BButton x:Name="btn_lookCer" Content="查看" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding LookCerCommand}"/> |
|
|
|
|
|
|
|
<c:BButton x:Name="btn_dayinCer" Content="打印" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding PrintCerCommand}"/> |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="未配置" Style="{StaticResource middleTextBlock}" |
|
|
|
Visibility="{Binding CertificateModel,Converter={StaticResource objConverter}, ConverterParameter=#null:Visible:Collapsed}" |
|
|
|
/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
@ -437,6 +454,29 @@ |
|
|
|
</b:EventTrigger> |
|
|
|
</b:Interaction.Triggers> |
|
|
|
</c:BButton> |
|
|
|
<Grid |
|
|
|
Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=未到货|部分到货:Visible:Collapsed}" |
|
|
|
> |
|
|
|
|
|
|
|
<c:BButton Grid.Column="11" HorizontalAlignment="Stretch" Style="{StaticResource LinkButton}" VerticalAlignment="Center" Content="确认收货" |
|
|
|
Visibility="{Binding OrderId,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}" |
|
|
|
> |
|
|
|
<b:Interaction.Triggers> |
|
|
|
<b:EventTrigger EventName="PreviewMouseLeftButtonDown"> |
|
|
|
<b:InvokeCommandAction Command="{Binding DataContext.UpdateTaskStateCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}"> |
|
|
|
<b:InvokeCommandAction.CommandParameter> |
|
|
|
<MultiBinding Converter="{StaticResource mptConverter}"> |
|
|
|
<Binding Path="TaskId" /> |
|
|
|
<Binding Path="TaskState"/> |
|
|
|
<Binding Path="OrderId"/> |
|
|
|
</MultiBinding> |
|
|
|
</b:InvokeCommandAction.CommandParameter> |
|
|
|
</b:InvokeCommandAction> |
|
|
|
</b:EventTrigger> |
|
|
|
</b:Interaction.Triggers> |
|
|
|
</c:BButton> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|