|
@ -454,6 +454,29 @@ |
|
|
</b:EventTrigger> |
|
|
</b:EventTrigger> |
|
|
</b:Interaction.Triggers> |
|
|
</b:Interaction.Triggers> |
|
|
</c:BButton> |
|
|
</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> |
|
|
</StackPanel> |
|
|