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.

65 lines
7.2 KiB
XML

<Window x:Class="XGL.FormItem.FormLocator"
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:XGL.FormItem" Loaded="Window_Loaded"
mc:Ignorable="d"
Title="库位设定" Height="350" Width="600" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
<Grid Background="#29536f" >
<Grid.RowDefinitions>
<RowDefinition ></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition Height="100"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100"></ColumnDefinition>
<ColumnDefinition Width="300"></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<Label Content="库位号:" Grid.Column="0" Grid.Row="0 " HorizontalAlignment="Right" FontSize="20" Foreground="White"/>
<Label x:Name="lblLocatorNo" Content="" Grid.Column="1" Grid.Row="0 " HorizontalAlignment="Center" FontSize="20" Foreground="White"/>
<Button x:Name="btnclearLocator" Visibility="Hidden" Background="Blue" Width="60" Grid.Column="2" Grid.Row="0 " FontSize="20" Content="清除" VerticalAlignment="Bottom" Foreground="White" HorizontalAlignment="Right" Margin="0,0,0,8" Click="BtnclearLocator_Click" ></Button>
<Button x:Name="btnselectLocator" Visibility="Hidden" Background="Blue" Width="60" Grid.Column="3" Grid.Row="0 " FontSize="20" Content="选择" VerticalAlignment="Top" Foreground="White" HorizontalAlignment="Center" Margin="19,7,18,0" Click="BtnselectLocator_Click" ></Button>
<Label x:Name="lblCarNo" Content="" Grid.Column="1" Grid.Row="1 " HorizontalAlignment="Center" FontSize="20" Foreground="White"/>
<Button x:Name="btnclearCar" Visibility="Hidden" Background="Blue" Width="60" Grid.Column="2" Grid.Row="1 " FontSize="20" Content="清除" VerticalAlignment="Center" Foreground="White" HorizontalAlignment="Right" Click="BtnclearCar_Click" ></Button>
<Button x:Name="btnselectCar" Visibility="Hidden" Background="Blue" Width="60" Grid.Column="3" Grid.Row="1 " FontSize="20" Content="选择" VerticalAlignment="Center" Foreground="White" HorizontalAlignment="Center" Click="BtnselectCar_Click" ></Button>
<Label x:Name="lblMaterialNo" Content="" Grid.Column="1" Grid.Row="2 " HorizontalAlignment="Center" FontSize="20" Foreground="White"/>
<Label x:Name="lblMaterialNm" Content="" Grid.Column="1" Grid.Row="3 " HorizontalAlignment="Center" FontSize="20" Foreground="White"/>
<Label x:Name="lblMaterialNum" Content="" Grid.Column="1" Grid.Row="6 " HorizontalAlignment="Center" FontSize="20" Foreground="White"/>
<Button x:Name="btnclearMaterial" Visibility="Hidden" Background="Blue" Width="60" Grid.Column="2" Grid.Row="2 " FontSize="20" Content="清除" VerticalAlignment="Center" Foreground="White" HorizontalAlignment="Right" Click="BtnclearMaterial_Click" ></Button>
<Button x:Name="btnselecMaterial" Visibility="Hidden" Background="Blue" Width="60" Grid.Column="3" Grid.Row="2 " FontSize="20" Content="选择" VerticalAlignment="Center" Foreground="White" HorizontalAlignment="Center" Click="BtnselecMaterial_Click" ></Button>
<Label Content="小车号:" Grid.Column="0" Grid.Row="1 " HorizontalAlignment="Right" FontSize="20" Foreground="White"/>
<Label Content="物料编码" Grid.Column="0" Grid.Row="2 " HorizontalAlignment="Right" FontSize="20" Foreground="White"/>
<Label Content="物料描述" Grid.Column="0" Grid.Row="3 " HorizontalAlignment="Right" FontSize="20" Foreground="White"/>
<!--<Label Content="库位号" Grid.Column="0" Grid.Row="4" HorizontalAlignment="Right" FontSize="16" Foreground="White"/>-->
<Label Content="内筒数量" Grid.Column="0" Grid.Row="6 " HorizontalAlignment="Right" FontSize="20" Foreground="White"/>
<Label Content="下件线体" Grid.Column="0" Grid.Row="4 " HorizontalAlignment="Right" FontSize="20" Foreground="White"/>
<Label Content="操作" Grid.Column="0" Grid.Row="5 " HorizontalAlignment="Right" FontSize="20" Foreground="White"/>
<RadioButton x:Name="btnWarehouseA" GroupName="locatorWarehouse" Width="92" Height="30" Grid.Column="1" Grid.Row="4 " FontSize="20" Foreground="White" Content="A线" VerticalAlignment="Center" BorderThickness="5" HorizontalAlignment="Center" Margin="40,5,168,29" Grid.RowSpan="2" Click="BtnWareHouseA_Click" ></RadioButton>
<RadioButton x:Name="btnWarehouseB" GroupName="locatorWarehouse" Width="87" Height="30" Grid.Column="1" Grid.Row="4 " Foreground="White" FontSize="20" Content="B线" VerticalAlignment="Center" BorderThickness="5" HorizontalAlignment="Center" Margin="145,4,68,30" Grid.RowSpan="2" Click="BtnWareHouseB_Click" ></RadioButton>
<RadioButton x:Name="btnWarehouseC" GroupName="locatorWarehouse" Width="87" Height="30" Grid.Column="2" Grid.Row="4 " FontSize="20" Foreground="White" Content="C线" VerticalAlignment="Center" BorderThickness="5" HorizontalAlignment="Center" Margin="0,3,10,31" Grid.RowSpan="2" Click="BtnWareHouseC_Click" ></RadioButton>
<RadioButton x:Name="btnNoOpt" GroupName="locatorOpt" Width="92" Height="30" Grid.Column="1" Grid.Row="5 " FontSize="20" Foreground="White" Content="无" VerticalAlignment="Center" BorderThickness="5" HorizontalAlignment="Center" Click="BtnOutLocator_Click" Margin="40,5,168,29" Checked="BtnNoOpt_Checked" Grid.RowSpan="2" ></RadioButton>
<RadioButton x:Name="btnOutLocator" GroupName="locatorOpt" Width="87" Height="30" Grid.Column="1" Grid.Row="5 " Foreground="White" FontSize="20" Content="出库" VerticalAlignment="Center" BorderThickness="5" HorizontalAlignment="Center" Click="BtnOutLocator_Click" Margin="145,4,68,30" Grid.RowSpan="2" ></RadioButton>
<RadioButton x:Name="btnBackLocator" GroupName="locatorOpt" Width="87" Height="30" Grid.Column="2" Grid.Row="5 " FontSize="20" Foreground="White" Content="拉回" VerticalAlignment="Center" BorderThickness="5" HorizontalAlignment="Center" Click="BtnBackLocator_Click" Margin="0,8,10,7" Visibility="Hidden"></RadioButton>
<Button x:Name="btnSaveSetting" Background="Blue" Width="80" Height="40" Grid.Column="1" Grid.Row="7 " FontSize="20" Content="确认" VerticalAlignment="Center" Foreground="White" HorizontalAlignment="Center" Click="BtnSaveSetting_Click" Visibility="Hidden"></Button>
<Button x:Name="btnCancelSetting" Width="60" Height="30" Grid.Column="2" Grid.Row="7 " FontSize="20" Content="取消" VerticalAlignment="Center" HorizontalAlignment="Center" Click="BtnCancelSetting_Click" ></Button>
</Grid>
</Window>