终端一体化运控平台
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

58 rindas
2.1 KiB

  1. <UserControl x:Class="BPASmartClient.TourismCollege.Views.ItemStorageView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:BPASmartClient.TourismCollege.Views"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <Grid>
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="200" />
  12. <ColumnDefinition Width="1*" />
  13. </Grid.ColumnDefinitions>
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="0.3*" />
  16. <RowDefinition Height="0.7*" />
  17. </Grid.RowDefinitions>
  18. <!--#region 入库电子称状态 -->
  19. <StackPanel>
  20. <TextBlock Text="{Binding Weight,StringFormat=当前重量:{0}g}" Width="200"/>
  21. </StackPanel>
  22. <!--#endregion-->
  23. <!--#region 入库操作 -->
  24. <StackPanel Grid.Row="1" Margin="5">
  25. <TextBlock Text="入库名称:"/>
  26. <ComboBox />
  27. <Button Content="入库" Margin="0,10"/>
  28. </StackPanel>
  29. <!--#endregion-->
  30. <!--#region 辅料仓 -->
  31. <UniformGrid Columns="8" Grid.Column="1" Margin="3" Background="ForestGreen">
  32. </UniformGrid>
  33. <!--#endregion-->
  34. <!--#region 原料仓 -->
  35. <ListView Grid.Row="1" Grid.Column="1" Margin="3" BorderThickness="1" >
  36. <ListView.ItemsPanel>
  37. <ItemsPanelTemplate>
  38. <UniformGrid Columns="4" Rows="3" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  39. </ItemsPanelTemplate>
  40. </ListView.ItemsPanel>
  41. <ListView.ItemTemplate>
  42. <DataTemplate>
  43. <Border Background="Black"/>
  44. </DataTemplate>
  45. </ListView.ItemTemplate>
  46. </ListView>
  47. <!--#endregion-->
  48. </Grid>
  49. </UserControl>