修改一下

This commit is contained in:
zhangzhuo 2025-03-17 02:04:27 +08:00
parent 56429cdf7d
commit 886a385ddf

View File

@ -141,7 +141,7 @@
</materialDesign:Card>
<StackPanel Grid.Row="1" Orientation="Horizontal">
<GroupBox
Width="300"
Width="450"
Margin="16"
FontSize="22"
materialDesign:ElevationAssist.Elevation="Dp6"
@ -162,20 +162,24 @@
<TextBlock VerticalAlignment="Center" Margin="10"
Foreground="White" Grid.Row="0" Text="品类:" />
<ComboBox x:Name="VarietyComboBox" Grid.Column="1" Margin="10" Grid.Row="0"
Foreground="White"
ItemsSource="{Binding ViewModel.Varieties}"
SelectedItem="{Binding ViewModel.SelectedVariety, Mode=TwoWay}"
DisplayMemberPath="Name" />
<TextBlock VerticalAlignment="Center" Margin="10"
Foreground="White" Grid.Row="1" Grid.Column="0" Text="纱车类型:" />
<ComboBox x:Name="YarnCarTypeComboBox" Grid.Column="1" Margin="10" Grid.Row="1" IsEnabled="False"
<ComboBox x:Name="YarnCarTypeComboBox" Grid.Column="1" Margin="10" Grid.Row="1"
Foreground="White"
ItemsSource="{Binding ViewModel.YarnCarTypes}" />
<TextBlock VerticalAlignment="Center" Margin="10"
Foreground="White" Grid.Row="2" Grid.Column="0" Text="码垛层数:" />
<TextBox Grid.Column="1" Margin="10" Grid.Row="2" IsEnabled="False"
Foreground="White"
Text="{Binding ViewModel.SelectedVariety.StackingLayers}" />
<TextBlock VerticalAlignment="Center" Margin="10"
Foreground="White" Grid.Row="3" Grid.Column="0" Text="总数:" />
<TextBox Grid.Column="1" Margin="10" Grid.Row="3" IsEnabled="False"
Foreground="White"
Text="{Binding ViewModel.SelectedVariety.TotalCount}" />
<Button x:Name="ChangeVarietyButton"
materialDesign:ButtonProgressAssist.IsIndeterminate="True"