|
|
|
<Page x:Class="BBWY.Client.Views.FinancialTerminal.ProcurementAudit"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:local="clr-namespace:BBWY.Client.Views.FinancialTerminal"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls"
|
|
|
|
d:DesignHeight="450" d:DesignWidth="800"
|
|
|
|
Title="ProcurementAudit"
|
|
|
|
DataContext="{Binding ProcurementAudit,Source={StaticResource Locator}}">
|
|
|
|
<Grid>
|
|
|
|
<c:RoundWaitProgress Play="{Binding IsLoading}" Panel.ZIndex="999"/>
|
|
|
|
<Grid Margin="5,0">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition Height="5"/>
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
<RowDefinition Height="5"/>
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
<RowDefinition Height="5"/>
|
|
|
|
<RowDefinition/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Background="{StaticResource Border.Background}" Padding="5,0">
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
|
|
|
<ComboBox Width="100" IsEnabled="false"/>
|
|
|
|
<ComboBox Width="100" IsEnabled="false" Margin="5,0,0,0"/>
|
|
|
|
<DatePicker Width="100" IsEnabled="false" Height="30" Margin="5,0,0,0"/>
|
|
|
|
<DatePicker Width="100" IsEnabled="false" Height="30" Margin="5,0,0,0"/>
|
|
|
|
<c:BButton Content="执行" Margin="5,0,0,0" Padding="10,0" Command="{Binding AuditCommand}"/>
|
|
|
|
<c:BButton Content="清空" Margin="5,0,0,0" Padding="10,0" Command="{Binding ClearAuditCommand}"/>
|
|
|
|
</StackPanel>
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<Grid Grid.Row="2">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<TextBlock Text="支付数据"/>
|
|
|
|
<TextBlock Text="采购数据" Grid.Column="1"/>
|
|
|
|
<TextBlock Text="销售数据" Grid.Column="2"/>
|
|
|
|
|
|
|
|
<Border Background="{StaticResource Border.Background}" Grid.Row="1" Margin="0,0,5,0">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<c:BButton Content="导入支付宝账单" Padding="10,0" Margin="5,0,0,0" Command="{Binding ImportAliPayBillCommand}"/>
|
|
|
|
<c:BButton Content="导入微信账单" Padding="10,0" Margin="5,0,0,0"
|
|
|
|
IsEnabled="False" DisableText="{Binding Content,RelativeSource={RelativeSource Mode=Self}}"/>
|
|
|
|
</StackPanel>
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<Border Background="{StaticResource Border.Background}" Grid.Row="1" Grid.Column="1" Margin="0,0,5,0">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<c:BButton Content="导入1688采购单" Padding="10,0" Margin="5,0,0,0" Command="{Binding Import1688PurchaseOrderCommand}"/>
|
|
|
|
<c:BButton Content="导入淘宝采购单" Padding="10,0" Margin="5,0,0,0"
|
|
|
|
IsEnabled="False" DisableText="{Binding Content,RelativeSource={RelativeSource Mode=Self}}"/>
|
|
|
|
<c:BButton Content="导入拼多多采购单" Padding="10,0" Margin="5,0,0,0"
|
|
|
|
IsEnabled="False" DisableText="{Binding Content,RelativeSource={RelativeSource Mode=Self}}"/>
|
|
|
|
</StackPanel>
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<Border Background="{StaticResource Border.Background}" Grid.Row="1" Grid.Column="2">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<c:BButton Content="后台出单表(京东)" Padding="10,0" Margin="5,0,0,0" Command="{Binding ImportJDShopOrderCommand}"/>
|
|
|
|
<c:BButton Content="后台出单表(淘宝)" Padding="10,0" Margin="5,0,0,0"
|
|
|
|
IsEnabled="False" DisableText="{Binding Content,RelativeSource={RelativeSource Mode=Self}}"/>
|
|
|
|
<c:BButton Content="后台出单表(拼多多)" Padding="10,0" Margin="5,0,0,0"
|
|
|
|
IsEnabled="False" DisableText="{Binding Content,RelativeSource={RelativeSource Mode=Self}}"/>
|
|
|
|
</StackPanel>
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<ListBox ItemsSource="{Binding AuditFileList}"
|
|
|
|
SelectedItem="{Binding SelectAuditFile,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}"
|
|
|
|
Grid.Row="4">
|
|
|
|
<ListBox.ItemsPanel>
|
|
|
|
<ItemsPanelTemplate>
|
|
|
|
<StackPanel Orientation="Horizontal"/>
|
|
|
|
</ItemsPanelTemplate>
|
|
|
|
</ListBox.ItemsPanel>
|
|
|
|
<ListBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<Border BorderThickness="1"
|
|
|
|
BorderBrush="{StaticResource Border.Brush}"
|
|
|
|
Height="30"
|
|
|
|
Padding="5,0"
|
|
|
|
Margin="0,0,-1,0">
|
|
|
|
<TextBlock x:Name="txtFileName" Text="{Binding FileName}"
|
|
|
|
VerticalAlignment="Center"/>
|
|
|
|
</Border>
|
|
|
|
<DataTemplate.Triggers>
|
|
|
|
<DataTrigger Binding="{Binding IsSelected,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBoxItem}}}"
|
|
|
|
Value="True">
|
|
|
|
<DataTrigger.Setters>
|
|
|
|
<Setter TargetName="txtFileName" Property="Foreground" Value="{StaticResource Text.Link.Color }"/>
|
|
|
|
</DataTrigger.Setters>
|
|
|
|
</DataTrigger>
|
|
|
|
</DataTemplate.Triggers>
|
|
|
|
</DataTemplate>
|
|
|
|
</ListBox.ItemTemplate>
|
|
|
|
</ListBox>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Page>
|