新增全量拉取功能,允许用户从远程同步所有物料数据,优化用户体验。更新前端视图以支持新命令,并添加同步状态管理,确保操作的安全性和反馈。

This commit is contained in:
geht
2026-05-09 15:55:36 +08:00
parent 16bb22a113
commit 068d44c53e
2 changed files with 30 additions and 0 deletions

View File

@@ -93,6 +93,13 @@
<TextBlock Text="新增" Style="{StaticResource IconButtonStyle}"/>
</StackPanel>
</Button>
<Button Style="{StaticResource ButtonInfo}" Command="{Binding PullAllCommand}"
IsEnabled="{Binding IsSyncing, Converter={StaticResource Boolean2BooleanReConverter}}">
<StackPanel Orientation="Horizontal">
<md:PackIcon Kind="CloudDownload"/>
<TextBlock Text="全量拉取" Style="{StaticResource IconButtonStyle}"/>
</StackPanel>
</Button>
</hc:UniformSpacingPanel>
</Border>