|
|
@ -77,10 +77,10 @@ |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="{Binding ActualWidth,ElementName=listbox_order,Converter={StaticResource widthConverter},ConverterParameter=-0}" |
|
|
|
MinHeight="100"> |
|
|
|
> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="30"/> |
|
|
|
<RowDefinition MinHeight="90"/> |
|
|
|
<RowDefinition /> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<Grid Background="#F2F2F2" > |
|
|
|
<Grid.ColumnDefinitions> |
|
|
@ -120,9 +120,19 @@ |
|
|
|
<TextBlock VerticalAlignment="Center" Text="对接人:" Margin="16,0,0,0" /> |
|
|
|
<TextBlock VerticalAlignment="Center" Text="{Binding AcceptUserName}" Margin="5,0,0,0" /> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<c:BButton Grid.Column="0" Grid.ColumnSpan="6" Background="Transparent" HorizontalAlignment="Stretch" BorderThickness="0" Panel.ZIndex="-1" |
|
|
|
Command="{Binding DataContext.LoadSealBoxSkuDataCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}" |
|
|
|
CommandParameter="{Binding}" |
|
|
|
/> |
|
|
|
<Grid Grid.Column="6" Panel.ZIndex="-2"> |
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="{Binding SealBoxSkus,Converter={StaticResource objConverter},ConverterParameter=#null:∧:∨}" FontWeight="Bold" |
|
|
|
Foreground="{StaticResource Text.Link.Color}" FontSize="18" |
|
|
|
/> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Row="1"> |
|
|
|
<Grid Grid.Row="1" |
|
|
|
Visibility="{Binding SealBoxSkus,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}" |
|
|
|
> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="400"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
@ -132,13 +142,21 @@ |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
<ListBox x:Name="listbox_orerSku" ItemsSource="{Binding SealBoxSkus}" |
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" > |
|
|
|
<ListBox x:Name="listbox_orerSku" ItemsSource="{Binding SealBoxSkus}" Grid.ColumnSpan="2" |
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}" VirtualizingStackPanel.IsVirtualizing="True" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
|
|
|
|
|
> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid MinHeight="100" Width="{Binding ActualWidth,ElementName=listbox_orerSku}"> |
|
|
|
<Grid> |
|
|
|
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="400"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
<Grid Grid.Column="0"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="90"/> |
|
|
|
<ColumnDefinition/> |
|
|
@ -216,71 +234,52 @@ |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</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"/> |
|
|
|
<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> |
|
|
|
<Grid Grid.Column="1" > |
|
|
|
<TextBlock x:Name="txt_storeName" |
|
|
|
Text="{Binding WareHourseSkuCount}" |
|
|
|
TextWrapping="Wrap" |
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" |
|
|
|
/> |
|
|
|
Text="{Binding WareHourseSkuCount}" |
|
|
|
TextWrapping="Wrap" |
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" |
|
|
|
/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<Border Grid.Row="0" VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
<Border Grid.Row="0" VerticalAlignment="Bottom" Height="1" Grid.ColumnSpan="2" 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 Grid.Column="2" |
|
|
|
|
|
|
|
> |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="{Binding SealBoxCount}"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<Grid Grid.Column="3" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" |
|
|
|
Visibility="{Binding SealBoxRemainTime,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}" |
|
|
|
> |
|
|
|
> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" |
|
|
|
Visibility="{Binding IsSealBoxOverTime,Converter={StaticResource objConverter},ConverterParameter=false:Visible:Collapsed}" |
|
|
|
> |
|
|
|
Visibility="{Binding IsSealBoxOverTime,Converter={StaticResource objConverter},ConverterParameter=false:Visible:Collapsed}" |
|
|
|
> |
|
|
|
<TextBlock Text="剩余: " /> |
|
|
|
<TextBlock Text="{Binding SealBoxRemainTime }"/> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Vertical" Margin="10,5" VerticalAlignment="Center" HorizontalAlignment="Center" |
|
|
|
Visibility="{Binding IsSealBoxOverTime,Converter={StaticResource objConverter},ConverterParameter=true:Visible:Collapsed}" |
|
|
|
> |
|
|
|
Visibility="{Binding IsSealBoxOverTime,Converter={StaticResource objConverter},ConverterParameter=true:Visible:Collapsed}" |
|
|
|
> |
|
|
|
<StackPanel Orientation="Horizontal" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
> |
|
|
|
<TextBlock Foreground="Red" Text="超时: "/> |
|
|
|
<TextBlock Foreground="Red" Text="{Binding SealBoxRemainTime}"/> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<c:BButton Margin="0 10 0 0" Content="{Binding SealBoxPackOverTimeMarkMsg ,Converter={StaticResource objConverter},ConverterParameter=#null:提交备注:修改备注}" Style="{StaticResource LinkButton}" |
|
|
|
> |
|
|
|
> |
|
|
|
<b:Interaction.Triggers> |
|
|
|
<b:EventTrigger EventName="PreviewMouseLeftButtonDown"> |
|
|
|
<b:InvokeCommandAction Command="{Binding DataContext.SubmitOverTimeMarkMsgCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}"> |
|
|
@ -299,7 +298,8 @@ |
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
<Grid Grid.Column="5" > |
|
|
|
<Grid Grid.Column="5" |
|
|
|
> |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
|
|
|
|
<c:BButton Grid.Column="11" HorizontalAlignment="Stretch" Style="{StaticResource LinkButton}" VerticalAlignment="Center" |
|
|
|