|
|
@ -137,6 +137,18 @@ |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Null}" |
|
|
|
Background="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=#null:#8080FF:#F2F2F2}" |
|
|
|
Foreground="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=#null:White:#4A4A4A}"/> |
|
|
|
<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.待付款}"> |
|
|
|
<c:BButton.Content> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="待付款"/> |
|
|
|
<!--<Run Text="{Binding WaitPurchaseOrderCount,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
Foreground="{StaticResource Text.Pink}"/>--> |
|
|
|
</TextBlock> |
|
|
|
</c:BButton.Content> |
|
|
|
</c:BButton> |
|
|
|
<c:BButton Width="100" |
|
|
|
Background="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=等待采购:#8080FF:#F2F2F2}" |
|
|
|
Foreground="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=等待采购:White:#4A4A4A}" |
|
|
@ -144,8 +156,8 @@ |
|
|
|
<c:BButton.Content> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="等待采购"/> |
|
|
|
<Run Text="{Binding WaitPurchaseOrderCount,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
Foreground="{StaticResource Text.Pink}"/> |
|
|
|
<!--<Run Text="{Binding WaitPurchaseOrderCount,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
Foreground="{StaticResource Text.Pink}"/>--> |
|
|
|
</TextBlock> |
|
|
|
</c:BButton.Content> |
|
|
|
</c:BButton> |
|
|
@ -156,8 +168,8 @@ |
|
|
|
<c:BButton.Content> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="待出库"/> |
|
|
|
<Run Text="{Binding WaitOutStoreCount,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
Foreground="{StaticResource Text.Pink}"/> |
|
|
|
<!--<Run Text="{Binding WaitOutStoreCount,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
Foreground="{StaticResource Text.Pink}"/>--> |
|
|
|
</TextBlock> |
|
|
|
</c:BButton.Content> |
|
|
|
</c:BButton> |
|
|
@ -172,21 +184,7 @@ |
|
|
|
<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.已取消}" |
|
|
|
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}" |
|
|
|
Visibility="{Binding IsSDGroup,ConverterParameter=true:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
|
<c:BButton.Content> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="异常单"/> |
|
|
|
<Run Text="{Binding ExceptionOrderCount,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
Foreground="{StaticResource Text.Pink}"/> |
|
|
|
</TextBlock> |
|
|
|
</c:BButton.Content> |
|
|
|
</c:BButton>--> |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Static cmodel:OrderState.已取消}"/> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<Border x:Name="bd_statistics" Grid.RowSpan="3" HorizontalAlignment="Right" Padding="15,0" TextBlock.Foreground="{StaticResource Text.Color}"> |
|
|
|