556 lines
15 KiB
XML
556 lines
15 KiB
XML
<basewindows:BaseWindow
|
|
x:Class="_29WxOrderWpf.Windows.OrderWindows.TransitReturnOrderWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:basewindows="clr-namespace:_29WxOrderWpf.BaseWindows"
|
|
xmlns:buyerctrls="clr-namespace:_29WxOrderWpf.Ctrls.BuyerCtrls"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:_29WxOrderWpf.Windows.OrderWindows"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:userctrls="clr-namespace:_29WxOrderWpf.UserControls"
|
|
Title="创建退货单"
|
|
Width="900"
|
|
Height="650"
|
|
Loaded="TransitAfterSaleWindow_Loaded"
|
|
ResizeMode="NoResize"
|
|
Style="{StaticResource BaseNoneBorderWindowStyle}"
|
|
mc:Ignorable="d">
|
|
<Grid
|
|
x:Name="mainGrid"
|
|
Margin="2"
|
|
Background="Transparent">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="50" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<Grid x:Name="gridTitle">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="auto" />
|
|
<ColumnDefinition Width="auto" />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<Image
|
|
Width="50"
|
|
Height="50"
|
|
Margin="4"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Center"
|
|
Source="{StaticResource main29WeixinIcon}" />
|
|
<Label
|
|
x:Name="lblAppName"
|
|
Grid.Column="1"
|
|
Margin="0,0,0,0"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
VerticalContentAlignment="Center"
|
|
Content="创建退货订单"
|
|
FontSize="20"
|
|
Foreground="{StaticResource mainColorLightBrush}" />
|
|
</Grid>
|
|
<Border
|
|
Grid.Row="1"
|
|
Padding="40,20"
|
|
Background="White">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="100" />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition Width="20" />
|
|
<ColumnDefinition Width="100" />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Label
|
|
Grid.Row="1"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
店铺订单号:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtShopOrderId"
|
|
Grid.Row="1"
|
|
Grid.Column="1"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
IsReadOnly="True"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
|
|
|
|
<Label
|
|
Grid.Row="2"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
商品名称:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtGoodsName"
|
|
Grid.Row="2"
|
|
Grid.Column="1"
|
|
Grid.ColumnSpan="4"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
IsReadOnly="True"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
|
|
<Label
|
|
Grid.Row="3"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
商品规格:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtSpecName"
|
|
Grid.Row="3"
|
|
Grid.Column="1"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
IsReadOnly="True"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
|
|
<Label
|
|
Grid.Row="5"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
收件地址解析:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtAddressAnalysis"
|
|
Grid.Row="5"
|
|
Grid.Column="1"
|
|
Height="80"
|
|
Margin="0,0,0,15"
|
|
Padding="0,4"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Top"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}"
|
|
TextWrapping="Wrap" />
|
|
<Button
|
|
x:Name="btnAddressAnalysis"
|
|
Grid.Row="5"
|
|
Grid.Column="1"
|
|
Height="28"
|
|
MinWidth="48"
|
|
Margin="0,0,0,15"
|
|
Padding="4"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Bottom"
|
|
Click="btnAddressAnalysis_Click"
|
|
Content="解 析"
|
|
Style="{StaticResource BasePageButtonStyle}" />
|
|
|
|
<Label
|
|
Grid.Row="6"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
收件人:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtUser"
|
|
Grid.Row="6"
|
|
Grid.Column="1"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
|
|
<Label
|
|
Grid.Row="7"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
收件人电话:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtMobile"
|
|
Grid.Row="7"
|
|
Grid.Column="1"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
|
|
<Label
|
|
Grid.Row="8"
|
|
Margin="0,0,0,15"
|
|
HorizontalAlignment="Right"
|
|
FontSize="14">
|
|
收件省/市/区:
|
|
</Label>
|
|
<Grid Grid.Row="8" Grid.Column="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<TextBox
|
|
x:Name="txtProvince"
|
|
Grid.Row="0"
|
|
Grid.Column="0"
|
|
Height="28"
|
|
Margin="0,0,0,15"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
<TextBox
|
|
x:Name="txtCity"
|
|
Grid.Row="0"
|
|
Grid.Column="1"
|
|
Height="28"
|
|
Margin="2,0,2,15"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
<TextBox
|
|
x:Name="txtCounty"
|
|
Grid.Row="0"
|
|
Grid.Column="2"
|
|
Height="28"
|
|
Margin="0,0,0,15"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
</Grid>
|
|
|
|
<Label
|
|
Grid.Row="9"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
收件详细地址:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtDetailAddress"
|
|
Grid.Row="9"
|
|
Grid.Column="1"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
Grid.Row="1"
|
|
Grid.Column="3"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
店铺名称:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtShopName"
|
|
Grid.Row="1"
|
|
Grid.Column="4"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
IsReadOnly="True"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
|
|
|
|
|
|
<Label
|
|
Grid.Row="3"
|
|
Grid.Column="3"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
商品编号:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtSpuId"
|
|
Grid.Row="3"
|
|
Grid.Column="4"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
IsReadOnly="True"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
|
|
|
|
<Label
|
|
Grid.Row="4"
|
|
Grid.Column="0"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
物流单号:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtWaybillId"
|
|
Grid.Row="4"
|
|
Grid.Column="1"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
|
|
<Label
|
|
Grid.Row="4"
|
|
Grid.Column="3"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
物流公司:
|
|
</Label>
|
|
<!--<TextBox x:Name="txtExpressName" Grid.Row="4" Grid.Column="4" BorderBrush="{StaticResource pageColorBrush}" BorderThickness="1"
|
|
Height="28" VerticalContentAlignment="Center" VerticalAlignment="Top" Style="{StaticResource BaseRoundCornerTextBoxStyle}"/>-->
|
|
<ComboBox
|
|
x:Name="cmbExpressName"
|
|
Grid.Row="4"
|
|
Grid.Column="4"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
IsEnabled="True"
|
|
IsReadOnly="False"
|
|
SelectedIndex="0"
|
|
Style="{StaticResource RoundedComboBox}" />
|
|
|
|
<Label
|
|
Grid.Row="5"
|
|
Grid.Column="3"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
寄件地址选择:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtSendAddressAnalysis"
|
|
Grid.Row="5"
|
|
Grid.Column="4"
|
|
Height="80"
|
|
Margin="0,0,0,15"
|
|
Padding="0,4"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Top"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Foreground="Green"
|
|
IsReadOnly="True"
|
|
Opacity="0.5"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}"
|
|
Text="真如镇街道真北路2653弄F区808号楼 √"
|
|
TextWrapping="Wrap" />
|
|
|
|
<Label
|
|
Grid.Row="6"
|
|
Grid.Column="3"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
寄件人:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtSendUser"
|
|
Grid.Row="6"
|
|
Grid.Column="4"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
|
|
<Label
|
|
Grid.Row="7"
|
|
Grid.Column="3"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
寄件人电话:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtSendMobile"
|
|
Grid.Row="7"
|
|
Grid.Column="4"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
|
|
<Label
|
|
Grid.Row="8"
|
|
Grid.Column="3"
|
|
Margin="0,0,0,15"
|
|
HorizontalAlignment="Right"
|
|
FontSize="14">
|
|
寄件省/市/区:
|
|
</Label>
|
|
<Grid Grid.Row="8" Grid.Column="4">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<TextBox
|
|
x:Name="txtSendProvince"
|
|
Grid.Row="0"
|
|
Grid.Column="0"
|
|
Height="28"
|
|
Margin="0,0,0,15"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
<TextBox
|
|
x:Name="txtSendCity"
|
|
Grid.Row="0"
|
|
Grid.Column="1"
|
|
Height="28"
|
|
Margin="2,0,2,15"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
<TextBox
|
|
x:Name="txtSendCounty"
|
|
Grid.Row="0"
|
|
Grid.Column="2"
|
|
Height="28"
|
|
Margin="0,0,0,15"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
</Grid>
|
|
|
|
<Label
|
|
Grid.Row="9"
|
|
Grid.Column="3"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
FontSize="14">
|
|
寄件详细地址:
|
|
</Label>
|
|
<TextBox
|
|
x:Name="txtSendDetailAddress"
|
|
Grid.Row="9"
|
|
Grid.Column="4"
|
|
Height="28"
|
|
VerticalAlignment="Top"
|
|
VerticalContentAlignment="Center"
|
|
BorderBrush="{StaticResource pageColorBrush}"
|
|
BorderThickness="1"
|
|
Style="{StaticResource BaseRoundCornerTextBoxStyle}" />
|
|
|
|
|
|
<Button
|
|
x:Name="btnAdd"
|
|
Grid.Row="10"
|
|
Grid.Column="4"
|
|
Height="28"
|
|
MinWidth="48"
|
|
Padding="4"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Center"
|
|
Click="btnAdd_Click"
|
|
Content="添 加"
|
|
Style="{StaticResource BasePageButtonStyle}" />
|
|
<Label
|
|
x:Name="lblMsg"
|
|
Grid.Row="10"
|
|
Grid.Column="1"
|
|
Grid.ColumnSpan="4"
|
|
Margin="0,0,70,0"
|
|
Foreground="{StaticResource PageWarningBrushCC}" />
|
|
|
|
</Grid>
|
|
|
|
<Grid Grid.Column="2">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="Auto" MinHeight="40" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="100" />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
</Grid>
|
|
</Grid>
|
|
|
|
</Border>
|
|
<userctrls:UcWindowBoxes
|
|
x:Name="ucWindowBox"
|
|
Margin="4"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Top"
|
|
MaxBoxVisibility="Visible" />
|
|
</Grid>
|
|
</basewindows:BaseWindow>
|