|
|
@ -92,7 +92,7 @@ |
|
|
|
|
|
|
|
<TextBlock Text="店铺:" Style="{StaticResource middleTextBlock}" Margin="10 0 0 0"/> |
|
|
|
<c:BButton Content="{Binding ShopName}" 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 UserControl}}}" |
|
|
|
CommandParameter="{Binding ShopName}" |
|
|
|
Margin=" 5,0,7,0"/> |
|
|
|
|
|
|
@ -102,7 +102,7 @@ |
|
|
|
|
|
|
|
<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}}}" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}" |
|
|
|
CommandParameter="{Binding DepartmentName}" |
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
|
|
|
@ -120,123 +120,111 @@ |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
<ListBox x:Name="listbox_orerSku" ItemsSource="{Binding SealBoxSkus}" |
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}" |
|
|
|
<ListBox x:Name="listbox_orerSku" ItemsSource="{Binding SealBoxSkus}" Grid.ColumnSpan="2" |
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" > |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid MinHeight="100" Width="{Binding ActualWidth,ElementName=listbox_orerSku}"> |
|
|
|
<Grid> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="90"/> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition Width="400"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<Grid Grid.Column="0"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="90"/> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
<!--{Binding Logo}--> |
|
|
|
<c:BAsyncImage UrlSource="{Binding Logo}" |
|
|
|
<!--{Binding Logo}--> |
|
|
|
<c:BAsyncImage UrlSource="{Binding Logo}" |
|
|
|
Width="80" DecodePixelWidth="80" |
|
|
|
VerticalAlignment="Top" Margin="11,10,0,10" |
|
|
|
Cursor="Hand"> |
|
|
|
<b:Interaction.Triggers> |
|
|
|
<b:EventTrigger EventName="PreviewMouseLeftButtonDown"> |
|
|
|
<b:InvokeCommandAction Command="{Binding DataContext.OpenSkuDetailCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}"> |
|
|
|
<b:InvokeCommandAction.CommandParameter> |
|
|
|
<MultiBinding Converter="{StaticResource mptConverter}"> |
|
|
|
<Binding Path="SkuId"/> |
|
|
|
</MultiBinding> |
|
|
|
</b:InvokeCommandAction.CommandParameter> |
|
|
|
</b:InvokeCommandAction> |
|
|
|
</b:EventTrigger> |
|
|
|
</b:Interaction.Triggers> |
|
|
|
</c:BAsyncImage> |
|
|
|
<b:Interaction.Triggers> |
|
|
|
<b:EventTrigger EventName="PreviewMouseLeftButtonDown"> |
|
|
|
<b:InvokeCommandAction Command="{Binding DataContext.OpenSkuDetailCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type UserControl}}}"> |
|
|
|
<b:InvokeCommandAction.CommandParameter> |
|
|
|
<MultiBinding Converter="{StaticResource mptConverter}"> |
|
|
|
<Binding Path="SkuId"/> |
|
|
|
</MultiBinding> |
|
|
|
</b:InvokeCommandAction.CommandParameter> |
|
|
|
</b:InvokeCommandAction> |
|
|
|
</b:EventTrigger> |
|
|
|
</b:Interaction.Triggers> |
|
|
|
</c:BAsyncImage> |
|
|
|
|
|
|
|
<StackPanel Grid.Column="1" Orientation="Vertical" Margin="8,15,0,10"> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 0 0 13"> |
|
|
|
<TextBlock Text="SKU:" Style="{StaticResource middleTextBlock}" /> |
|
|
|
<c:BButton Content="{Binding SkuId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
|
<StackPanel Grid.Column="1" Orientation="Vertical" Margin="8,15,0,10"> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 0 0 13"> |
|
|
|
<TextBlock Text="SKU:" Style="{StaticResource middleTextBlock}" /> |
|
|
|
<c:BButton Content="{Binding SkuId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}" |
|
|
|
CommandParameter="{Binding SkuId}" |
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}" TextTrimming="CharacterEllipsis"> |
|
|
|
<TextBlock.ToolTip> |
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
<TextBlock Text="{Binding SkuTitle,Mode=TwoWay}"/> |
|
|
|
</ToolTip> |
|
|
|
</TextBlock.ToolTip> |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}" TextTrimming="CharacterEllipsis"> |
|
|
|
<TextBlock.ToolTip> |
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
<TextBlock Text="{Binding SkuTitle,Mode=TwoWay}"/> |
|
|
|
</ToolTip> |
|
|
|
</TextBlock.ToolTip> |
|
|
|
<Run Text="SKU名称:"/> |
|
|
|
<Run Text="{Binding SkuTitle}"/> |
|
|
|
</TextBlock> |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}" TextWrapping="Wrap" Margin="0,13,0 0"> |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}" TextWrapping="Wrap" Margin="0,13,0 0"> |
|
|
|
<Run Text="品名:"/> |
|
|
|
<Run Text="{Binding BrandName}"/> |
|
|
|
</TextBlock> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Vertical" Grid.Column="2" Margin="20,15,0,10"> |
|
|
|
<StackPanel Orientation="Horizontal" > |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}"> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Vertical" Grid.Column="2" Margin="20,15,0,10"> |
|
|
|
<StackPanel Orientation="Horizontal" > |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}"> |
|
|
|
<Run Text="货号:" /> |
|
|
|
</TextBlock> |
|
|
|
<c:BButton Content="{Binding ProductNo}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Top" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
|
</TextBlock> |
|
|
|
<c:BButton Content="{Binding ProductNo}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Top" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}" |
|
|
|
CommandParameter="{Binding ProductNo}" |
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Grid.Column="2" Orientation="Horizontal" Margin="0,13,0,5"> |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}"> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Grid.Column="2" Orientation="Horizontal" Margin="0,13,0,5"> |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}"> |
|
|
|
<Run Text="任务ID:" /> |
|
|
|
</TextBlock> |
|
|
|
<c:BButton Content="{Binding TaskId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Top" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
|
</TextBlock> |
|
|
|
<c:BButton Content="{Binding TaskId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Top" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}" |
|
|
|
CommandParameter="{Binding TaskId}" |
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
</StackPanel> |
|
|
|
<!--<TextBlock Foreground="{StaticResource Text.Gray}" TextWrapping="Wrap" Margin="0,10,0 0"> |
|
|
|
</StackPanel> |
|
|
|
<!--<TextBlock Foreground="{StaticResource Text.Gray}" TextWrapping="Wrap" Margin="0,10,0 0"> |
|
|
|
<Run Text="任务状态:"/> |
|
|
|
<Run Foreground="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=待质检|待打包:Red:black}" Text="{Binding TaskState}"/> |
|
|
|
</TextBlock>--> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
<Border Grid.Row="0" VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
</Grid> |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="0"/> |
|
|
|
<ListBox x:Name="listbox_skuCount" ItemsSource="{Binding SealBoxSkus}" |
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}" Grid.Column="1" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" > |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid MinHeight="100" Width="{Binding ActualWidth,ElementName=listbox_skuCount}"> |
|
|
|
<Grid> |
|
|
|
<TextBlock x:Name="txt_storeName" |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Column="1" > |
|
|
|
<TextBlock x:Name="txt_storeName" |
|
|
|
Text="{Binding SkuCount}" |
|
|
|
TextWrapping="Wrap" |
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" |
|
|
|
/> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<Border Grid.Row="0" VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="0"/> |
|
|
|
<Grid Grid.Column="2" > |
|
|
|
|
|
|
|
</Grid> |
|
|
|