优化车辆档案更新逻辑,增加对司机、供应商和客户信息变更的检查,确保数据一致性。调整界面布局,改善重量信息和称重榜单的展示方式,提升用户体验。
This commit is contained in:
@@ -513,14 +513,20 @@
|
||||
|
||||
<!-- 重量信息 -->
|
||||
<Border Grid.Row="1" Style="{StaticResource SectionBorderStyle}" Margin="0,0,0,0" Padding="12,10">
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,0,0,4">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="0" Orientation="Horizontal" Margin="0,0,0,4">
|
||||
<Border Width="4" Height="18" CornerRadius="2" Background="{StaticResource SectionBorderBrush}"/>
|
||||
<TextBlock Text="重量信息" Style="{StaticResource SectionTitleStyle}"/>
|
||||
</StackPanel>
|
||||
|
||||
<!-- 毛重 / 皮重并排 -->
|
||||
<Grid Margin="0,0,0,8">
|
||||
<Grid Grid.Row="1" Margin="0,0,0,8">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="16"/>
|
||||
@@ -649,7 +655,7 @@
|
||||
</Grid>
|
||||
|
||||
<!-- 净重展示(横贯全宽) -->
|
||||
<StackPanel Margin="0,2,0,0">
|
||||
<StackPanel Grid.Row="2" Margin="0,2,0,0">
|
||||
<TextBlock Text="净 重 = 毛重 - 皮重 (KG)" FontSize="12"
|
||||
Foreground="{DynamicResource SecondaryTextBrush}"
|
||||
Margin="0,0,0,6" HorizontalAlignment="Center"/>
|
||||
@@ -662,12 +668,16 @@
|
||||
</StackPanel>
|
||||
|
||||
<!-- 最近称重榜单 -->
|
||||
<StackPanel Margin="0,8,0,0">
|
||||
<TextBlock Text="最近称重榜单"
|
||||
<Grid Grid.Row="3" Margin="0,8,0,0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock Grid.Row="0" Text="最近称重榜单"
|
||||
FontSize="12"
|
||||
Foreground="{DynamicResource SecondaryTextBrush}"
|
||||
Margin="0,0,0,6"/>
|
||||
<Border CornerRadius="8"
|
||||
<Border Grid.Row="1" CornerRadius="8"
|
||||
Background="White"
|
||||
BorderBrush="{DynamicResource BorderBrush}"
|
||||
BorderThickness="1"
|
||||
@@ -692,7 +702,7 @@
|
||||
ColumnHeaderHeight="28"
|
||||
RowHeaderWidth="0"
|
||||
MinHeight="80"
|
||||
MaxHeight="80">
|
||||
VerticalScrollBarVisibility="Auto">
|
||||
<DataGrid.RowStyle>
|
||||
<Style TargetType="DataGridRow">
|
||||
<Setter Property="Background" Value="White"/>
|
||||
@@ -728,8 +738,8 @@
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</Border>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user