|
|
@ -313,7 +313,7 @@ |
|
|
|
Visibility="{Binding Visibility,ElementName=listbox_afterSaleOrder}"> |
|
|
|
<Grid> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="351"/> |
|
|
|
<ColumnDefinition Width="360"/> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition/> |
|
|
@ -961,7 +961,7 @@ |
|
|
|
<Grid Width="{Binding ActualWidth,ElementName=listbox_afterSaleOrder,Converter={StaticResource widthConverter},ConverterParameter=-0}"> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="30"/> |
|
|
|
<RowDefinition/> |
|
|
|
<RowDefinition /> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
|
|
<Grid Background="#F2F2F2"> |
|
|
@ -969,13 +969,16 @@ |
|
|
|
<Border BorderBrush="{StaticResource Text.Pink}" BorderThickness="1" |
|
|
|
Background="White" |
|
|
|
Padding="5,0" |
|
|
|
Height="25"> |
|
|
|
Height="25" |
|
|
|
Margin="5,0,0,0"> |
|
|
|
<TextBlock Text="{Binding ServiceResult,Converter={StaticResource objConverter},ConverterParameter=#null:服务单未结束:#source}" |
|
|
|
Foreground="{StaticResource Text.Pink}" |
|
|
|
VerticalAlignment="Center"/> |
|
|
|
</Border> |
|
|
|
|
|
|
|
<TextBlock Text="{Binding ApplyTime,StringFormat=yyyy-MM-dd HH:mm:ss}" VerticalAlignment="Center" Margin="5,0,0,0"/> |
|
|
|
<Border Width="1" Margin="5,5,0,5" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="服务单号:" Margin="5,0,0,0" /> |
|
|
|
<c:BButton Content="{Binding ServiceId}" Style="{StaticResource LinkButton}" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
@ -989,15 +992,73 @@ |
|
|
|
<Border Width="1" Margin="5,5,0,5" Background="{StaticResource Border.Brush}"/> |
|
|
|
<StackPanel x:Name="txt_consignee" Margin="5,0,0,0" Orientation="Horizontal" VerticalAlignment="Center"> |
|
|
|
<TextBlock Text="收货人:"/> |
|
|
|
<TextBox Text="{Binding Consignee.ContactName}" Foreground="{StaticResource Text.Color}" |
|
|
|
<TextBox Text="{Binding ContactName}" Foreground="{StaticResource Text.Color}" |
|
|
|
IsReadOnly="True" Background="Transparent" BorderThickness="0"/> |
|
|
|
<TextBlock Text="联系电话:" Margin="5,0,0,0"/> |
|
|
|
<TextBox Text="{Binding Consignee.Mobile}" Foreground="{StaticResource Text.Color}" |
|
|
|
<TextBox Text="{Binding Mobile}" Foreground="{StaticResource Text.Color}" |
|
|
|
IsReadOnly="True" Background="Transparent" BorderThickness="0"/> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
<Border VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<Grid Grid.Row="1"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="360"/> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<Grid> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="90"/> |
|
|
|
<ColumnDefinition/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<c:BAsyncImage UrlSource="{Binding Logo}" |
|
|
|
Width="80" DecodePixelWidth="80" |
|
|
|
VerticalAlignment="Top" Margin="0,5"/> |
|
|
|
<StackPanel Grid.Column="1" Orientation="Vertical" Margin="0,5,0,5"> |
|
|
|
<TextBlock TextTrimming="CharacterEllipsis"> |
|
|
|
<TextBlock.ToolTip> |
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
<TextBlock Text="{Binding Title}"/> |
|
|
|
</ToolTip> |
|
|
|
</TextBlock.ToolTip> |
|
|
|
<Run Text="SKU名称:"/> |
|
|
|
<Run Text="{Binding Title}"/> |
|
|
|
</TextBlock> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="SPU:"/> |
|
|
|
<c:BButton Content="{Binding ProductId}" Style="{StaticResource LinkButton}" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
|
CommandParameter="{Binding ProductId}" |
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
|
|
|
|
<TextBlock Text="SKU:" Margin="5,0,0,0"/> |
|
|
|
<c:BButton Content="{Binding SkuId}" Style="{StaticResource LinkButton}" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
|
CommandParameter="{Binding ProductId}" |
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock TextWrapping="Wrap"> |
|
|
|
<Run Text="单价:"/> |
|
|
|
<Run Text="{Binding Price}"/> |
|
|
|
</TextBlock> |
|
|
|
<TextBlock TextWrapping="Wrap"> |
|
|
|
<Run Text="数量:"/> |
|
|
|
<Run Text="{Binding ItemTotal}"/> |
|
|
|
</TextBlock> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|