DistributeBallotDetailView.xaml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <Window x:Class="Muchinfo.MTPClient.Sale.Views.DistributeBallotDetailView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:ignore="http://www.galasoft.ch/ignore"
  7. mc:Ignorable="d ignore"
  8. xmlns:resource="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Client.Resources"
  9. x:Name="DistributeBallotDetailViewWindow"
  10. Title="{x:Static resource:Client_Resource.DistributeBallotDetailViewWindow}"
  11. Width="580"
  12. SizeToContent="Height"
  13. MouseLeftButtonDown="drag_MouseLeftButtonDown"
  14. ShowInTaskbar="False"
  15. Style="{DynamicResource DialogWindowStyle}"
  16. WindowStartupLocation="CenterOwner">
  17. <Window.Resources>
  18. <Style TargetType="{x:Type Run}">
  19. <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Mode=Self},Path=Text}" />
  20. </Style>
  21. </Window.Resources>
  22. <Grid>
  23. <Grid.RowDefinitions>
  24. <RowDefinition Height="10"></RowDefinition>
  25. <RowDefinition></RowDefinition>
  26. <RowDefinition></RowDefinition>
  27. <RowDefinition></RowDefinition>
  28. <RowDefinition></RowDefinition>
  29. <RowDefinition></RowDefinition>
  30. <RowDefinition></RowDefinition>
  31. <RowDefinition></RowDefinition>
  32. <RowDefinition Height="10"></RowDefinition>
  33. </Grid.RowDefinitions>
  34. <Grid.ColumnDefinitions>
  35. <ColumnDefinition Width="20"></ColumnDefinition>
  36. <ColumnDefinition></ColumnDefinition>
  37. <ColumnDefinition></ColumnDefinition>
  38. <ColumnDefinition></ColumnDefinition>
  39. <ColumnDefinition Width="20"></ColumnDefinition>
  40. </Grid.ColumnDefinitions>
  41. <StackPanel Grid.Row="1"
  42. Grid.Column="1"
  43. Grid.ColumnSpan="3"
  44. Height="25"
  45. Background="{DynamicResource AcountGridHeadBackground}"
  46. Orientation="Horizontal">
  47. <TextBlock Width="550"
  48. VerticalAlignment="Center"
  49. Foreground="{DynamicResource AcountGridHeadForeground}"
  50. TextAlignment="Center">
  51. <!--委托单号-->
  52. <Run Text="{x:Static resource:Client_Resource.Report_Complete_Entrustid}" />
  53. <Run Text=":"></Run>
  54. <Run Text="{Binding CurrentDistributeBallotItem.OrderId,Mode=OneWay}" />
  55. <Run Text=" " />
  56. <!-- 商品/代码 -->
  57. <Run Text="{x:Static resource:Client_Resource.Content_Goods_Code}"></Run>
  58. <Run Text=":"></Run>
  59. <Run Text="{Binding CurrentDistributeBallotItem.GoodsName,Mode=OneWay}"></Run>
  60. <Run Text="/"></Run>
  61. <Run Text="{Binding CurrentDistributeBallotItem.GoodsCode,Mode=OneWay}"></Run>
  62. <Run Text=" " />
  63. <!--状态
  64. <Run Text="{x:Static resource:Client_Resource.Moduel_Status}" />
  65. <Run Text=":"></Run>
  66. <Run Foreground="{StaticResource TextBrush_Common}" Text="{Binding CurrentDistributeBallotItem.HoldStatusDisplay,Mode=OneWay}" />-->
  67. </TextBlock>
  68. </StackPanel>
  69. <WrapPanel Grid.Row="2" Grid.RowSpan="5" Margin="0,11,0,0" Grid.Column="1" Grid.ColumnSpan="3">
  70. <!-- 买入/卖出
  71. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  72. <Run Text="{x:Static resource:Client_Resource.Trade_Xaml_OrderDir_Title}"></Run>
  73. <Run Text=":"></Run>
  74. <Run Text="{Binding CurrentDistributeBallotItem.StrOpenDirection,Mode=OneWay}"></Run>
  75. </TextBlock> -->
  76. <!-- 委托数量 -->
  77. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  78. <Run Text="{x:Static resource:Client_Resource.Content_Lot}"></Run>
  79. <Run Text=":"></Run>
  80. <Run Text="{Binding CurrentDistributeBallotItem.OrderQty,Mode=OneWay}"></Run>
  81. </TextBlock>
  82. <!-- 起始配号 -->
  83. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  84. <Run Text="{x:Static resource:Client_Resource.Content_DistributionsNo}"></Run>
  85. <Run Text=":"></Run>
  86. <Run Text="{Binding CurrentDistributeBallotItem.DistributestartNo,Mode=OneWay}"></Run>
  87. </TextBlock>
  88. <!-- 配号数量 -->
  89. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  90. <Run Text="{x:Static resource:Client_Resource.Content_DistributionNums}"></Run>
  91. <Run Text=":"></Run>
  92. <Run Text="{Binding CurrentDistributeBallotItem.DistributeCount,Mode=OneWay}"></Run>
  93. </TextBlock>
  94. <!--中签尾号-->
  95. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  96. <Run Text="{x:Static resource:Client_Resource.Content_WinTailNo}"></Run>
  97. <Run Text=":"></Run>
  98. <Run Text="{Binding CurrentDistributeBallotItem.WinTailNODisplay,Mode=OneWay}"></Run>
  99. </TextBlock>
  100. <!--中签数量-->
  101. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  102. <Run Text="{x:Static resource:Client_Resource.Content_WinNums}"></Run>
  103. <Run Text=":"></Run>
  104. <Run Text="{Binding CurrentDistributeBallotItem.publicissuetradeqtyDisplay,Mode=OneWay}"></Run>
  105. </TextBlock>
  106. <!--委托时间-->
  107. <TextBlock TextTrimming="CharacterEllipsis" MinWidth="160" Height="35" VerticalAlignment="Center">
  108. <Run Text="{x:Static resource:Client_Resource.Content_DisplayOpentime}" />
  109. <Run Text=":"></Run>
  110. <Run Text="{Binding CurrentDistributeBallotItem.OrderTimeDisplay,Mode=OneWay}" />
  111. </TextBlock>
  112. <!--摇号时间-->
  113. <TextBlock TextTrimming="CharacterEllipsis" MinWidth="160" Height="35" VerticalAlignment="Center">
  114. <Run Text="{x:Static resource:Client_Resource.Sale_LotteryDate}" />
  115. <Run Text=":"></Run>
  116. <Run Text="{Binding CurrentDistributeBallotItem.LotteryDateDisplay,Mode=OneWay}" />
  117. </TextBlock>
  118. </WrapPanel>
  119. <StackPanel Grid.Row="7"
  120. Grid.ColumnSpan="8"
  121. Margin="0,10"
  122. HorizontalAlignment="Center"
  123. VerticalAlignment="Center"
  124. Orientation="Horizontal">
  125. <Button Width="82"
  126. Height="26"
  127. Command="{Binding CancelCommand}"
  128. CommandParameter="{Binding ElementName=DistributeBallotDetailViewWindow}"
  129. Content="{x:Static resource:Client_Resource.Button_Close}"
  130. Style="{DynamicResource CommonButtonStyle}" />
  131. </StackPanel>
  132. </Grid>
  133. </Window>