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.
94 lines
4.9 KiB
94 lines
4.9 KiB
<c:BWindow x:Class="BBWY.Client.Views.PackTask.AddExpressWindow"
|
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls"
|
|
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:local="clr-namespace:BBWY.Client.Views.PackTask"
|
|
mc:Ignorable="d"
|
|
Style="{StaticResource bwstyle}"
|
|
Height="245" Width="320"
|
|
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:ctr="clr-namespace:BBWY.Client.Converters"
|
|
xmlns:cmodel="clr-namespace:BBWY.Client.Models"
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
CloseButtonVisibility="Visible"
|
|
WindowStyle="None"
|
|
MinButtonVisibility="Collapsed"
|
|
MaxButtonVisibility="Collapsed"
|
|
RightButtonGroupMargin="0,5,5,0"
|
|
CloseButtonColor="White"
|
|
Title="添加物流">
|
|
<Window.Resources>
|
|
<ResourceDictionary >
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml"/>
|
|
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml"/>
|
|
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</Window.Resources>
|
|
<Grid >
|
|
|
|
<TextBlock Text="警告:填写错误的物流信息将导致打包任务无法更新任务状态" FontSize="12" TextWrapping="Wrap" Margin="30 45 30 0" VerticalAlignment="Top" HorizontalAlignment="Left" Foreground=" #ec808d"/>
|
|
|
|
<StackPanel Panel.ZIndex="100" HorizontalAlignment="Left" VerticalAlignment="Top" Orientation="Vertical" Margin="88,82,0,0"
|
|
Visibility="{Binding SelectShop,Mode=OneWay,Converter={StaticResource objConverter},ConverterParameter=店铺:Visible:Collapsed}"
|
|
>
|
|
<c:BTextBox x:Name="tbShop" Width="200" Height="25" TextChanged="tbShop_TextChanged" HorizontalAlignment="Left" Text="{Binding ExpressName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" WaterRemark="快递公司"
|
|
BorderThickness="0 0 0 0" Margin="0 0 0 1"
|
|
/>
|
|
<ListBox MaxHeight="300" x:Name="tipBoxShop" SelectionChanged="tipBoxShop_SelectionChanged" Background="{StaticResource Border.Background}">
|
|
|
|
</ListBox>
|
|
</StackPanel>
|
|
<Grid>
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="30"/>
|
|
<RowDefinition/>
|
|
<RowDefinition Height="40"/>
|
|
</Grid.RowDefinitions>
|
|
<Border BorderThickness="0,0,0,1" Background="#8080ff" BorderBrush="{StaticResource MainMenu.BorderBrush}"
|
|
>
|
|
<TextBlock Text="添加物流" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White" Margin="20 0 0 0"/>
|
|
</Border>
|
|
|
|
<StackPanel Grid.Row="1" Orientation="Vertical" >
|
|
|
|
<StackPanel Orientation="Horizontal" Margin=" 0 50 0 0" HorizontalAlignment="Center">
|
|
<TextBlock Margin="0 0 5 0" VerticalAlignment="Center" Text="快递公司:"/>
|
|
|
|
<Border BorderBrush="{StaticResource Border.Brush}" VerticalAlignment="Center" BorderThickness="1" Height="30" >
|
|
<c:BTextBox WaterRemark="快递公司" Visibility="Hidden" Text="{Binding ExpressName}" BorderThickness="0" Height="25" Width="200" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
|
</Border>
|
|
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 0" HorizontalAlignment="Center">
|
|
<TextBlock Margin="0 0 5 0" VerticalAlignment="Center" Text="快递单号:"/>
|
|
|
|
<Border BorderBrush="{StaticResource Border.Brush}" VerticalAlignment="Center" BorderThickness="1" Height="30" >
|
|
<c:BTextBox WaterRemark="快递单号" Text="{Binding WaybillNo,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" BorderThickness="0" Height="25" Width="200" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
|
</Border>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<Border Grid.Row="2" Height="1" VerticalAlignment="Top" BorderBrush="{StaticResource Border.Background}" BorderThickness="1"/>
|
|
<DockPanel Grid.Row="2">
|
|
<c:BButton Background="{StaticResource Button.Background}" DockPanel.Dock="Right" Content="确定" HorizontalAlignment="Right" Width="100" VerticalAlignment="Stretch" Click="BButton_Click_1" />
|
|
<c:BButton Foreground="{StaticResource Button.Background}" Grid.Row="2" Style="{StaticResource LinkButton}" Content="取消" HorizontalAlignment="Right" Width="100" VerticalAlignment="Stretch" Click="BButton_Click" />
|
|
</DockPanel>
|
|
|
|
</Grid>
|
|
</Grid>
|
|
|
|
|
|
</c:BWindow>
|
|
|