|
|
|
@ -153,15 +153,23 @@
|
|
|
|
|
<ContentControl x:Name="ctrl" Width="{Binding ActualWidth, ElementName=areaA_outerBorder}" Margin="5,5">
|
|
|
|
|
<ContentControl.Style>
|
|
|
|
|
<Style TargetType="ContentControl">
|
|
|
|
|
<Setter Property="Height" Value="40" />
|
|
|
|
|
<Setter Property="Height" Value="35" />
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate>
|
|
|
|
|
<Border Background="#4D96E0" >
|
|
|
|
|
<!--<Label Content="{Binding SpaceName}" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>-->
|
|
|
|
|
<Button 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" />
|
|
|
|
|
<Button Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding ObjId}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="2*"/>
|
|
|
|
|
<ColumnDefinition Width="7*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock Grid.Column="0" Text="{Binding SpaceCode}" Foreground="White" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
|
|
|
|
|
<TextBlock Grid.Column="1" Text="{Binding typeNameA}" Foreground="White" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="50 0 0 0" />
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</Button>
|
|
|
|
|
</Border>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
@ -169,7 +177,7 @@
|
|
|
|
|
</Setter>
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding SpaceType}" Value="2">
|
|
|
|
|
<Setter Property="Height" Value="70" />
|
|
|
|
|
<Setter Property="Height" Value="60" />
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
@ -221,15 +229,15 @@
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="6*"/>
|
|
|
|
|
<ColumnDefinition Width="4*"/>
|
|
|
|
|
<!--<ColumnDefinition Width="4*"/>-->
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<DataGrid Grid.Column="0" Name="DG" ItemsSource="{Binding InstoreTask}" Background="Transparent"
|
|
|
|
|
<!--<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行修改选中字体颜色-->
|
|
|
|
|
--><!--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}"/>
|
|
|
|
@ -238,9 +246,12 @@
|
|
|
|
|
<DataGridTextColumn Binding="{Binding createTime,StringFormat=\{0:MM月dd日 HH:mm\}}" Header="扫描时间" Width="2*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
|
|
|
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
</DataGrid>
|
|
|
|
|
</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 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>
|
|
|
|
@ -254,12 +265,12 @@
|
|
|
|
|
<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>
|
|
|
|
|
</Border>-->
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|