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.
78 lines
4.6 KiB
78 lines
4.6 KiB
<c:BWindow x:Class="BBWY.Client.Views.BatchPurchase.PackSkuSplitCountAndStoreWindow"
|
|
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.BatchPurchase"
|
|
mc:Ignorable="d"
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls"
|
|
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
|
Title="PackSkuSplitCountAndStoreWindow" Height="200" Width="300"
|
|
Style="{StaticResource bwstyle}"
|
|
MinButtonVisibility="Collapsed"
|
|
MaxButtonVisibility="Collapsed">
|
|
<c:BWindow.Resources>
|
|
<sys:Int32 x:Key="store_ShangJiaCang">1</sys:Int32>
|
|
<sys:Int32 x:Key="store_JingCang">2</sys:Int32>
|
|
<sys:Int32 x:Key="store_YunCang">3</sys:Int32>
|
|
</c:BWindow.Resources>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="30"/>
|
|
<RowDefinition/>
|
|
<RowDefinition Height="5"/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition Height="40"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="70"/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Border BorderThickness="0,0,0,1" BorderBrush="{StaticResource MainMenu.BorderBrush}"
|
|
Background="{StaticResource Border.Background}"
|
|
Grid.ColumnSpan="2">
|
|
<TextBlock Text="装箱设置" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</Border>
|
|
|
|
<StackPanel Grid.Row="1" Orientation="Horizontal" Grid.ColumnSpan="2" HorizontalAlignment="Center">
|
|
<c:BButton Content="京仓" Width="70"
|
|
Background="{Binding StoreTypeIndex,Converter={StaticResource objConverter},ConverterParameter=2:#8080FF:#F2F2F2}"
|
|
Foreground="{Binding StoreTypeIndex,Converter={StaticResource objConverter},ConverterParameter=2:White:#4A4A4A}"
|
|
Command="{Binding SetStoreIndexCommand}" CommandParameter="{StaticResource store_JingCang}"/>
|
|
<c:BButton Content="云仓" Width="70"
|
|
Background="{Binding StoreTypeIndex,Converter={StaticResource objConverter},ConverterParameter=3:#8080FF:#F2F2F2}"
|
|
Foreground="{Binding StoreTypeIndex,Converter={StaticResource objConverter},ConverterParameter=3:White:#4A4A4A}"
|
|
Command="{Binding SetStoreIndexCommand}" CommandParameter="{StaticResource store_YunCang}"/>
|
|
<c:BButton Content="聚水潭" Width="70"
|
|
Background="{Binding IsJST,Converter={StaticResource objConverter},ConverterParameter=true:#8080FF:#F2F2F2}"
|
|
Foreground="{Binding IsJST,Converter={StaticResource objConverter},ConverterParameter=true:White:#4A4A4A}"
|
|
Command="{Binding SetJSTCommand}"/>
|
|
<c:BButton Content="商家仓" Width="70"
|
|
Background="{Binding StoreTypeIndex,Converter={StaticResource objConverter},ConverterParameter=1:#8080FF:#F2F2F2}"
|
|
Foreground="{Binding StoreTypeIndex,Converter={StaticResource objConverter},ConverterParameter=1:White:#4A4A4A}"
|
|
Command="{Binding SetStoreIndexCommand}" CommandParameter="{StaticResource store_ShangJiaCang}"/>
|
|
</StackPanel>
|
|
|
|
<TextBlock Text="件数:" HorizontalAlignment="Right" VerticalAlignment="Center"
|
|
Grid.Row="3"/>
|
|
<c:BTextBox x:Name="txtQuantity" Grid.Column="1" Grid.Row="3" VerticalAlignment="Center"
|
|
Margin="5,0,10,0"/>
|
|
|
|
<TextBlock Text="落仓去向:" HorizontalAlignment="Right" VerticalAlignment="Center"
|
|
Grid.Row="4"
|
|
Visibility="{Binding IsJST,ConverterParameter=true:Collapsed:Visible,Converter={StaticResource objConverter}}"/>
|
|
<ComboBox x:Name="cbx_stroeList" Grid.Row="4" Grid.Column="1" Height="30"
|
|
Margin="5,0,10,0"
|
|
DisplayMemberPath="Name"
|
|
VerticalContentAlignment="Center"
|
|
Visibility="{Binding IsJST,ConverterParameter=true:Collapsed:Visible,Converter={StaticResource objConverter}}"/>
|
|
|
|
<c:BButton x:Name="btn_save" Content="保存" Width="80" HorizontalAlignment="Right" Grid.Row="5"
|
|
Margin="0,0,5,0" Click="btn_save_Click"
|
|
Grid.Column="1"/>
|
|
</Grid>
|
|
</c:BWindow>
|
|
|