You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
6.9 KiB
113 lines
6.9 KiB
<c:BWindow x:Class="BBWY.Client.Views.FallWare.SetJDWareBoxWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:local="clr-namespace:BBWY.Client.Views.FallWare"
|
|
mc:Ignorable="d"
|
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls"
|
|
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:ctr="clr-namespace:BBWY.Client.Converters"
|
|
xmlns:cmodel="clr-namespace:BBWY.Client.Models"
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
|
|
WindowStartupLocation="CenterScreen"
|
|
CloseButtonVisibility="Visible"
|
|
CloseButtonColor="{StaticResource WindowButtonColor}"
|
|
MinButtonVisibility="Collapsed"
|
|
MaxButtonVisibility="Collapsed"
|
|
Width="450" Height="500"
|
|
RightButtonGroupMargin="0,5,5,0">
|
|
<!--CloseButtonColor="{StaticResource WindowButtonColor}" -->
|
|
<c:BWindow.Resources>
|
|
<ResourceDictionary>
|
|
|
|
<Style x:Key="middleTextBox" TargetType="TextBox">
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
<Setter Property="VerticalAlignment" Value="Stretch"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="1"/>
|
|
|
|
</Style>
|
|
|
|
</ResourceDictionary>
|
|
</c:BWindow.Resources>
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="39"/>
|
|
<RowDefinition/>
|
|
<RowDefinition Height="36"/>
|
|
</Grid.RowDefinitions>
|
|
<Border BorderThickness="0,0,0,1" BorderBrush="{StaticResource MainMenu.BorderBrush}"
|
|
Background="{StaticResource Border.Background}">
|
|
<TextBlock Text="京仓箱唛" FontSize="16" HorizontalAlignment="Left" Margin="10 0 0 0" VerticalAlignment="Center"/>
|
|
</Border>
|
|
<Grid Grid.Row="1" Margin="1 0 1 1" Name="jd_box">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Row="0" VerticalAlignment="Top" Grid.ColumnSpan="4"/>
|
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Row="0" VerticalAlignment="Bottom" Grid.ColumnSpan="4"/>
|
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Row="1" VerticalAlignment="Bottom" Grid.ColumnSpan="4"/>
|
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Row="2" VerticalAlignment="Bottom" Grid.ColumnSpan="4"/>
|
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Row="3" VerticalAlignment="Bottom" Grid.ColumnSpan="4"/>
|
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Row="4" VerticalAlignment="Bottom" Grid.ColumnSpan="4"/>
|
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Row="5" VerticalAlignment="Bottom" Grid.ColumnSpan="4"/>
|
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Row="6" VerticalAlignment="Bottom" Grid.ColumnSpan="4"/>
|
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="0" HorizontalAlignment="Left" Grid.RowSpan="7"/>
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="0" HorizontalAlignment="Right" Grid.RowSpan="7"/>
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="3" HorizontalAlignment="Right" Grid.RowSpan="7"/>
|
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="1" Grid.Row="6" HorizontalAlignment="Right" Grid.RowSpan="1"/>
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="2" Grid.Row="6" HorizontalAlignment="Right" Grid.RowSpan="1"/>
|
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="供应商名称"/>
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="{Binding ShopName}" Grid.Column="1" Grid.ColumnSpan="3"/>
|
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="采购单号" Grid.Row="1"/>
|
|
<TextBox Style="{StaticResource middleTextBox}" Text="{Binding PurchaseOrder ,Mode=TwoWay}" Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3"/>
|
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="预约单号" Grid.Row="2"/>
|
|
<TextBox Style="{StaticResource middleTextBox}" Text="{Binding PrewOrder,Mode=TwoWay}" Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="3"/>
|
|
|
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="运单号" Grid.Row="3"/>
|
|
<TextBox Style="{StaticResource middleTextBox}" Text="{Binding WaybillNo,Mode=TwoWay}" Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="3"/>
|
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="目的城市-仓库" Grid.Row="4"/>
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="{Binding WareName}" Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="3"/>
|
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="商品名称" Grid.Row="5"/>
|
|
<TextBox Style="{StaticResource middleTextBox}" Text="{Binding ProductTitle,Mode=TwoWay}" Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="3"/>
|
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="箱数" Grid.Row="6"/>
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Grid.Row="6" Grid.Column="1" >
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="1/"/>
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="{Binding BoxCount,Mode=TwoWay}" />
|
|
|
|
|
|
</StackPanel>
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="商品数量" Grid.Row="6" Grid.Column="2"/>
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="{Binding ProductCount}" Grid.Row="6" Grid.Column="3" />
|
|
|
|
</Grid>
|
|
<c:BButton Grid.Row="2" Content="保存" HorizontalAlignment="Right" Width="105" VerticalAlignment="Center" Height="40" Click="BButton_Click"
|
|
Name="btn_save" />
|
|
</Grid>
|
|
</c:BWindow>
|
|
|