|
|
@ -23,8 +23,7 @@ |
|
|
|
<Grid> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="30"/> |
|
|
|
<!--<RowDefinition Height="130"/> |
|
|
|
<RowDefinition Height="1*"/>--> |
|
|
|
<RowDefinition Height="auto"/> |
|
|
|
<RowDefinition Height="*"/> |
|
|
|
<RowDefinition Height="60"/> |
|
|
|
<RowDefinition Height="40"/> |
|
|
@ -34,7 +33,34 @@ |
|
|
|
<TextBlock Text="{Binding OrderId,StringFormat=关联采购单({0})}" HorizontalAlignment="Center" VerticalAlignment="Center"/> |
|
|
|
</Border> |
|
|
|
|
|
|
|
<ListBox x:Name="listbox_orderDropShipping" Grid.Row="1" ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
|
<ListBox x:Name="listbox_historyOrderDropShipping" Grid.Row="1" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}" |
|
|
|
ItemsSource="{Binding HistoryOrderDropShippingList}" |
|
|
|
BorderThickness="1" |
|
|
|
BorderBrush="{StaticResource Border.Brush}" |
|
|
|
Margin="5,5,5,0" |
|
|
|
Visibility="{Binding IsShowHistoryOrderDropShoppingList,ConverterParameter=true:Visible:Collapsed,Converter={StaticResource objConverter}}"> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="{Binding ActualWidth,ElementName=listbox_historyOrderDropShipping,Converter={StaticResource widthConverter},ConverterParameter=10}" |
|
|
|
Margin="0,5"> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="10,0,0,0"> |
|
|
|
<TextBlock Text="历史采购单号"/> |
|
|
|
<c:BButton Margin="5,0,0,0" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" Content="{Binding PurchaseOrderId}" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Window}}}" |
|
|
|
CommandParameter="{Binding PurchaseOrderId}"/> |
|
|
|
</StackPanel> |
|
|
|
<TextBlock HorizontalAlignment="Right" Margin="0,0,140,0"> |
|
|
|
<Run Text="采购总额"/> |
|
|
|
<Run Text="{Binding PurchaseAmount}"/> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
|
|
|
|
<ListBox x:Name="listbox_orderDropShipping" Grid.Row="2" ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
|
ItemsSource="{Binding OrderDropShippingList}"> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
@ -171,7 +197,7 @@ |
|
|
|
</ListBox> |
|
|
|
|
|
|
|
|
|
|
|
<Border Grid.Row="2" BorderThickness="1" BorderBrush="{StaticResource Border.Brush}" Margin="5,0"> |
|
|
|
<Border Grid.Row="3" BorderThickness="1" BorderBrush="{StaticResource Border.Brush}" Margin="5,0"> |
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center"> |
|
|
|
<c:BButton x:Name="btn_AddOrderDropShipping" |
|
|
|
Style="{StaticResource LinkButton}" |
|
|
@ -191,16 +217,16 @@ |
|
|
|
</Border> |
|
|
|
|
|
|
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Margin="5,0,0,0" Grid.Row="3" FontSize="16"> |
|
|
|
<TextBlock VerticalAlignment="Center" Margin="5,0,0,0" Grid.Row="4" FontSize="16"> |
|
|
|
<Run Text="采购总额(含运费)"/> |
|
|
|
<Run Text="{Binding TotalCost}" Foreground="#EC808D"/> |
|
|
|
<Run Text="元"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
<c:BButton x:Name="btn_Save" Content="保存" Width="60" Grid.Row="3" Margin="0,0,5,0" |
|
|
|
<c:BButton x:Name="btn_Save" Content="保存" Width="60" Grid.Row="4" Margin="0,0,5,0" |
|
|
|
Click="btn_Save_Click" HorizontalAlignment="Right"/> |
|
|
|
|
|
|
|
<Border Grid.Row="1" Background="White" Margin="20" BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" |
|
|
|
<Border Grid.Row="1" Grid.RowSpan="2" Background="White" Margin="20" BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" |
|
|
|
Visibility="{Binding IsShowChooseSkuPanel,Converter={StaticResource objConverter},ConverterParameter=true:Visible:Collapsed}"> |
|
|
|
<Grid> |
|
|
|
<Grid.RowDefinitions> |
|
|
|