DeliveryEntructOrderDetail.xaml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <Window x:Class="Muchinfo.MTPClient.Delivery.Views.DeliveryEntructOrderDetail"
  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. xmlns:dataGrid="clr-namespace:Muchinfo.WPF.Controls.DataGrid;assembly=Client.WPF.Controls"
  8. xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
  9. xmlns:resource="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Client.Resources"
  10. x:Name="DeliveryEntructOrderDetailWindow"
  11. Title="{x:Static resource:Client_Resource.DeliveryEntructOrderDetailWindow}"
  12. Width="580"
  13. SizeToContent="Height"
  14. MouseLeftButtonDown="drag_MouseLeftButtonDown"
  15. ShowInTaskbar="False"
  16. Style="{DynamicResource DialogWindowStyle}"
  17. WindowStartupLocation="CenterOwner"
  18. mc:Ignorable="d ignore">
  19. <Window.Resources>
  20. <Style TargetType="{x:Type Run}">
  21. <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Mode=Self},Path=Text}" />
  22. </Style>
  23. </Window.Resources>
  24. <Grid>
  25. <Grid.RowDefinitions>
  26. <RowDefinition Height="10"></RowDefinition>
  27. <RowDefinition></RowDefinition>
  28. <RowDefinition></RowDefinition>
  29. <RowDefinition></RowDefinition>
  30. <RowDefinition></RowDefinition>
  31. <RowDefinition></RowDefinition>
  32. <RowDefinition></RowDefinition>
  33. <RowDefinition></RowDefinition>
  34. <RowDefinition></RowDefinition>
  35. <RowDefinition></RowDefinition>
  36. <RowDefinition></RowDefinition>
  37. <RowDefinition Height="10"></RowDefinition>
  38. </Grid.RowDefinitions>
  39. <Grid.ColumnDefinitions>
  40. <ColumnDefinition Width="20"></ColumnDefinition>
  41. <ColumnDefinition></ColumnDefinition>
  42. <ColumnDefinition></ColumnDefinition>
  43. <ColumnDefinition></ColumnDefinition>
  44. <ColumnDefinition Width="20"></ColumnDefinition>
  45. </Grid.ColumnDefinitions>
  46. <StackPanel Grid.Row="1"
  47. Grid.Column="1"
  48. Grid.ColumnSpan="3"
  49. Height="25"
  50. Background="{DynamicResource AcountGridHeadBackground}"
  51. Orientation="Horizontal">
  52. <TextBlock Width="550" TextTrimming="CharacterEllipsis"
  53. VerticalAlignment="Center"
  54. Foreground="{DynamicResource AcountGridHeadForeground}"
  55. TextAlignment="Center">
  56. <Run Text="{x:Static resource:Client_Resource.Delivery_OrderNumber}" />
  57. <Run Text=":"></Run>
  58. <Run Text="{Binding CurrentDeliveryEntrustOrder.DeliveryOrderId,Mode=OneWay}" />
  59. <Run Text=" " />
  60. <Run Text="{x:Static resource:Client_Resource.Delivery_OrderTime}" />
  61. <Run Text=":"></Run>
  62. <Run Text="{Binding CurrentDeliveryEntrustOrder.OrderTimeDisplay,Mode=OneWay}" />
  63. <Run Text=" " />
  64. <Run Text="{x:Static resource:Client_Resource.Moduel_Status}" />
  65. <Run Text=":"></Run>
  66. <Run Foreground="{StaticResource TextBrush_Common}" Text="{Binding CurrentDeliveryEntrustOrder.OrderStatusDisplay,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.DeliveryOrderView_TradeGoods}"></Run>
  73. <Run Text=":"></Run>
  74. <Run Text="{Binding CurrentDeliveryEntrustOrder.GOODSNAME,Mode=OneWay}"></Run>
  75. </TextBlock>
  76. <!--方向-->
  77. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  78. <Run Text="{x:Static resource:Client_Resource.Moduel_Direction}"></Run>
  79. <Run Text=":"></Run>
  80. <Run Text="{Binding CurrentDeliveryEntrustOrder.StrDirection,Mode=OneWay}"></Run>
  81. </TextBlock>
  82. <!--申报价格-->
  83. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  84. <Run Text="{x:Static resource:Client_Resource.Delivery_OrderPrice}"></Run>
  85. <Run Text=":"></Run>
  86. <Run Text="{Binding CurrentDeliveryEntrustOrder.OrderPriceDisplay,Mode=OneWay}"></Run>
  87. </TextBlock>
  88. <!--关联商品-->
  89. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  90. <Run Text="{x:Static resource:Client_Resource.Delivery_RGOODSNAME}"></Run>
  91. <Run Text=":"></Run>
  92. <Run Text="{Binding CurrentDeliveryEntrustOrder.RGOODSNAMEDisplay,Mode=OneWay}"></Run>
  93. </TextBlock>
  94. <!--关联商品价格-->
  95. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  96. <Run Text="{x:Static resource:Client_Resource.Delivery_relOrderPrice}"></Run>
  97. <Run Text=":"></Run>
  98. <Run Text="{Binding CurrentDeliveryEntrustOrder.relOrderPriceDisplay,Mode=OneWay}"></Run>
  99. </TextBlock>
  100. <!--交割商品-->
  101. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  102. <Run Text="{x:Static resource:Client_Resource.DeliveryOrderView_DeliveryGoods}"></Run>
  103. <Run Text=":"></Run>
  104. <Run Text="{Binding CurrentDeliveryEntrustOrder.DeliveryGoodsNameDisplay,Mode=OneWay}"></Run>
  105. </TextBlock>
  106. <!--申报手数-->
  107. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  108. <Run Text="{x:Static resource:Client_Resource.Delivery_OrderQty}"></Run>
  109. <Run Text=":"></Run>
  110. <Run Text="{Binding CurrentDeliveryEntrustOrder.OrderQty,Mode=OneWay}"></Run>
  111. </TextBlock>
  112. <!--交割数量-->
  113. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  114. <Run Text="{x:Static resource:Client_Resource.Delivery_holderQty}"></Run>
  115. <Run Text=":"></Run>
  116. <Run Text="{Binding CurrentDeliveryEntrustOrder.AgreeUintQtyDisplay,Mode=OneWay}"></Run>
  117. </TextBlock>
  118. <!--成交手数-->
  119. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  120. <Run Text="{x:Static resource:Client_Resource.Delivery_DealQtyDisplay}"></Run>
  121. <Run Text=":"></Run>
  122. <Run Text="{Binding CurrentDeliveryEntrustOrder.DealQtyDisplay,Mode=OneWay}"></Run>
  123. </TextBlock>
  124. <!--成交交割手数-->
  125. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  126. <Run Text="{x:Static resource:Client_Resource.Delivery_DealDeliveryQtyDisplay}"></Run>
  127. <Run Text=":"></Run>
  128. <Run Text="{Binding CurrentDeliveryEntrustOrder.DealDeliveryQtyDisplay,Mode=OneWay}"></Run>
  129. </TextBlock>
  130. <!--交易货款-->
  131. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  132. <Run Text="{x:Static resource:Client_Resource.Delivery_ORDERAMOUNT}"></Run>
  133. <Run Text=":"></Run>
  134. <Run Text="{Binding CurrentDeliveryEntrustOrder.OrderAmountDisplay,Mode=OneWay}"></Run>
  135. </TextBlock>
  136. <!--差价款-->
  137. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  138. <Run Text="{x:Static resource:Client_Resource.Content_PriceMoveAmount}"></Run>
  139. <Run Text=":"></Run>
  140. <Run Text="{Binding CurrentDeliveryEntrustOrder.PriceMoveAmountDisplay,Mode=OneWay}"></Run>
  141. </TextBlock>
  142. <!--手续费-->
  143. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  144. <Run Text="{x:Static resource:Client_Resource.Content_DeliveryCharge}"></Run>
  145. <Run Text=":"></Run>
  146. <Run Text="{Binding CurrentDeliveryEntrustOrder.DeliveryCharge,Mode=OneWay}"></Run>
  147. </TextBlock>
  148. <!--税款-->
  149. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  150. <Run Text="{x:Static resource:Client_Resource.Content_FreezeTax}"></Run>
  151. <Run Text=":"></Run>
  152. <Run Text="{Binding CurrentDeliveryEntrustOrder.FreezeTaxDisplay,Mode=OneWay}"></Run>
  153. </TextBlock>
  154. <!--冻结资金-->
  155. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  156. <Run Text="{x:Static resource:Client_Resource.Delivery_FreezonAmount}"></Run>
  157. <Run Text=":"></Run>
  158. <Run Text="{Binding CurrentDeliveryEntrustOrder.FreezeAmountDisplay,Mode=OneWay}"></Run>
  159. </TextBlock>
  160. <!--备注-->
  161. <TextBlock TextTrimming="CharacterEllipsis" Width="160" Height="35" VerticalAlignment="Center">
  162. <Run Text="{x:Static resource:Client_Resource.Delivery_AuditRemark}"></Run>
  163. <Run Text=":"></Run>
  164. <Run Text="{Binding CurrentDeliveryEntrustOrder.AuditRemarkDisplay,Mode=OneWay}"></Run>
  165. </TextBlock>
  166. </WrapPanel>
  167. <StackPanel Grid.Row="7"
  168. Grid.RowSpan="3"
  169. Grid.Column="1"
  170. Grid.ColumnSpan="3"
  171. VerticalAlignment="Top"
  172. Background="{DynamicResource AcountGridHeadBackground}">
  173. <!--收货人-->
  174. <TextBlock Margin="10,20,0,0" Foreground="{DynamicResource AcountGridHeadForeground}">
  175. <Run Text="{x:Static resource:Client_Resource.TakaDeliveryGoodsApplyViewModel_RecievePerson}" />
  176. <Run Text=":"></Run>
  177. <Run Text="{Binding CurrentDeliveryEntrustOrder.PersonName,Mode=OneWay}" />
  178. </TextBlock>
  179. <!--联系方式-->
  180. <TextBlock Margin="10,20,0,0" Foreground="{DynamicResource AcountGridHeadForeground}">
  181. <Run Text="{x:Static resource:Client_Resource.TakaDeliveryGoodsApplyViewModel_PhoneNum}" />
  182. <Run Text=":"></Run>
  183. <Run Text="{Binding CurrentDeliveryEntrustOrder.Telphone,Mode=OneWay}" />
  184. </TextBlock>
  185. <!--收货地址-->
  186. <TextBlock Margin="10,20,0,20"
  187. Foreground="{DynamicResource AcountGridHeadForeground}"
  188. TextWrapping="Wrap">
  189. <Run Text="{x:Static resource:Client_Resource.TakaDeliveryGoodsApplyViewModel_RecieveAddress}" />
  190. <Run Text=":"></Run>
  191. <Run Text="{Binding CurrentDeliveryEntrustOrder.Address,Mode=OneWay}" />
  192. </TextBlock>
  193. </StackPanel>
  194. <StackPanel Grid.Row="10"
  195. Grid.ColumnSpan="8"
  196. Margin="0,10"
  197. HorizontalAlignment="Center"
  198. VerticalAlignment="Center"
  199. Orientation="Horizontal">
  200. <Button Width="82"
  201. Height="26"
  202. Command="{Binding CancelCommand}"
  203. CommandParameter="{Binding ElementName=DeliveryEntructOrderDetailWindow}"
  204. Content="{x:Static resource:Client_Resource.Button_Close}"
  205. Style="{DynamicResource CommonButtonStyle}" />
  206. </StackPanel>
  207. </Grid>
  208. </Window>