|
|
@ -14,10 +14,10 @@ |
|
|
|
xmlns:hc="https://handyorg.github.io/handycontrol" |
|
|
|
CloseButtonVisibility="Visible" |
|
|
|
WindowStartupLocation="CenterScreen" |
|
|
|
CloseButtonColor="{StaticResource WindowButtonColor}" |
|
|
|
CloseButtonColor="White" |
|
|
|
DataContext="{Binding PackDetailVM,Source={StaticResource Locator}}" |
|
|
|
MinButtonVisibility="Collapsed" |
|
|
|
MaxButtonVisibility="Collapsed" |
|
|
|
MaxButtonVisibility="Collapsed" |
|
|
|
RightButtonGroupMargin="0,5,5,0"> |
|
|
|
<!--ResizeMode="NoResize"--> |
|
|
|
<Window.Resources> |
|
|
@ -82,8 +82,8 @@ |
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
|
|
<Border BorderThickness="0,0,0,1" BorderBrush="{StaticResource MainMenu.BorderBrush}" |
|
|
|
Background="{StaticResource Border.Background}"> |
|
|
|
<TextBlock Text="包装任务配置" HorizontalAlignment="Center" VerticalAlignment="Center"/> |
|
|
|
Background="{StaticResource Button.Background}"> |
|
|
|
<TextBlock Text="包装任务配置" HorizontalAlignment="Left" Foreground="White" Margin="20 0 0 0" VerticalAlignment="Center"/> |
|
|
|
|
|
|
|
</Border> |
|
|
|
<Grid Grid.Row="1" > |
|
|
@ -347,7 +347,7 @@ |
|
|
|
ItemsSource="{Binding PackUserModelList,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
|
BorderBrush="{StaticResource Border.Brush}" |
|
|
|
BorderThickness="1,1,1,1" |
|
|
|
BorderThickness="1 0 1 0 " |
|
|
|
Foreground="{StaticResource Text.Color}" |
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Auto" |
|
|
|
> |
|
|
@ -375,7 +375,7 @@ |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
<c:BButton Content="添加" Foreground="Blue" BorderThickness="1" BorderBrush="{StaticResource Border.Brush}" Background="Transparent" HorizontalAlignment="Stretch" |
|
|
|
<c:BButton Content="添加" Foreground="Blue" BorderThickness="1 0 1 1" BorderBrush="{StaticResource Border.Brush}" Background="Transparent" HorizontalAlignment="Stretch" |
|
|
|
Command="{Binding AddPackUserCommand}" |
|
|
|
/> |
|
|
|
</StackPanel> |
|
|
@ -432,7 +432,7 @@ |
|
|
|
ItemsSource="{Binding ConsumableServiceList}" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
|
BorderBrush="{StaticResource Border.Brush}" |
|
|
|
BorderThickness="1,1,1,0" |
|
|
|
BorderThickness="1,0,1,0" |
|
|
|
Foreground="{StaticResource Text.Color}" |
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Auto" |
|
|
|
> |
|
|
@ -458,7 +458,7 @@ |
|
|
|
<TextBox Margin="1" BorderThickness="0" VerticalContentAlignment="Center" Grid.Column="3" Height="30" Text="{Binding TaskCount,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" /> |
|
|
|
<c:BButton Foreground="Blue" BorderBrush="{StaticResource Border.Brush}" Background="Transparent" HorizontalAlignment="Stretch" |
|
|
|
Command="{Binding DeleteServiceCommand}" |
|
|
|
Visibility="{Binding DataContext.IsConsumableTypeListEnable,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}},Converter={StaticResource objConverter},ConverterParameter=true:Visible:Collapsed}" |
|
|
|
Visibility="{Binding IsHideDelete,Converter={StaticResource objConverter},ConverterParameter=true:Collapsed:Visible}" |
|
|
|
CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type ListBox}}, Path=ItemsSource}" Content="删除" Grid.Column="4"/> |
|
|
|
|
|
|
|
<Border HorizontalAlignment="Left" Margin="-1 0 0 0" Grid.Column="1" Width="1" Background="{StaticResource Border.Brush}"/> |
|
|
@ -471,9 +471,11 @@ |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
<c:BButton Content="添加" Foreground="Blue" BorderThickness="1" BorderBrush="{StaticResource Border.Brush}" Background="Transparent" HorizontalAlignment="Stretch" |
|
|
|
Visibility="{Binding IsConsumableTypeListEnable,Converter={StaticResource objConverter},ConverterParameter=true:Visible:Collapsed}" Command="{Binding AddConsumableCommand}" |
|
|
|
<c:BButton Content="添加" Foreground="Blue" BorderThickness="1 0 1 1" BorderBrush="{StaticResource Border.Brush}" Background="Transparent" HorizontalAlignment="Stretch" |
|
|
|
Command="{Binding AddConsumableCommand}" |
|
|
|
/> |
|
|
|
<!-- Visibility="{Binding DataContext.IsConsumableTypeListEnable,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}},Converter={StaticResource objConverter},ConverterParameter=true:Visible:Collapsed}" |
|
|
|
Visibility="{Binding IsConsumableTypeListEnable,Converter={StaticResource objConverter},ConverterParameter=true:Visible:Collapsed}" --> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</Grid> |
|
|
|