|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
xmlns:local="clr-namespace:Aucma.Core.Palletiz.Views"
|
|
|
|
|
mc:Ignorable="d" Background="#1152AC"
|
|
|
|
|
Title="下达数量" Height="500" Width="700" Name="window"
|
|
|
|
|
Title="库存设置" Height="500" Width="700" Name="window"
|
|
|
|
|
ResizeMode="NoResize" Topmost="True">
|
|
|
|
|
|
|
|
|
|
<Border Margin="5" BorderBrush="#0288d1" CornerRadius="10">
|
|
|
|
@ -30,11 +30,11 @@
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
|
<TextBlock Text="计划编号" FontSize="18" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="SN 码 " FontSize="18" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBox x:Name="planCode" FontSize="18" Text="{Binding PlanInfo.PlanCode}" Foreground="#FFFFFF" BorderBrush="White" Width="150" IsReadOnly="True" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
|
<TextBlock Text="工单编号" FontSize="18" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="产品编号" FontSize="18" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBox x:Name="orderCode" FontSize="18" Text="{Binding PlanInfo.OrderCode}" Foreground="#FFFFFF" BorderBrush="White" Width="150" IsReadOnly="True" Margin="5,0,10,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
@ -42,14 +42,19 @@
|
|
|
|
|
<TextBox x:Name="materialCode" FontSize="18" Text="{Binding PlanInfo.MaterialName}" Foreground="#FFFFFF" BorderBrush="White" Width="150" IsReadOnly="True" Margin="5,0,10,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
|
<TextBlock Text="计划数量" FontSize="18" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBox FontSize="18" Text="{Binding PlanInfo.PlanAmount}" Foreground="#FFFFFF" BorderBrush="White" Width="150" IsReadOnly="True" Margin="5,0,10,0"/>
|
|
|
|
|
<TextBlock Text="多货道" FontSize="18" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<ComboBox Width="150" Height="30" Margin="10 0 0 0"
|
|
|
|
|
|
|
|
|
|
Style="{x:Null}" Background="#1152AC" VerticalAlignment="Center" FontSize="15"
|
|
|
|
|
SelectedItem="{Binding SelectLocation,Mode=TwoWay}"
|
|
|
|
|
SelectedValuePath="SelectedModel"
|
|
|
|
|
DisplayMemberPath="TypeName"
|
|
|
|
|
SelectedValue="{Binding SelectLocation,Mode=TwoWay}">
|
|
|
|
|
<ComboBoxItem Content="是" IsSelected="True"/>
|
|
|
|
|
<ComboBoxItem Content="否" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
|
<TextBlock Text="完成数量" FontSize="18" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBox FontSize="18" Text="{Binding PlanInfo.CompleteAmount}" Foreground="#FFFFFF" BorderBrush="White" Width="150" IsReadOnly="True" Margin="5,0,10,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
@ -61,7 +66,7 @@
|
|
|
|
|
<RowDefinition Height="2*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
|
<TextBlock Text="下达数量" FontSize="18" Foreground="#FFFFFF" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="转向角度" FontSize="18" Foreground="#FFFFFF" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBox x:Name="TransmitAmount" VerticalContentAlignment="Center" FontSize="18" Text="{Binding TransmitAmount}" Foreground="#FFFFFF" BorderBrush="White" Width="150" Height="40" IsReadOnly="True" Margin="5,0,10,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
@ -95,7 +100,7 @@
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
|
<Button Content="下 达" Command="{Binding AddPlanInfoCommand}" Height="50" Width="140" />
|
|
|
|
|
<Button Content="确 定" Command="{Binding AddPlanInfoCommand}" Height="50" Width="140" />
|
|
|
|
|
<Button Content="取 消" Command="{Binding CloseWindowCommand}" CommandParameter="{Binding ElementName=window}" Background="#FF9900" Margin="25,0,0,0" Height="50" BorderBrush="#FF9900" Width="140" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|