Files
PackagingMallShipper/PackagingMallShipper/Views/ShippingDialog.xaml
2025-12-17 13:56:00 +08:00

50 lines
2.0 KiB
XML

<Window x:Class="PackagingMallShipper.Views.ShippingDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="填写发货信息"
Height="280" Width="400"
WindowStartupLocation="CenterOwner"
ResizeMode="NoResize"
ShowInTaskbar="False">
<Grid Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- 订单信息 -->
<StackPanel Grid.Row="0" Margin="0,0,0,15">
<TextBlock Text="订单号:" FontWeight="Bold"/>
<TextBlock x:Name="OrderNumberText" FontSize="14" Margin="0,5,0,0"/>
</StackPanel>
<!-- 快递公司 -->
<StackPanel Grid.Row="1" Margin="0,0,0,15">
<TextBlock Text="快递公司" Margin="0,0,0,5"/>
<ComboBox x:Name="ExpressComboBox" Height="30"
DisplayMemberPath="Name"
SelectedValuePath="Id"/>
</StackPanel>
<!-- 快递单号 -->
<StackPanel Grid.Row="2" Margin="0,0,0,15">
<TextBlock Text="快递单号" Margin="0,0,0,5"/>
<TextBox x:Name="TrackingNumberTextBox" Height="30"
VerticalContentAlignment="Center" Padding="5,0"/>
</StackPanel>
<!-- 按钮 -->
<StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="取消" Width="80" Height="30" Margin="0,0,10,0"
Click="CancelButton_Click"/>
<Button Content="确认发货" Width="100" Height="30"
Background="#1890FF" Foreground="White" BorderThickness="0"
Click="ConfirmButton_Click"/>
</StackPanel>
</Grid>
</Window>