|
|
@ -208,9 +208,9 @@ |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="180" Height="68"> |
|
|
|
<TextBox Text="{Binding Count,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="0" Width="180" Height="68" |
|
|
|
<TextBox Text="{Binding Count,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" Height="30" BorderBrush="{StaticResource Border.Brush}" |
|
|
|
IsEnabled="{Binding WareState,Converter={StaticResource objConverter},ConverterParameter=待封箱|#null:true:false}" |
|
|
|
BorderThickness="0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
|
|
|
|
</TextBox> |
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Right"/> |
|
|
@ -280,14 +280,14 @@ |
|
|
|
</ListBox.ItemsPanel> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="200" Height="32"> |
|
|
|
<Grid Width="220" Height="32"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<TextBlock Text="{Binding WareName}" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
|
|
<c:BButton Style="{StaticResource LinkButton}" Content="批量MAX" |
|
|
|
<c:BButton Style="{StaticResource LinkButton}" Content="批量MAX设置" |
|
|
|
CommandParameter="{Binding WareId}" Command="{Binding DataContext.BatchSetWareMaxCountCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type c:BWindow}}}" |
|
|
|
Grid.Column="1" HorizontalAlignment="Left"/> |
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Right" Grid.ColumnSpan="2"/> |
|
|
@ -379,14 +379,16 @@ |
|
|
|
</ListBox.ItemsPanel> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="200" Height="68"> |
|
|
|
<Grid Width="220" Height="68"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition Width="50"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<TextBox Text="{Binding Count,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="0" Width="155" Height="68" |
|
|
|
<TextBox Text="{Binding Count,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" Height="30" BorderBrush="{StaticResource Border.Brush}" |
|
|
|
IsEnabled="{Binding WareState,Converter={StaticResource objConverter},ConverterParameter=待封箱|#null:true:false}" |
|
|
|
BorderThickness="0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"/> |
|
|
|
VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
|
|
|
|
</TextBox> |
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Left" Grid.Column="1"/> |
|
|
|
<c:BButton Style="{StaticResource LinkButton}" Content="MAX" FontSize="14" Foreground="Gray" |
|
|
|
IsEnabled="{Binding WareState,Converter={StaticResource objConverter},ConverterParameter=待封箱|#null:true:false}" |
|
|
@ -455,19 +457,18 @@ |
|
|
|
</ListBox.ItemsPanel> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="155" Height="32"> |
|
|
|
<Grid Width="180" Height="32"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<TextBlock Text="{Binding WareName}" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
|
|
<c:BButton Style="{StaticResource LinkButton}" Content="批量MAX" |
|
|
|
<c:BButton Style="{StaticResource LinkButton}" Content="批量MAX设置" |
|
|
|
CommandParameter="{Binding WareId}" Command="{Binding DataContext.BatchSetWareMaxCountCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type c:BWindow}}}" |
|
|
|
Grid.Column="1" HorizontalAlignment="Left"/> |
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Right" Grid.ColumnSpan="2"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
@ -554,14 +555,16 @@ |
|
|
|
</ListBox.ItemsPanel> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="155" Height="68"> |
|
|
|
<Grid Width="180" Height="68"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition Width="50"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<TextBox Text="{Binding Count,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="0" Width="155" Height="68" |
|
|
|
<TextBox Text="{Binding Count,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" Height="30" BorderBrush="{StaticResource Border.Brush}" |
|
|
|
IsEnabled="{Binding WareState,Converter={StaticResource objConverter},ConverterParameter=待封箱|#null:true:false}" |
|
|
|
BorderThickness="0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"/> |
|
|
|
VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
|
|
|
|
</TextBox> |
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Left" Grid.Column="1"/> |
|
|
|
<c:BButton Style="{StaticResource LinkButton}" Content="MAX" FontSize="14" Foreground="Gray" |
|
|
|
IsEnabled="{Binding WareState,Converter={StaticResource objConverter},ConverterParameter=待封箱|#null:true:false}" |
|
|
@ -630,14 +633,14 @@ |
|
|
|
</ListBox.ItemsPanel> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="155" Height="32"> |
|
|
|
<Grid Width="180" Height="32"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<TextBlock Text="{Binding WareName}" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
|
|
<c:BButton Style="{StaticResource LinkButton}" Content="批量MAX" |
|
|
|
<c:BButton Style="{StaticResource LinkButton}" Content="批量MAX设置" |
|
|
|
CommandParameter="{Binding WareId}" Command="{Binding DataContext.BatchSetWareMaxCountCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type c:BWindow}}}" |
|
|
|
Grid.Column="1" HorizontalAlignment="Left"/> |
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Right" Grid.ColumnSpan="2"/> |
|
|
@ -723,14 +726,16 @@ |
|
|
|
</ListBox.ItemsPanel> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="155" Height="68"> |
|
|
|
<Grid Width="180" Height="68"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition Width="50"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<TextBox Text="{Binding Count,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="0" Width="155" Height="68" |
|
|
|
<TextBox Text="{Binding Count,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" Height="30" BorderBrush="{StaticResource Border.Brush}" |
|
|
|
IsEnabled="{Binding WareState,Converter={StaticResource objConverter},ConverterParameter=待封箱|#null:true:false}" |
|
|
|
BorderThickness="0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"/> |
|
|
|
VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
|
|
|
|
</TextBox> |
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Left" Grid.Column="1"/> |
|
|
|
<c:BButton Style="{StaticResource LinkButton}" Content="MAX" FontSize="14" Foreground="Gray" |
|
|
|
IsEnabled="{Binding WareState,Converter={StaticResource objConverter},ConverterParameter=待封箱|#null:true:false}" |
|
|
|