发票助手修改,增加时间范围,增加上次读取历史,修复bug
This commit is contained in:
1 parent
b42c17c013
commit
9e62672013
8 files changed
+729
-218
No files matched your search
@@ -0,0 +1,87 @@
|
||||
<UserControl
|
||||
x:Class="_29WxOrderWpf.Ctrls.PDDInvoice.PDDInvoiceDialog"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:_29WxOrderWpf.Ctrls.PDDInvoice"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:wpf="WPFCommon"
|
||||
Width="400"
|
||||
Height="250"
|
||||
d:Background="White"
|
||||
d:DataContext="{d:DesignInstance Type=local:PDDInvoiceDialog}"
|
||||
mc:Ignorable="d">
|
||||
<UserControl.Resources>
|
||||
<Style BasedOn="{StaticResource TitleContentBaseStyle}" TargetType="wpf:TitleContent">
|
||||
<Setter Property="Placement" Value="Left" />
|
||||
<Setter Property="Height" Value="28" />
|
||||
<Setter Property="TitleVerticalAlignment" Value="Center" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
<Setter Property="TitleHorizontalAlignment" Value="Right" />
|
||||
<Setter Property="TitleWidth" Value="50" />
|
||||
<Style.Resources>
|
||||
<Style TargetType="TextBox">
|
||||
<Setter Property="Height" Value="28" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
</Style>
|
||||
|
||||
</Style.Resources>
|
||||
</Style>
|
||||
</UserControl.Resources>
|
||||
<Border
|
||||
Margin="10"
|
||||
Padding="5"
|
||||
BorderBrush="Gray"
|
||||
BorderThickness="1">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<wpf:SpacingStackPanel
|
||||
Grid.Row="0"
|
||||
Orientation="Vertical"
|
||||
VerticalSpacing="10">
|
||||
<wpf:TitleContent Title="公司:">
|
||||
<TextBox d:Text="嵩县雷神商贸有限责任公司" Text="{Binding Config.Title}" />
|
||||
</wpf:TitleContent>
|
||||
<wpf:TitleContent Title="税号:">
|
||||
<TextBox d:Text="91410325MADQERT68E" Text="{Binding Config.TaxNo}" />
|
||||
</wpf:TitleContent>
|
||||
|
||||
<wpf:TitleContent Title="最大金额:">
|
||||
<wpf:NumberBox
|
||||
Width="80"
|
||||
HorizontalAlignment="Left"
|
||||
Maximum="999999"
|
||||
Minimum="0"
|
||||
Value="{Binding Config.MaxAmount}" />
|
||||
</wpf:TitleContent>
|
||||
<wpf:TitleContent Title="数据保存:">
|
||||
<CheckBox IsChecked="{Binding Config.IsSaveData}" />
|
||||
</wpf:TitleContent>
|
||||
</wpf:SpacingStackPanel>
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Margin="-5"
|
||||
Padding="0,5"
|
||||
BorderBrush="Gray"
|
||||
BorderThickness="0,1,0,0">
|
||||
<wpf:SpacingStackPanel HorizontalAlignment="Center" HorizontalSpacing="30">
|
||||
<Button
|
||||
Padding="10,5"
|
||||
Command="{Binding ConfirmCommand}"
|
||||
Content="确定"
|
||||
Style="{StaticResource BasePageButtonStyle}" />
|
||||
<Button
|
||||
Padding="10,5"
|
||||
Command="{Binding CancelCommand}"
|
||||
Content="取消"
|
||||
Style="{StaticResource BasePageButtonLightStyle}" />
|
||||
</wpf:SpacingStackPanel>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
</Border>
|
||||
</UserControl>
|
||||
Reference in new issue
Block a user