优化店铺列表展示
This commit is contained in:
1 parent
f0f1f1ed9e
commit
a6e8e5b8cd
2 files changed
+36
-7
No files matched your search
@@ -157,10 +157,18 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</DataGridTemplateColumn.CellTemplate>
|
</DataGridTemplateColumn.CellTemplate>
|
||||||
</DataGridTemplateColumn>
|
</DataGridTemplateColumn>
|
||||||
|
<DataGridTextColumn
|
||||||
|
Width="50*"
|
||||||
|
Header="序号"
|
||||||
|
HeaderStyle="{StaticResource BaseDataGridColumnHeaderStyle}" />
|
||||||
<DataGridTextColumn
|
<DataGridTextColumn
|
||||||
Width="100*"
|
Width="100*"
|
||||||
Header="AppId"
|
Header="AppId"
|
||||||
HeaderStyle="{StaticResource BaseDataGridColumnHeaderStyle}" />
|
HeaderStyle="{StaticResource BaseDataGridColumnHeaderStyle}" />
|
||||||
|
<DataGridTextColumn
|
||||||
|
Width="100*"
|
||||||
|
Header="店铺编号"
|
||||||
|
HeaderStyle="{StaticResource BaseDataGridColumnHeaderStyle}" />
|
||||||
<DataGridTextColumn
|
<DataGridTextColumn
|
||||||
Width="100*"
|
Width="100*"
|
||||||
Header="店铺名称"
|
Header="店铺名称"
|
||||||
@@ -224,7 +232,9 @@
|
|||||||
<Grid x:Name="gridListItem">
|
<Grid x:Name="gridListItem">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<!--<ColumnDefinition Width="{Binding colShopIdWidth,RelativeSource={RelativeSource AncestorType={x:Type local:ShopListCtrl}}}" ></ColumnDefinition>-->
|
<!--<ColumnDefinition Width="{Binding colShopIdWidth,RelativeSource={RelativeSource AncestorType={x:Type local:ShopListCtrl}}}" ></ColumnDefinition>-->
|
||||||
<ColumnDefinition x:Name="colCheck" Width="100*" />
|
<ColumnDefinition x:Name="colCheck" Width="50*" />
|
||||||
|
<ColumnDefinition x:Name="colIndex" Width="50*" />
|
||||||
|
<ColumnDefinition x:Name="colAppId" Width="100*" />
|
||||||
<ColumnDefinition x:Name="colShopId" Width="100*" />
|
<ColumnDefinition x:Name="colShopId" Width="100*" />
|
||||||
<ColumnDefinition x:Name="colShopName" Width="100*" />
|
<ColumnDefinition x:Name="colShopName" Width="100*" />
|
||||||
<ColumnDefinition x:Name="colGroupName" Width="100*" />
|
<ColumnDefinition x:Name="colGroupName" Width="100*" />
|
||||||
@@ -245,8 +255,7 @@
|
|||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
BorderThickness="0"
|
BorderThickness="0"
|
||||||
IsReadOnly="True"
|
IsReadOnly="True"
|
||||||
Tag="{Binding ShopId}"
|
Text="{Binding Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBoxItem}}, Converter={StaticResource listBoxIndexConverter}}"
|
||||||
Text="{Binding ShopId}"
|
|
||||||
TextWrapping="Wrap" />
|
TextWrapping="Wrap" />
|
||||||
<TextBox
|
<TextBox
|
||||||
Grid.Column="2"
|
Grid.Column="2"
|
||||||
@@ -256,7 +265,7 @@
|
|||||||
BorderThickness="0"
|
BorderThickness="0"
|
||||||
IsReadOnly="True"
|
IsReadOnly="True"
|
||||||
Tag="{Binding ShopId}"
|
Tag="{Binding ShopId}"
|
||||||
Text="{Binding ShopAccount}"
|
Text="{Binding ShopId}"
|
||||||
TextWrapping="Wrap" />
|
TextWrapping="Wrap" />
|
||||||
<TextBox
|
<TextBox
|
||||||
Grid.Column="3"
|
Grid.Column="3"
|
||||||
@@ -265,11 +274,31 @@
|
|||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
BorderThickness="0"
|
BorderThickness="0"
|
||||||
IsReadOnly="True"
|
IsReadOnly="True"
|
||||||
|
Tag="{Binding ErpShopId}"
|
||||||
|
Text="{Binding ErpShopId}"
|
||||||
|
TextWrapping="Wrap" />
|
||||||
|
<TextBox
|
||||||
|
Grid.Column="4"
|
||||||
|
HorizontalContentAlignment="Center"
|
||||||
|
VerticalContentAlignment="Center"
|
||||||
|
Background="Transparent"
|
||||||
|
BorderThickness="0"
|
||||||
|
IsReadOnly="True"
|
||||||
|
Tag="{Binding ShopId}"
|
||||||
|
Text="{Binding ShopAccount}"
|
||||||
|
TextWrapping="Wrap" />
|
||||||
|
<TextBox
|
||||||
|
Grid.Column="5"
|
||||||
|
HorizontalContentAlignment="Center"
|
||||||
|
VerticalContentAlignment="Center"
|
||||||
|
Background="Transparent"
|
||||||
|
BorderThickness="0"
|
||||||
|
IsReadOnly="True"
|
||||||
Tag="{Binding ShopId}"
|
Tag="{Binding ShopId}"
|
||||||
Text="{Binding GroupName}"
|
Text="{Binding GroupName}"
|
||||||
TextWrapping="Wrap" />
|
TextWrapping="Wrap" />
|
||||||
<TextBox
|
<TextBox
|
||||||
Grid.Column="4"
|
Grid.Column="6"
|
||||||
HorizontalContentAlignment="Center"
|
HorizontalContentAlignment="Center"
|
||||||
VerticalContentAlignment="Center"
|
VerticalContentAlignment="Center"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
|
|||||||
@@ -222,8 +222,8 @@
|
|||||||
Background="#7F000000"
|
Background="#7F000000"
|
||||||
Visibility="Hidden">
|
Visibility="Hidden">
|
||||||
<Border
|
<Border
|
||||||
Width="500"
|
Width="850"
|
||||||
Height="600"
|
Height="650"
|
||||||
Background="White"
|
Background="White"
|
||||||
CornerRadius="4">
|
CornerRadius="4">
|
||||||
<shopctrls:ShopListCtrl
|
<shopctrls:ShopListCtrl
|
||||||
|
|||||||
Reference in new issue
Block a user