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.
120 lines
7.0 KiB
120 lines
7.0 KiB
2 years ago
|
<c:BWindow x:Class="BBWY.Client.Views.QualityTask.AddExceptionWindow"
|
||
|
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.QualityTask"
|
||
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls"
|
||
|
WindowStartupLocation="CenterScreen"
|
||
|
CloseButtonVisibility="Visible"
|
||
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
||
|
CloseButtonColor="{StaticResource WindowButtonColor}"
|
||
|
MinButtonVisibility="Collapsed"
|
||
|
MaxButtonVisibility="Collapsed"
|
||
|
Width="384" Height="360" ResizeMode="NoResize"
|
||
|
RightButtonGroupMargin="0,5,5,0">
|
||
|
<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>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="39"/>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition Height="36"/>
|
||
|
|
||
|
</Grid.RowDefinitions>
|
||
|
<Border BorderThickness="0,0,0,1" BorderBrush="{StaticResource MainMenu.BorderBrush}"
|
||
|
Background="{StaticResource Button.Background}">
|
||
|
<TextBlock Text="任务挂起" HorizontalAlignment="Left" Foreground="White" Margin="20 0 0 0" VerticalAlignment="Center"/>
|
||
|
</Border>
|
||
|
<Grid Grid.Row="1" Margin="20 20 20 20">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="40"/>
|
||
|
<RowDefinition Height="40"/>
|
||
|
<RowDefinition Height="60"/>
|
||
|
<RowDefinition/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Grid Grid.Row="0" Height="30" Margin="0">
|
||
|
<Rectangle HorizontalAlignment="Stretch" Stroke="{StaticResource Border.Brush}" StrokeThickness="1"/>
|
||
|
<Grid Height="30" >
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="70"/>
|
||
|
<ColumnDefinition/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<Label HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="Transparent" Content="能否打包"/>
|
||
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Left" Grid.Column="1"/>
|
||
|
<Grid Grid.Column="1">
|
||
|
<Rectangle Stroke="{StaticResource Border.Brush}" StrokeThickness="1" HorizontalAlignment="Stretch"/>
|
||
|
<ComboBox Height="30" VerticalContentAlignment="Center" HorizontalAlignment="Stretch" ItemsSource="{Binding IsContinuePackageList}" DisplayMemberPath="Name" SelectedValuePath="Index" SelectedValue="{Binding IsContinuePackage}" BorderThickness="0" Margin="1" >
|
||
|
<ComboBox.Resources>
|
||
|
|
||
|
</ComboBox.Resources>
|
||
|
</ComboBox>
|
||
|
|
||
|
</Grid>
|
||
|
|
||
|
</Grid>
|
||
|
</Grid>
|
||
|
<Grid Grid.Row="1" Height="30" Margin="0">
|
||
|
<Rectangle HorizontalAlignment="Stretch" Stroke="{StaticResource Border.Brush}" StrokeThickness="1"/>
|
||
|
<Grid Height="30" >
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="70"/>
|
||
|
<ColumnDefinition/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<Label HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="Transparent" Content="异常类型"/>
|
||
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Left" Grid.Column="1"/>
|
||
|
<Grid Grid.Column="1">
|
||
|
<Rectangle Stroke="{StaticResource Border.Brush}" StrokeThickness="1" HorizontalAlignment="Stretch"/>
|
||
|
<ComboBox Height="30" VerticalContentAlignment="Center" HorizontalAlignment="Stretch" ItemsSource="{Binding TaskExceptionTypeList}" DisplayMemberPath="Name" SelectedValuePath="Index" SelectedValue="{Binding TaskExceptionType}" BorderThickness="0" Margin="1" >
|
||
|
<ComboBox.Resources>
|
||
|
|
||
|
</ComboBox.Resources>
|
||
|
</ComboBox>
|
||
|
|
||
|
</Grid>
|
||
|
|
||
|
</Grid>
|
||
|
</Grid>
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="2" Margin="0 10 0 10">
|
||
|
<TextBlock Text="摆放货架:" Style="{StaticResource middleTextBlock}" Foreground="Red"/>
|
||
|
<Border BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" CornerRadius="1" Height="30">
|
||
|
<StackPanel Orientation="Horizontal">
|
||
|
<Label Content="货架编号" BorderThickness="0 0 0 0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Width="70"/>
|
||
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Left"/>
|
||
|
<ComboBox Height="30" HorizontalAlignment="Stretch" ItemsSource="{Binding ShelvesNumberList}" Text="{Binding ShelvesNumber}" BorderThickness="0" Margin="1" />
|
||
|
|
||
|
|
||
|
</StackPanel>
|
||
|
</Border>
|
||
|
<Border BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" CornerRadius="1" Height="30" Margin="10 0 0 0">
|
||
|
<StackPanel Orientation="Horizontal">
|
||
|
<Label Content="货架层数" BorderThickness="0 0 0 0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Width="70"/>
|
||
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Left"/>
|
||
|
<ComboBox Height="30" HorizontalAlignment="Stretch" ItemsSource="{Binding FloorNumberList}" Text="{Binding FloorNumber}" BorderThickness="0" Margin="1" />
|
||
|
|
||
|
|
||
|
</StackPanel>
|
||
|
</Border>
|
||
|
</StackPanel>
|
||
|
|
||
|
|
||
|
<Grid Grid.Row="3">
|
||
|
<c:BTextBox Text="{Binding RemarkMsg}" HorizontalContentAlignment="Left" VerticalContentAlignment="Top" WaterRemark="备注消息" VerticalAlignment="Top" MinHeight="100" TextWrapping="Wrap" AcceptsReturn="True" />
|
||
|
</Grid>
|
||
|
|
||
|
|
||
|
</Grid>
|
||
|
|
||
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Row="2" VerticalAlignment="Top"/>
|
||
|
<c:BButton Grid.Row="2" Content="确定" HorizontalAlignment="Right" Width="105" VerticalAlignment="Center" Height="40" Click="BButton_Click"
|
||
|
/>
|
||
|
|
||
|
</Grid>
|
||
|
</c:BWindow>
|