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.
166 lines
12 KiB
Plaintext
166 lines
12 KiB
Plaintext
1 year ago
|
<UserControl x:Class="Aucma.Core.BoxFoam.Views.IndexPageView"
|
||
1 year ago
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
1 year ago
|
xmlns:local="clr-namespace:Aucma.Core.BoxFoam.Views"
|
||
1 year ago
|
mc:Ignorable="d"
|
||
|
d:DesignHeight="800"
|
||
|
d:DesignWidth="1000" >
|
||
1 year ago
|
|
||
1 year ago
|
<UserControl.Resources>
|
||
|
<Style x:Key="DataGridTextColumnCenterSytle" TargetType="{x:Type TextBlock}">
|
||
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||
|
</Style>
|
||
|
<Style x:Key="ColumnHeaderStyle" TargetType="DataGridColumnHeader">
|
||
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
||
|
<Setter Property="Background" Value="#dddddd"/>
|
||
|
</Style>
|
||
|
</UserControl.Resources>
|
||
1 year ago
|
|
||
1 year ago
|
<Grid Margin="1 5 1 0">
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition/>
|
||
|
<ColumnDefinition/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<!--扫描信息-->
|
||
|
<Border Grid.Row="0" Grid.Column="0" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="5" Background="Transparent" Margin="3,1,5,5">
|
||
|
<Grid>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="1*"/>
|
||
|
<RowDefinition Height="9*"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
|
||
|
<Border Grid.Row="0" BorderBrush="#0288d1" BorderThickness="0,0,0,1" CornerRadius="0" Background="Transparent" Margin="1,1,3,5" >
|
||
1 year ago
|
<TextBlock Text="扫描信息" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center" Style="{StaticResource MaterialDesignHeadline6TextBlock}" FontWeight="Bold"/>
|
||
|
|
||
1 year ago
|
</Border>
|
||
|
|
||
|
<!--扫描信息-->
|
||
|
<Border Grid.Row="1" BorderBrush="#0288d1" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="1,1,3,5">
|
||
|
<Grid>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="0.5*"/>
|
||
|
<ColumnDefinition Width="6*"/>
|
||
|
<ColumnDefinition Width="0.5*"/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<Border Grid.Column="0" BorderThickness="0" Background="Transparent" CornerRadius="5" >
|
||
|
|
||
|
</Border>
|
||
|
|
||
|
<Border Grid.Column="1" BorderThickness="0" Background="Transparent" CornerRadius="5" Margin="0,10,0,0">
|
||
|
<Grid>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
1 year ago
|
<RowDefinition/>
|
||
1 year ago
|
</Grid.RowDefinitions>
|
||
|
<StackPanel Grid.Row="0" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
||
|
<TextBlock Text="物料条码" FontSize="15" Foreground="Gray" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0 0 30 0"/>
|
||
1 year ago
|
<TextBox FontSize="15" Text="{Binding MaterialBarCode,Mode=TwoWay}" Foreground="Gray" Width="200" IsReadOnly="True" Margin="0 0 10 0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
|
||
|
<TextBox FontSize="15" Text="{Binding BeginTime,Mode=TwoWay}" Foreground="Gray" Width="200" IsReadOnly="True" Margin="10 0 0 0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
1 year ago
|
</StackPanel>
|
||
|
<StackPanel Grid.Row="1" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
||
1 year ago
|
<TextBlock Text="物料编码" FontSize="15" Foreground="Gray" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0 0 30 0"/>
|
||
1 year ago
|
<TextBox FontSize="15" Text="{Binding MaterialCode,Mode=TwoWay}" Foreground="Gray" Width="420" IsReadOnly="True" Margin="0 0 0 0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
|
||
1 year ago
|
</StackPanel>
|
||
|
<StackPanel Grid.Row="2" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
||
1 year ago
|
<TextBlock Text="物料名称" FontSize="15" Foreground="Gray" HorizontalAlignment="Left"/>
|
||
1 year ago
|
<TextBox FontSize="15" Text="{Binding MaterialName,Mode=TwoWay}" Foreground="Gray" Width="420" IsReadOnly="True" Margin="30,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
1 year ago
|
</StackPanel>
|
||
|
|
||
1 year ago
|
<StackPanel Grid.Row="3" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
||
1 year ago
|
<TextBlock Text="目的信息" FontSize="15" Foreground="Gray"/>
|
||
1 year ago
|
<TextBox FontSize="15" Text="{Binding Destination,Mode=TwoWay}" Foreground="Gray" Width="420" IsReadOnly="True" Margin="30,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
1 year ago
|
</StackPanel>
|
||
|
|
||
1 year ago
|
<StackPanel Grid.Row="4" Grid.RowSpan="2" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
||
1 year ago
|
<TextBlock Text="提示信息" FontSize="15" Foreground="Gray"/>
|
||
1 year ago
|
<TextBox FontSize="15"
|
||
1 year ago
|
MinHeight="70" MaxHeight="100" MinWidth="420" IsReadOnly="True" Foreground="Gray"
|
||
1 year ago
|
VerticalAlignment="Top" Margin="30 0 0 0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
|
||
1 year ago
|
AcceptsReturn="True" Text="{Binding Prompt,Mode=TwoWay}"
|
||
1 year ago
|
IsEnabled="{Binding Path=IsChecked, ElementName=MaterialDesignOutlinedTextBoxEnabledComboBox}"
|
||
|
Style="{StaticResource MaterialDesignOutlinedTextBox}"
|
||
|
TextWrapping="Wrap"
|
||
|
VerticalScrollBarVisibility="Auto" />
|
||
|
</StackPanel>
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
|
||
|
<!--日志信息-->
|
||
|
<Border Grid.Row="0" Grid.Column="1" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="5" Background="Transparent" Margin="3,1,3,5">
|
||
|
<Grid>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="1*"/>
|
||
|
<RowDefinition Height="9*"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Border Grid.Row="0" BorderBrush="#0288d1" BorderThickness="0,0,0,1" CornerRadius="0" Background="Transparent" Margin="1,1,1,5" >
|
||
1 year ago
|
<TextBlock Text="日志信息" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center" Style="{StaticResource MaterialDesignHeadline6TextBlock}" />
|
||
1 year ago
|
</Border>
|
||
|
|
||
|
<!--日志信息-->
|
||
|
<Border x:Name="HeightHelperPanel" Grid.Row="1" BorderBrush="#0288d1" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="25,1,5,5">
|
||
|
<ListBox MinHeight="60"
|
||
|
Height="{Binding Path=ActualHeight, ElementName=HeightHelperPanel}" x:Name="listBox" ItemsSource="{Binding LogInfoListBox}" Foreground="Gray" Background="Transparent" BorderBrush="Transparent" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ScrollViewer.VerticalScrollBarVisibility="Hidden"/>
|
||
|
</Border>
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
|
||
|
<!--扫描记录-->
|
||
|
<Border Grid.Row="1" Grid.ColumnSpan="2" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="5" Background="Transparent" Margin="3,1,3,5">
|
||
|
<Grid>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="1*"/>
|
||
|
<RowDefinition Height="9*"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Border Grid.Row="0" BorderBrush="#0288d1" BorderThickness="0,0,0,1" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
||
1 year ago
|
<TextBlock Text="扫描记录" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center" Style="{StaticResource MaterialDesignHeadline6TextBlock}" />
|
||
1 year ago
|
</Border>
|
||
|
|
||
|
<!--计划列表-->
|
||
|
<Border x:Name="ScanPanel" Grid.Row="1" Grid.Column="0" BorderBrush="#0288d1" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="1,1,5,5">
|
||
|
<Grid>
|
||
|
<Grid.RowDefinitions>
|
||
1 year ago
|
<RowDefinition Height="auto"/>
|
||
1 year ago
|
<RowDefinition Height="*"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
|
||
|
<DataGrid Grid.Row="0" ItemsSource="{Binding PlanInfoDataGrid}" Background="#00000000"
|
||
|
ColumnHeaderHeight="35" Height="{Binding Path=ActualHeight, ElementName=ScanPanel}"
|
||
|
RowHeight="50" AutoGenerateColumns="False" RowHeaderWidth="0"
|
||
1 year ago
|
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Auto"
|
||
|
ScrollViewer.VerticalScrollBarVisibility="Auto" BorderThickness="0" CanUserAddRows="False" SelectionMode="Single" IsReadOnly="True"
|
||
1 year ago
|
Foreground="Gray" >
|
||
|
<!--修改选中字体颜色-->
|
||
|
<DataGrid.Columns>
|
||
1 year ago
|
<!--<DataGridTextColumn Binding="{Binding No}" Header="编号" Width="auto" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>-->
|
||
1 year ago
|
<DataGridTextColumn Binding="{Binding PlanCode}" Header="计划编号" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
||
|
<DataGridTextColumn Binding="{Binding MaterialBarCode}" Header="物料条码" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
||
|
<DataGridTextColumn Binding="{Binding MaterialCode}" Header="物料编码" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
||
1 year ago
|
<DataGridTextColumn Binding="{Binding MaterialName}" Header="产品型号" Width="2*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
||
1 year ago
|
<DataGridTextColumn Binding="{Binding EnterSpace}" Header="入库货道" Width="*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
||
|
<DataGridTextColumn Binding="{Binding ExecDateTime ,StringFormat=\{0:MM-dd HH:mm\}}" Header="执行时间" Width="1.5*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
||
|
<DataGridTextColumn Binding="{Binding Status}" Header="状态" Width="*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
||
|
<!--<DataGridTextColumn Binding="{Binding CompleteAmount}" Header="设备号" Width="*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>-->
|
||
1 year ago
|
</DataGrid.Columns>
|
||
|
</DataGrid>
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
|
||
|
</Grid>
|
||
|
</UserControl>
|