|
|
@ -191,7 +191,7 @@ |
|
|
|
<RowDefinition Height="0.5*"/> |
|
|
|
<RowDefinition Height="0.5*"/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" FontSize="25" Foreground="#EC808D" Grid.RowSpan="2"> |
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" FontSize="25" Foreground="{StaticResource Text.Pink}" Grid.RowSpan="2"> |
|
|
|
<Run Text="业绩"/> |
|
|
|
<LineBreak/> |
|
|
|
<Run Text="统计"/> |
|
|
@ -217,7 +217,7 @@ |
|
|
|
<LineBreak/> |
|
|
|
<Run Text="{Binding ToDayOrderAchievement.TotalCost}"/> |
|
|
|
</TextBlock> |
|
|
|
<Path Style="{StaticResource path_question}" Width="14" Margin="5,0,0,0" Fill="#EC808D" ToolTipService.InitialShowDelay="0"> |
|
|
|
<Path Style="{StaticResource path_question}" Width="14" Margin="5,0,0,0" Fill="{StaticResource Text.Pink}" ToolTipService.InitialShowDelay="0"> |
|
|
|
<Path.ToolTip> |
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
<StackPanel> |
|
|
@ -374,7 +374,6 @@ |
|
|
|
<TextBox Text="{Binding Consignee.Mobile}" Foreground="{StaticResource Text.Color}" |
|
|
|
IsReadOnly="True" Background="Transparent" BorderThickness="0"/> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<Border VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
</Grid> |
|
|
@ -441,7 +440,7 @@ |
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
<c:BButton Content="修改售后" Padding="5,0" Margin="5,0,0,0" Background="#EC808D" |
|
|
|
<c:BButton Content="修改售后" Padding="5,0" Margin="5,0,0,0" Background="{StaticResource Text.Pink}" |
|
|
|
Visibility="{Binding DataContext.OrderState,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}},Converter={StaticResource objConverter},ConverterParameter=已完成:Visible:Collapsed}" |
|
|
|
Command="{Binding DataContext.EditAfterSaleOrderCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}"> |
|
|
|
<c:BButton.CommandParameter> |
|
|
@ -466,9 +465,9 @@ |
|
|
|
<Run Text="买家备注:" /> |
|
|
|
<Run Text="{Binding BuyerRemark}"/> |
|
|
|
</TextBlock> |
|
|
|
<Border BorderBrush="#EC808D" BorderThickness="1" HorizontalAlignment="Left" Padding="5,2" |
|
|
|
<Border BorderBrush="{StaticResource Text.Pink}" BorderThickness="1" HorizontalAlignment="Left" Padding="5,2" |
|
|
|
Visibility="{Binding IsRefund,ConverterParameter=true:Visible:Collapsed,Converter={StaticResource objConverter}}"> |
|
|
|
<TextBlock Text="售后" Foreground="#EC808D"/> |
|
|
|
<TextBlock Text="售后" Foreground="{StaticResource Text.Pink}"/> |
|
|
|
</Border> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
@ -589,7 +588,7 @@ |
|
|
|
<Run Text="{Binding ActualAmount,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
<Path Style="{StaticResource path_question}" Width="14" Margin="5,0,0,0" Fill="#EC808D" ToolTipService.InitialShowDelay="0"> |
|
|
|
<Path Style="{StaticResource path_question}" Width="14" Margin="5,0,0,0" Fill="{StaticResource Text.Pink}" ToolTipService.InitialShowDelay="0"> |
|
|
|
<Path.ToolTip> |
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
<StackPanel> |
|
|
@ -619,7 +618,7 @@ |
|
|
|
<Run Text="{Binding PreferentialAmount}"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
<Path Style="{StaticResource path_question}" Width="14" Margin="5,0,0,0" Fill="#EC808D" ToolTipService.InitialShowDelay="0"> |
|
|
|
<Path Style="{StaticResource path_question}" Width="14" Margin="5,0,0,0" Fill="{StaticResource Text.Pink}" ToolTipService.InitialShowDelay="0"> |
|
|
|
<Path.ToolTip> |
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
<ListBox ItemsSource="{Binding OrderCouponList}" |
|
|
@ -646,7 +645,7 @@ |
|
|
|
|
|
|
|
<Path x:Name="path_purchaseAmount_question" |
|
|
|
Style="{StaticResource path_question}" |
|
|
|
Width="14" Margin="5,0,0,0" Fill="#EC808D" |
|
|
|
Width="14" Margin="5,0,0,0" Fill="{StaticResource Text.Pink}" |
|
|
|
ToolTipService.InitialShowDelay="0" |
|
|
|
ToolTipService.ShowDuration="20000"> |
|
|
|
<Path.ToolTip> |
|
|
@ -775,7 +774,7 @@ |
|
|
|
<Run Text="{Binding OrderCost.TotalReissue,Mode=OneWay}"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
<Path Style="{StaticResource path_question}" Width="14" Margin="5,0,0,0" Fill="#EC808D" ToolTipService.InitialShowDelay="0"> |
|
|
|
<Path Style="{StaticResource path_question}" Width="14" Margin="5,0,0,0" Fill="{StaticResource Text.Pink}" ToolTipService.InitialShowDelay="0"> |
|
|
|
<Path.ToolTip> |
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
<StackPanel> |
|
|
@ -854,58 +853,11 @@ |
|
|
|
Visibility="{Binding Visibility,ElementName=btn_outStore}"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="{Binding OrderState}" Grid.Column="6" |
|
|
|
HorizontalAlignment="Center" |
|
|
|
VerticalAlignment="Center"> |
|
|
|
<!--<TextBlock.Visibility> |
|
|
|
<MultiBinding Converter="{StaticResource mobjConverter}" |
|
|
|
ConverterParameter=";true:&:Collapsed:Visible:1"> |
|
|
|
<Binding Path="DataContext.IncludeAfterOrder" RelativeSource="{RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}"/> |
|
|
|
<Binding Path="IsAfterSaleOrder"/> |
|
|
|
</MultiBinding> |
|
|
|
</TextBlock.Visibility>--> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
<!--<ListBox x:Name="listbox_afterSaleOrder1" |
|
|
|
Grid.Column="6" |
|
|
|
ItemsSource="{Binding AfterSaleOrderList}" |
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
|
VerticalAlignment="Center" |
|
|
|
Foreground="{StaticResource Text.Color}"> |
|
|
|
<ListBox.Visibility> |
|
|
|
<MultiBinding Converter="{StaticResource mobjConverter}" |
|
|
|
ConverterParameter=";true:&:Visible:Collapsed:1"> |
|
|
|
<Binding Path="DataContext.IncludeAfterOrder" RelativeSource="{RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}"/> |
|
|
|
<Binding Path="IsAfterSaleOrder"/> |
|
|
|
</MultiBinding> |
|
|
|
</ListBox.Visibility> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Grid.Column="2" |
|
|
|
Width="{Binding ActualWidth,ElementName=listbox_afterSaleOrder1}" |
|
|
|
Height="{Binding RefundAmount,Converter={StaticResource objConverter},ConverterParameter=0|0.0|0.00:115:136}"> |
|
|
|
<StackPanel VerticalAlignment="Center" |
|
|
|
HorizontalAlignment="Center" |
|
|
|
Visibility="{Binding IsPlaceholder,ConverterParameter=true:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="订单状态"/> |
|
|
|
<Run Text="{Binding DataContext.OrderState,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox},AncestorLevel=1}}"/> |
|
|
|
</TextBlock> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="售后信息"/> |
|
|
|
<Run Text="{Binding ServiceResult,ConverterParameter=#null:未处理:#source,Converter={StaticResource objConverter}}"/> |
|
|
|
</TextBlock> |
|
|
|
</StackPanel> |
|
|
|
<Border VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}" |
|
|
|
DataContext="{Binding DataContext,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
|
Visibility="{Binding ItemList.Count,Converter={StaticResource objConverter},ConverterParameter=1:Collapsed:Visible}"/> |
|
|
|
</Grid> |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox>--> |
|
|
|
VerticalAlignment="Center"/> |
|
|
|
|
|
|
|
<StackPanel Orientation="Vertical" Grid.Column="7" Margin="5,5,5,0"> |
|
|
|
<StackPanel x:Name="sp_buyerRemark"> |
|
|
@ -1007,7 +959,45 @@ |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="{Binding ActualWidth,ElementName=listbox_afterSaleOrder,Converter={StaticResource widthConverter},ConverterParameter=-0}"> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="30"/> |
|
|
|
<RowDefinition/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
|
|
<Grid Background="#F2F2F2"> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<Border BorderBrush="{StaticResource Text.Pink}" BorderThickness="1" |
|
|
|
Background="White" |
|
|
|
Padding="5,0" |
|
|
|
Height="25"> |
|
|
|
<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"/> |
|
|
|
<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}}}" |
|
|
|
CommandParameter="{Binding ServiceId}" 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 OrderId}" Style="{StaticResource LinkButton}" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
|
CommandParameter="{Binding OrderId}" Margin="5,0,0,0"/> |
|
|
|
<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}" |
|
|
|
IsReadOnly="True" Background="Transparent" BorderThickness="0"/> |
|
|
|
<TextBlock Text="联系电话:" Margin="5,0,0,0"/> |
|
|
|
<TextBox Text="{Binding Consignee.Mobile}" Foreground="{StaticResource Text.Color}" |
|
|
|
IsReadOnly="True" Background="Transparent" BorderThickness="0"/> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
<Border VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|