Files
29WxOrder/29WxOrderWpf/Ctrls/OrderCtrls/OrderListRowItemCtrl.xaml
T

1854 lines
61 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<UserControl
x:Class="_29WxOrderWpf.Ctrls.OrderCtrls.OrderListRowItemCtrl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:conv="clr-namespace:_29WxOrderWpf.Converters"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:_29WxOrderWpf.Ctrls.OrderCtrls"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:uc="clr-namespace:_29WxOrderWpf.UserControls"
d:Background="White"
d:DesignHeight="220"
d:DesignWidth="1300"
DataContextChanged="UserControl_DataContextChanged"
mc:Ignorable="d">
<UserControl.Resources>
<conv:InverseVisibleToVisibilityConverter x:Key="InverseVisibleToVisibilityConverter" />
<conv:VisibleToVisibilityConverter x:Key="VisibleToVisibilityConverter" />
<conv:MoreThanZeroVisibilityConverter x:Key="MoreThanZeroVisibilityConverter" />
</UserControl.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="2" />
<RowDefinition Height="*" />
<RowDefinition Height="2" />
</Grid.RowDefinitions>
<Grid
x:Name="gridListItem"
Grid.Row="1"
VerticalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="36" />
<ColumnDefinition Width="28" />
<ColumnDefinition Width="200*" />
<ColumnDefinition Width="95*" />
<ColumnDefinition Width="75*" />
<ColumnDefinition Width="170*" />
<ColumnDefinition Width="120*" />
<ColumnDefinition Width="120*" />
<ColumnDefinition Width="72*" />
</Grid.ColumnDefinitions>
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
Text="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBoxItem}}, Converter={StaticResource listBoxIndexConverter}}" />
<CheckBox
Grid.Column="1"
Margin="0,0,0,0"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Background="Transparent"
Click="CheckBox_Click"
IsChecked="{Binding ItemOrder.IsSelect, Mode=TwoWay}"
Tag="{Binding order_id}" />
<!-- 订单商品信息 -->
<Grid
Grid.Column="2"
VerticalAlignment="Center"
Background="Transparent">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto" MinWidth="50" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<!--<Image Grid.Row="1" x:Name="imgOrderItem" Grid.Column="0" VerticalAlignment="Top" Height="100" Width="100" Margin="0,2,8,2" Source="{Binding thumb_img, Converter={StaticResource ImageUrlToBitmapImage}}"></Image>-->
<Image
x:Name="imgOrderItem"
Grid.Row="1"
Grid.Column="0"
Width="100"
Height="100"
Margin="0,2,8,2"
VerticalAlignment="Top"
Cursor="Hand"
MouseDown="imgOrderItem_MouseDown"
MouseEnter="imgOrderItem_MouseEnter"
MouseLeave="imgOrderItem_MouseLeave" />
<Grid Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<!--<Image Grid.RowSpan="20" Grid.Column="0" Height="80" Width="80" Margin="0,0,8,0" Source="{DynamicResource imgErrPic}"></Image>-->
<uc:UcWaterMarkTextBox1
x:Name="txtGoodsName"
Grid.Row="1"
Grid.Column="0"
Margin="0,2,4,2"
HorizontalAlignment="Left"
d:Text="商品名称"
d:Visibility="Visible"
Background="Transparent"
BorderThickness="0"
FontWeight="Bold"
IsReadOnly="True"
Text="{Binding title}"
TextWrapping="Wrap"
WaterMark="商品名称" />
<!--<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Border Grid.Column="1" Grid.Row="1" Width="12" Background="Transparent" Height="12" VerticalAlignment="Center" Cursor="Hand" HorizontalAlignment="Left"
MouseLeftButtonDown="pathCopyProdName_MouseLeftButtonDown" Visibility="{Binding ElementName=txtUserAddress,Path=Visibility}">
<Path Margin="0,0,0,0" Fill="{StaticResource PageLinkBrush}" MouseLeftButtonDown="pathCopyProdName_MouseLeftButtonDown" Data="M80 432a128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128h-384a128 128 0 0 1-128-128v-384z m128-64a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64h-384z M816 144h-384a64 64 0 0 0-64 64 32 32 0 0 1-64 0 128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128 32 32 0 0 1 0-64 64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64z" Stretch="Uniform" />
</Border>
</Grid>-->
<TextBox
Grid.Row="2"
Grid.Column="1"
Margin="0,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="数量:" />
<uc:UcWaterMarkTextBox1
Grid.Row="2"
Grid.Column="1"
Margin="36,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding sku_cnt}"
TextWrapping="Wrap"
WaterMark="SKU数量" />
<TextBox
Grid.Row="3"
Grid.Column="1"
Margin="0,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="规格:" />
<uc:UcWaterMarkTextBox1
Grid.Row="3"
Grid.Column="1"
Margin="36,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding sku_attr_str}"
TextWrapping="Wrap"
WaterMark="规格" />
<WrapPanel Grid.Row="4">
<TextBox
Grid.Row="4"
Grid.Column="1"
Margin="0,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="平台商品ID:" />
<uc:UcWaterMarkTextBox1
Grid.Row="4"
Grid.Column="1"
Margin="-9,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding product_id}"
TextWrapping="Wrap"
WaterMark="平台商品ID" />
<Button
x:Name="btnOptimizeProduct"
MinWidth="48"
MinHeight="16"
Margin="2,0,0,0"
Padding="2,0"
Click="btnOptimizeProduct_Click"
Content="优化订单商品"
Style="{StaticResource BasePageButtonLightStyle}" />
</WrapPanel>
<WrapPanel Grid.Row="5">
<TextBox
Grid.Row="5"
Grid.Column="1"
Margin="0,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="系统商品ID:" />
<uc:UcWaterMarkTextBox1
Grid.Row="5"
Grid.Column="1"
Margin="-9,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding out_product_id}"
TextWrapping="Wrap"
WaterMark="系统商品ID" />
</WrapPanel>
<TextBox
Grid.Row="6"
Grid.Column="1"
Margin="0,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="系统sku编码:" />
<uc:UcWaterMarkTextBox1
Grid.Row="6"
Grid.Column="1"
Margin="78,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding out_sku_id}"
TextWrapping="Wrap"
WaterMark="系统sku编码" />
</Grid>
</Grid>
<!-- 订单时间信息 -->
<Grid
Grid.Column="3"
VerticalAlignment="Center"
Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBox
Grid.Row="1"
Grid.Column="1"
Margin="0,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="成交时间:" />
<uc:UcWaterMarkTextBox1
Grid.Row="1"
Grid.Column="1"
Margin="60,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding CreateDateTimeStr}"
TextWrapping="Wrap"
WaterMark="成交时间" />
<TextBox
Grid.Row="2"
Grid.Column="1"
Margin="0,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="发货时间:"
Visibility="{Binding ItemOrder.ship_done_time_visibility}" />
<uc:UcWaterMarkTextBox1
Grid.Row="2"
Grid.Column="1"
Margin="60,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding ItemOrder.ship_done_time_str}"
TextWrapping="Wrap"
Visibility="{Binding ItemOrder.ship_done_time_visibility}"
WaterMark="发货时间" />
<TextBox
Grid.Row="3"
Grid.Column="1"
Margin="0,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="退款时间:"
Visibility="{Binding RefundTimeVisibility}" />
<uc:UcWaterMarkTextBox1
Grid.Row="3"
Grid.Column="1"
Margin="60,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding RefundDateTimeStr}"
TextWrapping="Wrap"
Visibility="{Binding RefundTimeVisibility}"
WaterMark="退款时间" />
<!--<TextBox Text="更新时间:" Grid.Column="1" Grid.Row="4" Margin="0,2,4,2" VerticalAlignment="Top" Background="Transparent" IsReadOnly="True" BorderThickness="0"/>
<uc:UcWaterMarkTextBox1 WaterMark="更新时间" Text="{Binding UpdateDateTimeStr}" Grid.Column="1" Grid.Row="4" Margin="60,2,4,2" VerticalAlignment="Top"
Background="Transparent" IsReadOnly="True" BorderThickness="0" TextWrapping="Wrap"/>-->
</Grid>
<!-- 订单利润 -->
<Grid
Grid.Column="4"
VerticalAlignment="Center"
Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBox
Grid.Row="1"
Grid.Column="1"
Margin="0,0,4,0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="售价:" />
<uc:UcWaterMarkTextBox1
Grid.Row="1"
Grid.Column="1"
Margin="36,0,4,0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding RealPriceStr}"
TextWrapping="Wrap"
WaterMark="售价" />
<TextBox
Grid.Row="2"
Grid.Column="1"
Margin="0,0,4,0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="平台优惠:" />
<uc:UcWaterMarkTextBox1
Grid.Row="2"
Grid.Column="1"
Margin="60,0,4,0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding CashCouponDiscountedPriceStr}"
TextWrapping="Wrap"
WaterMark="平台优惠" />
<TextBox
Grid.Row="3"
Grid.Column="1"
Margin="0,0,4,0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="进价:"
Visibility="{Binding purchase_price_visibility}" />
<uc:UcWaterMarkTextBox1
Grid.Row="3"
Grid.Column="1"
Margin="36,0,4,0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding purchase_price_str}"
TextWrapping="Wrap"
Visibility="{Binding purchase_price_visibility}"
WaterMark="进价" />
<TextBox
Grid.Row="4"
Grid.Column="1"
Margin="0,0,4,0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="运费:"
Visibility="{Binding FreightVisibility}" />
<uc:UcWaterMarkTextBox1
Grid.Row="4"
Grid.Column="1"
Margin="36,0,4,0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding freight_str}"
TextWrapping="Wrap"
Visibility="{Binding FreightVisibility}"
WaterMark="运费" />
<TextBox
Grid.Row="5"
Grid.Column="1"
Margin="0,0,4,0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="平台服务费:" />
<uc:UcWaterMarkTextBox1
Grid.Row="5"
Margin="72,0,4,0"
VerticalAlignment="Center"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding predict_commission_fee_str}"
TextWrapping="Wrap"
WaterMark="平台服务费" />
<TextBox
Grid.Row="6"
Grid.Column="1"
Margin="0,0,4,0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="达人佣金:" />
<uc:UcWaterMarkTextBox1
Grid.Row="6"
Margin="60,0,4,0"
VerticalAlignment="Center"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding commission_amount_str}"
TextWrapping="Wrap"
WaterMark="达人佣金" />
<TextBox
Grid.Row="7"
Grid.Column="1"
Margin="0,0,4,0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="外采金额:" />
<uc:UcWaterMarkTextBox1
Grid.Row="7"
Margin="60,0,4,0"
VerticalAlignment="Center"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding out_amount_str}"
TextWrapping="Wrap"
WaterMark="外采金额" />
<WrapPanel Grid.Row="8" Grid.Column="1">
<!--<TextBox Text="预估" x:Name="txtProfitForecast" Grid.Column="1" Grid.Row="8" Margin="0,0,-4,0" VerticalAlignment="Top" Background="Transparent" IsReadOnly="True"
BorderThickness="0" Visibility="Collapsed"/>-->
<TextBox
Grid.Row="8"
Grid.Column="1"
Margin="0,0,-4,0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="利润:" />
<uc:UcWaterMarkTextBox1
Grid.Row="8"
Margin="0,0,4,0"
VerticalAlignment="Center"
Background="Transparent"
BorderThickness="0"
FontWeight="Bold"
Foreground="{Binding ProfitStrColor}"
IsReadOnly="True"
Text="{Binding ProfitCountStr}"
TextWrapping="Wrap"
WaterMark="利润" />
</WrapPanel>
</Grid>
<!-- 订单状态/地址 -->
<Grid
Grid.Column="5"
VerticalAlignment="Center"
Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<WrapPanel
Grid.Column="1"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Border
Name="b_gift"
Grid.Row="1"
Height="auto"
MinWidth="30"
Margin="8,0,0,0"
Padding="2,0"
HorizontalAlignment="Center"
d:Background="{StaticResource PageWarningBrush20}"
d:BorderBrush="{StaticResource PageWarningBrushCC}"
BorderThickness="1"
CornerRadius="2"
Visibility="{Binding ItemOrder.gift_order_status, Converter={StaticResource MoreThanZeroVisibilityConverter}}">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Background" Value="{StaticResource PageWarningBrush20}" />
<Setter Property="BorderBrush" Value="{StaticResource PageWarningBrushCC}" />
<Style.Triggers>
<DataTrigger Binding="{Binding ItemOrder.GiftSuccessed}" Value="True">
<Setter Property="Background" Value="{StaticResource PageOkBrush50}" />
<Setter Property="BorderBrush" Value="{StaticResource PageOkBrush}" />
</DataTrigger>
<DataTrigger Binding="{Binding ItemOrder.GiftSuccessed}" Value="false">
<Setter Property="ToolTip" Value="{Binding ItemOrder.GiftErrorMsg}" />
</DataTrigger>
</Style.Triggers>
</Style>
</Border.Style>
<WrapPanel>
<TextBlock
Margin="0,0,0,1"
FontSize="14"
Foreground="{Binding ElementName=b_gift, Path=BorderBrush}"
Style="{StaticResource TextBlockIcon}"
Text="{StaticResource txt-gift}" />
<TextBlock
VerticalAlignment="Center"
d:Text="礼物发货成功"
Foreground="{Binding ElementName=b_gift, Path=BorderBrush}"
Text="{Binding ItemOrder.GiftOrderStatusStr}" />
</WrapPanel>
</Border>
<Border
Grid.Row="1"
Height="auto"
MinWidth="30"
Margin="8,0,0,0"
HorizontalAlignment="Center"
d:Background="{StaticResource pageColorLightBrush}"
d:BorderBrush="{StaticResource pageColorBrush}"
Background="{Binding OrderItemStatusBackColor}"
BorderBrush="{Binding OrderItemStatusBorderColor}"
BorderThickness="1"
CornerRadius="2">
<TextBox
Grid.Column="1"
MinWidth="20"
Margin="2,0,2,0"
VerticalAlignment="Center"
VerticalContentAlignment="Center"
d:Foreground="{StaticResource pageColorBrush}"
d:Text="订单状态"
Background="Transparent"
BorderThickness="0"
Foreground="{Binding OrderItemStatusStrColor}"
IsReadOnly="True"
Text="{Binding OrderItemStatusStr}" />
</Border>
<Border
Grid.Row="1"
Height="auto"
MinWidth="30"
Margin="8,0,0,0"
HorizontalAlignment="Center"
Background="{StaticResource PageWarningBrush20}"
BorderBrush="{StaticResource PageWarningBrushCC}"
BorderThickness="1"
CornerRadius="2"
Visibility="{Binding ElementName=txtWaybillException, Path=Text, Converter={StaticResource HasTextVisibility}}">
<TextBox
x:Name="txtWaybillException"
Grid.Column="1"
MinWidth="20"
Margin="2,0,2,0"
VerticalAlignment="Center"
VerticalContentAlignment="Center"
d:Text="物流异常"
Background="Transparent"
BorderThickness="0"
Foreground="{StaticResource PageWarningBrush}"
IsReadOnly="True"
Text="{Binding ShopWaybillExceptionStr}" />
</Border>
</WrapPanel>
<TextBox
x:Name="txtStatusStr"
Grid.Row="2"
Grid.Column="1"
Margin="0,2,0,2"
HorizontalAlignment="Center"
VerticalAlignment="Top"
d:Text="售后状态"
Background="Transparent"
BorderThickness="0"
Foreground="{Binding ItemRefund.RefundStatusColor}"
IsReadOnly="True"
Text="{Binding ItemRefund.RefundStatusStr}"
Visibility="{Binding ElementName=txtStatusStr, Path=Text, Converter={StaticResource HasTextVisibility}}" />
<TextBox
x:Name="txtRefundReasonTextStr"
Grid.Row="3"
Grid.Column="1"
Margin="0,2,0,2"
HorizontalAlignment="Center"
VerticalAlignment="Top"
d:Text="售后原因"
Background="Transparent"
BorderThickness="0"
Foreground="#f56c6c"
IsReadOnly="True"
Text="{Binding ItemRefund.reasonTextStr}"
Visibility="{Binding ElementName=txtRefundReasonTextStr, Path=Text, Converter={StaticResource HasTextVisibility}}" />
<TextBox
x:Name="txtRefundResult"
Grid.Row="4"
Grid.Column="1"
Margin="0,2,0,2"
HorizontalAlignment="Center"
VerticalAlignment="Top"
d:Text="售后结果"
Background="Transparent"
BorderThickness="0"
Foreground="#f56c6c"
IsReadOnly="True"
Text="{Binding RefundResultStr}"
Visibility="{Binding ElementName=txtRefundResult, Path=Text, Converter={StaticResource HasTextVisibility}}" />
<WrapPanel
Grid.Row="5"
Grid.Column="1"
Width="auto"
HorizontalAlignment="Center"
Orientation="Horizontal">
<TextBox
Grid.Row="5"
Grid.Column="1"
Margin="0,2,0,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="收货地址:" />
<uc:UcWaterMarkTextBox1
x:Name="txtUserAddress"
Grid.Row="5"
Grid.Column="1"
Margin="0,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding ItemOrder.AddressStr, Converter={StaticResource TextEllipsisConverter26}}"
TextWrapping="Wrap"
ToolTip="{Binding ItemOrder.AddressStr}"
WaterMark="收货地址" />
<Border
Grid.Column="6"
Width="12"
Height="12"
VerticalAlignment="Center"
Background="Transparent"
Cursor="Hand"
MouseLeftButtonDown="pathCopyAddress_MouseLeftButtonDown"
Visibility="{Binding ElementName=txtUserAddress, Path=Visibility}">
<Path
Margin="0,0,0,0"
Data="M80 432a128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128h-384a128 128 0 0 1-128-128v-384z m128-64a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64h-384z M816 144h-384a64 64 0 0 0-64 64 32 32 0 0 1-64 0 128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128 32 32 0 0 1 0-64 64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64z"
Fill="{StaticResource PageLinkBrush}"
MouseLeftButtonDown="pathCopyAddress_MouseLeftButtonDown"
Stretch="Uniform" />
</Border>
<Button
x:Name="btnSeeAddressDetail"
Margin="4,0,0,0"
Background="Transparent"
BorderBrush="Transparent"
Click="btnSeeAddressDetail_Click"
Content="👁"
Cursor="Hand"
Foreground="{StaticResource PageLinkBrush}"
Tag="{Binding order_id}" />
</WrapPanel>
<!--<Button Grid.Column="1" Grid.Row="6" x:Name="btnGetRefundAddress" Background="Transparent" HorizontalAlignment="Center" Foreground="{StaticResource PageLinkBrush}" BorderBrush="Transparent"
Margin="4,0,0,0" Content="仓库退货地址:点击复制" Click="btnGetRefundAddress_Click" Tag="{Binding order_id}"></Button>-->
<WrapPanel
Grid.Row="6"
Grid.Column="1"
Width="auto"
HorizontalAlignment="Center"
Orientation="Horizontal">
<TextBlock
VerticalAlignment="Center"
Text="退款单号:"
Visibility="{Binding ElementName=txtRefundId, Path=Visibility}" />
<uc:UcWaterMarkTextBox1
x:Name="txtRefundId"
Grid.Row="6"
Grid.Column="1"
Margin="0,2,4,2"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Background="Transparent"
BorderThickness="0"
Cursor="Hand"
Foreground="{StaticResource PageLinkBrush}"
IsReadOnly="True"
Text="{Binding ItemRefund.after_sale_order_id}"
TextWrapping="Wrap"
Visibility="{Binding Text, RelativeSource={RelativeSource Self}, Converter={StaticResource HasTextVisibility}}"
WaterMark="退款单号" />
<Border
Grid.Column="6"
Width="12"
Height="12"
VerticalAlignment="Center"
Background="Transparent"
Cursor="Hand"
MouseLeftButtonDown="pathRefundId_MouseLeftButtonDown"
Visibility="{Binding ElementName=txtRefundId, Path=Visibility}">
<Path
Margin="0,0,0,0"
Data="M80 432a128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128h-384a128 128 0 0 1-128-128v-384z m128-64a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64h-384z M816 144h-384a64 64 0 0 0-64 64 32 32 0 0 1-64 0 128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128 32 32 0 0 1 0-64 64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64z"
Fill="{StaticResource PageLinkBrush}"
MouseLeftButtonDown="pathRefundId_MouseLeftButtonDown"
Stretch="Uniform" />
</Border>
</WrapPanel>
<WrapPanel
Grid.Row="7"
Width="auto"
HorizontalAlignment="Center"
Orientation="Horizontal"
Visibility="{Binding RefundAddressStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
Grid.Row="5"
Grid.Column="1"
Margin="0,2,0,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="退货地址:" />
<uc:UcWaterMarkTextBox1
x:Name="txtRefundAddress"
Grid.Row="5"
Grid.Column="1"
Margin="0,2,4,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding RefundAddressStr, Converter={StaticResource TextEllipsisConverter26}}"
TextWrapping="Wrap"
ToolTip="{Binding RefundAddressStr}"
WaterMark="退货地址" />
<Border
Grid.Column="6"
Width="12"
Height="12"
VerticalAlignment="Center"
Background="Transparent"
Cursor="Hand"
MouseLeftButtonDown="pathCopyRefundAddress_MouseLeftButtonDown"
Visibility="{Binding ElementName=txtUserAddress, Path=Visibility}">
<Path
Margin="0,0,0,0"
Data="M80 432a128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128h-384a128 128 0 0 1-128-128v-384z m128-64a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64h-384z M816 144h-384a64 64 0 0 0-64 64 32 32 0 0 1-64 0 128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128 32 32 0 0 1 0-64 64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64z"
Fill="{StaticResource PageLinkBrush}"
MouseLeftButtonDown="pathCopyRefundAddress_MouseLeftButtonDown"
Stretch="Uniform" />
</Border>
</WrapPanel>
</Grid>
<!-- 单号 -->
<Grid
Grid.Column="6"
VerticalAlignment="Center"
Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<WrapPanel
x:Name="wpTransitBuyerRefundStatus"
Grid.Row="1"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
<WrapPanel
x:Name="wpTransitWaybillStatus"
Grid.Row="2"
Margin="0,0,0,4"
HorizontalAlignment="Center">
<Border
x:Name="borderBuyStatas"
Grid.Row="1"
Height="auto"
MinWidth="30"
Margin="0,0,4,0"
HorizontalAlignment="Center"
d:Background="{StaticResource PageOkBrush50}"
d:BorderBrush="{StaticResource PageOkBrush}"
Background="{Binding BuyerTransitWaybillStatusBackColor}"
BorderBrush="{Binding BuyerTransitWaybillStatusBorderColor}"
BorderThickness="1"
CornerRadius="2"
Visibility="{Binding BuyerTransitWaybillStatusStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
x:Name="txtBuyStatus"
Grid.Column="1"
MinWidth="20"
Margin="0,0,0,0"
VerticalAlignment="Center"
VerticalContentAlignment="Center"
d:Text="买手状态"
Background="Transparent"
BorderThickness="0"
Foreground="{Binding BuyerTransitWaybillStatusStrColor}"
IsReadOnly="True"
Text="{Binding BuyerTransitWaybillStatusStr}" />
</Border>
<Border
x:Name="borderWarehouseStatas"
Grid.Row="1"
Height="auto"
MinWidth="30"
Margin="0,0,4,0"
HorizontalAlignment="Center"
d:Background="{StaticResource PageOkBrush50}"
d:BorderBrush="{StaticResource PageOkBrush}"
Background="{Binding WarehouseWaybillStatusBackColor}"
BorderBrush="{Binding WarehouseWaybillStatusBorderColor}"
BorderThickness="1"
CornerRadius="2"
Visibility="{Binding WarehouseWaybillStatusStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
x:Name="txtWarehouseStatus"
Grid.Column="1"
MinWidth="20"
Margin="0,0,0,0"
VerticalAlignment="Center"
VerticalContentAlignment="Center"
d:Text="仓库状态"
Background="Transparent"
BorderThickness="0"
Foreground="{Binding WarehouseWaybillStatusStrColor}"
IsReadOnly="True"
MouseEnter="txtWarehouseStatus_MouseEnter"
Text="{Binding WarehouseWaybillStatusStr}" />
</Border>
<Border
Grid.Row="1"
Height="auto"
MinWidth="30"
Margin="0,0,4,0"
HorizontalAlignment="Center"
Background="{StaticResource pageColorBrush}"
BorderBrush="{StaticResource pageColorBrush}"
BorderThickness="1"
CornerRadius="2"
Visibility="{Binding TransitRefundVoidStatusStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
Grid.Column="1"
MinWidth="20"
Margin="0,0,0,0"
Padding="0"
VerticalAlignment="Center"
VerticalContentAlignment="Center"
d:Text="作废状态"
Background="Transparent"
BorderThickness="0"
Foreground="White"
IsReadOnly="True"
Text="{Binding TransitRefundVoidStatusStr}" />
</Border>
</WrapPanel>
<WrapPanel
x:Name="wpBuyAccount"
Grid.Row="3"
Grid.Column="1"
Orientation="Horizontal">
<TextBlock
VerticalAlignment="Center"
Foreground="LightGray"
IsHitTestVisible="False"
Text="采购账户:"
Visibility="{Binding ElementName=txtTransitOrderBuyerStr, Path=Text, Converter={StaticResource NotHasTextVisibility}}" />
<uc:UcWaterMarkTextBox1
x:Name="txtTransitOrderBuyerStr"
Grid.Row="1"
Grid.Column="1"
Margin="-2,2,4,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
Cursor="Hand"
Foreground="#0099ff"
IsReadOnly="True"
Text="{Binding ItemTransitOrderWithVoid.OutOrderBuyerStr}"
TextWrapping="Wrap"
WaterMark="采购账户:" />
<Border
x:Name="borderTransitBuyerRefundStatus"
Grid.Row="1"
Height="auto"
MinWidth="30"
Margin="0,0,0,0"
HorizontalAlignment="Center"
d:Background="{StaticResource PageOkBrush}"
d:BorderBrush="{StaticResource PageOkBrush}"
Background="{Binding TransitRefundStatusBackColor}"
BorderBrush="{Binding TransitRefundStatusBackColor}"
BorderThickness="1"
CornerRadius="2"
Visibility="{Binding TransitRefundStatusStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
x:Name="txtRefundStatus"
Grid.Column="1"
MinWidth="20"
Margin="0,0,0,0"
Padding="0"
VerticalAlignment="Center"
VerticalContentAlignment="Center"
d:Text="买手退货状态"
Background="Transparent"
BorderThickness="0"
Foreground="White"
IsReadOnly="True"
Text="{Binding TransitRefundStatusStr}" />
</Border>
</WrapPanel>
<WrapPanel
x:Name="wpBuyOrderId"
Grid.Row="4"
Grid.Column="1"
Orientation="Horizontal">
<TextBlock
VerticalAlignment="Center"
Foreground="LightGray"
IsHitTestVisible="False"
Text="采购单号:"
Visibility="{Binding ElementName=txtTransitOrderNumStr, Path=Text, Converter={StaticResource NotHasTextVisibility}}" />
<uc:UcWaterMarkTextBox1
x:Name="txtTransitOrderNumStr"
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
Cursor="Hand"
Foreground="#0099ff"
IsReadOnly="True"
Text="{Binding ItemTransitOrderWithVoid.OutOrderNumStr}"
TextWrapping="Wrap"
WaterMark="采购单号:" />
<Border
Grid.Column="2"
Width="12"
Height="12"
Margin="4,0,0,0"
VerticalAlignment="Center"
Background="Transparent"
Cursor="Hand"
MouseLeftButtonDown="Path_MouseLeftButtonDown"
Tag="{Binding order_id}"
Visibility="{Binding ElementName=txtTransitOrderBuyerStr, Path=Text, Converter={StaticResource HasTextVisibility}}">
<Path
Margin="0,0,0,0"
Data="M80 432a128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128h-384a128 128 0 0 1-128-128v-384z m128-64a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64h-384z M816 144h-384a64 64 0 0 0-64 64 32 32 0 0 1-64 0 128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128 32 32 0 0 1 0-64 64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64z"
Fill="{StaticResource PageLinkBrush}"
MouseLeftButtonDown="Path_MouseLeftButtonDown"
Stretch="Uniform" />
</Border>
</WrapPanel>
<WrapPanel
x:Name="wpBuyTime"
Grid.Row="5"
Grid.Column="1"
Orientation="Horizontal">
<TextBlock
VerticalAlignment="Center"
Foreground="LightGray"
IsHitTestVisible="False"
Text="采购时间:"
Visibility="{Binding ElementName=txtOutOrderTimeQualifiedStr, Path=Text, Converter={StaticResource NotHasTextVisibility}}" />
<uc:UcWaterMarkTextBox1
x:Name="txtOutOrderTimeQualifiedStr"
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
Foreground="{Binding OutOrderTimeQualifiedBrush}"
IsReadOnly="True"
Text="{Binding OutOrderTimeQualifiedStr}"
TextWrapping="Wrap"
WaterMark="采购时间:" />
<!--<Border Grid.Column="2" Margin="4,0,0,0" Width="12" Background="Transparent" Height="12" VerticalAlignment="Center" Cursor="Hand" Visibility="{Binding ElementName=txtOutOrderTimeQualifiedStr,Path=Text,Converter={StaticResource HasTextVisibility}}"
Tag="{Binding order_id}" MouseLeftButtonDown="Path_MouseLeftButtonDown">
<Path Margin="0,0,0,0" Fill="{StaticResource PageLinkBrush}" MouseLeftButtonDown="Path_MouseLeftButtonDown" Data="M80 432a128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128h-384a128 128 0 0 1-128-128v-384z m128-64a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64h-384z M816 144h-384a64 64 0 0 0-64 64 32 32 0 0 1-64 0 128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128 32 32 0 0 1 0-64 64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64z" Stretch="Uniform" />
</Border>-->
</WrapPanel>
<WrapPanel
Grid.Row="6"
Grid.Column="1"
Orientation="Horizontal"
Visibility="{Binding TransitOrderWaybillToWareHouseStr, Converter={StaticResource HasTextVisibility}}">
<TextBlock
VerticalAlignment="Center"
Foreground="LightGray"
IsHitTestVisible="False"
Text="取号物流:"
Visibility="{Binding TransitOrderWaybillToWareHouseStr, Converter={StaticResource NotHasTextVisibility}}" />
<uc:UcWaterMarkTextBox1
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
Foreground="{StaticResource PageOkBrush}"
IsReadOnly="True"
Text="{Binding TransitOrderWaybillToWareHouseStr}"
TextWrapping="Wrap"
WaterMark="取号物流" />
</WrapPanel>
<!--<WrapPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="6" Visibility="{Binding TransitOrderWaybillFakeStr, Converter={StaticResource HasTextVisibility}}">-->
<WrapPanel
Grid.Row="7"
Grid.Column="1"
Orientation="Horizontal"
Visibility="Collapsed">
<TextBlock
VerticalAlignment="Center"
Foreground="LightGray"
IsHitTestVisible="False"
Text="提前物流:"
Visibility="{Binding TransitOrderWaybillFakeStr, Converter={StaticResource NotHasTextVisibility}}" />
<uc:UcWaterMarkTextBox1
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
Foreground="{StaticResource PageWarningBrush}"
IsReadOnly="True"
Text="{Binding TransitOrderWaybillFakeStr}"
TextWrapping="Wrap"
WaterMark="提前物流" />
</WrapPanel>
<WrapPanel
Grid.Row="8"
Grid.Column="1"
Orientation="Horizontal"
Visibility="{Binding TransitOrderWaybillFromWareHouseStr, Converter={StaticResource HasTextVisibility}}">
<TextBlock
VerticalAlignment="Center"
Foreground="LightGray"
IsHitTestVisible="False"
Text="仓库物流:"
Visibility="{Binding TransitOrderWaybillFromWareHouseStr, Converter={StaticResource NotHasTextVisibility}}" />
<uc:UcWaterMarkTextBox1
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding TransitOrderWaybillFromWareHouseStr}"
TextWrapping="Wrap"
WaterMark="仓库物流" />
</WrapPanel>
<WrapPanel
Grid.Row="9"
Grid.Column="1"
Orientation="Horizontal"
Visibility="{Binding ItemOrder.out_account, Converter={StaticResource HasTextVisibility}}">
<TextBox
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="外采买手:" />
<uc:UcWaterMarkTextBox1
x:Name="txtDirectBuyer"
Grid.Row="1"
Grid.Column="1"
Margin="-2,2,4,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
Cursor="Hand"
Foreground="#0099ff"
IsReadOnly="True"
Text="{Binding ItemOrder.out_account}"
TextWrapping="Wrap"
WaterMark="外采买手:" />
<Border
x:Name="borderOutBuyerRefundStatus"
Grid.Row="1"
Height="auto"
MinWidth="30"
Margin="0,0,0,0"
HorizontalAlignment="Center"
d:Background="{StaticResource PageOkBrush}"
d:BorderBrush="{StaticResource PageOkBrush}"
Background="{Binding DirectRefundStatusBackColor}"
BorderBrush="{Binding DirectRefundStatusBackColor}"
BorderThickness="1"
CornerRadius="2"
Visibility="{Binding DirectRefundStatusStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
x:Name="txtOutBuyerRefundStatus"
Grid.Column="1"
MinWidth="20"
Margin="0,0,0,0"
Padding="0"
VerticalAlignment="Center"
VerticalContentAlignment="Center"
d:Text="直发买手退货状态"
Background="Transparent"
BorderThickness="0"
Foreground="White"
IsReadOnly="True"
Text="{Binding DirectRefundStatusStr}" />
</Border>
</WrapPanel>
<WrapPanel
Grid.Row="10"
Grid.Column="1"
Orientation="Horizontal"
Visibility="{Binding ItemOrder.out_order_no, Converter={StaticResource HasTextVisibility}}">
<TextBox
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="外采单号:" />
<uc:UcWaterMarkTextBox1
x:Name="txtDirectBuyerOrderNo"
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
Cursor="Hand"
Foreground="#0099ff"
IsReadOnly="True"
Text="{Binding ItemOrder.out_order_no}"
TextWrapping="Wrap"
WaterMark="外采单号" />
<Border
Grid.Column="2"
Width="12"
Height="12"
Margin="4,0,0,0"
VerticalAlignment="Center"
Background="Transparent"
Cursor="Hand"
MouseLeftButtonDown="PathCopyDirectBuyerOrderNo_MouseLeftButtonDown"
Visibility="{Binding ElementName=txtDirectBuyerOrderNo, Path=Text, Converter={StaticResource HasTextVisibility}}">
<Path
Margin="0,0,0,0"
Data="M80 432a128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128h-384a128 128 0 0 1-128-128v-384z m128-64a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64h-384z M816 144h-384a64 64 0 0 0-64 64 32 32 0 0 1-64 0 128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128 32 32 0 0 1 0-64 64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64z"
Fill="{StaticResource PageLinkBrush}"
MouseLeftButtonDown="PathCopyDirectBuyerOrderNo_MouseLeftButtonDown"
Stretch="Uniform" />
</Border>
</WrapPanel>
<WrapPanel
Grid.Row="11"
Grid.Column="1"
Orientation="Horizontal"
Visibility="{Binding ItemOrder.OutExpressNoStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="外采物流:" />
<uc:UcWaterMarkTextBox1
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
Foreground="{Binding ItemOrder.OutExpressNoBrush}"
IsReadOnly="True"
Text="{Binding ItemOrder.out_express_company}"
TextWrapping="Wrap"
WaterMark="外采物流" />
<uc:UcWaterMarkTextBox1
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
Foreground="{Binding ItemOrder.OutExpressNoBrush}"
IsReadOnly="True"
Text="-"
TextWrapping="Wrap"
WaterMark="-" />
<uc:UcWaterMarkTextBox1
Grid.Row="1"
Grid.Column="1"
Margin="-2,2,4,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
Foreground="{Binding ItemOrder.OutExpressNoBrush}"
IsReadOnly="True"
Text="{Binding ItemOrder.OutExpressNoStr}"
TextWrapping="Wrap"
WaterMark="外采物流" />
</WrapPanel>
<WrapPanel
Grid.Row="12"
Grid.Column="1"
Orientation="Horizontal"
Visibility="{Binding ReturnWaybillIdStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="买家退货:" />
<uc:UcWaterMarkTextBox1
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding ItemRefund.return_delivery_name}"
TextWrapping="Wrap"
WaterMark="买家退货" />
<uc:UcWaterMarkTextBox1
Grid.Row="1"
Grid.Column="1"
Margin="-2,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="-"
TextWrapping="Wrap"
WaterMark="-" />
<uc:UcWaterMarkTextBox1
Grid.Row="1"
Grid.Column="1"
Margin="-2,2,4,2"
Padding="0"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding ReturnWaybillIdStr}"
TextWrapping="Wrap"
WaterMark="买家退货" />
</WrapPanel>
<!--
<TextBox Text="店铺备注:" Grid.Column="1" Grid.Row="2" Margin="0,2,0,2" VerticalAlignment="Top" Background="Transparent" IsReadOnly="True" BorderThickness="0"/>
<uc:UcWaterMarkTextBox WaterMark="店铺备注" Text="{Binding ItemOrder.shop_remark}" Grid.Column="1" Grid.Row="2" Margin="0,2,4,2" VerticalAlignment="Top"
Background="Transparent" IsReadOnly="True" BorderThickness="0" TextWrapping="Wrap"/>
<Button Grid.Column="1" Grid.Row="2" x:Name="btnCopyRemark" Background="Transparent" HorizontalAlignment="Center" Foreground="{StaticResource PageLinkBrush}" BorderBrush="Transparent"
Margin="4,0,0,0" Content="编辑" Click="btnCopyRemark_Click"></Button>-->
</Grid>
<!-- 备注 -->
<Grid
Grid.Column="7"
VerticalAlignment="Center"
Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<WrapPanel
Grid.Row="1"
Grid.Column="1"
Orientation="Horizontal">
<TextBox
Grid.Row="1"
Grid.Column="1"
Margin="0,1,-8,1"
VerticalAlignment="Top"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="买家留言:" />
<uc:UcWaterMarkTextBox1
Grid.Row="1"
Grid.Column="1"
Margin="0,1,0,1"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text=""
TextWrapping="Wrap"
WaterMark="买家留言" />
</WrapPanel>
<WrapPanel
Grid.Row="2"
Grid.Column="1"
Orientation="Horizontal">
<TextBox
Grid.Row="2"
Grid.Column="1"
Margin="0,1,-8,1"
VerticalAlignment="Top"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="店铺备注:" />
<uc:UcWaterMarkTextBox1
x:Name="txtShopRemark"
Grid.Row="2"
Grid.Column="1"
Margin="0,1,0,1"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="{Binding ItemOrder.shop_remark}"
TextWrapping="Wrap"
WaterMark="店铺备注" />
<Button
x:Name="btnEditShopRemark"
Grid.Row="2"
Grid.Column="1"
Margin="2,0,0,0"
HorizontalAlignment="Center"
Background="Transparent"
BorderBrush="Transparent"
Click="btnEditShopRemark_Click"
Content="编辑"
Cursor="Hand"
Foreground="{StaticResource PageLinkBrush}" />
<Button
x:Name="btnCancelEditShopRemark"
Grid.Row="2"
Grid.Column="1"
Margin="0,0,0,0"
HorizontalAlignment="Center"
Background="Transparent"
BorderBrush="Transparent"
Click="btnCancelEditShopRemark_Click"
Content="取消"
Cursor="Hand"
Foreground="{StaticResource PageLinkBrush}"
Visibility="Collapsed" />
</WrapPanel>
<WrapPanel
Grid.Row="3"
Grid.Column="1"
Orientation="Horizontal">
<TextBox
Grid.Row="2"
Grid.Column="1"
Margin="0,1,-8,1"
VerticalAlignment="Top"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="软件备注:" />
<uc:UcWaterMarkTextBox1
x:Name="txtAppRemark"
Grid.Row="2"
Grid.Column="1"
Margin="0,1,0,1"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="{Binding ItemOrder.soft_remark}"
TextWrapping="Wrap"
WaterMark="软件备注" />
<Button
x:Name="btnEditAppRemark"
Grid.Row="2"
Grid.Column="1"
Margin="2,0,0,0"
HorizontalAlignment="Center"
Background="Transparent"
BorderBrush="Transparent"
Click="btnEditAppRemark_Click"
Content="编辑"
Cursor="Hand"
Foreground="{StaticResource PageLinkBrush}" />
<Button
x:Name="btnCancelEditAppRemark"
Grid.Row="2"
Grid.Column="1"
Margin="0,0,0,0"
HorizontalAlignment="Center"
Background="Transparent"
BorderBrush="Transparent"
Click="btnCancelEditAppRemark_Click"
Content="取消"
Cursor="Hand"
Foreground="{StaticResource PageLinkBrush}"
Visibility="Collapsed" />
</WrapPanel>
<WrapPanel
Grid.Row="4"
Grid.Column="1"
Orientation="Horizontal"
Visibility="{Binding AddEditTransitWarehouseRejectStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
Grid.Row="2"
Grid.Column="1"
Margin="0,1,-8,1"
VerticalAlignment="Top"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="中转仓拒收:" />
<uc:UcWaterMarkTextBox1
x:Name="txtTransitWarehouseRejectSuccessTime"
Grid.Row="2"
Grid.Column="1"
Margin="0,1,0,1"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="{Binding TransitWarehouseRejectSuccessTimeStr}"
TextWrapping="Wrap"
WaterMark="中转仓拒收" />
<Button
x:Name="btnAddEditTransitWarehouseReject"
Grid.Row="2"
Grid.Column="1"
Margin="2,0,0,0"
HorizontalAlignment="Center"
d:Content="申请"
Background="Transparent"
BorderBrush="Transparent"
Click="btnAddEditTransitWarehouseReject_Click"
Content="{Binding AddEditTransitWarehouseRejectStr}"
Cursor="Hand"
Foreground="{StaticResource PageLinkBrush}" />
<Button
x:Name="btnPddRefundTransitWarehouseRejectOrder"
Grid.Row="2"
Grid.Column="1"
Margin="2,0,0,0"
HorizontalAlignment="Center"
d:Visibility="Visible"
Background="Transparent"
BorderBrush="Transparent"
Click="btnPddRefundTransitWarehouseRejectOrder_Click"
Content="测试退货"
Cursor="Hand"
Foreground="{StaticResource PageLinkBrush}"
Visibility="Collapsed" />
</WrapPanel>
<WrapPanel
Grid.Row="5"
Grid.Column="1"
Orientation="Horizontal"
Visibility="{Binding AddEditTransitWarehouseAfterSaleStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
Grid.Row="2"
Grid.Column="1"
Margin="0,1,-8,1"
VerticalAlignment="Top"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="拦截退回总店:" />
<uc:UcWaterMarkTextBox1
x:Name="txtTransitWarehouseAfterSale"
Grid.Row="2"
Grid.Column="1"
Margin="0,1,0,1"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="{Binding TransitWarehouseAfterSaleWayBillStr}"
TextWrapping="Wrap"
WaterMark="拦截退回总店" />
<!-- Visibility="{Binding Text,RelativeSource={RelativeSource Self},Converter={StaticResource HasTextVisibility}}" -->
<Button
x:Name="btnAddEditTransitWarehouseAfterSale"
Grid.Row="2"
Grid.Column="1"
Margin="2,0,0,0"
HorizontalAlignment="Center"
d:Content="添加"
Background="Transparent"
BorderBrush="Transparent"
Click="btnAddEditTransitWarehouseAfterSale_Click"
Content="{Binding AddEditTransitWarehouseAfterSaleStr}"
Cursor="Hand"
Foreground="{StaticResource PageLinkBrush}" />
</WrapPanel>
<WrapPanel
Grid.Row="6"
Grid.Column="1"
Width="auto"
Orientation="Horizontal"
Visibility="{Binding AddEditTransitWarehouseReturnOrderStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
Grid.Row="2"
Grid.Column="1"
Margin="0,1,-8,1"
VerticalAlignment="Top"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="云仓退货:" />
<uc:UcWaterMarkTextBox1
x:Name="txtTransitReturnOrderWaybill"
Grid.Row="2"
Grid.Column="1"
Margin="0,1,0,1"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="{Binding AddEditTransitWarehouseReturnOrderWaybillStr}"
TextWrapping="Wrap"
WaterMark="云仓退货" />
<Button
x:Name="btnRetrunOrder"
Grid.Row="2"
Grid.Column="1"
Margin="2,0,0,0"
HorizontalAlignment="Center"
d:Content="添加"
Background="Transparent"
BorderBrush="Transparent"
Click="btnReturnOrder_Click"
Content="{Binding AddEditTransitWarehouseReturnOrderStr}"
Cursor="Hand"
Foreground="{StaticResource PageLinkBrush}" />
</WrapPanel>
<WrapPanel
Grid.Row="7"
Grid.Column="1"
Width="auto"
Orientation="Horizontal"
Visibility="{Binding PddBuyerAfterSaleAddressStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
Grid.Row="2"
Grid.Column="1"
Margin="0,1,-8,1"
VerticalAlignment="Top"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="总店地址:" />
<!--<TextBlock Text="{Binding PddBuyerAfterSaleAddressStr}" TextTrimming="CharacterEllipsis" Width="100" ToolTip="这是一个非常长的文本字符串,需要显示省略号..." Visibility="Collapsed" x:Name="tbBuyerRefundAddress"/>-->
<uc:UcWaterMarkTextBox1
x:Name="txtBuyerRefundAddress"
Margin="0,1,0,1"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="{Binding PddBuyerAfterSaleAddressStr, Converter={StaticResource TextEllipsisConverter}}"
TextWrapping="Wrap"
ToolTip="{Binding PddBuyerAfterSaleAddressStr}"
Visibility="{Binding Text, RelativeSource={RelativeSource Self}, Converter={StaticResource HasTextVisibility}}"
WaterMark="总店退货地址" />
<Border
Grid.Column="6"
Width="12"
Height="12"
VerticalAlignment="Center"
Background="Transparent"
Cursor="Hand"
MouseLeftButtonDown="pathBuyerAfterSaleAddress_MouseLeftButtonDown"
Visibility="{Binding ElementName=txtBuyerRefundAddress, Path=Visibility}">
<Path
Margin="0,0,0,0"
Data="M80 432a128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128h-384a128 128 0 0 1-128-128v-384z m128-64a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64h-384z M816 144h-384a64 64 0 0 0-64 64 32 32 0 0 1-64 0 128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128 32 32 0 0 1 0-64 64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64z"
Fill="{StaticResource PageLinkBrush}"
MouseLeftButtonDown="pathBuyerAfterSaleAddress_MouseLeftButtonDown"
Stretch="Uniform" />
</Border>
</WrapPanel>
<WrapPanel
Grid.Row="8"
Grid.Column="1"
Width="auto"
Orientation="Horizontal"
Visibility="{Binding DirectPddBuyerAfterSaleAddressStr, Converter={StaticResource HasTextVisibility}}">
<TextBox
Grid.Row="2"
Grid.Column="1"
Margin="0,1,-8,1"
VerticalAlignment="Top"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="直发总店:" />
<uc:UcWaterMarkTextBox1
x:Name="txtDirectBuyerRefundAddress"
Margin="0,1,0,1"
VerticalAlignment="Top"
Background="Transparent"
BorderThickness="1"
IsReadOnly="True"
Text="{Binding DirectPddBuyerAfterSaleAddressStr, Converter={StaticResource TextEllipsisConverter}}"
TextWrapping="Wrap"
ToolTip="{Binding DirectPddBuyerAfterSaleAddressStr}"
Visibility="{Binding Text, RelativeSource={RelativeSource Self}, Converter={StaticResource HasTextVisibility}}"
WaterMark="总店退货地址" />
<Border
Grid.Column="6"
Width="12"
Height="12"
VerticalAlignment="Center"
Background="Transparent"
Cursor="Hand"
MouseLeftButtonDown="pathDirectBuyerAfterSaleAddress_MouseLeftButtonDown"
Visibility="{Binding ElementName=txtBuyerRefundAddress, Path=Visibility}">
<Path
Margin="0,0,0,0"
Data="M80 432a128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128h-384a128 128 0 0 1-128-128v-384z m128-64a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64h-384z M816 144h-384a64 64 0 0 0-64 64 32 32 0 0 1-64 0 128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128 32 32 0 0 1 0-64 64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64z"
Fill="{StaticResource PageLinkBrush}"
MouseLeftButtonDown="pathDirectBuyerAfterSaleAddress_MouseLeftButtonDown"
Stretch="Uniform" />
</Border>
</WrapPanel>
</Grid>
<!-- 操作 -->
<Grid
Grid.Column="8"
VerticalAlignment="Center"
Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<!--<Button Grid.Column="1" Grid.Row="2" Background="Transparent" HorizontalAlignment="Center"
Foreground="{StaticResource PageLinkBrush}" BorderBrush="Transparent" Margin="4,0,0,0" Content="核对拍单" Click=""></Button>-->
<!--<Button Grid.Column="1" Grid.Row="1" Background="Transparent" x:Name="btnBuyOrder" Click="btnBuyOrder_Click"
Visibility="{Binding ItemOrder.IsWaitBuy, Converter={StaticResource visibleToVisibilityConverter}}"
Style="{StaticResource BasePageButtonLightStyle}" Margin="4,0,0,0" Content="关联拍单" Width="56" Height="24"/>-->
<WrapPanel Grid.Row="1" HorizontalAlignment="Center">
<Button
x:Name="btnMapSkus"
Grid.Row="2"
Grid.Column="1"
Height="24"
MinWidth="38"
Margin="4,4,0,4"
HorizontalAlignment="Center"
Click="btnMapSkus_Click"
Content="选择SKU"
Style="{StaticResource BasePageButtonLightStyle}"
Visibility="{Binding MapSkusBtnVisibility}" />
<Button
x:Name="btnBuyOrder"
Grid.Row="1"
Grid.Column="1"
Height="24"
MinWidth="38"
Margin="4,0,0,0"
HorizontalAlignment="Center"
d:Background="{StaticResource pageColorLightBrush}"
d:BorderBrush="{StaticResource pageColorBrush}"
d:Content="拍  单"
d:Foreground="{StaticResource pageColorBrush}"
d:Visibility="Visible"
Background="{Binding BuyGoodsBtnBackColor}"
BorderBrush="{Binding BuyGoodsBtnColor}"
Click="btnBuyOrder_Click"
Content="{Binding BuyGoodsBtnTxt}"
Foreground="{Binding BuyGoodsBtnColor}"
IsEnabled="{Binding IsBuyGoodsBtnEnabled}"
Style="{StaticResource BasePageButtonLightStyle}"
Visibility="{Binding ItemOrder.IsWaitBuy, Converter={StaticResource visibleToVisibilityConverter}}" />
<Button
x:Name="btnVoidTransitOrder"
Grid.Row="2"
Grid.Column="1"
Height="24"
MinWidth="38"
Margin="4,0,0,0"
HorizontalAlignment="Center"
d:Visibility="Visible"
Click="btnVoidTransitOrder_Click"
Content="作废重拍"
Style="{StaticResource BasePageButtonLightStyle}"
Visibility="Collapsed" />
<Button
x:Name="btnAbnormalOrderRebuy"
Grid.Row="2"
Grid.Column="1"
Height="24"
MinWidth="38"
Margin="4,0,0,0"
HorizontalAlignment="Center"
d:Visibility="Visible"
Click="btnAbnormalOrderRebuy_Click"
Content="异常重拍"
Style="{StaticResource BasePageButtonLightStyle}"
Visibility="Collapsed" />
</WrapPanel>
<Button
x:Name="btnDirectBuyOrder"
Grid.Row="2"
Grid.Column="1"
Height="24"
MinWidth="38"
Margin="4,16,0,0"
HorizontalAlignment="Center"
Click="btnDirectBuyOrder_Click"
Content="直发拍单"
Style="{StaticResource BasePageButtonLightStyle}"
Visibility="{Binding BtnDirectBuyOrderVisibility}" />
<Button
x:Name="btnShipGift"
Grid.Row="3"
Grid.Column="1"
Height="24"
MinWidth="38"
Margin="4,16,0,0"
HorizontalAlignment="Center"
d:Visibility="Visible"
Click="btn_ShipGiftCommand"
Content="礼品发货"
Style="{StaticResource BasePageButtonLightStyle}"
Visibility="{Binding ItemOrder.IsWaitSend, Converter={StaticResource VisibleToVisibilityConverter}}" />
</Grid>
</Grid>
</Grid>
</UserControl>