|
@ -5,15 +5,22 @@ |
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
xmlns:local="clr-namespace:BBWY.Client.Views.BatchPurchase" |
|
|
xmlns:local="clr-namespace:BBWY.Client.Views.BatchPurchase" |
|
|
mc:Ignorable="d" |
|
|
mc:Ignorable="d" |
|
|
|
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib" |
|
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls" |
|
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls" |
|
|
xmlns:b="http://schemas.microsoft.com/xaml/behaviors" |
|
|
xmlns:b="http://schemas.microsoft.com/xaml/behaviors" |
|
|
Title="PackSkuSplitCountAndStoreWindow" Height="160" Width="250" |
|
|
Title="PackSkuSplitCountAndStoreWindow" Height="200" Width="300" |
|
|
Style="{StaticResource bwstyle}" |
|
|
Style="{StaticResource bwstyle}" |
|
|
MinButtonVisibility="Collapsed" |
|
|
MinButtonVisibility="Collapsed" |
|
|
MaxButtonVisibility="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> |
|
|
<Grid.RowDefinitions> |
|
|
<Grid.RowDefinitions> |
|
|
<RowDefinition Height="30"/> |
|
|
<RowDefinition Height="30"/> |
|
|
|
|
|
<RowDefinition/> |
|
|
<RowDefinition Height="5"/> |
|
|
<RowDefinition Height="5"/> |
|
|
<RowDefinition/> |
|
|
<RowDefinition/> |
|
|
<RowDefinition/> |
|
|
<RowDefinition/> |
|
@ -31,19 +38,40 @@ |
|
|
<TextBlock Text="装箱设置" HorizontalAlignment="Center" VerticalAlignment="Center"/> |
|
|
<TextBlock Text="装箱设置" HorizontalAlignment="Center" VerticalAlignment="Center"/> |
|
|
</Border> |
|
|
</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" |
|
|
<TextBlock Text="件数:" HorizontalAlignment="Right" VerticalAlignment="Center" |
|
|
Grid.Row="2"/> |
|
|
Grid.Row="3"/> |
|
|
<c:BTextBox x:Name="txtQuantity" Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" |
|
|
<c:BTextBox x:Name="txtQuantity" Grid.Column="1" Grid.Row="3" VerticalAlignment="Center" |
|
|
Margin="5,0,10,0"/> |
|
|
Margin="5,0,10,0"/> |
|
|
|
|
|
|
|
|
<TextBlock Text="落仓去向:" HorizontalAlignment="Right" VerticalAlignment="Center" |
|
|
<TextBlock Text="落仓去向:" HorizontalAlignment="Right" VerticalAlignment="Center" |
|
|
Grid.Row="3"/> |
|
|
Grid.Row="4" |
|
|
<ComboBox x:Name="cbx_stroeList" Grid.Row="3" Grid.Column="1" Height="30" |
|
|
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" |
|
|
Margin="5,0,10,0" |
|
|
DisplayMemberPath="Name" |
|
|
DisplayMemberPath="Name" |
|
|
VerticalContentAlignment="Center"/> |
|
|
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="4" |
|
|
<c:BButton x:Name="btn_save" Content="保存" Width="80" HorizontalAlignment="Right" Grid.Row="5" |
|
|
Margin="0,0,5,0" Click="btn_save_Click" |
|
|
Margin="0,0,5,0" Click="btn_save_Click" |
|
|
Grid.Column="1"/> |
|
|
Grid.Column="1"/> |
|
|
</Grid> |
|
|
</Grid> |
|
|