|
|
|
<c:BWindow x:Class="BBWY.Client.Views.Order.SD"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls"
|
|
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
|
|
xmlns:cmodel="clr-namespace:BBWY.Client.Models"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:local="clr-namespace:BBWY.Client.Views.Order"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
Title="SD订单" Height="500" Width="300"
|
|
|
|
Style="{StaticResource bwstyle}"
|
|
|
|
MinButtonVisibility="Collapsed"
|
|
|
|
MaxButtonVisibility="Collapsed"
|
|
|
|
Loaded="BWindow_Loaded">
|
|
|
|
<c:BWindow.Resources>
|
|
|
|
<ObjectDataProvider x:Key="SDTypeProvider" MethodName="GetValues" ObjectType="{x:Type sys:Enum}">
|
|
|
|
<ObjectDataProvider.MethodParameters>
|
|
|
|
<x:Type TypeName="cmodel:SDType"/>
|
|
|
|
</ObjectDataProvider.MethodParameters>
|
|
|
|
</ObjectDataProvider>
|
|
|
|
|
|
|
|
<ObjectDataProvider x:Key="PayBillTypeProvider" MethodName="GetValues" ObjectType="{x:Type sys:Enum}">
|
|
|
|
<ObjectDataProvider.MethodParameters>
|
|
|
|
<x:Type TypeName="cmodel:PayBillType"/>
|
|
|
|
</ObjectDataProvider.MethodParameters>
|
|
|
|
</ObjectDataProvider>
|
|
|
|
</c:BWindow.Resources>
|
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
<RowDefinition/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border BorderThickness="0,0,0,1" BorderBrush="{StaticResource MainMenu.BorderBrush}"
|
|
|
|
Background="{StaticResource Border.Background}">
|
|
|
|
<TextBlock Text="SD订单" Style="{StaticResource middleTextBlock}"/>
|
|
|
|
</Border>
|
|
|
|
<Grid Grid.Row="1">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition />
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="100"/>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<TextBlock Text="刷单平台" HorizontalAlignment="Right" VerticalAlignment="Center" />
|
|
|
|
<ComboBox x:Name="cbx_sdType" Grid.Column="1" ItemsSource="{Binding Source={StaticResource SDTypeProvider}}"
|
|
|
|
SelectedIndex="0" Height="25" Width="100"
|
|
|
|
HorizontalAlignment="Left" VerticalAlignment="Center" VerticalContentAlignment="Center" Margin="5,0,0,0"
|
|
|
|
SelectionChanged="cbx_sdType_SelectionChanged"/>
|
|
|
|
|
|
|
|
<TextBlock Text="关键词" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="1"/>
|
|
|
|
<c:BTextBox x:Name="txt_SDKey" Grid.Column="1" Grid.Row="1" Height="30" Width="150" HorizontalAlignment="Left" Margin="5,0,0,0"/>
|
|
|
|
|
|
|
|
<TextBlock x:Name="lblSDOrderAmount" Text="刷单号费" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="2"/>
|
|
|
|
<c:BTextBox x:Name="txtSDOrderAmount" Grid.Column="1" Grid.Row="2" Height="30" Width="150" HorizontalAlignment="Left" Margin="5,0,0,0"/>
|
|
|
|
|
|
|
|
<TextBlock x:Name="lblSDCommissionAmount" Text="佣金" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="3"/>
|
|
|
|
<c:BTextBox x:Name="txtSDCommissionAmount" Grid.Column="1" Grid.Row="3" Height="30" Width="150" HorizontalAlignment="Left" Margin="5,0,0,0"/>
|
|
|
|
|
|
|
|
<TextBlock Text="邮费" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="4"/>
|
|
|
|
<c:BTextBox x:Name="txtDeliveryExpressFreight" Grid.Column="1" Grid.Row="4" Height="30" Width="150" HorizontalAlignment="Left" Margin="5,0,0,0"/>
|
|
|
|
|
|
|
|
<TextBlock Text="付款渠道" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="5"/>
|
|
|
|
<ComboBox x:Name="cbx_SDPayChannel" Grid.Column="1" Grid.Row="5" ItemsSource="{Binding Source={StaticResource PayBillTypeProvider}}"
|
|
|
|
Height="25" Width="100"
|
|
|
|
SelectedIndex="0" HorizontalAlignment="Left" VerticalAlignment="Center" VerticalContentAlignment="Center" Margin="5,0,0,0"/>
|
|
|
|
|
|
|
|
<TextBlock Text="交易账单号" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="6"/>
|
|
|
|
<c:BTextBox x:Name="txt_SDPayBillNo" Grid.Column="1" Grid.Row="6" Height="30" Width="150" HorizontalAlignment="Left" Margin="5,0,0,0"/>
|
|
|
|
|
|
|
|
<TextBlock Text="刷单人" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="7"/>
|
|
|
|
<c:BTextBox x:Name="txt_SDOperator" Grid.Column="1" Grid.Row="7" Height="30" Width="150" HorizontalAlignment="Left" Margin="5,0,0,0"
|
|
|
|
IsEnabled="False" DisableBgColor="{StaticResource TextBox.Disable.BgColor}"/>
|
|
|
|
|
|
|
|
<TextBlock Text="标签" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="8"/>
|
|
|
|
<ComboBox x:Name="cbx_flag" Grid.Column="1" Grid.Row="8" Height="25" Width="100"
|
|
|
|
HorizontalAlignment="Left" VerticalAlignment="Center" VerticalContentAlignment="Center" Margin="5,0,0,0"
|
|
|
|
SelectedIndex="0" FocusVisualStyle="{x:Null}">
|
|
|
|
<ComboBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<TextBlock Text="{Binding Key}"/>
|
|
|
|
<Border Height="10" Width="40" Background="{Binding Value}" Margin="5,0,0,0"/>
|
|
|
|
</StackPanel>
|
|
|
|
</DataTemplate>
|
|
|
|
</ComboBox.ItemTemplate>
|
|
|
|
</ComboBox>
|
|
|
|
<TextBlock Text="商家备注" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="9"/>
|
|
|
|
<c:BTextBox x:Name="txtVenderRemark" Grid.Column="1" Grid.Row="9" Height="30" Width="150" HorizontalAlignment="Left" Margin="5,0,0,0"/>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<c:BButton x:Name="btn_Save" Content="保存" Grid.Row="2" Width="60" HorizontalAlignment="Right" Margin="0,0,8,0"
|
|
|
|
Click="btn_Save_Click"/>
|
|
|
|
</Grid>
|
|
|
|
</c:BWindow>
|