|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
</Border>
|
|
|
|
|
<Button x:Name="btn1" Content="入库记录" HorizontalAlignment="Left" Margin="37,13,0,0" Grid.Row="1" VerticalAlignment="Top" RenderTransformOrigin="0.204,0.551" Background="#FF1752E1" Click="btn1_Click" />
|
|
|
|
|
<Button x:Name="btn2" Content="入库统计" HorizontalAlignment="Left" Margin="135,13,0,0" Grid.Row="1" VerticalAlignment="Top" RenderTransformOrigin="0.204,0.551" Background="#FF384E83" Click="btn2_Click" />
|
|
|
|
|
<Border x:Name="border1" Grid.Row="1" Visibility="Visible" BorderBrush="#0288d1" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="1,50,5,5">
|
|
|
|
|
<Border x:Name="border1" Grid.Row="1" Visibility="Visible" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="5" Background="Transparent" Margin="1,50,5,5">
|
|
|
|
|
<Grid Margin="10,5">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
@ -95,6 +95,19 @@
|
|
|
|
|
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Auto" BorderThickness="0" CanUserAddRows="False" SelectionMode="Single" IsReadOnly="True"
|
|
|
|
|
Foreground="Gray" >
|
|
|
|
|
<!-- 表头剧中-->
|
|
|
|
|
<DataGrid.ColumnHeaderStyle>
|
|
|
|
|
<Style TargetType="DataGridColumnHeader">
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Center">
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
</DataGrid.ColumnHeaderStyle>
|
|
|
|
|
<DataGrid.CellStyle>
|
|
|
|
|
|
|
|
|
|
<Style TargetType="DataGridCell">
|
|
|
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
|
|
|
</Style>
|
|
|
|
|
</DataGrid.CellStyle>
|
|
|
|
|
<!--表头剧中-->
|
|
|
|
|
<!--<DataGrid.ColumnHeaderStyle>
|
|
|
|
|
<Style TargetType="DataGridColumnHeader">
|
|
|
|
@ -106,23 +119,21 @@
|
|
|
|
|
<!--修改选中字体颜色-->
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
<DataGridTextColumn Binding="{Binding No}" Header="序号" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding ProductPlanCode}" Header="计划编号" Width="1*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding MaterialCode}" Header="物料编号" Width="1*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding MaterialName}" Header="物料名称" Width="3*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding PlanAmount}" Header="计划数量" Width="*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding CompleteAmount}" Header="完成数量" Width="*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding ProductPlanCode}" Header="订单号" Width="1*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding MaterialCode}" Header="物料条码" Width="3*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding MaterialName}" Header="物料型号" Width="3*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding PlanAmount}" Header="物料编码" Width="3*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding CompleteAmount}" Header="扫描时间" Width="2*" />
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
</DataGrid>
|
|
|
|
|
|
|
|
|
|
</UniformGrid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border x:Name="border2" Grid.Row="1" Visibility="Collapsed" BorderBrush="#0288d1" Background="Transparent" BorderThickness="0" CornerRadius="5" Margin="6,50,0,5">
|
|
|
|
|
<Border x:Name="border2" Grid.Row="1" Visibility="Collapsed" BorderBrush="#0288d1" Background="Transparent" BorderThickness="1" CornerRadius="5" Margin="6,50,0,5">
|
|
|
|
|
<Grid Margin="10,5">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<!--<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="8*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
</Grid.RowDefinitions>-->
|
|
|
|
|
|
|
|
|
|
<UniformGrid Grid.Row="1">
|
|
|
|
|
<DataGrid Grid.Row="0" ItemsSource="{Binding MaterialDataGrid}" Background="#00000000"
|
|
|
|
@ -131,14 +142,26 @@
|
|
|
|
|
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Auto" BorderThickness="0" CanUserAddRows="False" SelectionMode="Single" IsReadOnly="True"
|
|
|
|
|
Foreground="Gray" >
|
|
|
|
|
|
|
|
|
|
<!-- 表头剧中-->
|
|
|
|
|
<DataGrid.ColumnHeaderStyle>
|
|
|
|
|
<Style TargetType="DataGridColumnHeader">
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Center">
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
</DataGrid.ColumnHeaderStyle>
|
|
|
|
|
<DataGrid.CellStyle>
|
|
|
|
|
|
|
|
|
|
<Style TargetType="DataGridCell">
|
|
|
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
|
|
|
</Style>
|
|
|
|
|
</DataGrid.CellStyle>
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
<DataGridTextColumn Binding="{Binding No}" Header="2序号" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding ProductPlanCode}" Header="2计划编号" Width="1*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding MaterialCode}" Header="2物料编号" Width="1*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding MaterialName}" Header="2物料名称" Width="3*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding PlanAmount}" Header="2计划数量" Width="*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding CompleteAmount}" Header="2完成数量" Width="*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding No}" Header="序号" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding ProductPlanCode}" Header="库" Width="1*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding MaterialCode}" Header="物料条码" Width="3*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding MaterialName}" Header="物料型号" Width="3*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding PlanAmount}" Header="数量" Width="*" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding CompleteAmount}" Header="入库时间" Width="2*" />
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
</DataGrid>
|
|
|
|
|
|
|
|
|
|