|
@ -89,22 +89,26 @@ |
|
|
|
|
|
|
|
|
<TextBlock Text="店铺:" Style="{StaticResource middleTextBlock}" Margin="10 0 0 0"/> |
|
|
<TextBlock Text="店铺:" Style="{StaticResource middleTextBlock}" Margin="10 0 0 0"/> |
|
|
<c:BButton Content="{Binding ShopName}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
<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}" |
|
|
CommandParameter="{Binding ShopName}" |
|
|
Margin=" 5,0,7,0"/> |
|
|
Margin=" 5,0,7,0"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="仓库:" Margin="16,0,0,0" /> |
|
|
<TextBlock VerticalAlignment="Center" Text="仓库:" Margin="14,0,0,0" /> |
|
|
<c:BButton Content="{Binding WareName}" 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 UserControl}}}" |
|
|
CommandParameter="{Binding WareName}" |
|
|
CommandParameter="{Binding WareName}" |
|
|
Margin=" 5,0,7,0"/> |
|
|
Margin=" 5,0,7,0"/> |
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="封箱ID:" Margin="16,0,0,0" /> |
|
|
|
|
|
<c:BButton Content="{Binding SealBoxId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}" |
|
|
|
|
|
CommandParameter="{Binding SealBoxId}" |
|
|
|
|
|
Margin=" 5,0,7,0"/> |
|
|
|
|
|
|
|
|
<Label Width="70" Height="25" HorizontalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" VerticalAlignment="Center" Content="{Binding TaskState}" Foreground="White" Background="{Binding TaskState,Converter={StaticResource objConverter} , ConverterParameter=已完成:#02a7f0:#facd91 }" Margin="5,0,0,0"/> |
|
|
|
|
|
|
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="部门:" Margin="14,0,0,0" /> |
|
|
<TextBlock VerticalAlignment="Center" Text="部门:" Margin="16,0,0,0" /> |
|
|
<c:BButton Content="{Binding DepartmentName}" 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 UserControl}}}" |
|
|
CommandParameter="{Binding DepartmentName}" |
|
|
CommandParameter="{Binding DepartmentName}" |
|
|
Margin=" 5,0,0,0"/> |
|
|
Margin=" 5,0,0,0"/> |
|
|
|
|
|
|
|
@ -142,11 +146,10 @@ |
|
|
Cursor="Hand"> |
|
|
Cursor="Hand"> |
|
|
<b:Interaction.Triggers> |
|
|
<b:Interaction.Triggers> |
|
|
<b:EventTrigger EventName="PreviewMouseLeftButtonDown"> |
|
|
<b:EventTrigger EventName="PreviewMouseLeftButtonDown"> |
|
|
<b:InvokeCommandAction Command="{Binding DataContext.OpenSkuDetailCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}"> |
|
|
<b:InvokeCommandAction Command="{Binding DataContext.OpenSkuDetailCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type UserControl}}}"> |
|
|
<b:InvokeCommandAction.CommandParameter> |
|
|
<b:InvokeCommandAction.CommandParameter> |
|
|
<MultiBinding Converter="{StaticResource mptConverter}"> |
|
|
<MultiBinding Converter="{StaticResource mptConverter}"> |
|
|
<Binding Path="DataContext.Id" RelativeSource="{RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox},AncestorLevel=1}"/> |
|
|
<Binding Path="SkuId"/> |
|
|
<Binding Path="Id"/> |
|
|
|
|
|
</MultiBinding> |
|
|
</MultiBinding> |
|
|
</b:InvokeCommandAction.CommandParameter> |
|
|
</b:InvokeCommandAction.CommandParameter> |
|
|
</b:InvokeCommandAction> |
|
|
</b:InvokeCommandAction> |
|
@ -158,7 +161,7 @@ |
|
|
<StackPanel Orientation="Horizontal" Margin="0 0 0 13"> |
|
|
<StackPanel Orientation="Horizontal" Margin="0 0 0 13"> |
|
|
<TextBlock Text="SKU:" Style="{StaticResource middleTextBlock}" /> |
|
|
<TextBlock Text="SKU:" Style="{StaticResource middleTextBlock}" /> |
|
|
<c:BButton Content="{Binding SkuId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" |
|
|
<c:BButton Content="{Binding SkuId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" |
|
|
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 SkuId}" |
|
|
CommandParameter="{Binding SkuId}" |
|
|
Margin=" 5,0,0,0"/> |
|
|
Margin=" 5,0,0,0"/> |
|
|
</StackPanel> |
|
|
</StackPanel> |
|
@ -186,7 +189,7 @@ |
|
|
<Run Text="货号:" /> |
|
|
<Run Text="货号:" /> |
|
|
</TextBlock> |
|
|
</TextBlock> |
|
|
<c:BButton Content="{Binding ProductNo}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Top" |
|
|
<c:BButton Content="{Binding ProductNo}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Top" |
|
|
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 ProductNo}" |
|
|
CommandParameter="{Binding ProductNo}" |
|
|
Margin=" 5,0,0,0"/> |
|
|
Margin=" 5,0,0,0"/> |
|
|
</StackPanel> |
|
|
</StackPanel> |
|
@ -195,7 +198,7 @@ |
|
|
<Run Text="任务ID:" /> |
|
|
<Run Text="任务ID:" /> |
|
|
</TextBlock> |
|
|
</TextBlock> |
|
|
<c:BButton Content="{Binding TaskId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Top" |
|
|
<c:BButton Content="{Binding TaskId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Top" |
|
|
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 TaskId}" |
|
|
CommandParameter="{Binding TaskId}" |
|
|
Margin=" 5,0,0,0"/> |
|
|
Margin=" 5,0,0,0"/> |
|
|
</StackPanel> |
|
|
</StackPanel> |
|
@ -270,7 +273,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<c:BButton Grid.Column="11" HorizontalAlignment="Stretch" Style="{StaticResource LinkButton}" VerticalAlignment="Center" Content="完成" |
|
|
<c:BButton Grid.Column="11" HorizontalAlignment="Stretch" Style="{StaticResource LinkButton}" VerticalAlignment="Center" Content="完成" |
|
|
Command="{Binding DataContext.CompeteFallWareCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}" |
|
|
Command="{Binding DataContext.CompeteFallWareCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type UserControl}}}" |
|
|
CommandParameter="{Binding}" |
|
|
CommandParameter="{Binding}" |
|
|
Visibility="{Binding BoxConfigureData,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}" |
|
|
Visibility="{Binding BoxConfigureData,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}" |
|
|
> |
|
|
> |
|
|