|
@ -128,10 +128,10 @@ |
|
|
<ListBox.ItemTemplate> |
|
|
<ListBox.ItemTemplate> |
|
|
<DataTemplate> |
|
|
<DataTemplate> |
|
|
<Grid Width="{Binding ActualWidth,ElementName=listbox_order,Converter={StaticResource widthConverter},ConverterParameter=-0}" |
|
|
<Grid Width="{Binding ActualWidth,ElementName=listbox_order,Converter={StaticResource widthConverter},ConverterParameter=-0}" |
|
|
MinHeight="100"> |
|
|
> |
|
|
<Grid.RowDefinitions> |
|
|
<Grid.RowDefinitions> |
|
|
<RowDefinition Height="30"/> |
|
|
<RowDefinition Height="30"/> |
|
|
<RowDefinition MinHeight="90"/> |
|
|
<RowDefinition /> |
|
|
</Grid.RowDefinitions> |
|
|
</Grid.RowDefinitions> |
|
|
<Grid Background="#F2F2F2" > |
|
|
<Grid Background="#F2F2F2" > |
|
|
<Grid.ColumnDefinitions> |
|
|
<Grid.ColumnDefinitions> |
|
@ -142,38 +142,65 @@ |
|
|
<ColumnDefinition MinWidth="80"/> |
|
|
<ColumnDefinition MinWidth="80"/> |
|
|
<ColumnDefinition Width="100"/> |
|
|
<ColumnDefinition Width="100"/> |
|
|
</Grid.ColumnDefinitions> |
|
|
</Grid.ColumnDefinitions> |
|
|
<StackPanel Orientation="Horizontal" Grid.Column="0" Grid.ColumnSpan="11"> |
|
|
<Grid Grid.Column="0" Grid.ColumnSpan="11"> |
|
|
<TextBlock VerticalAlignment="Center" Text="封箱ID:" Margin="16,0,0,0" /> |
|
|
<Grid.ColumnDefinitions> |
|
|
<c:BButton Content="{Binding SealBoxId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
<ColumnDefinition Width="100"/> |
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
<ColumnDefinition Width="200"/> |
|
|
CommandParameter="{Binding SealBoxId}" |
|
|
<ColumnDefinition Width="200"/> |
|
|
Margin=" 5,0,7,0"/> |
|
|
<ColumnDefinition Width="200"/> |
|
|
<TextBlock Text="店铺:" Style="{StaticResource middleTextBlock}" Margin="10 0 0 0"/> |
|
|
<ColumnDefinition Width="200"/> |
|
|
<c:BButton Content="{Binding ShopName}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
<ColumnDefinition Width="200"/> |
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
<ColumnDefinition /> |
|
|
CommandParameter="{Binding ShopName}" |
|
|
</Grid.ColumnDefinitions> |
|
|
Margin=" 5,0,7,0"/> |
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Column="0"> |
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="封箱ID:" Margin="16,0,0,0" /> |
|
|
<TextBlock VerticalAlignment="Center" Text="仓库:" Margin="16,0,0,0" /> |
|
|
<c:BButton Content="{Binding SealBoxId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
<c:BButton Content="{Binding WareName}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
CommandParameter="{Binding SealBoxId}" |
|
|
CommandParameter="{Binding WareName}" |
|
|
Margin=" 5,0,7,0"/> |
|
|
Margin=" 5,0,7,0"/> |
|
|
</StackPanel> |
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Column="1"> |
|
|
|
|
|
<TextBlock Text="店铺:" Style="{StaticResource middleTextBlock}" Margin="10 0 0 0"/> |
|
|
<TextBlock VerticalAlignment="Center" Text="部门:" Margin="14,0,0,0" /> |
|
|
<c:BButton Content="{Binding ShopName}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
<c:BButton Content="{Binding DepartmentName}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
CommandParameter="{Binding ShopName}" |
|
|
CommandParameter="{Binding DepartmentName}" |
|
|
Margin=" 5,0,7,0"/> |
|
|
Margin=" 5,0,0,0"/> |
|
|
</StackPanel> |
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Column="2"> |
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="仓库:" Margin="16,0,0,0" /> |
|
|
|
|
|
<c:BButton Content="{Binding WareName}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
|
|
|
CommandParameter="{Binding WareName}" |
|
|
|
|
|
Margin=" 5,0,7,0"/> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Column="3"> |
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="部门:" Margin="14,0,0,0" /> |
|
|
|
|
|
<c:BButton Content="{Binding DepartmentName}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
|
|
|
CommandParameter="{Binding DepartmentName}" |
|
|
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Column="4"> |
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="对接人:" Margin="16,0,0,0" /> |
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="{Binding AcceptUserNames}" Margin="5,0,0,0" /> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<c:BButton Grid.Column="0" Grid.ColumnSpan="6" HorizontalAlignment="Stretch" BorderThickness="0" Panel.ZIndex="-1" Background="Transparent" |
|
|
|
|
|
Command="{Binding DataContext.LoadCompletedSkuDataCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}" |
|
|
|
|
|
CommandParameter="{Binding}" |
|
|
|
|
|
/> |
|
|
|
|
|
<Grid Grid.Column="5" Panel.ZIndex="-2"> |
|
|
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="{Binding WaitTransportSkus,Converter={StaticResource objConverter},ConverterParameter=#null:∧:∨}" FontWeight="Bold" |
|
|
|
|
|
Foreground="{StaticResource Text.Link.Color}" FontSize="18" |
|
|
|
|
|
/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="对接人:" Margin="16,0,0,0" /> |
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="{Binding AcceptUserNames}" Margin="5,0,0,0" /> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
|
|
|
|
</Grid> |
|
|
</Grid> |
|
|
<Grid Grid.Row="1"> |
|
|
<Grid Grid.Row="1" Visibility="{Binding WaitTransportSkus,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}"> |
|
|
<Grid.RowDefinitions> |
|
|
<Grid.RowDefinitions> |
|
|
<RowDefinition/> |
|
|
<RowDefinition/> |
|
|
<RowDefinition /> |
|
|
<RowDefinition /> |
|
@ -192,7 +219,7 @@ |
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" > |
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" > |
|
|
<ListBox.ItemTemplate> |
|
|
<ListBox.ItemTemplate> |
|
|
<DataTemplate> |
|
|
<DataTemplate> |
|
|
<Grid MinHeight="100" Width="{Binding ActualWidth,ElementName=listbox_orerSku}"> |
|
|
<Grid Width="{Binding ActualWidth,ElementName=listbox_orerSku}"> |
|
|
<Grid> |
|
|
<Grid> |
|
|
<Grid.ColumnDefinitions> |
|
|
<Grid.ColumnDefinitions> |
|
|
<ColumnDefinition Width="90"/> |
|
|
<ColumnDefinition Width="90"/> |
|
|