查看工艺、物料、SOP
parent
20f8cbb815
commit
5496895696
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,73 @@
|
||||
<Window x:Class="XGL.Views.FlowInfoWin"
|
||||
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:XGL.Views"
|
||||
mc:Ignorable="d"
|
||||
Title="FlowInfoWin" Height="450" Width="800" Loaded="Window_Loaded" WindowStartupLocation="CenterScreen" WindowStyle="None">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Width="175"
|
||||
Height="37"
|
||||
Margin="25,20,0,25"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center">
|
||||
<TextBlock
|
||||
FontSize="22"
|
||||
FontWeight="Bold"
|
||||
Text="工艺路线" />
|
||||
</Label>
|
||||
|
||||
<Button
|
||||
Grid.Row="0"
|
||||
Width="90"
|
||||
Height="44"
|
||||
Margin="0,20,25,25"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
Background="#2B7EE6"
|
||||
Click="Back_Click" Content="关闭" FontSize="20"
|
||||
Foreground="White"> </Button>
|
||||
|
||||
<DataGrid x:Name="dgFlow"
|
||||
Grid.Row="1"
|
||||
AutoGenerateColumns="False"
|
||||
CanUserAddRows="False"
|
||||
IsReadOnly='True'
|
||||
FontSize="16"
|
||||
LoadingRow="dgFlow_LoadingRow" HeadersVisibility="Column">
|
||||
<DataGrid.ColumnHeaderStyle>
|
||||
<Style TargetType="DataGridColumnHeader">
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
<Setter Property="Height" Value="48" />
|
||||
<Setter Property="FontSize" Value="18" />
|
||||
<Setter Property="Foreground" Value="White" />
|
||||
<Setter Property="Background" Value="#2B7EE6" />
|
||||
|
||||
</Style>
|
||||
</DataGrid.ColumnHeaderStyle>
|
||||
<DataGrid.Columns>
|
||||
<DataGridTemplateColumn Header=" 序号" Width="80" MinWidth="10" IsReadOnly="True">
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type DataGridRow}}, Path=Header}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock>
|
||||
</DataTemplate>
|
||||
</DataGridTemplateColumn.CellTemplate>
|
||||
</DataGridTemplateColumn>
|
||||
<DataGridTextColumn Width="2*" Header="工序编码" Binding="{Binding process_code}"/>
|
||||
<DataGridTextColumn Width="2*" Header="工序名称" Binding="{Binding process_name}"/>
|
||||
<DataGridTextColumn Width="2*" Header="下一工序编码" Binding="{Binding next_process_code}"/>
|
||||
<DataGridTextColumn Width="2*" Header="下一工序名称" Binding="{Binding next_process_name}"/>
|
||||
<DataGridTextColumn Width="2*" Header="物料编码" Binding="{Binding product_code}"/>
|
||||
<DataGridTextColumn Width="2*" Header="物料名称" Binding="{Binding product_name}"/>
|
||||
<DataGridTextColumn Width="2*" Header="工单" Binding="{Binding workorder_code}"/>
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</Grid>
|
||||
</Window>
|
||||
@ -0,0 +1,51 @@
|
||||
<Window x:Class="XGL.Views.SopInfoWin"
|
||||
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:XGL.Views"
|
||||
xmlns:pdf="clr-namespace:PdfiumViewer;assembly=PdfiumViewer"
|
||||
mc:Ignorable="d"
|
||||
Title="FlowInfoWin" Height="450" Width="800" Loaded="Window_Loaded" WindowStartupLocation="CenterScreen" WindowStyle="None">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Width="175"
|
||||
Height="37"
|
||||
Margin="25,20,0,25"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center">
|
||||
<TextBlock
|
||||
FontSize="22"
|
||||
FontWeight="Bold"
|
||||
Text="SOP" />
|
||||
</Label>
|
||||
|
||||
<Button
|
||||
Grid.Row="0"
|
||||
Width="90"
|
||||
Height="44"
|
||||
Margin="0,20,25,25"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
Background="#2B7EE6"
|
||||
Click="Back_Click" Content="关闭" FontSize="20"
|
||||
Foreground="White"> </Button>
|
||||
<StackPanel Grid.Row="1">
|
||||
<WindowsFormsHost Name="windowsFormsHost" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Visibility="Hidden"/>
|
||||
</StackPanel>
|
||||
<ContentControl
|
||||
x:Name="Window2"
|
||||
Grid.Row="1"
|
||||
VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
||||
>
|
||||
<pdf:PdfViewer x:Name="pdfViewer" Visible="False" />
|
||||
|
||||
</ContentControl>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
<ProjectView>ProjectFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue