You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
4.2 KiB
75 lines
4.2 KiB
<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="300" Width="300"
|
|
Style="{StaticResource bwstyle}"
|
|
MinButtonVisibility="Collapsed"
|
|
MaxButtonVisibility="Collapsed">
|
|
<c:BWindow.Resources>
|
|
<ObjectDataProvider x:Key="SDTypeProvider" MethodName="GetValues" ObjectType="{x:Type sys:Enum}">
|
|
<ObjectDataProvider.MethodParameters>
|
|
<x:Type TypeName="cmodel:SDType"/>
|
|
</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 />
|
|
</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"/>
|
|
|
|
<TextBlock Text="佣金" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="1"/>
|
|
<c:BTextBox x:Name="txtSDCommissionAmount" Grid.Column="1" Grid.Row="1" Height="30" Width="150" HorizontalAlignment="Left" Margin="5,0,0,0"/>
|
|
|
|
<TextBlock Text="邮费" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="2"/>
|
|
<c:BTextBox x:Name="txtDeliveryExpressFreight" Grid.Column="1" Grid.Row="2" Height="30" Width="150" HorizontalAlignment="Left" Margin="5,0,0,0"/>
|
|
|
|
<TextBlock Text="标签" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="3"/>
|
|
<ComboBox x:Name="cbx_flag" Grid.Column="1" Grid.Row="3" Height="25" Width="100"
|
|
HorizontalAlignment="Left" VerticalAlignment="Center" VerticalContentAlignment="Center" Margin="5,0,0,0"
|
|
SelectedIndex="0" FocusVisualStyle="{x:Null}">
|
|
<ComboBoxItem Content="Gray" Foreground="Gray"/>
|
|
<ComboBoxItem Content="Red" Foreground="Red"/>
|
|
<ComboBoxItem Content="Yellow" Foreground="Yellow"/>
|
|
<ComboBoxItem Content="Green" Foreground="Green"/>
|
|
<ComboBoxItem Content="Blue" Foreground="Blue"/>
|
|
<ComboBoxItem Content="Purple" Foreground="Purple"/>
|
|
</ComboBox>
|
|
<TextBlock Text="商家备注" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="4"/>
|
|
<c:BTextBox x:Name="txtVenderRemark" Grid.Column="1" Grid.Row="4" 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>
|
|
|