|
|
@ -57,7 +57,8 @@ |
|
|
|
<!--Background="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=#null:#8080FF:#F2F2F2}" |
|
|
|
Foreground="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=#null:White:#4A4A4A}"--> |
|
|
|
<c:BButton Content="近一个月订单" Width="100" |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Null}"> |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Null}" |
|
|
|
Visibility="{Binding IsSDGroup,ConverterParameter=true:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
|
<c:BButton.Background> |
|
|
|
<MultiBinding Converter="{StaticResource mobjConverter}" |
|
|
|
ConverterParameter=";;false:&:#8080FF:#F2F2F2:6"> |
|
|
@ -68,7 +69,7 @@ |
|
|
|
</c:BButton.Background> |
|
|
|
<c:BButton.Foreground> |
|
|
|
<MultiBinding Converter="{StaticResource mobjConverter}" |
|
|
|
ConverterParameter=";:&:#FFFFFF:#4A4A4A:6"> |
|
|
|
ConverterParameter=";;false:&:White:#4A4A4A:6"> |
|
|
|
<Binding Path="OrderState"/> |
|
|
|
<Binding Path="IncludeAfterOrder"/> |
|
|
|
<Binding Path="IncludeExceptionOrder"/> |
|
|
@ -78,7 +79,8 @@ |
|
|
|
<c:BButton Width="100" |
|
|
|
Background="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=等待采购:#8080FF:#F2F2F2}" |
|
|
|
Foreground="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=等待采购:White:#4A4A4A}" |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Static cmodel:OrderState.等待采购}"> |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Static cmodel:OrderState.等待采购}" |
|
|
|
Visibility="{Binding IsSDGroup,ConverterParameter=true:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
|
<c:BButton.Content> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="等待采购"/> |
|
|
@ -102,19 +104,23 @@ |
|
|
|
<c:BButton Content="待付款" Width="100" |
|
|
|
Background="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=待付款:#8080FF:#F2F2F2}" |
|
|
|
Foreground="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=待付款:White:#4A4A4A}" |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Static cmodel:OrderState.待付款}"/> |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Static cmodel:OrderState.待付款}" |
|
|
|
Visibility="{Binding IsSDGroup,ConverterParameter=true:Collapsed:Visible,Converter={StaticResource objConverter}}"/> |
|
|
|
<c:BButton Content="锁定" Width="100" |
|
|
|
Background="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=锁定:#8080FF:#F2F2F2}" |
|
|
|
Foreground="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=锁定:White:#4A4A4A}" |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Static cmodel:OrderState.锁定}"/> |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Static cmodel:OrderState.锁定}" |
|
|
|
Visibility="{Binding IsSDGroup,ConverterParameter=true:Collapsed:Visible,Converter={StaticResource objConverter}}"/> |
|
|
|
<c:BButton Content="已取消" Width="100" |
|
|
|
Background="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=已取消:#8080FF:#F2F2F2}" |
|
|
|
Foreground="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=已取消:White:#4A4A4A}" |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Static cmodel:OrderState.已取消}"/> |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Static cmodel:OrderState.已取消}" |
|
|
|
Visibility="{Binding IsSDGroup,ConverterParameter=true:Collapsed:Visible,Converter={StaticResource objConverter}}"/> |
|
|
|
<c:BButton Width="100" |
|
|
|
Background="{Binding IncludeExceptionOrder,Converter={StaticResource objConverter},ConverterParameter=true:#8080FF:#F2F2F2}" |
|
|
|
Foreground="{Binding IncludeExceptionOrder,Converter={StaticResource objConverter},ConverterParameter=true:White:#4A4A4A}" |
|
|
|
Command="{Binding SetIncludeExceptionOrderCommand}"> |
|
|
|
Command="{Binding SetIncludeExceptionOrderCommand}" |
|
|
|
Visibility="{Binding IsSDGroup,ConverterParameter=true:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
|
<c:BButton.Content> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="异常单"/> |
|
|
@ -126,7 +132,8 @@ |
|
|
|
<c:BButton Content="售后单" Width="100" |
|
|
|
Background="{Binding IncludeAfterOrder,Converter={StaticResource objConverter},ConverterParameter=true:#8080FF:#F2F2F2}" |
|
|
|
Foreground="{Binding IncludeAfterOrder,Converter={StaticResource objConverter},ConverterParameter=true:White:#4A4A4A}" |
|
|
|
Command="{Binding SetIncludeAfterOrderCommand}"/> |
|
|
|
Command="{Binding SetIncludeAfterOrderCommand}" |
|
|
|
Visibility="{Binding IsSDGroup,ConverterParameter=true:Collapsed:Visible,Converter={StaticResource objConverter}}"/> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<Grid Grid.Row="2" Background="{StaticResource Border.Background}"> |
|
|
|