|
|
@ -88,45 +88,63 @@ |
|
|
Foreground="{Binding PanelIndex,Converter={StaticResource objConverter},ConverterParameter=2:White:#4A4A4A}"/> |
|
|
Foreground="{Binding PanelIndex,Converter={StaticResource objConverter},ConverterParameter=2:White:#4A4A4A}"/> |
|
|
</StackPanel> |
|
|
</StackPanel> |
|
|
|
|
|
|
|
|
<Grid Grid.Row="2" Margin="20,0" Visibility="{Binding PanelIndex,Converter={StaticResource objConverter},ConverterParameter=0:Visible:Collapsed}"> |
|
|
<StackPanel Grid.Row="2" Margin="20,0" Visibility="{Binding PanelIndex,Converter={StaticResource objConverter},ConverterParameter=0:Visible:Collapsed}"> |
|
|
<Grid.ColumnDefinitions> |
|
|
<Grid Margin="0,10,0,0"> |
|
|
<ColumnDefinition Width="80"/> |
|
|
<Grid.ColumnDefinitions> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition Width="100"/> |
|
|
</Grid.ColumnDefinitions> |
|
|
<ColumnDefinition/> |
|
|
<Grid.RowDefinitions> |
|
|
</Grid.ColumnDefinitions> |
|
|
<RowDefinition Height="40"/> |
|
|
<TextBlock Text="采购平台" Style="{StaticResource textblockPropertyStyle}"/> |
|
|
<RowDefinition Height="40"/> |
|
|
<ComboBox ItemsSource="{Binding Source={StaticResource PlatformProvider}}" Grid.Column="1" |
|
|
<RowDefinition Height="40"/> |
|
|
|
|
|
<RowDefinition Height="40"/> |
|
|
|
|
|
<RowDefinition Height="40"/> |
|
|
|
|
|
<RowDefinition/> |
|
|
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="采购平台" Style="{StaticResource textblockPropertyStyle}"/> |
|
|
|
|
|
<ComboBox ItemsSource="{Binding Source={StaticResource PlatformProvider}}" Grid.Column="1" |
|
|
|
|
|
SelectedItem="{Binding PurchasePlatform,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
SelectedItem="{Binding PurchasePlatform,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
DisplayMemberPath="." |
|
|
DisplayMemberPath="." |
|
|
Height="25" |
|
|
Height="25" |
|
|
Width="150" |
|
|
Width="150" |
|
|
HorizontalAlignment="Left" |
|
|
HorizontalAlignment="Left" |
|
|
VerticalContentAlignment="Center"/> |
|
|
VerticalContentAlignment="Center"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
<TextBlock Text="账号名称" Style="{StaticResource textblockPropertyStyle}" Grid.Row="1"/> |
|
|
<Grid Margin="0,10,0,0"> |
|
|
<c:BTextBox Grid.Column="1" Style="{StaticResource textboxValueStyle}" Grid.Row="1" |
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
|
|
<ColumnDefinition/> |
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
<TextBlock Text="{Binding PurchasePlatform,ConverterParameter=拳探:用户账号:账号名称,Converter={StaticResource objConverter}}" Style="{StaticResource textblockPropertyStyle}" Grid.Row="1"/> |
|
|
|
|
|
<c:BTextBox Grid.Column="1" Style="{StaticResource textboxValueStyle}" Grid.Row="1" |
|
|
Text="{Binding PurchaseAccount.AccountName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
Text="{Binding PurchaseAccount.AccountName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
<TextBlock Text="AppKey" Style="{StaticResource textblockPropertyStyle}" Grid.Row="2"/> |
|
|
<Grid Margin="0,10,0,0" |
|
|
<c:BTextBox Grid.Column="1" Grid.Row="2" |
|
|
Visibility="{Binding PurchasePlatform,ConverterParameter=拳探:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
|
|
<ColumnDefinition/> |
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
<TextBlock Text="AppKey" Style="{StaticResource textblockPropertyStyle}" Grid.Row="2"/> |
|
|
|
|
|
<c:BTextBox Grid.Column="1" Grid.Row="2" |
|
|
Text="{Binding PurchaseAccount.AppKey,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
Text="{Binding PurchaseAccount.AppKey,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
<TextBlock Text="AppSecret" Style="{StaticResource textblockPropertyStyle}" Grid.Row="3"/> |
|
|
<Grid Margin="0,10,0,0" Visibility="{Binding PurchasePlatform,ConverterParameter=拳探:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
<c:BTextBox Grid.Column="1" Grid.Row="3" |
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
|
|
<ColumnDefinition/> |
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
<TextBlock Text="AppSecret" Style="{StaticResource textblockPropertyStyle}" Grid.Row="3"/> |
|
|
|
|
|
<c:BTextBox Grid.Column="1" Grid.Row="3" |
|
|
Text="{Binding PurchaseAccount.AppSecret,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
Text="{Binding PurchaseAccount.AppSecret,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
<TextBlock Text="AppToken" Style="{StaticResource textblockPropertyStyle}" Grid.Row="4"/> |
|
|
<Grid Margin="0,10,0,0" Visibility="{Binding PurchasePlatform,ConverterParameter=拳探:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
<c:BTextBox Grid.Column="1" Grid.Row="4" |
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
|
|
<ColumnDefinition/> |
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
<TextBlock Text="AppToken" Style="{StaticResource textblockPropertyStyle}" Grid.Row="4"/> |
|
|
|
|
|
<c:BTextBox Grid.Column="1" Grid.Row="4" |
|
|
Text="{Binding PurchaseAccount.AppToken,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
Text="{Binding PurchaseAccount.AppToken,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
</Grid> |
|
|
</Grid> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
|
<Grid Grid.Row="2" Margin="20,0" Visibility="{Binding PanelIndex,Converter={StaticResource objConverter},ConverterParameter=1:Visible:Collapsed}"> |
|
|
<Grid Grid.Row="2" Margin="20,0" Visibility="{Binding PanelIndex,Converter={StaticResource objConverter},ConverterParameter=1:Visible:Collapsed}"> |
|
|
<Grid.RowDefinitions> |
|
|
<Grid.RowDefinitions> |
|
|
|