|
|
@ -402,8 +402,27 @@ |
|
|
|
Command="{Binding QualityTaskCommand}" |
|
|
|
Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=待质检:Visible:Collapsed}" |
|
|
|
/> |
|
|
|
|
|
|
|
<c:BButton Grid.Column="11" HorizontalAlignment="Stretch" Style="{StaticResource LinkButton}" VerticalAlignment="Center" Content="完成" |
|
|
|
|
|
|
|
Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=待打包:Visible:Collapsed}" |
|
|
|
> |
|
|
|
<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"/> |
|
|
|
</MultiBinding> |
|
|
|
</b:InvokeCommandAction.CommandParameter> |
|
|
|
</b:InvokeCommandAction> |
|
|
|
</b:EventTrigger> |
|
|
|
</b:Interaction.Triggers> |
|
|
|
</c:BButton> |
|
|
|
|
|
|
|
<c:BButton Grid.Column="11" HorizontalAlignment="Stretch" Style="{StaticResource LinkButton}" VerticalAlignment="Center" Content="完成" |
|
|
|
Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=待封箱:Visible:Collapsed}" |
|
|
|
Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=待出库:Visible:Collapsed}" |
|
|
|
> |
|
|
|
<b:Interaction.Triggers> |
|
|
|
<b:EventTrigger EventName="PreviewMouseLeftButtonDown"> |
|
|
|