|
|
@ -463,8 +463,15 @@ |
|
|
|
|
|
|
|
<c:BButton Content="采购" Grid.Column="1" Width="100" |
|
|
|
Command="{Binding DataContext.OnlinePurchaseCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
|
CommandParameter="{Binding }" |
|
|
|
Visibility="{Binding IsPurchased,ConverterParameter=false:Visible:Collapsed,Converter={StaticResource objConverter}}"/> |
|
|
|
CommandParameter="{Binding }"> |
|
|
|
<c:BButton.Visibility> |
|
|
|
<MultiBinding Converter="{StaticResource mobjConverter}" |
|
|
|
ConverterParameter="已取消;true:|:Collapsed:Visible:1"> |
|
|
|
<Binding Path="OrderState"/> |
|
|
|
<Binding Path="IsPurchased"/> |
|
|
|
</MultiBinding> |
|
|
|
</c:BButton.Visibility> |
|
|
|
</c:BButton> |
|
|
|
|
|
|
|
<ListBox Grid.Column="1" |
|
|
|
Visibility="{Binding IsPurchased,ConverterParameter=true:Visible:Collapsed,Converter={StaticResource objConverter}}" |
|
|
@ -577,20 +584,6 @@ |
|
|
|
|
|
|
|
<Grid x:Name="sp_store" Grid.Column="4"> |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<!--<StackPanel Orientation="Horizontal" |
|
|
|
Visibility="{Binding WaybillNo,ConverterParameter=#null:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
|
<TextBlock Text="{Binding ExpressName}" TextWrapping="Wrap"/> |
|
|
|
--><!--{Binding ExpressName}--> |
|
|
|
<!--{Binding WaybillNo}--><!-- |
|
|
|
|
|
|
|
|
|
|
|
<c:BButton Style="{StaticResource LinkButton}" |
|
|
|
Content="{Binding WaybillNo}" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
|
CommandParameter="{Binding WaybillNo}" |
|
|
|
Margin="10,0,0,0"/> |
|
|
|
</StackPanel>--> |
|
|
|
|
|
|
|
<ListBox ItemsSource="{Binding OrderPurchaseInfoList}" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}"> |
|
|
@ -662,6 +655,20 @@ |
|
|
|
<TextBlock Text="{Binding PurchaseRemark}" TextWrapping="Wrap"/> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<StackPanel Grid.Column="7" VerticalAlignment="Center"> |
|
|
|
<c:BButton Content="取消" Style="{StaticResource LinkButton}" |
|
|
|
Command="{Binding DataContext.CancelOrderCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
|
CommandParameter="{Binding Id}"> |
|
|
|
<c:BButton.Visibility> |
|
|
|
<MultiBinding Converter="{StaticResource mobjConverter}" |
|
|
|
ConverterParameter="已取消;true:|:Collapsed:Visible:1"> |
|
|
|
<Binding Path="OrderState"/> |
|
|
|
<Binding Path="IsPurchased"/> |
|
|
|
</MultiBinding> |
|
|
|
</c:BButton.Visibility> |
|
|
|
</c:BButton> |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
<Border Grid.Row="1" VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
</Grid> |
|
|
|