| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678 |
- <Window x:Class="Muchinfo.MTPClient.Delivery.Views.DeliveryOrderView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:converters="clr-namespace:Muchinfo.MTPClient.Infrastructure.Converters;assembly=Client.Infrastructure"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:dataGrid="clr-namespace:Muchinfo.WPF.Controls.DataGrid;assembly=Client.WPF.Controls"
- xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
- xmlns:ignore="http://www.galasoft.ch/ignore"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:resources="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Client.Resources"
- xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
- x:Name="DeliveryOrderViewWindow"
- Title="{Binding Title}"
- MinHeight="450"
- SizeToContent="Height"
- MouseLeftButtonDown="drag_MouseLeftButtonDown"
- ShowInTaskbar="False"
- Style="{DynamicResource DialogWindowStyle}"
- WindowStartupLocation="CenterOwner"
- mc:Ignorable="d ignore">
- <Window.Resources>
- <converters:IntToVisibilityConverter x:Key="ZeroOrNotVisibilityConverter" />
- <converters:BuyOrSellConvert x:Key="EnumBooleanConvert" />
- <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
- <DataTemplate x:Key="GoodsDatatTemplate">
- <TextBlock>
- <Run Text="{Binding currentGoodsname}" />
- <Run Text=" " />
- <Run Text="{Binding currentGoodscode}" />
- </TextBlock>
- </DataTemplate>
- <SolidColorBrush x:Key="TextBrush_DeliveryMatchView" Color="#ff3553" />
- </Window.Resources>
- <xctk:BusyIndicator BusyContent="{x:Static resources:Client_Resource.Content_UpdateBusy}" IsBusy="{Binding IsBusy, Mode=TwoWay}">
- <Grid Margin="20,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="35" />
- <RowDefinition Height="Auto" />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="50" />
- <RowDefinition Height="0" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition Height="Auto" />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition MaxWidth="30" />
- <ColumnDefinition MaxWidth="140" />
- <ColumnDefinition MaxWidth="5" />
- <ColumnDefinition Width="230" />
- <ColumnDefinition MaxWidth="1" />
- <ColumnDefinition MaxWidth="1" />
- <ColumnDefinition />
- <ColumnDefinition MaxWidth="40" />
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Row="0"
- Grid.Column="1"
-
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.DeliveryOrderView_TradeGoods}" />
- <TextBlock Grid.Row="2"
- Grid.Column="1"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.DeliveryOrderView_Direction}" />
- <TextBlock Grid.Row="3"
- Grid.Column="1"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.DeliveryOrderView_HoldCount}" />
- <!-- 交割价格/申报价格 -->
- <TextBlock Grid.Row="4"
- Grid.Column="1"
- Margin="0,10,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.DeliveryOrderView_DeliveryMoney}"
- Visibility="{Binding IsVisibilityHolderPrice}" />
- <TextBlock Grid.Row="5"
- Grid.Column="1"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.DeliveryOrderView_DeliveryNum}" />
- <!-- 卖交割:选择仓单 -->
- <StackPanel Grid.Row="7"
- Grid.Column="0"
- Grid.ColumnSpan="8"
- Panel.ZIndex="0"
- Orientation="Horizontal"
- Visibility="{Binding IsChecked,
- ElementName=sellDirection,
- Converter={StaticResource BooleanToVisibilityConverter}}">
- <TextBlock Margin="55,8,0,0" Text="{x:Static resources:Client_Resource.DeliveryOrderView_PicketUpWr}" />
- <dataGrid:MuchinfoDataGrid MaxWidth="370"
- MaxHeight="180"
- Margin="30,8,0,0"
- EnableRowVirtualization="False"
- ItemsSource="{Binding DeliveryMatchOrderList}"
- ScrollViewer.HorizontalScrollBarVisibility="Auto"
- ScrollViewer.VerticalScrollBarVisibility="Auto"
- Style="{DynamicResource AccountMuchinfoDataGridStyle}">
- <DataGrid.Columns>
- <!-- 选择CheckBox -->
- <DataGridTemplateColumn Width="Auto"
- MinWidth="50"
- Header="{x:Static resources:Client_Resource.Delivery_Choice}">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <StackPanel HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <CheckBox x:Name="cbXh"
- VerticalAlignment="Center"
- IsChecked="{Binding IsSelected,
- Mode=TwoWay,
- UpdateSourceTrigger=PropertyChanged}"
- IsEnabled="{Binding IsEnabled}"
- Style="{DynamicResource mtpCheckBoxStyle}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Checked">
- <i:InvokeCommandAction Command="{Binding DataContext.SelectCommand, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" CommandParameter="{Binding WRCode}" />
- </i:EventTrigger>
- <i:EventTrigger EventName="Unchecked">
- <i:InvokeCommandAction Command="{Binding DataContext.UnSelectCommand, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" CommandParameter="{Binding WRCode}" />
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </CheckBox>
- <!-- <Label Content="{Binding Xh}" FontSize="14"/> -->
- </StackPanel>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <!-- 仓单号 -->
- <DataGridTextColumn Width="Auto"
- MinWidth="80"
- Binding="{Binding WRCode}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resources:Client_Resource.DeliveryWarehouse_WRCode}" />
- <!-- 商品名称 -->
- <DataGridTextColumn Width="Auto"
- MinWidth="110"
- Binding="{Binding DeliveryGoodsName}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resources:Client_Resource.Moduel_Goods}" />
- <!-- 可用数量 -->
- <DataGridTextColumn Width="Auto"
- MinWidth="50"
- Binding="{Binding EnableQty}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resources:Client_Resource.Content_Quantifiable}" />
- <!-- 单位 -->
- <DataGridTextColumn Width="Auto"
- MinWidth="60"
- Binding="{Binding GoodsunitName}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resources:Client_Resource.Moduel_Unit}" />
- <!-- 等级 -->
- <DataGridTextColumn Width="Auto"
- MinWidth="60"
- Binding="{Binding Rank}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resources:Client_Resource.Moduel_Level}" />
- <!-- 品牌 -->
- <DataGridTextColumn Width="Auto"
- MinWidth="70"
- Binding="{Binding Brand}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resources:Client_Resource.Moduel_Brand}" />
- <!-- 升贴水 -->
- <DataGridTextColumn Width="Auto"
- MinWidth="50"
- Binding="{Binding PriceMove}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resources:Client_Resource.Moduel_PriceMove}" />
- <!-- 存储仓库 -->
- <DataGridTextColumn Width="Auto"
- MinWidth="100"
- Binding="{Binding WareHouseName}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resources:Client_Resource.DeliveryWarehouse_WareHouseId}" />
- </DataGrid.Columns>
- </dataGrid:MuchinfoDataGrid>
- </StackPanel>
- <TextBlock Grid.Row="7"
- Grid.Column="1"
- Margin="0,6,0,6"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.DeliveryOrderView_DeliveryPriceMove}"
- Visibility="{Binding DeliveryPriceMoveDisplay,
- Converter={StaticResource ZeroOrNotVisibilityConverter}}" />
- <TextBlock Grid.Row="7"
- Grid.Column="3"
- Margin="0,6,0,6"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Visibility="{Binding DeliveryPriceMoveDisplay,
- Converter={StaticResource ZeroOrNotVisibilityConverter}}">
- <Run Text="{Binding DeliveryPriceMoveDisplay}" />
- <Run Text="{x:Static resources:Client_Resource.Amount_RMB}" />
- <Run Text="/" />
- <Run Text="{Binding DeliveryAgreeUnitType, Mode=OneWay}" />
- </TextBlock>
- <!-- 交割商品列表 -->
- <ComboBox Grid.Row="0"
- Grid.Column="3"
- Grid.ColumnSpan="2"
- Width="165"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- ItemTemplate="{StaticResource GoodsDatatTemplate}"
- ItemsSource="{Binding DeliveryGoodsList}"
- SelectedItem="{Binding CurrentGoods,
- Mode=TwoWay}"
- Style="{DynamicResource SimpleComboBoxStyle}" />
- <StackPanel Grid.Row="1"
- Grid.Column="3"
- Height="65"
- Background="{DynamicResource AcountGridHeadBackground}"
- Orientation="Vertical"
- Visibility="{Binding IsVisibilityRelationGoodsInfo}">
- <TextBlock Margin="8,6,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Foreground="{DynamicResource AcountGridHeadForeground}"
- TextAlignment="Left">
- <Run Text="{x:Static resources:Client_Resource.DeliveryOrderView_RelationGoodsName}" />
- <Run Text="{Binding RelationGoodsName}" />
- </TextBlock>
- <TextBlock Margin="8,6,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Foreground="{DynamicResource AcountGridHeadForeground}"
- TextAlignment="Left">
- <Run Text="{x:Static resources:Client_Resource.DeliveryOrderView_RelationGoodsHoldQty}" />
- <Run Text="{Binding RelationGoodsHoldQty}" />
- </TextBlock>
- <TextBlock Margin="8,6,0,6"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Foreground="{DynamicResource AcountGridHeadForeground}"
- TextAlignment="Left">
- <Run Text="{x:Static resources:Client_Resource.DeliveryOrderView_RelationGoodsHoldPrice}" />
- <Run Text="{Binding RelationGoodsHoldPriceFormat, Mode=OneWay}" />
- </TextBlock>
- </StackPanel>
- <!-- 持仓方向 -->
- <StackPanel Grid.Row="2"
- Grid.Column="3"
- Grid.ColumnSpan="2"
- Width="165"
- HorizontalAlignment="Left"
- Orientation="Horizontal">
- <RadioButton HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="{x:Static resources:Client_Resource.DeliveryOrderView_Buy}"
- GroupName="Direction"
- IsChecked="{Binding BuyOrSell,
- ConverterParameter=0,
- Converter={StaticResource EnumBooleanConvert}}"
- IsEnabled="{Binding IsBuyEnable}"
- Style="{DynamicResource RadioButtonStyle}" />
- <RadioButton x:Name="sellDirection"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="{x:Static resources:Client_Resource.DeliveryOrderView_Sell}"
- GroupName="Direction"
- IsChecked="{Binding BuyOrSell,
- ConverterParameter=1,
- Converter={StaticResource EnumBooleanConvert}}"
- IsEnabled="{Binding IsSellEnable}"
- Style="{DynamicResource RadioButtonStyle}" />
- </StackPanel>
- <!-- 持仓数量 -->
- <TextBox Grid.Row="3"
- Grid.Column="3"
- Grid.ColumnSpan="2"
- Width="165"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- IsEnabled="False"
- Style="{DynamicResource RectangleTextBox}"
- Text="{Binding AvailHoldQty}" />
- <!-- 交割价格 -->
- <StackPanel Grid.Row="4"
- Grid.Column="3"
- Grid.ColumnSpan="2"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Orientation="Horizontal"
- Visibility="{Binding IsVisibilityHolderPrice}">
- <TextBox Width="165"
- Margin="0,10,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- IsEnabled="False"
- Style="{DynamicResource RectangleTextBox}"
- Text="{Binding DeliveryPriceFormat,
- Mode=OneWay}" />
- <!-- 价格类型 -->
- <TextBlock Margin="10,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Text="{Binding DeliveryPriceTypeDisplay}" />
- </StackPanel>
- <!-- 交割数量 -->
- <StackPanel Grid.Row="5"
- Grid.Column="3"
- Grid.ColumnSpan="2"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <xctk:DecimalUpDown Width="165"
- DefaultValue="0"
- DisplayDefaultValueOnEmptyText="True"
- KeyDown="DecimalUpDown_KeyDown"
- Style="{DynamicResource DecimalNewUpDownStyle}"
- TabIndex="5"
- Value="{Binding DeliveryCount,
- Mode=TwoWay}" />
- <TextBlock Margin="10,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.EntrustOrderFrame_Hand}" />
- </StackPanel>
- <!-- 提示:可申报数量 填写范围 -->
- <TextBlock Grid.Row="5"
- Grid.Column="3"
- Grid.ColumnSpan="4"
- Margin="0,10,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Bottom"
- Visibility="{Binding MinMaxDeliNumVisibility}">
- <Run Text="{x:Static resources:Client_Resource.DeliveryOrderView_RangBetweenMinAndMax}" />
- <Run Text="{Binding MinDeliveryUnit}" />
- <Run Text="〈﹦" />
- <Run Text="{x:Static resources:Client_Resource.DeliveryOrderView_DeliveryNum}" />
- <Run Text="〈﹦" />
- <Run Text="{Binding MaxDeliveryUnit}" />
- </TextBlock>
- <!-- 提示:错误提示 -->
- <TextBlock Grid.Row="5"
- Grid.Column="3"
- Grid.ColumnSpan="4"
- Margin="0,10,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Bottom"
- Visibility="{Binding MinMaxErrVisibility}">
- <Run Foreground="{StaticResource TextBrush_DeliveryMatchView}" Text="{Binding ErrorMsg}" />
- <!-- <Run Text="{Binding MinDeliveryUnit}" /> -->
- </TextBlock>
- <!-- 交割数量转换单位 -->
- <StackPanel Grid.Row="5"
- Grid.Column="6"
- Grid.ColumnSpan="2"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Orientation="Horizontal"
- Visibility="{Binding IsVisibilityFreezeMoney}">
- <TextBlock Margin="0,0,10,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.DeliveryOrderView_totalText}" />
- <TextBox Width="80"
- IsEnabled="False"
- Style="{DynamicResource RectangleTextBox}"
- Text="{Binding RelationNumDisplay,
- Mode=OneWay}" />
- <TextBlock Margin="10,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Text="{Binding DeliveryAgreeUnitType}" />
- </StackPanel>
- <!-- 冻结货款 -->
- <StackPanel Grid.Row="8"
- Grid.Column="0"
- Grid.ColumnSpan="8"
- MinHeight="75"
- Margin="0,5,0,0"
- HorizontalAlignment="Stretch"
- Background="{DynamicResource AcountGridHeadBackground}"
- Orientation="Vertical"
- Visibility="{Binding IsVisibilityHolderPrice}">
- <!-- 交易货款 -->
- <StackPanel Margin="55,6,0,0"
- Orientation="Horizontal"
- Visibility="{Binding FreezeTradeMoneyFormat,
- Converter={StaticResource ZeroOrNotVisibilityConverter}}">
- <TextBlock Foreground="{DynamicResource AcountGridHeadForeground}">
- <Run Text="{x:Static resources:Client_Resource.DeliveryOrderView_FreezeTradeMoney}" />
- <!--
- <Run Text="{Binding DeliveryPriceFormat,Mode=OneWay}" />
- <Run Text=" * " />
- <Run Text="{Binding DeliveryCount,Mode=OneWay}" />
- <Run Text=" * " />
- <Run Text="合约单位" />
- <Run Text=" = " />
- -->
- <Run Text="{Binding FreezeTradeMoneyFormat, Mode=OneWay}" />
- </TextBlock>
- <Button Margin="10,0,0,0"
- Background="Transparent"
- Padding="2"
- Style="{DynamicResource TextButtonStyle}"
- ToolTip="{Binding FreezeTradeMoneyTooltip}"
- Visibility="{Binding IsVisibilityDeliveryTradeMoney}">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
- <Ellipse Width="12"
- Height="12"
- Stroke="{DynamicResource AcountGridHeadForeground}"
- StrokeThickness="1" />
- <TextBlock HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Foreground="{DynamicResource AcountGridHeadForeground}"
- Text="?" />
- </Grid>
- </Button>
- </StackPanel>
- <!-- 差价款 -->
- <StackPanel Margin="55,2,0,0"
- Orientation="Horizontal"
- Visibility="{Binding FreezePriceMoveMoneyFormat,
- Converter={StaticResource ZeroOrNotVisibilityConverter}}">
- <TextBlock Foreground="{DynamicResource AcountGridHeadForeground}">
- <Run Text="{x:Static resources:Client_Resource.DeliveryOrderView_FreezePriceMoveMoney}" />
- <!--
- <Run Text="{Binding DeliveryPriceMoveDisplay,Mode=OneWay}" />
- <Run Text=" * " />
- <Run Text="{Binding RelationNumDisplay,Mode=OneWay}" />
- <Run Text=" = " />
- -->
- <Run Text="{Binding FreezePriceMoveMoneyFormat, Mode=OneWay}" />
- </TextBlock>
- <Button Margin="10,0,0,0"
- Background="Transparent"
- Padding="2"
- Style="{DynamicResource TextButtonStyle}"
- ToolTip="{Binding FreezePriceMoveMoneyTooltip}">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
- <Ellipse Width="12"
- Height="12"
- Stroke="{DynamicResource AcountGridHeadForeground}"
- StrokeThickness="1" />
- <TextBlock HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Foreground="{DynamicResource AcountGridHeadForeground}"
- Text="?" />
- </Grid>
- </Button>
- </StackPanel>
- <!-- 手续费 -->
- <TextBlock Margin="55,4,0,0"
- Foreground="{DynamicResource AcountGridHeadForeground}"
- Visibility="{Binding TotalDeliveryFee,
- Converter={StaticResource ZeroOrNotVisibilityConverter}}">
- <Run Text="{x:Static resources:Client_Resource.Content_Charge}" />
- <Run Text="{Binding TotalDeliveryFee, Mode=OneWay}" />
- </TextBlock>
- <!-- 税款 -->
- <TextBlock Margin="55,6,0,0"
- Foreground="{DynamicResource AcountGridHeadForeground}"
- Visibility="{Binding TotalFreezeFax,
- Converter={StaticResource ZeroOrNotVisibilityConverter}}">
- <Run Text="{x:Static resources:Client_Resource.Content_DeliveryTax}" />
- <Run Text="{Binding TotalFreezeFax, Mode=OneWay}" />
- </TextBlock>
- <!-- 合计冻结货款 -->
- <TextBlock Margin="55,6,0,6"
- Foreground="{DynamicResource AcountGridHeadForeground}"
- Visibility="{Binding FreezeDeliveryMoneyFormat,
- Converter={StaticResource ZeroOrNotVisibilityConverter}}">
- <Run Text="{Binding TotalFreezenMoneyText}" />
- <Run Foreground="{StaticResource TextBrush_DeliveryMatchView}" Text="{Binding FreezeDeliveryMoneyFormat, Mode=OneWay}" />
- </TextBlock>
- </StackPanel>
- <!-- 冻结手续费 -->
- <TextBlock Grid.Row="8"
- Grid.Column="1"
- Grid.ColumnSpan="3"
- Margin="25,10,0,0"
- Foreground="{DynamicResource AcountGridHeadForeground}"
- Visibility="{Binding IsVisibilitySellModel_Show}">
- <Run Text="{x:Static resources:Client_Resource.Content_FrezenCharge}" />
- <Run Text="{Binding TotalDeliveryFee, Mode=OneWay}" />
- </TextBlock>
- <!-- 温馨提示内容 -->
- <TextBlock Grid.Row="15"
- Margin="0,5,0,0"
- Grid.Column="1"
- Grid.ColumnSpan="6"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Foreground="{StaticResource TextBrush_DeliveryMatchView}"
- Visibility="{Binding IsVisibilitySellModel}">
- <Run Text="{Binding WarningTips}" />
- </TextBlock>
- <StackPanel Grid.Row="15"
- Margin="0,5,0,0"
- Grid.Column="1"
- Grid.ColumnSpan="6"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Orientation="Horizontal"
- Visibility="{Binding IsVisibilitySellModel_Show}">
- <TextBlock>
- <Run Text="{x:Static resources:Client_Resource.DeliveryOrderView_WrhourseNeedQtyMustGreatThan}" />
- <Run Foreground="{StaticResource TextBrush_DeliveryMatchView}" Text="{Binding RelationNumDisplay, Mode=OneWay}" />
- <Run Text="{x:Static resources:Client_Resource.DeliveryOrderView_AlreadyPicket}" />
- <Run Text="{Binding AlreadyMatchQty}" />
- </TextBlock>
- </StackPanel>
- <StackPanel Margin="0,5,0,0" Visibility="{Binding IsVisibilitySellModel}" Grid.Row="9" Grid.RowSpan="6" Grid.Column="1" Grid.ColumnSpan="6" >
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition />
- <ColumnDefinition />
- <ColumnDefinition />
- <ColumnDefinition />
- <ColumnDefinition />
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Row="0"
- Grid.Column="0"
- Margin="0,2,0,2"
- HorizontalAlignment="Right"
- Text="{x:Static resources:Client_Resource.TakaDeliveryGoodsApplyViewModel_RecievePerson}" />
- <TextBox Grid.Row="0"
- Grid.ColumnSpan="3"
- Width="165"
- IsEnabled="True"
- HorizontalAlignment="Left"
- TextAlignment="Left"
- HorizontalContentAlignment="Left"
- Grid.Column="1"
- Margin="32,2,0,2"
- Style="{DynamicResource RectangleTextBox}"
- Text="{Binding RecievePerson}" />
- <TextBlock Grid.Row="0"
- Grid.Column="3"
- Grid.ColumnSpan="1"
- Margin="55,2,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Foreground="{StaticResource TextBrush_Common}"
- Text="*" />
- <TextBlock Grid.Row="1"
- Grid.Column="0"
- Margin="0,2,0,2"
- HorizontalAlignment="Right"
- Text="{x:Static resources:Client_Resource.TakaDeliveryGoodsApplyViewModel_PhoneNum}" />
- <TextBox Grid.Row="1"
- Grid.ColumnSpan="3"
- Width="165"
- HorizontalAlignment="Left"
- HorizontalContentAlignment="Left"
- IsEnabled="True"
- Grid.Column="1"
- Margin="32,2,0,2"
- Style="{DynamicResource RectangleTextBox}"
- Text="{Binding PhoneNum}" />
- <TextBlock Grid.Row="1"
- Grid.Column="3"
- Grid.ColumnSpan="1"
- Margin="55,2,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Foreground="{StaticResource TextBrush_Common}"
- Text="*" />
- <TextBlock Grid.Row="2"
- Grid.Column="0"
- Margin="0,2,0,2"
- HorizontalAlignment="Right"
- Text="{x:Static resources:Client_Resource.TakaDeliveryGoodsApplyViewModel_RecieveAddress}" />
- <TextBox Grid.Row="2"
- IsEnabled="True"
- HorizontalContentAlignment="Left"
- Grid.Column="1"
- Grid.ColumnSpan="5"
- Width="320"
- HorizontalAlignment="Left"
- Style="{DynamicResource RectangleTextBox}"
- Margin="32,2,0,2"
- Text="{Binding RecieveAddress}" />
- <TextBlock Grid.Row="2"
- Grid.Column="5"
- Grid.ColumnSpan="1"
- Margin="65,2,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Foreground="{StaticResource TextBrush_Common}"
- Text="*" />
- </Grid>
- </StackPanel>
- <StackPanel Grid.Row="17"
- Grid.RowSpan="2"
- Grid.ColumnSpan="8"
- Margin="0,10"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <Button Width="82"
- Height="26"
- Command="{Binding OKCommand}"
- CommandParameter="{Binding ElementName=DeliveryOrderViewWindow}"
- Content="{x:Static resources:Client_Resource.Button_Confirm}"
- IsEnabled="{Binding OKButtonEnabled}"
- Style="{DynamicResource CommonButtonStyle}" />
- <Button Width="82"
- Height="26"
- Margin="60,0,0,0"
- Command="{Binding CancelCommand}"
- CommandParameter="{Binding ElementName=DeliveryOrderViewWindow}"
- Content="{x:Static resources:Client_Resource.Button_Cancel}"
-
- Style="{DynamicResource CommonButtonStyle}" />
- </StackPanel>
- <TextBlock Grid.Row="16"
- Grid.Column="3"
- Margin="0,5,0,0"
- Grid.ColumnSpan="4"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Foreground="{StaticResource TextBrush_DeliveryMatchView}">
- <Run Text="{Binding ShowErrorInfo}" />
- </TextBlock>
- </Grid>
- </xctk:BusyIndicator>
- </Window>
|