You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
4.4 KiB
XML
67 lines
4.4 KiB
XML
<Window x:Class="SlnMesnac.RfidUpload.UI.SelectRouterWindow"
|
|
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:SlnMesnac.RfidUpload.UI"
|
|
mc:Ignorable="d"
|
|
Title="新容器入库" Height="450" Width="800">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="7*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Grid.Row="0" BorderBrush="Gray" BorderThickness="0,0,0,2" CornerRadius="0" >
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
|
|
<TextBlock Text="邮路代码:" FontSize="16" FontWeight="Black" Foreground="#006699" Margin="10,0,0,0"/>
|
|
<TextBox x:Name="RouteCode" FontSize="16" Grid.Row="1" Text="4351000313" Width="120" Height="30" VerticalContentAlignment="Center" HorizontalAlignment="Center" Padding="5">
|
|
<TextBox.Template>
|
|
<ControlTemplate TargetType="TextBox">
|
|
<Border Background="#EBF4FD" BorderBrush="White" BorderThickness="1" CornerRadius="5">
|
|
<ScrollViewer x:Name="PART_ContentHost" />
|
|
</Border>
|
|
</ControlTemplate>
|
|
</TextBox.Template>
|
|
</TextBox>
|
|
|
|
|
|
|
|
<Button Content="获取卸交站" Background="Gray" x:Name="QueryButton" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="30" BorderBrush="#007DFA" Margin="10,0,10,0" Click="QueryButton_Click"/>
|
|
|
|
<Button Content="封发配发" Background="GreenYellow" x:Name="HandOutButton" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="30" BorderBrush="#007DFA" Margin="10,0,10,0" Click="HandOutButton_Click"/>
|
|
|
|
<Label Content="提示信息 :" FontSize="20" FontWeight="Black" Foreground="#00CC33" Margin="0,0,0,0"/>
|
|
<Label x:Name="PageMessage" FontSize="20" FontWeight="Black" Foreground="#00CC33" Margin="5,0,10,0"/>
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
<DataGrid Grid.Row="1" Name="InstitutionList" Background="Transparent"
|
|
FontSize="15" ColumnHeaderHeight="35"
|
|
RowHeight="31" AutoGenerateColumns="False" RowHeaderWidth="0"
|
|
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0" CanUserAddRows="False"
|
|
Foreground="#0288d1" >
|
|
<!--resourceStyle 399行修改选中字体颜色-->
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Binding="{Binding no}" Header="序号" Width="*" IsReadOnly="True"/>
|
|
<DataGridTextColumn Binding="{Binding stationOrgCode}" Header="机构代码" Width="2*" IsReadOnly="True"/>
|
|
<DataGridTextColumn Binding="{Binding stationOrgName}" Header="机构名称" Width="4*" IsReadOnly="True"/>
|
|
<DataGridTemplateColumn Header="操作" Width="1.5*">
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
<DataTemplate>
|
|
<!--<Button Content="编辑" Command="{Binding DataContext.CabinetUpdateCommand, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" CommandParameter="{Binding}" Style="{StaticResource BUTTON_AGREE}" FontSize="14" Width="80" Height="30" Background="#009999" BorderBrush="#FF36B5C1" VerticalAlignment="Center" HorizontalAlignment="Center"/>-->
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<Button Content="执行配发" Click="ExecuteCommand_Click" Style="{StaticResource BUTTON_AGREE}" FontSize="14" Width="80"
|
|
Height="30" Background="#009999" BorderBrush="#FF36B5C1"
|
|
VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,5,0"/>
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
</DataGridTemplateColumn>
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
|
|
</Grid>
|
|
</Window>
|