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.
465 lines
33 KiB
XML
465 lines
33 KiB
XML
<UserControl x:Class="Aucma.Core.PalletizCX1.Views.IndexPageView"
|
|
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"
|
|
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
|
|
xmlns:local="clr-namespace:Aucma.Core.PalletizCX1.Views"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
mc:Ignorable="d" Background="#1152AC"
|
|
d:DesignHeight="1080" FontFamily="Microsoft YaHei"
|
|
d:DesignWidth="1920" >
|
|
<UserControl.Resources>
|
|
<Style x:Key="DataGridTextColumnCenterSytle" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
<Setter Property="FontSize" Value="20"/>
|
|
</Style>
|
|
<Style TargetType="DataGrid">
|
|
<!--网格线颜色-->
|
|
<Setter Property="CanUserResizeColumns" Value="false"/>
|
|
<Setter Property="Background" Value="#1152AC" />
|
|
<Setter Property="BorderBrush" Value="#4285DE" />
|
|
<Setter Property="HorizontalGridLinesBrush">
|
|
<Setter.Value>
|
|
<SolidColorBrush Color="#4285DE"/>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Setter Property="VerticalGridLinesBrush">
|
|
<Setter.Value>
|
|
<SolidColorBrush Color="#1152AC"/>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<!--列头标题栏样式-->
|
|
<Style TargetType="DataGridColumnHeader">
|
|
<!--<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>-->
|
|
<!--<Setter Property="Background" Value="#dddddd"/>
|
|
<Setter Property="Foreground" Value="Black"/>-->
|
|
<!--<Setter Property="BorderThickness" Value="1" />-->
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
<Setter Property="BorderBrush" Value="#4285DE" />
|
|
<Setter Property="Height" Value="40"/>
|
|
<Setter Property="FontSize" Value="18"/>
|
|
<Setter Property="Background" Value="#4285DE"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
<Setter Property="FontFamily" Value="Microsoft YaHei"/>
|
|
</Style>
|
|
|
|
<!--单元格样式-->
|
|
<Style TargetType="DataGridCell">
|
|
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
|
|
<Setter Property="BorderThickness" Value="0" />
|
|
<Setter Property="BorderBrush" Value="#4285DE" />
|
|
<Setter Property="Height" Value="40"/>
|
|
<Setter Property="FontSize" Value="18"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type DataGridCell}">
|
|
<Grid Background="{TemplateBinding Background}" >
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
</Grid>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" Value="#4285DE"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Trigger>
|
|
<DataTrigger Binding="{Binding ExecuteStatus}" Value="2">
|
|
<Setter Property="Background" Value="Green" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</UserControl.Resources>
|
|
|
|
<Grid Margin="1,1">
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="10*"/>
|
|
</Grid.RowDefinitions>
|
|
<Border Grid.Row="0" BorderBrush="Gray" BorderThickness="1" Margin="0,5,0,5">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="2.5*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="2*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="2*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="2*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="产品条码:" Foreground="White" FontSize="20"/>
|
|
</Border>
|
|
<Border Grid.Column="1" VerticalAlignment="Center">
|
|
<TextBlock Text="{Binding ProductSNCode}" Foreground="White" FontSize="20"/>
|
|
<!--{Binding ProductSNCode}-->
|
|
</Border>
|
|
<Border Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="产品型号:" Foreground="White" FontSize="20"/>
|
|
</Border>
|
|
<Border Grid.Column="3" VerticalAlignment="Center">
|
|
<TextBlock Text="{Binding ProductModel}" Foreground="White" FontSize="20"/>
|
|
<!--{Binding ProductSNCode}-->
|
|
</Border>
|
|
<Border Grid.Column="4" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="订单编号:" Foreground="White" FontSize="20"/>
|
|
</Border>
|
|
<Border Grid.Column="5" VerticalAlignment="Center">
|
|
<TextBlock Text="{Binding OrderCode}" Foreground="White" FontSize="20"/>
|
|
<!--{Binding ProductSNCode}-->
|
|
</Border>
|
|
<Border Grid.Column="6" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock Text="扫描时间:" Foreground="White" FontSize="20"/>
|
|
</Border>
|
|
<Border Grid.Column="7" VerticalAlignment="Center">
|
|
<TextBlock Text="{Binding ProductScanTime}" Foreground="White" FontSize="20"/>
|
|
<!--{Binding ProductSNCode}-->
|
|
</Border>
|
|
</Grid>
|
|
</Border>
|
|
<Border Grid.Row="1" BorderBrush="Gray" BorderThickness="1" Margin="0,5,0,5">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="6*"/>
|
|
<ColumnDefinition Width="3*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Grid.Column="0" Text="提示信息:" Foreground="White" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<TextBlock Grid.Column="1" Text="{Binding Msg}" Foreground="White" FontSize="20" VerticalAlignment="Center"/>
|
|
<Grid Grid.Column="2">
|
|
<StackPanel Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Right" Orientation="Horizontal" Margin="10,0,30,0">
|
|
<Button Content="异常入库" FontSize="18" x:Name="Minimized" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Minimized}" Style="{StaticResource BUTTON_AGREE}" Width="150" Height="40" Background="#FF9900" BorderBrush="#FF9900" Margin="0,0,10,0" Click="Minimized_Click"/>
|
|
<Button Content="转向设置" FontSize="18" x:Name="Exit" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Exit}" Style="{StaticResource BUTTON_AGREE}" Width="150" Height="40" Background="#5283D7" BorderBrush="#5283D7" Margin="0,0,10,0" Click="Exit_Click"/>
|
|
<Button Content="{Binding InStoreAmount}" FontSize="18" CommandParameter="{Binding Name,ElementName=Exit}" Style="{StaticResource BUTTON_AGREE}" Width="150" Height="40" Background="Transparent" Margin="0,0,10,0"/>
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
</Border>
|
|
<Border Grid.Row="2" BorderBrush="Gray" BorderThickness="1" Margin="0,5,0,5">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<TextBlock Grid.Column="0" Text="C区域" Foreground="White" FontSize="30" VerticalAlignment="Center" Margin="30 0 0 0"/>
|
|
|
|
<TextBlock Grid.Column="1" Text="B区域" Foreground="White" FontSize="30" VerticalAlignment="Center" Margin="30 0 0 0"/>
|
|
|
|
<TextBlock Grid.Column="2" Text="A区域" Foreground="White" FontSize="30" VerticalAlignment="Center" Margin="30 0 0 0"/>
|
|
</Grid>
|
|
</Border>
|
|
<Border Grid.Row="3" BorderBrush="#1157b9" BorderThickness="0" Margin="0,5,0,5">
|
|
<Grid >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border Grid.Column="0" x:Name="areaC_outerBorder" BorderBrush="#1254AB" BorderThickness="2" CornerRadius="5" Margin="0,0,5,0" >
|
|
<Border.Effect>
|
|
<DropShadowEffect Color="#1254AB" Direction="270" BlurRadius="10" ShadowDepth="5" Opacity="0.5"/>
|
|
</Border.Effect>
|
|
<ItemsControl Grid.Column="0" ItemsSource="{Binding AreaC_SpaceInfo}" VerticalAlignment="Top" HorizontalAlignment="Center">
|
|
<ItemsControl.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<WrapPanel Orientation="Vertical"></WrapPanel>
|
|
</ItemsPanelTemplate>
|
|
</ItemsControl.ItemsPanel>
|
|
<ItemsControl.ItemTemplate>
|
|
<DataTemplate>
|
|
<ContentControl x:Name="ctrl" Width="{Binding ActualWidth, ElementName=areaC_outerBorder}" Margin="5,5">
|
|
<ContentControl.Style>
|
|
<Style TargetType="ContentControl">
|
|
<Setter Property="Height" Value="35" />
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate>
|
|
<Border Background="#4D96E0" x:Name="borderName" >
|
|
<!--<Label Content="{Binding SpaceName}" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>-->
|
|
<Button Width="{Binding Path=ActualWidth, ElementName=borderName}" Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding ObjId}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
|
|
|
<WrapPanel Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Width="{Binding Path=ActualWidth, ElementName=borderName}" >
|
|
<TextBlock Text="{Binding SpaceCode}" Width="100" Foreground="White" FontSize="18" FontWeight="Bold" Margin="0 0 30 0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
|
|
|
<TextBlock Text="{Binding typeNameA}" Foreground="White" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
|
|
|
</WrapPanel>
|
|
|
|
</Button>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding SpaceType}" Value="2">
|
|
<Setter Property="Height" Value="60" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</ContentControl.Style>
|
|
</ContentControl>
|
|
</DataTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
</ItemsControl>
|
|
</Border>
|
|
<Border Grid.Column="1" x:Name="areaB_outerBorder" BorderBrush="#1254AB" BorderThickness="2" CornerRadius="5" Margin="0,0,5,0" >
|
|
<Border.Effect>
|
|
<DropShadowEffect Color="#1254AB" Direction="270" BlurRadius="10" ShadowDepth="5" Opacity="0.5"/>
|
|
</Border.Effect>
|
|
<ItemsControl Grid.Column="0" ItemsSource="{Binding AreaB_SpaceInfo}" VerticalAlignment="Top" HorizontalAlignment="Center">
|
|
<ItemsControl.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<WrapPanel Orientation="Vertical"></WrapPanel>
|
|
</ItemsPanelTemplate>
|
|
</ItemsControl.ItemsPanel>
|
|
<ItemsControl.ItemTemplate>
|
|
<DataTemplate>
|
|
<ContentControl x:Name="ctrl" Width="{Binding ActualWidth, ElementName=areaB_outerBorder}" Margin="5,5">
|
|
<ContentControl.Style>
|
|
<Style TargetType="ContentControl">
|
|
<Setter Property="Height" Value="35" />
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate>
|
|
<Border Background="#4D96E0" x:Name="borderName1" >
|
|
<!--<Label Content="{Binding SpaceName}" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>-->
|
|
<Button Width="{Binding Path=ActualWidth, ElementName=borderName1}" Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding ObjId}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
|
|
|
<WrapPanel Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Width="{Binding Path=ActualWidth, ElementName=borderName1}" >
|
|
<TextBlock Text="{Binding SpaceCode}" Width="100" Foreground="White" FontSize="18" FontWeight="Bold" Margin="0 0 30 0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
|
|
|
<TextBlock Text="{Binding typeNameA}" Foreground="White" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
|
|
|
</WrapPanel>
|
|
|
|
</Button>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding SpaceType}" Value="2">
|
|
<Setter Property="Height" Value="60" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</ContentControl.Style>
|
|
</ContentControl>
|
|
</DataTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
</ItemsControl>
|
|
</Border>
|
|
<Border Grid.Column="2" x:Name="areaA_outerBorder" BorderBrush="#1254AB" BorderThickness="2" CornerRadius="5" >
|
|
<Border.Effect>
|
|
<DropShadowEffect Color="#1254AB" Direction="270" BlurRadius="10" ShadowDepth="5" Opacity="0.5"/>
|
|
</Border.Effect>
|
|
<ItemsControl Grid.Column="0" ItemsSource="{Binding AreaA_SpaceInfo}" VerticalAlignment="Top" HorizontalAlignment="Center">
|
|
<ItemsControl.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<WrapPanel Orientation="Vertical"></WrapPanel>
|
|
</ItemsPanelTemplate>
|
|
</ItemsControl.ItemsPanel>
|
|
<ItemsControl.ItemTemplate>
|
|
<DataTemplate>
|
|
<ContentControl x:Name="ctrl" Width="{Binding ActualWidth, ElementName=areaA_outerBorder}" Margin="5,5">
|
|
<ContentControl.Style>
|
|
<Style TargetType="ContentControl">
|
|
<Setter Property="Height" Value="35" />
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate>
|
|
<Border Background="#4D96E0" x:Name="borderName2" >
|
|
<!--<Label Content="{Binding SpaceName}" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>-->
|
|
<Button Width="{Binding Path=ActualWidth, ElementName=borderName2}" Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding ObjId}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
|
|
|
<WrapPanel Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Width="{Binding Path=ActualWidth, ElementName=borderName2}" >
|
|
<TextBlock Text="{Binding SpaceCode}" Width="100" Foreground="White" FontSize="18" FontWeight="Bold" Margin="0 0 30 0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
|
|
|
<TextBlock Text="{Binding typeNameA}" Foreground="White" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
|
|
|
</WrapPanel>
|
|
|
|
</Button>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding SpaceType}" Value="2">
|
|
<Setter Property="Height" Value="60" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</ContentControl.Style>
|
|
</ContentControl>
|
|
</DataTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
</ItemsControl>
|
|
</Border>
|
|
<!--<Border Grid.Column="3" BorderBrush="#1157b9" BorderThickness="0" Margin="5,0,0,0">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="6*"/>
|
|
<RowDefinition Height="4*"/>
|
|
</Grid.RowDefinitions>
|
|
<Border Grid.Row="0" BorderBrush="#1157b9" BorderThickness="0" Margin="0,0,0,5">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="5*"/>
|
|
</Grid.RowDefinitions>
|
|
<Border Grid.Row="0" BorderBrush="#1254AB" BorderThickness="0" Margin="0,0,0,5">
|
|
|
|
-->
|
|
<!--<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<Label Content="A区扫码成功" FontSize="20" Foreground="Green"/>
|
|
</StackPanel>
|
|
<StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<Label Content="B区扫码失败" FontSize="20" Foreground="Red" />
|
|
</StackPanel>
|
|
<Border Grid.Column="2" >
|
|
<Button Content="异常入库" FontSize="16" x:Name="Minimized" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Minimized}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#FF9900" BorderBrush="#FF9900" />
|
|
</Border>
|
|
</Grid>-->
|
|
<!--
|
|
<StackPanel Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Orientation="Horizontal" Margin="10,0,0,0">
|
|
<Button Content="异常入库" FontSize="18" x:Name="Minimized" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Minimized}" Style="{StaticResource BUTTON_AGREE}" Width="150" Height="40" Background="#FF9900" BorderBrush="#FF9900" Margin="0,0,10,0" Click="Minimized_Click"/>
|
|
<Button Content="转向设置" FontSize="18" x:Name="Exit" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Exit}" Style="{StaticResource BUTTON_AGREE}" Width="150" Height="40" Background="#5283D7" BorderBrush="#5283D7" Margin="0,0,10,0" Click="Exit_Click"/>
|
|
<Button Content="{Binding InStoreAmount}" FontSize="18" CommandParameter="{Binding Name,ElementName=Exit}" Style="{StaticResource BUTTON_AGREE}" Width="150" Height="40" Background="Transparent" Margin="0,0,10,0"/>
|
|
</StackPanel>
|
|
</Border>
|
|
<Border Grid.Row="1" BorderBrush="#1157b9" BorderThickness="0" Margin="0,0,0,0">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="6*"/>
|
|
-->
|
|
<!--<ColumnDefinition Width="4*"/>-->
|
|
<!--
|
|
</Grid.ColumnDefinitions>
|
|
-->
|
|
<!--<DataGrid Grid.Column="0" Name="DG" ItemsSource="{Binding InstoreTask}" Background="Transparent"
|
|
FontSize="20" ColumnHeaderHeight="35"
|
|
RowHeight="31" AutoGenerateColumns="False" RowHeaderWidth="0"
|
|
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0" CanUserAddRows="False"
|
|
Foreground="#FFFFFF" >
|
|
-->
|
|
<!--resourceStyle 399行修改选中字体颜色-->
|
|
<!--
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Binding="{Binding taskCode}" Header="序号" Width="1*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<DataGridTextColumn Binding="{Binding materialCode}" Header="物料编码" Width="2*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<DataGridTextColumn Binding="{Binding materialType}" Header="物料类型" Width="2*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<DataGridTextColumn Binding="{Binding spaceCode}" Header="入库货道" Width="1*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<DataGridTextColumn Binding="{Binding createTime,StringFormat=\{0:MM月dd日 HH:mm\}}" Header="扫描时间" Width="2*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
|
|
</DataGrid.Columns>
|
|
</DataGrid>-->
|
|
<!--
|
|
<Border Grid.Column="0" BorderBrush="Red" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="2,25,2,2">
|
|
<ContentControl Content="{Binding InStoreTaskContent}"/>
|
|
</Border>
|
|
-->
|
|
<!--日志信息-->
|
|
<!--<Border Grid.Column="1" BorderBrush="#1254AB" BorderThickness="2" CornerRadius="5" Background="Transparent" Margin="1,0,0,0">
|
|
<Border.Effect>
|
|
<DropShadowEffect Color="#1254AB" Direction="270" BlurRadius="10" ShadowDepth="5" Opacity="0.5"/>
|
|
</Border.Effect>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="9*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
<Border Grid.Row="0" BorderBrush="CadetBlue" BorderThickness="0,0,0,0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
<TextBlock Text="系统监控" FontSize="20" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
</Border>
|
|
|
|
-->
|
|
<!--日志信息-->
|
|
<!--
|
|
<Border Grid.Row="1" BorderBrush="Green" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="1,1,5,5">
|
|
<ListBox x:Name="listBox" ItemsSource="{Binding LogInfoListBox}" FontSize="15" Foreground="#FFFFFF" Background="Transparent" BorderBrush="Transparent" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ScrollViewer.VerticalScrollBarVisibility="Hidden"/>
|
|
</Border>
|
|
</Grid>
|
|
</Border>-->
|
|
<!--
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</Border>
|
|
-->
|
|
<!--<Border Grid.Row="1" BorderBrush="#1157b9" BorderThickness="2" Margin="0,5,0,0"></Border>-->
|
|
<!--
|
|
<Border Grid.Row="1" x:Name="areaB_outerBorder" BorderBrush="#1254AB" BorderThickness="2" CornerRadius="5" Margin="0,0,0,0" >
|
|
<Border.Effect>
|
|
<DropShadowEffect Color="#1254AB" Direction="270" BlurRadius="10" ShadowDepth="5" Opacity="0.5"/>
|
|
</Border.Effect>
|
|
<ItemsControl Grid.Column="0" ItemsSource="{Binding AreaB_SpaceInfo}" VerticalAlignment="Center" HorizontalAlignment="Right">
|
|
<ItemsControl.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<WrapPanel Orientation="Vertical"></WrapPanel>
|
|
</ItemsPanelTemplate>
|
|
</ItemsControl.ItemsPanel>
|
|
<ItemsControl.ItemTemplate>
|
|
<DataTemplate>
|
|
<ContentControl x:Name="ctrl" Height="{Binding ActualHeight, ElementName=areaB_outerBorder}" Margin="5,5">
|
|
<ContentControl.Style>
|
|
<Style TargetType="ContentControl">
|
|
<Setter Property="Width" Value="40" />
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate>
|
|
<StackPanel Background="#4D96E0" Height="{Binding ActualHeight, ElementName=areaB_outerBorder}" Orientation="Vertical">
|
|
-->
|
|
<!--<Label Content="{Binding SpaceName}" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>-->
|
|
<!--
|
|
<Button Height="{Binding ActualHeight, ElementName=areaB_outerBorder}" Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding ObjId}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
|
<TextBlock Text="{Binding typeNameA}" Foreground="White" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="Wrap"/>
|
|
|
|
-->
|
|
<!--MaterialType-->
|
|
<!--
|
|
</Button>
|
|
</StackPanel>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding SpaceType}" Value="2">
|
|
<Setter Property="Width" Value="70" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</ContentControl.Style>
|
|
</ContentControl>
|
|
</DataTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
</ItemsControl>
|
|
</Border>
|
|
</Grid>
|
|
</Border>-->
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</UserControl>
|