DeliveryMatchView.xaml 59 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031
  1. <Window x:Class="Muchinfo.MTPClient.Delivery.Views.DeliveryMatchView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:controls="clr-namespace:Muchinfo.WPF.Controls;assembly=Client.WPF.Controls"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:dataGrid="clr-namespace:Muchinfo.WPF.Controls.DataGrid;assembly=Client.WPF.Controls"
  7. xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
  8. xmlns:cmd="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.WPF4"
  9. xmlns:ignore="http://www.galasoft.ch/ignore"
  10. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11. xmlns:resource="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Client.Resources"
  12. xmlns:tool="clr-namespace:Muchinfo.MTPClient.Infrastructure.Helpers;assembly=Client.Infrastructure"
  13. xmlns:view="clr-namespace:Muchinfo.MTPClient.Delivery.Views;assembly=Client.Delivery"
  14. xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
  15. x:Name="DeliveryMatchViewWindow"
  16. Title="{Binding Title}"
  17. Width="820"
  18. MouseLeftButtonDown="drag_MouseLeftButtonDown"
  19. ShowInTaskbar="False"
  20. SizeToContent="Height"
  21. Style="{DynamicResource DialogWindowStyle}"
  22. WindowStartupLocation="CenterOwner"
  23. mc:Ignorable="d ignore">
  24. <Window.Resources>
  25. <DataTemplate x:Key="RankDataTemplate">
  26. <TextBlock>
  27. <Run Text="{Binding Rank}" />
  28. </TextBlock>
  29. </DataTemplate>
  30. <DataTemplate x:Key="BrandDataTemplate">
  31. <TextBlock>
  32. <Run Text="{Binding Brand}" />
  33. </TextBlock>
  34. </DataTemplate>
  35. <DataTemplate x:Key="WarehouseDataTemplate">
  36. <TextBlock>
  37. <Run Text="{Binding StorePlace}" />
  38. </TextBlock>
  39. </DataTemplate>
  40. <SolidColorBrush x:Key="TextBrush_DeliveryMatchView" Color="#ff3553" />
  41. </Window.Resources>
  42. <Grid>
  43. <Grid.RowDefinitions>
  44. <RowDefinition Height="Auto" />
  45. <RowDefinition Height="Auto" />
  46. <RowDefinition Height="Auto" />
  47. </Grid.RowDefinitions>
  48. <!-- 点选仓单 -->
  49. <xctk:BusyIndicator Grid.RowSpan="1"
  50. BusyContent="{x:Static resource:Client_Resource.Content_UpdateBusy}"
  51. IsBusy="{Binding IsBusy,
  52. Mode=TwoWay}"
  53. Visibility="{Binding IsVisibility_Main}">
  54. <Grid>
  55. <Grid.RowDefinitions>
  56. <RowDefinition />
  57. <RowDefinition />
  58. <RowDefinition />
  59. <RowDefinition />
  60. <RowDefinition />
  61. <RowDefinition />
  62. <RowDefinition Height="Auto" />
  63. <RowDefinition />
  64. <RowDefinition Height="10" />
  65. </Grid.RowDefinitions>
  66. <Grid.ColumnDefinitions>
  67. <ColumnDefinition Width="20" />
  68. <ColumnDefinition />
  69. <ColumnDefinition />
  70. <ColumnDefinition />
  71. <ColumnDefinition />
  72. <ColumnDefinition Width="20" />
  73. </Grid.ColumnDefinitions>
  74. <StackPanel Grid.Row="0"
  75. Grid.Column="1"
  76. Grid.ColumnSpan="4"
  77. Height="25"
  78. Background="{DynamicResource AcountGridHeadBackground}"
  79. Orientation="Horizontal">
  80. <TextBlock Width="770"
  81. VerticalAlignment="Center"
  82. Foreground="{DynamicResource AcountGridHeadForeground}"
  83. TextAlignment="Center">
  84. <Run Text="{x:Static resource:Client_Resource.Delivery_OrderNumber}" />
  85. <Run Text="{Binding OrderNumber}" />
  86. <Run Text=" " />
  87. <Run Text="{x:Static resource:Client_Resource.NDeliveryOrderView_WarehouseGoods}" />
  88. <Run Text="{Binding GoodsName}" />
  89. <Run Text=" " />
  90. <!--
  91. <Run Text="{x:Static resource:Client_Resource.DeliveryMatchView_DeliveryCount}" />
  92. <Run Text="{Binding DeliveryCount}" />
  93. <Run Text=" " />
  94. -->
  95. <Run Text="{x:Static resource:Client_Resource.Delivery_holderQty}" />
  96. <Run Text="{Binding DiscountNum}" />
  97. <Run Text="{Binding AgreeUnitString}" />
  98. <Run Text=" " />
  99. <Run Text="{x:Static resource:Client_Resource.DeliveryMatchView_AlreadyMatchQty}" />
  100. <Run Foreground="{StaticResource TextBrush_DeliveryMatchView}" Text="{Binding AlreadyMatchQty}" />
  101. <Run Text=" " />
  102. <Run Text="{x:Static resource:Client_Resource.DeliveryMatchView_OtherCanMatchQty}" />
  103. <Run Foreground="{StaticResource TextBrush_DeliveryMatchView}" Text="{Binding OtherCanMatchQty}" />
  104. </TextBlock>
  105. </StackPanel>
  106. <StackPanel Grid.Row="1"
  107. Grid.Column="1"
  108. Grid.ColumnSpan="4"
  109. Height="25"
  110. Margin="0,10"
  111. Orientation="Horizontal">
  112. <!-- 全部仓库 -->
  113. <ComboBox Grid.Row="1"
  114. Grid.Column="1"
  115. Width="165"
  116. HorizontalAlignment="Left"
  117. VerticalAlignment="Center"
  118. ItemsSource="{Binding DeliveryWarehouseList}"
  119. SelectedItem="{Binding CurrentWarehouse,
  120. Mode=TwoWay}"
  121. Style="{DynamicResource SimpleComboBoxStyle}">
  122. <i:Interaction.Triggers>
  123. <i:EventTrigger EventName="SelectionChanged">
  124. <i:InvokeCommandAction Command="{Binding WarehouseSelectionChanged}" />
  125. </i:EventTrigger>
  126. </i:Interaction.Triggers>
  127. </ComboBox>
  128. <!-- 全部品牌 -->
  129. <ComboBox Grid.Row="1"
  130. Grid.Column="2"
  131. Width="165"
  132. Margin="10,0"
  133. HorizontalAlignment="Left"
  134. VerticalAlignment="Center"
  135. ItemsSource="{Binding DeliveryBrandList}"
  136. SelectedItem="{Binding CurrentBrand,
  137. Mode=TwoWay}"
  138. Style="{DynamicResource SimpleComboBoxStyle}">
  139. <i:Interaction.Triggers>
  140. <i:EventTrigger EventName="SelectionChanged">
  141. <i:InvokeCommandAction Command="{Binding BrandSelectionChanged}" />
  142. </i:EventTrigger>
  143. </i:Interaction.Triggers>
  144. </ComboBox>
  145. <!-- 全部等级 -->
  146. <ComboBox Grid.Row="1"
  147. Grid.Column="3"
  148. Width="165"
  149. Margin="0,0,10,0"
  150. HorizontalAlignment="Left"
  151. VerticalAlignment="Center"
  152. ItemsSource="{Binding DeliveryLevelList}"
  153. SelectedItem="{Binding CurrentLevel,
  154. Mode=TwoWay}"
  155. Style="{DynamicResource SimpleComboBoxStyle}">
  156. <i:Interaction.Triggers>
  157. <i:EventTrigger EventName="SelectionChanged">
  158. <i:InvokeCommandAction Command="{Binding RankSelectionChanged}" />
  159. </i:EventTrigger>
  160. </i:Interaction.Triggers>
  161. </ComboBox>
  162. <Button Width="82"
  163. Height="26"
  164. Command="{Binding SearchCommand}"
  165. Content="{x:Static resource:Client_Resource.Content_Query}"
  166. Style="{DynamicResource CommonButtonStyle}" />
  167. </StackPanel>
  168. <dataGrid:MuchinfoDataGrid
  169. Grid.Row="2"
  170. Grid.RowSpan="3"
  171. Grid.Column="1"
  172. Grid.ColumnSpan="4"
  173. Margin="0,10,0,0"
  174. EnableRowVirtualization="False"
  175. ItemsSource="{Binding SearchMatchOrderList}"
  176. ScrollViewer.HorizontalScrollBarVisibility="Auto"
  177. SelectedItem="{Binding CurrentSelectedItem,
  178. UpdateSourceTrigger=PropertyChanged}"
  179. Style="{DynamicResource AccountMuchinfoDataGridStyle}">
  180. <DataGrid.Columns>
  181. <!-- 选择CheckBox -->
  182. <DataGridTemplateColumn Width="Auto"
  183. MinWidth="50"
  184. Header="{x:Static resource:Client_Resource.Delivery_Choice}">
  185. <DataGridTemplateColumn.CellTemplate>
  186. <DataTemplate>
  187. <StackPanel HorizontalAlignment="Center"
  188. VerticalAlignment="Center"
  189. Orientation="Horizontal">
  190. <CheckBox x:Name="cbXh"
  191. VerticalAlignment="Center"
  192. IsChecked="{Binding IsSelected,
  193. Mode=TwoWay,
  194. UpdateSourceTrigger=PropertyChanged}"
  195. IsEnabled="{Binding IsEnabled}"
  196. Style="{DynamicResource mtpCheckBoxStyle}">
  197. <i:Interaction.Triggers>
  198. <i:EventTrigger EventName="Checked">
  199. <i:InvokeCommandAction Command="{Binding DataContext.SelectCommand, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" CommandParameter="{Binding WrCode}" />
  200. </i:EventTrigger>
  201. <i:EventTrigger EventName="Unchecked">
  202. <i:InvokeCommandAction Command="{Binding DataContext.UnSelectCommand, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" CommandParameter="{Binding WrCode}" />
  203. </i:EventTrigger>
  204. </i:Interaction.Triggers>
  205. </CheckBox>
  206. </StackPanel>
  207. </DataTemplate>
  208. </DataGridTemplateColumn.CellTemplate>
  209. </DataGridTemplateColumn>
  210. <!-- 仓单号 -->
  211. <DataGridTemplateColumn Width="Auto"
  212. MinWidth="110"
  213. Header="{x:Static resource:Client_Resource.DeliveryWarehouse_WRCode}">
  214. <DataGridTemplateColumn.CellTemplate>
  215. <DataTemplate>
  216. <StackPanel HorizontalAlignment="Center"
  217. VerticalAlignment="Center"
  218. Orientation="Horizontal">
  219. <TextBlock Cursor="Hand" Text="{Binding WrCode}">
  220. <TextBlock.Style>
  221. <Style TargetType="TextBlock">
  222. <Style.Triggers>
  223. <Trigger Property="IsMouseOver" Value="True">
  224. <Setter Property="Foreground" Value="{DynamicResource NameDefaultBrush}" />
  225. </Trigger>
  226. </Style.Triggers>
  227. </Style>
  228. </TextBlock.Style>
  229. <i:Interaction.Triggers>
  230. <i:EventTrigger EventName="MouseLeftButtonDown">
  231. <i:InvokeCommandAction Command="{Binding DataContext.WrCode_MouseLeftButtonDownCommand, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" CommandParameter="{Binding WrCode}" />
  232. </i:EventTrigger>
  233. </i:Interaction.Triggers>
  234. </TextBlock>
  235. </StackPanel>
  236. </DataTemplate>
  237. </DataGridTemplateColumn.CellTemplate>
  238. </DataGridTemplateColumn>
  239. <!-- 交割商品 -->
  240. <DataGridTextColumn Width="Auto"
  241. MinWidth="140"
  242. Binding="{Binding DeliveryGoodsName}"
  243. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  244. Header="{x:Static resource:Client_Resource.QuoteDataGrid_DeliveryGoods}"
  245. SortMemberPath="DeliveryGoodsName" />
  246. <!-- 存储仓库 -->
  247. <DataGridTextColumn Width="Auto"
  248. MinWidth="100"
  249. Binding="{Binding StorePlace}"
  250. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  251. Header="{x:Static resource:Client_Resource.DeliveryWarehouse_WareHouseId}"
  252. SortMemberPath="StorePlace" />
  253. <!-- 品牌 -->
  254. <DataGridTextColumn Width="Auto"
  255. MinWidth="70"
  256. Binding="{Binding Brand}"
  257. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  258. Header="{x:Static resource:Client_Resource.Moduel_Brand}"
  259. SortMemberPath="Brand" />
  260. <!-- 等级-品质 -->
  261. <DataGridTextColumn Width="Auto"
  262. MinWidth="60"
  263. Binding="{Binding Rank}"
  264. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  265. Header="{x:Static resource:Client_Resource.Moduel_Level}"
  266. SortMemberPath="Rank" />
  267. <!-- 升贴水 -->
  268. <DataGridTextColumn Width="Auto"
  269. MinWidth="50"
  270. Binding="{Binding DeliveryPriceMoveDisplay}"
  271. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  272. Header="{x:Static resource:Client_Resource.Moduel_PriceMove}"
  273. SortMemberPath="DeliveryPriceMoveDisplay" />
  274. <!-- 数量 -->
  275. <DataGridTextColumn Width="Auto"
  276. MinWidth="80"
  277. Binding="{Binding EnableQty}"
  278. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  279. Header="{x:Static resource:Client_Resource.Content_LotNum}"
  280. SortMemberPath="EnableQty" />
  281. <!--
  282. 单位
  283. <DataGridTextColumn Width="Auto"
  284. MinWidth="60"
  285. Binding="{Binding GoodsUnitIdDisplay}"
  286. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  287. Header="{x:Static resource:Client_Resource.Moduel_Unit}"
  288. SortMemberPath="GoodsUnitIdDisplay" />
  289. -->
  290. <!--
  291. 手续费
  292. <DataGridTextColumn Width="Auto"
  293. MinWidth="80"
  294. Binding="{Binding DeliveryCharge}"
  295. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  296. Header="{x:Static resource:Client_Resource.Moduel_CounterFee}" />
  297. -->
  298. <!-- 选择数量 -->
  299. <DataGridTemplateColumn Width="Auto"
  300. MinWidth="50"
  301. Header="{x:Static resource:Client_Resource.Delivery_ChoiceNum}">
  302. <DataGridTemplateColumn.CellTemplate>
  303. <DataTemplate>
  304. <StackPanel HorizontalAlignment="Center"
  305. VerticalAlignment="Center"
  306. Orientation="Horizontal">
  307. <Border Margin="2"
  308. BorderBrush="Red"
  309. BorderThickness="{Binding IsError}">
  310. <controls:DecimalNumBox x:Name="SelectQty"
  311. Width="80"
  312. DecimalCount="2"
  313. IsEnabled="{Binding IsEnabled}"
  314. KeyDown="SelectQty_KeyDown"
  315. Minimum="0"
  316. Text="{Binding SelectQty,
  317. UpdateSourceTrigger=PropertyChanged}"
  318. Watermark="请输入">
  319. <i:Interaction.Triggers>
  320. <i:EventTrigger EventName="ValueChanged">
  321. <i:InvokeCommandAction Command="{Binding DataContext.SelectQtyTextChangedCommand, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" CommandParameter="{Binding}" />
  322. </i:EventTrigger>
  323. </i:Interaction.Triggers>
  324. </controls:DecimalNumBox>
  325. <!--
  326. <TextBox IsEnabled="{Binding IsEnabled}" KeyDown="SelectQty_KeyDown" MaxLength="8" Text="{Binding SelectQty,UpdateSourceTrigger=PropertyChanged}" x:Name="SelectQty" Width="60">
  327. <i:Interaction.Triggers>
  328. <i:EventTrigger EventName="TextChanged">
  329. <i:InvokeCommandAction Command="{Binding DataContext.SelectQtyTextChangedCommand, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" CommandParameter="{Binding SelectQty}" />
  330. </i:EventTrigger>
  331. </i:Interaction.Triggers>
  332. <TextBox.Resources>
  333. <VisualBrush x:Key="HelpBrush" TileMode="None" Opacity="0.7" Stretch="None" AlignmentX="Left">
  334. <VisualBrush.Visual>
  335. <Grid Background="#333333" MinWidth="60">
  336. <TextBlock Foreground="#666666" FontStyle="Italic" Text="请输入"/>
  337. </Grid>
  338. </VisualBrush.Visual>
  339. </VisualBrush>
  340. </TextBox.Resources>
  341. <TextBox.Style>
  342. <Style TargetType="TextBox">
  343. <Setter Property="Foreground" Value="#e26c41"/>
  344. <Style.Triggers>
  345. <Trigger Property="Text" Value="{x:Null}">
  346. <Setter Property="Background" Value="{StaticResource HelpBrush}"/>
  347. </Trigger>
  348. <Trigger Property="Text" Value="">
  349. <Setter Property="Background" Value="{StaticResource HelpBrush}"/>
  350. </Trigger>
  351. </Style.Triggers>
  352. </Style>
  353. </TextBox.Style>
  354. </TextBox>
  355. -->
  356. </Border>
  357. </StackPanel>
  358. </DataTemplate>
  359. </DataGridTemplateColumn.CellTemplate>
  360. </DataGridTemplateColumn>
  361. </DataGrid.Columns>
  362. </dataGrid:MuchinfoDataGrid>
  363. <!--
  364. <StackPanel Grid.Row="5"
  365. Margin="0,10"
  366. Grid.ColumnSpan="6"
  367. HorizontalAlignment="Center"
  368. VerticalAlignment="Center"
  369. Orientation="Horizontal">
  370. <TextBlock>
  371. <Run Text="{x:Static resource:Client_Resource.DeliveryMatchView_AlreadyMatchQty}" />
  372. <Run Foreground="{StaticResource TextBrush_DeliveryMatchView}" Text="{Binding AlreadyMatchQty}" />
  373. <Run Text=" " />
  374. <Run Text="{x:Static resource:Client_Resource.DeliveryMatchView_OtherCanMatchQty}" />
  375. <Run Foreground="{StaticResource TextBrush_DeliveryMatchView}" Text="{Binding OtherCanMatchQty}" />
  376. <Run Text=" " />
  377. <Run Text="{x:Static resource:Client_Resource.Moduel_TextPriceMove}" />
  378. <Run Foreground="{StaticResource TextBrush_DeliveryMatchView}" Text="{Binding TotalDeliveryPriceMove}" />
  379. </TextBlock>
  380. </StackPanel>
  381. -->
  382. <StackPanel Grid.Row="6"
  383. Grid.ColumnSpan="6"
  384. Margin="0,15"
  385. HorizontalAlignment="Center"
  386. VerticalAlignment="Center"
  387. Orientation="Horizontal"
  388. Visibility="{Binding IsVisibility_NeedMatchQty}">
  389. <TextBlock Foreground="{StaticResource TextBrush_DeliveryMatchView}" Text="{Binding ErrorMessage}">
  390. <!--
  391. <Run Foreground="{StaticResource TextBrush_DeliveryMatchView}" Text="{x:Static resource:Client_Resource.DeliveryMatchView_NeedMatchQty}" />
  392. <Run Foreground="{StaticResource TextBrush_DeliveryMatchView}" Text="{Binding OtherCanMatchQty}" />
  393. <Run Foreground="{StaticResource TextBrush_DeliveryMatchView}" Text="{x:Static resource:Client_Resource.DeliveryMatchView_MustMatchAllQtyAtOnce}" />
  394. -->
  395. </TextBlock>
  396. </StackPanel>
  397. <StackPanel Grid.Row="7"
  398. Grid.ColumnSpan="6"
  399. Margin="0,15,0,10"
  400. HorizontalAlignment="Center"
  401. VerticalAlignment="Center"
  402. Orientation="Horizontal">
  403. <Button Width="82"
  404. Height="26"
  405. Command="{Binding PreViewCommand}"
  406. CommandParameter="{Binding ElementName=DeliveryMatchViewWindow}"
  407. Content="{x:Static resource:Client_Resource.Button_Submit}"
  408. IsEnabled="{Binding OKButtonEnabled}"
  409. Style="{DynamicResource CommonButtonStyle}" />
  410. <Button Width="82"
  411. Height="26"
  412. Margin="60,0,0,0"
  413. Command="{Binding CancelCommand}"
  414. CommandParameter="{Binding ElementName=DeliveryMatchViewWindow}"
  415. Content="{x:Static resource:Client_Resource.Button_Cancel}"
  416. Style="{DynamicResource CommonButtonStyle}" />
  417. </StackPanel>
  418. </Grid>
  419. </xctk:BusyIndicator>
  420. <xctk:BusyIndicator Grid.RowSpan="1"
  421. BusyContent="{x:Static resource:Client_Resource.Content_Busy}"
  422. IsBusy="{Binding IsBusy,
  423. Mode=TwoWay}"
  424. Visibility="{Binding IsVisibility_PreView}">
  425. <!-- 确认点选仓单 -->
  426. <StackPanel Grid.Row="1" Margin="20,10">
  427. <dataGrid:MuchinfoDataGrid Margin="0,10,0,0"
  428. EnableRowVirtualization="False"
  429. ItemsSource="{Binding ChooseMatchOrderList}"
  430. ScrollViewer.HorizontalScrollBarVisibility="Auto"
  431. Style="{DynamicResource AccountMuchinfoDataGridStyle}">
  432. <DataGrid.Columns>
  433. <!-- 仓单号 -->
  434. <DataGridTextColumn Width="Auto"
  435. MinWidth="110"
  436. Binding="{Binding WrCode}"
  437. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  438. Header="{x:Static resource:Client_Resource.DeliveryWarehouse_WRCode}"
  439. SortMemberPath="WrCode" />
  440. <!-- 交割商品 -->
  441. <DataGridTextColumn Width="Auto"
  442. MinWidth="140"
  443. Binding="{Binding DeliveryGoodsName}"
  444. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  445. Header="{x:Static resource:Client_Resource.QuoteDataGrid_DeliveryGoods}"
  446. SortMemberPath="DeliveryGoodsName" />
  447. <!-- 存储仓库 -->
  448. <DataGridTextColumn Width="Auto"
  449. MinWidth="100"
  450. Binding="{Binding StorePlace}"
  451. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  452. Header="{x:Static resource:Client_Resource.DeliveryWarehouse_WareHouseId}"
  453. SortMemberPath="StorePlace" />
  454. <!-- 品牌 -->
  455. <DataGridTextColumn Width="Auto"
  456. MinWidth="70"
  457. Binding="{Binding Brand}"
  458. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  459. Header="{x:Static resource:Client_Resource.Moduel_Brand}"
  460. SortMemberPath="Brand" />
  461. <!-- 等级-品质 -->
  462. <DataGridTextColumn Width="Auto"
  463. MinWidth="100"
  464. Binding="{Binding Rank}"
  465. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  466. Header="{x:Static resource:Client_Resource.Moduel_Level}"
  467. SortMemberPath="Rank" />
  468. <!-- 升贴水 -->
  469. <DataGridTextColumn Width="Auto"
  470. MinWidth="100"
  471. Binding="{Binding DeliveryPriceMoveDisplay}"
  472. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  473. Header="{x:Static resource:Client_Resource.Moduel_PriceMove}"
  474. SortMemberPath="DeliveryPriceMoveDisplay" />
  475. <!-- 选择数量 -->
  476. <DataGridTextColumn Width="Auto"
  477. MinWidth="100"
  478. Binding="{Binding SelectQty}"
  479. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  480. Header="{x:Static resource:Client_Resource.Delivery_ChoiceNum}"
  481. SortMemberPath="SelectQty" />
  482. </DataGrid.Columns>
  483. </dataGrid:MuchinfoDataGrid>
  484. <StackPanel Margin="0,20"
  485. HorizontalAlignment="Center"
  486. VerticalAlignment="Center"
  487. Orientation="Horizontal">
  488. <Button Width="82"
  489. Height="26"
  490. Command="{Binding OKCommand}"
  491. CommandParameter="{Binding ElementName=DeliveryMatchViewWindow}"
  492. Content="{x:Static resource:Client_Resource.Delivery_Confirm}"
  493. IsEnabled="{Binding OKButtonEnabled}"
  494. Style="{DynamicResource CommonButtonStyle}" />
  495. <Button Width="82"
  496. Height="26"
  497. Margin="60,0,0,0"
  498. Command="{Binding ReturnCommand}"
  499. Content="{x:Static resource:Client_Resource.Notice_Black}"
  500. Style="{DynamicResource CommonButtonStyle}" />
  501. </StackPanel>
  502. </StackPanel>
  503. </xctk:BusyIndicator>
  504. <!-- 仓单详细 -->
  505. <StackPanel Grid.Row="2"
  506. Margin="20,10"
  507. Orientation="Vertical"
  508. Visibility="{Binding IsVisibility_Warehouse}">
  509. <StackPanel.Resources>
  510. <Style TargetType="{x:Type Run}">
  511. <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Mode=Self}, Path=Text}" />
  512. </Style>
  513. </StackPanel.Resources>
  514. <Grid>
  515. <Grid.RowDefinitions>
  516. <RowDefinition />
  517. <RowDefinition />
  518. <RowDefinition />
  519. <RowDefinition />
  520. <RowDefinition />
  521. <RowDefinition />
  522. <RowDefinition />
  523. <RowDefinition />
  524. <RowDefinition />
  525. <RowDefinition />
  526. <RowDefinition />
  527. <RowDefinition />
  528. </Grid.RowDefinitions>
  529. <Grid.ColumnDefinitions>
  530. <ColumnDefinition Width="20" />
  531. <ColumnDefinition />
  532. <ColumnDefinition />
  533. <ColumnDefinition />
  534. <ColumnDefinition Width="20" />
  535. </Grid.ColumnDefinitions>
  536. <WrapPanel Grid.Row="1"
  537. Grid.RowSpan="5"
  538. Grid.Column="1"
  539. Grid.ColumnSpan="3"
  540. Margin="0,11,0,0">
  541. <!-- 仓单号 -->
  542. <TextBlock Width="180"
  543. Height="35"
  544. VerticalAlignment="Center"
  545. TextTrimming="CharacterEllipsis">
  546. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_WRCode}" />
  547. <Run Text=":" />
  548. <Run Text="{Binding CurrentWarehouseDetail.WRCode, Mode=OneWay}" />
  549. </TextBlock>
  550. <!-- 仓单类型 -->
  551. <TextBlock Width="180"
  552. Height="35"
  553. VerticalAlignment="Center"
  554. TextTrimming="CharacterEllipsis">
  555. <Run Text="{x:Static resource:Client_Resource.Content_StorageTypeName}" />
  556. <Run Text=":" />
  557. <Run Text="{Binding CurrentWarehouseDetail.WRTypeDisplay, Mode=OneWay}" />
  558. </TextBlock>
  559. <!-- 存储物名 -->
  560. <TextBlock Width="180"
  561. Height="35"
  562. VerticalAlignment="Center"
  563. TextTrimming="CharacterEllipsis">
  564. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_StoreGoodsName}" />
  565. <Run Text=":" />
  566. <Run Text="{Binding CurrentWarehouseDetail.StoreGoodsName, Mode=OneWay}" />
  567. </TextBlock>
  568. <!-- 存储仓库 -->
  569. <TextBlock Width="180"
  570. Height="35"
  571. VerticalAlignment="Center"
  572. TextTrimming="CharacterEllipsis">
  573. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_WareHouse}" />
  574. <Run Text=":" />
  575. <Run Text="{Binding CurrentWarehouseDetail.WareHouseName, Mode=OneWay}" />
  576. </TextBlock>
  577. <!-- 仓库地址 -->
  578. <!--
  579. <TextBlock Width="180"
  580. Height="35"
  581. VerticalAlignment="Center"
  582. TextTrimming="CharacterEllipsis">
  583. <Run Text="{x:Static resource:Client_Resource.Delivery_WareHouseAddress}" />
  584. <Run Text=":" />
  585. <Run Text="{Binding CurrentWarehouseDetail.WareHouseAddress, Mode=OneWay}" />
  586. </TextBlock>
  587. -->
  588. <!-- 品牌 -->
  589. <TextBlock Width="180"
  590. Height="35"
  591. VerticalAlignment="Center"
  592. TextTrimming="CharacterEllipsis">
  593. <Run Text="{x:Static resource:Client_Resource.Moduel_Brand}" />
  594. <Run Text=":" />
  595. <Run Text="{Binding CurrentWarehouseDetail.Brand, Mode=OneWay}" />
  596. </TextBlock>
  597. <!-- 品质 -->
  598. <TextBlock Width="180"
  599. Height="35"
  600. VerticalAlignment="Center"
  601. TextTrimming="CharacterEllipsis">
  602. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_Quality}" />
  603. <Run Text=":" />
  604. <Run Text="{Binding CurrentWarehouseDetail.Rank, Mode=OneWay}" />
  605. </TextBlock>
  606. <!-- 规格 -->
  607. <TextBlock Width="180"
  608. Height="35"
  609. VerticalAlignment="Center"
  610. TextTrimming="CharacterEllipsis">
  611. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_Spec}" />
  612. <Run Text=":" />
  613. <Run Text="{Binding CurrentWarehouseDetail.Spec, Mode=OneWay}" />
  614. </TextBlock>
  615. <!-- 单位 -->
  616. <TextBlock Width="180"
  617. Height="35"
  618. VerticalAlignment="Center"
  619. TextTrimming="CharacterEllipsis">
  620. <Run Text="{x:Static resource:Client_Resource.Moduel_Unit}" />
  621. <Run Text=":" />
  622. <Run Text="{Binding CurrentWarehouseDetail.GoodsunitName, Mode=OneWay}" />
  623. </TextBlock>
  624. <!-- 注册数量 -->
  625. <TextBlock Width="180"
  626. Height="35"
  627. VerticalAlignment="Center"
  628. TextTrimming="CharacterEllipsis">
  629. <Run Text="{x:Static resource:Client_Resource.DeliveryRegisterNumber}" />
  630. <Run Text=":" />
  631. <Run Text="{Binding CurrentWarehouseDetail.QtyDisplay, Mode=OneWay}" />
  632. </TextBlock>
  633. <!-- 冻结数量 -->
  634. <TextBlock Width="180"
  635. Height="35"
  636. VerticalAlignment="Center"
  637. TextTrimming="CharacterEllipsis">
  638. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_FreezeQty}" />
  639. <Run Text=":" />
  640. <Run Text="{Binding CurrentWarehouseDetail.FreezeQtyDisplay, Mode=OneWay}" />
  641. </TextBlock>
  642. <!-- 兑付数量 -->
  643. <TextBlock Width="180"
  644. Height="35"
  645. VerticalAlignment="Center"
  646. TextTrimming="CharacterEllipsis">
  647. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_PayQty}" />
  648. <Run Text=":" />
  649. <Run Text="{Binding CurrentWarehouseDetail.PayQtyDisplay, Mode=OneWay}" />
  650. </TextBlock>
  651. <!-- 货值金额-仓单保价 -->
  652. <TextBlock Width="180"
  653. Height="35"
  654. VerticalAlignment="Center"
  655. TextTrimming="CharacterEllipsis">
  656. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_StoreAmount}" />
  657. <Run Text=":" />
  658. <Run Text="{Binding CurrentWarehouseDetail.StoreAmountDisplay, Mode=OneWay}" />
  659. </TextBlock>
  660. <!-- 物料编号 -->
  661. <TextBlock Width="180"
  662. Height="35"
  663. VerticalAlignment="Center"
  664. TextTrimming="CharacterEllipsis">
  665. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_StoreGoodsCode}" />
  666. <Run Text=":" />
  667. <Run Text="{Binding CurrentWarehouseDetail.StoreGoodsCode, Mode=OneWay}" />
  668. </TextBlock>
  669. <!-- 合同号 -->
  670. <TextBlock Width="180"
  671. Height="35"
  672. VerticalAlignment="Center"
  673. TextTrimming="CharacterEllipsis">
  674. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_ContractNo}" />
  675. <Run Text=":" />
  676. <Run Text="{Binding CurrentWarehouseDetail.ContractNo, Mode=OneWay}" />
  677. </TextBlock>
  678. <!-- 仓管人 -->
  679. <TextBlock Width="180"
  680. Height="35"
  681. VerticalAlignment="Center"
  682. TextTrimming="CharacterEllipsis">
  683. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_WareHousePerson}" />
  684. <Run Text=":" />
  685. <Run Text="{Binding CurrentWarehouseDetail.WareHousePerson, Mode=OneWay}" />
  686. </TextBlock>
  687. <!-- 库位 -->
  688. <TextBlock Width="180"
  689. Height="35"
  690. VerticalAlignment="Center"
  691. TextTrimming="CharacterEllipsis">
  692. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_StorePlace}" />
  693. <Run Text=":" />
  694. <Run Text="{Binding CurrentWarehouseDetail.StorePlace, Mode=OneWay}" />
  695. </TextBlock>
  696. <!-- 包装 -->
  697. <TextBlock Width="180"
  698. Height="35"
  699. VerticalAlignment="Center"
  700. TextTrimming="CharacterEllipsis">
  701. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_Package}" />
  702. <Run Text=":" />
  703. <Run Text="{Binding CurrentWarehouseDetail.Package, Mode=OneWay}" />
  704. </TextBlock>
  705. <!-- 件数 -->
  706. <TextBlock Width="180"
  707. Height="35"
  708. VerticalAlignment="Center"
  709. TextTrimming="CharacterEllipsis">
  710. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_Pcs}" />
  711. <Run Text=":" />
  712. <Run Text="{Binding CurrentWarehouseDetail.Pcs, Mode=OneWay}" />
  713. </TextBlock>
  714. <!-- 性质 -->
  715. <TextBlock Width="180"
  716. Height="35"
  717. VerticalAlignment="Center"
  718. TextTrimming="CharacterEllipsis">
  719. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_Nature}" />
  720. <Run Text=":" />
  721. <Run Text="{Binding CurrentWarehouseDetail.Nature, Mode=OneWay}" />
  722. </TextBlock>
  723. <!-- 标记 -->
  724. <TextBlock Width="180"
  725. Height="35"
  726. VerticalAlignment="Center"
  727. TextTrimming="CharacterEllipsis">
  728. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_Mark}" />
  729. <Run Text=":" />
  730. <Run Text="{Binding CurrentWarehouseDetail.Mark, Mode=OneWay}" />
  731. </TextBlock>
  732. <!-- 是否办理保险 -->
  733. <TextBlock Width="180"
  734. Height="35"
  735. VerticalAlignment="Center"
  736. TextTrimming="CharacterEllipsis">
  737. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_HasPolicy}" />
  738. <Run Text=":" />
  739. <Run Text="{Binding CurrentWarehouseDetail.HasPolicyDisplay, Mode=OneWay}" />
  740. </TextBlock>
  741. <!-- 保险期限 -->
  742. <TextBlock Width="180"
  743. Height="35"
  744. VerticalAlignment="Center"
  745. TextTrimming="CharacterEllipsis">
  746. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_PolicyPeriod}" />
  747. <Run Text=":" />
  748. <Run Text="{Binding CurrentWarehouseDetail.PolicyPeriodDisplay, Mode=OneWay}" />
  749. </TextBlock>
  750. <!-- 保险人 -->
  751. <TextBlock Width="180"
  752. Height="35"
  753. VerticalAlignment="Center"
  754. TextTrimming="CharacterEllipsis">
  755. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_Insurer}" />
  756. <Run Text=":" />
  757. <Run Text="{Binding CurrentWarehouseDetail.Insurer, Mode=OneWay}" />
  758. </TextBlock>
  759. <!-- 关联保单 -->
  760. <TextBlock Width="180"
  761. Height="35"
  762. VerticalAlignment="Center"
  763. TextTrimming="CharacterEllipsis">
  764. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_InsurancePolicy}" />
  765. <Run Text=":" />
  766. <Run Text="{Binding CurrentWarehouseDetail.InsurancePolicy, Mode=OneWay}" />
  767. </TextBlock>
  768. <!-- 存货人 -->
  769. <TextBlock Width="180"
  770. Height="35"
  771. VerticalAlignment="Center"
  772. TextTrimming="CharacterEllipsis">
  773. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_WRSaver}" />
  774. <Run Text=":" />
  775. <Run Text="{Binding CurrentWarehouseDetail.WRSAVER, Mode=OneWay}" />
  776. </TextBlock>
  777. <!-- 仓储起始时间 -->
  778. <TextBlock Width="180"
  779. Height="35"
  780. VerticalAlignment="Center"
  781. TextTrimming="CharacterEllipsis">
  782. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_StoreStart}" />
  783. <Run Text=":" />
  784. <Run Text="{Binding CurrentWarehouseDetail.StoreStartDisplay, Mode=OneWay}" />
  785. </TextBlock>
  786. <!-- 仓储结束时间 -->
  787. <TextBlock Width="180"
  788. Height="35"
  789. VerticalAlignment="Center"
  790. TextTrimming="CharacterEllipsis">
  791. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_StoreEnd}" />
  792. <Run Text=":" />
  793. <Run Text="{Binding CurrentWarehouseDetail.StoreEndDisplay, Mode=OneWay}" />
  794. </TextBlock>
  795. <!-- 状态 -->
  796. <TextBlock Width="180"
  797. Height="35"
  798. VerticalAlignment="Center"
  799. TextTrimming="CharacterEllipsis">
  800. <Run Text="{x:Static resource:Client_Resource.Moduel_Status}" />
  801. <Run Text=":" />
  802. <Run Text="{Binding CurrentWarehouseDetail.StatusDisplay, Mode=OneWay}" />
  803. </TextBlock>
  804. <!--
  805. 处理状态
  806. <TextBlock TextTrimming="CharacterEllipsis" Width="180" Height="35" VerticalAlignment="Center">
  807. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_ProcStatus}"></Run>
  808. <Run Text=":"></Run>
  809. <Run Text="{Binding CurrentWarehouseDetail.ProcStatus,Mode=OneWay}"></Run>
  810. </TextBlock>
  811. -->
  812. <!--
  813. 仓储费
  814. <TextBlock TextTrimming="CharacterEllipsis" Width="180" Height="35" VerticalAlignment="Center">
  815. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_StoreCharge}"></Run>
  816. <Run Text=":"></Run>
  817. <Run Text="{Binding CurrentWarehouseDetail.StoreCharge,Mode=OneWay}"></Run>
  818. </TextBlock>
  819. -->
  820. <!--
  821. 创建时间
  822. <TextBlock TextTrimming="CharacterEllipsis" Width="180" Height="35" VerticalAlignment="Center">
  823. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouses_CreateTime}"></Run>
  824. <Run Text=":"></Run>
  825. <Run Text="{Binding CurrentWarehouseDetail.CreateTime,Mode=OneWay}"></Run>
  826. </TextBlock>
  827. -->
  828. </WrapPanel>
  829. <!--
  830. <StackPanel Grid.Row="7"
  831. Grid.Column="1"
  832. Grid.ColumnSpan="3"
  833. Height="40"
  834. Background="{DynamicResource AcountGridHeadBackground}"
  835. Orientation="Horizontal">
  836. <TextBlock Width="730" TextTrimming="CharacterEllipsis"
  837. VerticalAlignment="Center"
  838. Foreground="{DynamicResource AcountGridHeadForeground}"
  839. TextAlignment="Center">
  840. -->
  841. <!-- 质检时间 -->
  842. <!--
  843. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_QCTime}" />
  844. <Run Text=":"></Run>
  845. <Run Text="{Binding CurrentWarehouseDetail.DeliveryOrderId,Mode=OneWay}" />
  846. <Run Text=" " />
  847. -->
  848. <!-- 质检费 -->
  849. <!--
  850. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_QCCharge}" />
  851. <Run Text=":"></Run>
  852. <Run Text="{Binding CurrentWarehouseDetail.OrderTimeDisplay,Mode=OneWay}" />
  853. <Run Text=" " />
  854. -->
  855. <!-- 质检机构 -->
  856. <!--
  857. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_QCOrg}" />
  858. <Run Text=":"></Run>
  859. <Run Foreground="{StaticResource TextBrush_Common}" Text="{Binding CurrentWarehouseDetail.OrderStatusDisplay,Mode=OneWay}" />
  860. </TextBlock>
  861. </StackPanel>
  862. <StackPanel Grid.Row="8"
  863. Grid.Column="1"
  864. Grid.ColumnSpan="3"
  865. Height="40"
  866. Background="{DynamicResource AcountGridHeadBackground}"
  867. Orientation="Horizontal">
  868. <TextBlock Width="730" TextTrimming="CharacterEllipsis"
  869. VerticalAlignment="Center"
  870. Foreground="{DynamicResource AcountGridHeadForeground}"
  871. TextAlignment="Center">
  872. -->
  873. <!-- 背书时间 -->
  874. <!--
  875. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_BackMarkTime}" />
  876. <Run Text=":"></Run>
  877. <Run Text="{Binding CurrentWarehouseDetail.DeliveryOrderId,Mode=OneWay}" />
  878. <Run Text=" " />
  879. -->
  880. <!-- 背书人 -->
  881. <!--
  882. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_BackMark}" />
  883. <Run Text=":"></Run>
  884. <Run Text="{Binding CurrentWarehouseDetail.OrderTimeDisplay,Mode=OneWay}" />
  885. <Run Text=" " />
  886. -->
  887. <!-- 背书原因 -->
  888. <!--
  889. <Run Text="{x:Static resource:Client_Resource.DeliveryWarehouse_BackRemark}" />
  890. <Run Text=":"></Run>
  891. <Run Foreground="{StaticResource TextBrush_Common}" Text="{Binding CurrentWarehouseDetail.OrderStatusDisplay,Mode=OneWay}" />
  892. </TextBlock>
  893. </StackPanel>
  894. -->
  895. <!--
  896. <xctk:BusyIndicator Grid.Row="8"
  897. Grid.Column="1" Grid.ColumnSpan="3" BusyContent="{x:Static resource:Client_Resource.Content_UpdateBusy}" IsBusy="{Binding IsBusy, Mode=TwoWay}">
  898. <dataGrid:MuchinfoDataGrid
  899. Margin="0,10,0,0"
  900. EnableRowVirtualization="False"
  901. ItemsSource="{Binding WarehouseChangeFlowList}"
  902. ScrollViewer.HorizontalScrollBarVisibility="Auto"
  903. Style="{DynamicResource AccountMuchinfoDataGridStyle}">
  904. <DataGrid.Columns>
  905. -->
  906. <!-- 变更项 -->
  907. <!--
  908. <DataGridTextColumn Width="Auto"
  909. MinWidth="140"
  910. Binding="{Binding ChangeItem}"
  911. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  912. Header="{x:Static resource:Client_Resource.DeliveryMatchView_ChangeItem}"
  913. SortMemberPath="DeliveryGoodsName" />
  914. -->
  915. <!-- 变更前值 -->
  916. <!--
  917. <DataGridTextColumn Width="Auto"
  918. MinWidth="100"
  919. Binding="{Binding ChangePrev}"
  920. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  921. Header="{x:Static resource:Client_Resource.DeliveryMatchView_ChangePrev}"
  922. SortMemberPath="StorePlace" />
  923. -->
  924. <!-- 变更后值 -->
  925. <!--
  926. <DataGridTextColumn Width="Auto"
  927. MinWidth="70"
  928. Binding="{Binding Changed}"
  929. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  930. Header="{x:Static resource:Client_Resource.DeliveryMatchView_Changed}"
  931. SortMemberPath="Brand" />
  932. -->
  933. <!-- 关联数量 -->
  934. <!--
  935. <DataGridTextColumn Width="Auto"
  936. MinWidth="60"
  937. Binding="{Binding RelationQty}"
  938. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  939. Header="{x:Static resource:Client_Resource.DeliveryMatchView_RelationQty}"
  940. SortMemberPath="Rank" />
  941. -->
  942. <!-- 变更时间 -->
  943. <!--
  944. <DataGridTextColumn Width="Auto"
  945. MinWidth="50"
  946. Binding="{Binding ChangeTime}"
  947. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  948. Header="{x:Static resource:Client_Resource.DeliveryMatchView_ChangeTime}"
  949. SortMemberPath="DeliveryPriceMoveDisplay" />
  950. -->
  951. <!-- 变更操作人 -->
  952. <!--
  953. <DataGridTextColumn Width="Auto"
  954. MinWidth="80"
  955. Binding="{Binding ChangeOperator}"
  956. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  957. Header="{x:Static resource:Client_Resource.DeliveryMatchView_ChangeOperator}"
  958. SortMemberPath="EnableQty" />
  959. -->
  960. <!-- 变更原因 -->
  961. <!--
  962. <DataGridTextColumn Width="Auto"
  963. MinWidth="60"
  964. Binding="{Binding ChangeReason}"
  965. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  966. Header="{x:Static resource:Client_Resource.DeliveryMatchView_ChangeReason}"
  967. SortMemberPath="GoodsUnitIdDisplay" />
  968. -->
  969. <!-- 备注 -->
  970. <!--
  971. <DataGridTextColumn Width="Auto"
  972. MinWidth="80"
  973. Binding="{Binding Remark}"
  974. ElementStyle="{StaticResource DataGridTextColumnStyle}"
  975. Header="{x:Static resource:Client_Resource.DeliveryMatchView_Remark}" />
  976. </DataGrid.Columns>
  977. </dataGrid:MuchinfoDataGrid>
  978. </xctk:BusyIndicator>
  979. -->
  980. </Grid>
  981. <StackPanel Margin="0,20"
  982. HorizontalAlignment="Center"
  983. VerticalAlignment="Center"
  984. Orientation="Horizontal">
  985. <Button Width="82"
  986. Height="26"
  987. Command="{Binding ReturnCommand}"
  988. Content="{x:Static resource:Client_Resource.Notice_Black}"
  989. Style="{DynamicResource CommonButtonStyle}" />
  990. </StackPanel>
  991. </StackPanel>
  992. </Grid>
  993. </Window>