|
@ -463,20 +463,10 @@ |
|
|
|
|
|
|
|
|
<c:BButton Grid.Column="11" HorizontalAlignment="Stretch" Style="{StaticResource LinkButton}" VerticalAlignment="Center" Content="确认收货" |
|
|
<c:BButton Grid.Column="11" HorizontalAlignment="Stretch" Style="{StaticResource LinkButton}" VerticalAlignment="Center" Content="确认收货" |
|
|
Visibility="{Binding OrderId,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}" |
|
|
Visibility="{Binding OrderId,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}" |
|
|
|
|
|
CommandParameter="{Binding}" |
|
|
|
|
|
Command="{Binding DataContext.UpdateTaskStateCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}" |
|
|
> |
|
|
> |
|
|
<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> |
|
|
</c:BButton> |
|
|
|
|
|
|
|
|
</Grid> |
|
|
</Grid> |
|
|