|
@ -73,7 +73,7 @@ |
|
|
Padding="5,0"> |
|
|
Padding="5,0"> |
|
|
<Grid> |
|
|
<Grid> |
|
|
<Grid.RowDefinitions> |
|
|
<Grid.RowDefinitions> |
|
|
<RowDefinition Height="40"/> |
|
|
<RowDefinition Height="Auto"/> |
|
|
<RowDefinition/> |
|
|
<RowDefinition/> |
|
|
<RowDefinition Height="Auto"/> |
|
|
<RowDefinition Height="Auto"/> |
|
|
</Grid.RowDefinitions> |
|
|
</Grid.RowDefinitions> |
|
@ -85,6 +85,10 @@ |
|
|
<ColumnDefinition Width="5"/> |
|
|
<ColumnDefinition Width="5"/> |
|
|
<ColumnDefinition Width="80"/> |
|
|
<ColumnDefinition Width="80"/> |
|
|
</Grid.ColumnDefinitions> |
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
<Grid.RowDefinitions> |
|
|
|
|
|
<RowDefinition Height="40"/> |
|
|
|
|
|
<RowDefinition Height="auto"/> |
|
|
|
|
|
</Grid.RowDefinitions> |
|
|
<TextBlock Text="商品链接:" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,5,0"/> |
|
|
<TextBlock Text="商品链接:" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,5,0"/> |
|
|
<c:BTextBox Text="{Binding PurchaseUrl}" Grid.Column="1" |
|
|
<c:BTextBox Text="{Binding PurchaseUrl}" Grid.Column="1" |
|
|
IsEnabled="{Binding IsEditing}" |
|
|
IsEnabled="{Binding IsEditing}" |
|
@ -100,11 +104,32 @@ |
|
|
<c:BButton Content="删除" Grid.Column="4" Width="80" Background="#EC808D" |
|
|
<c:BButton Content="删除" Grid.Column="4" Width="80" Background="#EC808D" |
|
|
Command="{Binding DataContext.RemovePurchaseSchemeProductCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type c:BWindow}}}" |
|
|
Command="{Binding DataContext.RemovePurchaseSchemeProductCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type c:BWindow}}}" |
|
|
CommandParameter="{Binding }"/> |
|
|
CommandParameter="{Binding }"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock x:Name="lbl_purchaseSkuName" |
|
|
|
|
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,5,0" |
|
|
|
|
|
Grid.Row="1" TextBlock.TextAlignment="Right" |
|
|
|
|
|
Visibility="{Binding IsEditing,Converter={StaticResource objConverter},ConverterParameter=true:Visible:Collapsed}"> |
|
|
|
|
|
<Run Text="采购SKU"/> |
|
|
|
|
|
<LineBreak/> |
|
|
|
|
|
<Run Text="名称:"/> |
|
|
|
|
|
</TextBlock> |
|
|
|
|
|
<c:BTextBox Text="{Binding SearchPurchaseSkuName}" Grid.Column="1" |
|
|
|
|
|
Grid.Row="1" |
|
|
|
|
|
Visibility="{Binding Visibility,ElementName=lbl_purchaseSkuName}"/> |
|
|
|
|
|
|
|
|
|
|
|
<c:BButton Content="筛选" Grid.Column="2" Grid.Row="1" Width="80" |
|
|
|
|
|
Visibility="{Binding Visibility,ElementName=lbl_purchaseSkuName}" |
|
|
|
|
|
Command="{Binding DataContext.SearchPurchaseSkuNameCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Window}}}" CommandParameter="{Binding }"/> |
|
|
|
|
|
<c:BButton Content="清空" Grid.Column="4" Grid.Row="1" Width="80" |
|
|
|
|
|
Background="#AAAAAA" |
|
|
|
|
|
Visibility="{Binding Visibility,ElementName=lbl_purchaseSkuName}" |
|
|
|
|
|
Command="{Binding DataContext.ClearPurchaseSkuNameCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Window}}}" CommandParameter="{Binding }"/> |
|
|
</Grid> |
|
|
</Grid> |
|
|
|
|
|
|
|
|
<ListBox x:Name="listbox_purchaseProductSkuList" |
|
|
<ListBox x:Name="listbox_purchaseProductSkuList" |
|
|
Grid.Row="1" |
|
|
Grid.Row="1" |
|
|
ItemsSource="{Binding SkuList}" |
|
|
ItemsSource="{Binding SearchSkuList}" |
|
|
SelectionMode="Multiple" |
|
|
SelectionMode="Multiple" |
|
|
Visibility="{Binding IsEditing,Converter={StaticResource objConverter},ConverterParameter=true:Visible:Collapsed}" |
|
|
Visibility="{Binding IsEditing,Converter={StaticResource objConverter},ConverterParameter=true:Visible:Collapsed}" |
|
|
Style="{StaticResource NoScrollViewListBoxStyle}"> |
|
|
Style="{StaticResource NoScrollViewListBoxStyle}"> |
|
|