Browse Source

print

main
hulei 2 weeks ago
parent
commit
3502f1778a
100 changed files with 11274 additions and 0 deletions
  1. 42
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookFactory.cs
  2. 738
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CDCZFirstPage.xaml
  3. 801
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CDCZFirstPage.xaml.cs
  4. 51
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CDCZSecondPage.xaml
  5. 122
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CDCZSecondPage.xaml.cs
  6. 340
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZBankbook.cs
  7. 51
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZEndPage.xaml
  8. 122
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZEndPage.xaml.cs
  9. 161
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZEntity.cs
  10. 738
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZFirstPage.xaml
  11. 801
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZFirstPage.xaml.cs
  12. 205
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZPage.xaml
  13. 1354
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZPage.xaml.cs
  14. 328
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/DQCZBankbook.cs
  15. 266
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/DQCZEntity.cs
  16. 763
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/DQCZFirstPage.xaml
  17. 971
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/DQCZFirstPage.xaml.cs
  18. 1182
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/DQCZPage.xaml
  19. 1757
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/DQCZPage.xaml.cs
  20. 27
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/Interface/IBankbook.cs
  21. 131
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/BackgroundBrush.Generic.xaml
  22. 100
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/CanvasHelper.cs
  23. 22
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/E_Seal.xaml
  24. 201
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/E_Seal.xaml.cs
  25. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/一本通1(焦作).jpg
  26. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/一本通2(焦作).jpg
  27. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/一本通3(焦作).jpg
  28. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/一本通内芯.jpg
  29. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/一本通尾.jpg
  30. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/一本通首.jpg
  31. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/业务凭条.jpg
  32. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/业务凭条小.jpg
  33. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人业务交易凭证_融丰.jpg
  34. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人凭条.jpg
  35. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人存款证明-莱山齐丰.jpg
  36. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人存款证明.jpg
  37. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人存款证明LF.jpg
  38. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人存款证明SD.jpg
  39. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人特殊业务申请书淇县.jpg
  40. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人网上银行申请表SD.jpg
  41. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人网上银行短信验证码申请表SD.jpg
  42. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人转账汇款凭证.jpg
  43. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/交存凭证.jpg
  44. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/企业网上银行申请表SD.jpg
  45. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/假币收缴.jpg
  46. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/假币收缴QF.jpg
  47. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存单.jpg
  48. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存单DY.jpg
  49. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存单HT.jpg
  50. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存单LF.jpg
  51. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存单QF.jpg
  52. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存折1(焦作).jpg
  53. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存折2(焦作).jpg
  54. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存折3(焦作).jpg
  55. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行临江支行.png
  56. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行乌兰支行.png
  57. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行兴原支行.png
  58. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行哈萨尔支行.png
  59. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行哈达大街支行.png
  60. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行康宁支行.png
  61. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行松江支行.png
  62. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行沿江支行.png
  63. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行源江支行.png
  64. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行滨江支行.png
  65. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行营业部.png
  66. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行锦江支行.png
  67. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行镇南支行.png
  68. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行镜湖支行.png
  69. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/单位定期存单.jpg
  70. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/单位定期存单HT.jpg
  71. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/单位定期存款证实书.jpg
  72. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/单位定期存款证实书HT.jpg
  73. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/单位定期存款证实书LF.jpg
  74. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/单位定期存款证实书QF.jpg
  75. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/印鉴卡.jpg
  76. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/印鉴卡LF.jpg
  77. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/取款凭条-莱山齐丰.jpg
  78. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/取款凭条.jpg
  79. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/取款凭条_鄢陵.jpg
  80. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/大额支付.jpg
  81. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存取款凭条_阳光.jpg
  82. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折内芯.jpg
  83. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折内芯QF.jpg
  84. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折尾-都匀.jpg
  85. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折尾.jpg
  86. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折尾QF.jpg
  87. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折首-都匀.jpg
  88. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折首.jpg
  89. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折首QF.jpg
  90. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存款凭条-莱山齐丰.jpg
  91. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存款凭条.jpg
  92. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存款凭条_鄢陵.jpg
  93. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/对公开户申请书-齐丰.png
  94. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/小额支付.jpg
  95. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/开户申请书-都匀.jpg
  96. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/开户申请书.jpg
  97. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/开立个人银行账户申请表SD.jpg
  98. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/扶沟存款证明.jpg
  99. BIN
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/扶沟开户申请书.jpg
  100. 0
    0
      ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/承兑汇票.jpg

+ 42
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookFactory.cs View File

@@ -0,0 +1,42 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Text;
5
+using TellerSystem.PrintTemplate.Bankbook.Interface;
6
+using TellerSystem.PrintTemplate.Bankbook;
7
+
8
+namespace TellerSystem.PrintTemplate
9
+{
10
+    public static class BankbookFactory
11
+    {
12
+        internal static IBankbook GetBankbook(BankBookKind kind)
13
+        {
14
+            IBankbook bankbook = null;
15
+            switch (kind) 
16
+            {
17
+                //储蓄存折
18
+                case BankBookKind.CXCZ:
19
+                    bankbook = new CXCZBankbook();
20
+                    break;
21
+                default:
22
+                    break;
23
+            }
24
+            return bankbook;
25
+        }
26
+    }
27
+
28
+    /// <summary>
29
+    /// 存折种类枚举
30
+    /// </summary>
31
+    public enum BankBookKind
32
+    {
33
+        /// <summary>
34
+        /// 储蓄存折
35
+        /// </summary>
36
+        CXCZ,
37
+        /// <summary>
38
+        /// 零整存折
39
+        /// </summary>
40
+        LZCZ
41
+    }
42
+}

+ 738
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CDCZFirstPage.xaml View File

@@ -0,0 +1,738 @@
1
+<dhcc:PrintContainer x:Class="TellerSystem.PrintTemplate.Bankbook.CXCZFirstPage"
2
+                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
+                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
+                     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5
+                     xmlns:dhcc="http://www.dhcc.com.cn"
6
+                     xmlns:localPrint="clr-namespace:TellerSystem.PrintTemplate.Extension"
7
+                     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8
+                     x:Name="Bankbook"
9
+                     Width="13.9cm"
10
+                     Height="16.8cm"
11
+                     BackgroundBrush="BackgroundBrush_CDCZFirstPage"
12
+                     localPrint:PrintContainerExt.CreatePrintNum="False"
13
+                     mc:Ignorable="d">
14
+
15
+    <dhcc:PrintContainer.Resources>
16
+        <ResourceDictionary>
17
+            <ResourceDictionary.MergedDictionaries>
18
+                <ResourceDictionary Source="/TellerSystem.PrintTemplate;component/Themes/BankBook.Generic.xaml" />
19
+                <ResourceDictionary>
20
+                    <Style TargetType="{x:Type GridViewColumnHeader}">
21
+                        <Setter Property="FrameworkElement.Visibility" Value="Hidden" />
22
+                        <Setter Property="Height" Value="0" />
23
+                    </Style>
24
+                    <Style x:Key="listviewItemKey" TargetType="{x:Type ListViewItem}">
25
+                        <Style.Setters>
26
+                            <Setter Property="SnapsToDevicePixels" Value="True" />
27
+                            <Setter Property="Template">
28
+                                <Setter.Value>
29
+                                    <ControlTemplate TargetType="{x:Type ListViewItem}">
30
+                                        <GridViewRowPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Visibility="{Binding IsVisibility}" />
31
+                                    </ControlTemplate>
32
+                                </Setter.Value>
33
+                            </Setter>
34
+                            <Setter Property="Margin" Value="0,4,0,0" />
35
+                        </Style.Setters>
36
+                    </Style>
37
+                </ResourceDictionary>
38
+            </ResourceDictionary.MergedDictionaries>
39
+        </ResourceDictionary>
40
+    </dhcc:PrintContainer.Resources>
41
+    <!--
42
+        <dhcc:PrintContainer.Background>
43
+        <ImageBrush ImageSource="/TellerSystem.PrintTemplate;component/Images/活期存折首页.jpg" />
44
+        </dhcc:PrintContainer.Background>
45
+    -->
46
+    <Canvas>
47
+        <Canvas.Resources>
48
+            <Style x:Key="TransformTextBlock" BasedOn="{StaticResource {x:Type TextBlock}}" TargetType="TextBlock">
49
+                <Setter Property="RenderTransform">
50
+                    <Setter.Value>
51
+                        <TransformGroup>
52
+                            <ScaleTransform ScaleX=".6" ScaleY="1.4" />
53
+                        </TransformGroup>
54
+                    </Setter.Value>
55
+                </Setter>
56
+                <Setter Property="FontSize" Value="18" />
57
+            </Style>
58
+        </Canvas.Resources>
59
+        <TextBlock Name="textBlock1"
60
+                   Canvas.Left="92"
61
+                   Canvas.Top="220"
62
+                   DataContext="{Binding Path=PaySysCode,
63
+                                         ElementName=Bankbook}"
64
+                   Style="{DynamicResource TransformTextBlock}"
65
+                   Text="{Binding}"
66
+                   d:DataContext="0514001" />
67
+        <TextBlock Name="textBlock2"
68
+                   Canvas.Left="81"
69
+                   Canvas.Top="83"
70
+                   DataContext="{Binding Path=AccountNo,
71
+                                         ElementName=Bankbook}"
72
+                   FontSize="20"
73
+                   Style="{DynamicResource TransformTextBlock}"
74
+                   Text="{Binding}"
75
+                   d:DataContext="051400101000208800" />
76
+
77
+        <TextBlock Name="textBlock3"
78
+                   Canvas.Left="170"
79
+                   Canvas.Top="30"
80
+                   DataContext="{Binding Path=AccountName,
81
+                                         ElementName=Bankbook}"
82
+                   FontSize="20"
83
+                   Style="{DynamicResource TransformTextBlock}"
84
+                   Text="{Binding}"
85
+                   d:DataContext="比尔盖茨(William Henry Gates)" />
86
+        <TextBlock Name="textBlock4"
87
+                   Canvas.Left="231"
88
+                   Canvas.Top="247"
89
+                   DataContext="{Binding Path=AccountBank,
90
+                                         ElementName=Bankbook}"
91
+                   Style="{DynamicResource TransformTextBlock}"
92
+                   Text="{Binding}"
93
+                   d:DataContext="承德" />
94
+        <TextBlock Name="textBlock5"
95
+                   Canvas.Left="388"
96
+                   Canvas.Top="32"
97
+                   DataContext="{Binding Path=Currency,
98
+                                         ElementName=Bankbook}"
99
+                   Style="{DynamicResource TransformTextBlock}"
100
+                   Text="{Binding}"
101
+                   d:DataContext="人民币" />
102
+        
103
+            <TextBlock Name="textBlock6"
104
+            Canvas.Left="393"
105
+            Canvas.Top="176"
106
+            Height="17"
107
+            d:DataContext="30167026"
108
+            DataContext="{Binding Path=Number,
109
+            ElementName=Bankbook}"
110
+            Text="{Binding}" />
111
+        
112
+        <TextBlock Name="textBlock7"
113
+                   Canvas.Left="85"
114
+                   Canvas.Top="256"
115
+                   DataContext="{Binding Path=AccountDate,
116
+                                         ElementName=Bankbook}"
117
+                   Style="{DynamicResource TransformTextBlock}"
118
+                   Text="{Binding}"
119
+                   d:DataContext="2007/09/06" />
120
+        <TextBlock Name="textBlock8"
121
+                   Canvas.Left="321"
122
+                   Canvas.Top="87"
123
+                   DataContext="{Binding Path=DepositType,
124
+                                         ElementName=Bankbook}"
125
+                   Style="{DynamicResource TransformTextBlock}"
126
+                   Text="{Binding}"
127
+                   d:DataContext="储蓄活折" />
128
+        <TextBlock Name="textBlock9"
129
+                   Canvas.Left="318"
130
+                   Canvas.Top="221"
131
+                   DataContext="{Binding Path=PasswordOrSeal,
132
+                                         ElementName=Bankbook}"
133
+                   Style="{DynamicResource TransformTextBlock}"
134
+                   Text="{Binding}"
135
+                   d:DataContext="凭密码支取" />
136
+        <Canvas Canvas.Left="10" Canvas.Top="10" />
137
+        <TextBlock Name="textBlock11"
138
+                   Canvas.Left="46"
139
+                   Canvas.Top="336"
140
+                   Height="17"
141
+                   DataContext="{Binding Path=PageData_1_1,
142
+                                         ElementName=Bankbook}"
143
+                   FontSize="12"
144
+                   Text="{Binding}"
145
+                   d:DataContext="20130808" />
146
+        <TextBlock Name="textBlock13"
147
+                   Canvas.Left="112"
148
+                   Canvas.Top="336"
149
+                   Height="17"
150
+                   DataContext="{Binding Path=PageData_1_2,
151
+                                         ElementName=Bankbook}"
152
+                   FontSize="12"
153
+                   Text="{Binding}"
154
+                   d:DataContext="换入存单" />
155
+        <TextBlock Name="textBlock17"
156
+                   Canvas.Left="337"
157
+                   Canvas.Top="336"
158
+                   Width="126"
159
+                   Height="17"
160
+                   DataContext="{Binding Path=PageData_1_5,
161
+                                         ElementName=Bankbook}"
162
+                   FontSize="12"
163
+                   Text="{Binding}"
164
+                   TextAlignment="Right"
165
+                   d:DataContext="999,999,999,999.00" />
166
+        <TextBlock Name="textBlock10"
167
+                   Canvas.Left="170"
168
+                   Canvas.Top="336"
169
+                   Width="78"
170
+                   Height="17"
171
+                   DataContext="{Binding Path=PageData_1_3,
172
+                                         ElementName=Bankbook}"
173
+                   FontSize="12"
174
+                   Text="{Binding}"
175
+                   TextAlignment="Right"
176
+                   d:DataContext="9,999,999.00" />
177
+        <TextBlock Name="textBlock81"
178
+                   Canvas.Left="254"
179
+                   Canvas.Top="336"
180
+                   Width="78"
181
+                   Height="17"
182
+                   DataContext="{Binding Path=PageData_1_4,
183
+                                         ElementName=Bankbook}"
184
+                   FontSize="12"
185
+                   Text="{Binding}"
186
+                   TextAlignment="Right"
187
+                   d:DataContext="9,999,999.00" />
188
+        <TextBlock Name="textBlock19"
189
+                   Canvas.Left="475"
190
+                   Canvas.Top="336"
191
+                   Height="17"
192
+                   DataContext="{Binding Path=PageData_1_6,
193
+                                         ElementName=Bankbook}"
194
+                   FontSize="12"
195
+                   Text="{Binding}"
196
+                   d:DataContext="000100" />
197
+        <TextBlock Name="textBlock12"
198
+                   Canvas.Left="46"
199
+                   Canvas.Top="359"
200
+                   Height="17"
201
+                   DataContext="{Binding Path=PageData_2_1,
202
+                                         ElementName=Bankbook}"
203
+                   FontSize="12"
204
+                   Text="{Binding}"
205
+                   d:DataContext="20130808" />
206
+        <TextBlock Name="textBlock14"
207
+                   Canvas.Left="112"
208
+                   Canvas.Top="359"
209
+                   Height="17"
210
+                   DataContext="{Binding Path=PageData_2_2,
211
+                                         ElementName=Bankbook}"
212
+                   FontSize="12"
213
+                   Text="{Binding}"
214
+                   d:DataContext="换入存单" />
215
+        <TextBlock Name="textBlock15"
216
+                   Canvas.Left="337"
217
+                   Canvas.Top="359"
218
+                   Width="126"
219
+                   Height="17"
220
+                   DataContext="{Binding Path=PageData_2_5,
221
+                                         ElementName=Bankbook}"
222
+                   FontSize="12"
223
+                   Text="{Binding}"
224
+                   TextAlignment="Right"
225
+                   d:DataContext="999,999,999,999.00" />
226
+        <TextBlock Name="textBlock16"
227
+                   Canvas.Left="170"
228
+                   Canvas.Top="359"
229
+                   Width="78"
230
+                   Height="17"
231
+                   DataContext="{Binding Path=PageData_2_3,
232
+                                         ElementName=Bankbook}"
233
+                   FontSize="12"
234
+                   Text="{Binding}"
235
+                   TextAlignment="Right"
236
+                   d:DataContext="9,999,999.00" />
237
+        <TextBlock Name="textBlock18"
238
+                   Canvas.Left="254"
239
+                   Canvas.Top="359"
240
+                   Width="78"
241
+                   Height="17"
242
+                   DataContext="{Binding Path=PageData_2_4,
243
+                                         ElementName=Bankbook}"
244
+                   FontSize="12"
245
+                   Text="{Binding}"
246
+                   TextAlignment="Right"
247
+                   d:DataContext="9,999,999.00" />
248
+        <TextBlock Name="textBlock20"
249
+                   Canvas.Left="475"
250
+                   Canvas.Top="359"
251
+                   Height="17"
252
+                   DataContext="{Binding Path=PageData_2_6,
253
+                                         ElementName=Bankbook}"
254
+                   FontSize="12"
255
+                   Text="{Binding}"
256
+                   d:DataContext="000100" />
257
+        <TextBlock Name="textBlock21"
258
+                   Canvas.Left="46"
259
+                   Canvas.Top="383"
260
+                   Height="17"
261
+                   DataContext="{Binding Path=PageData_3_1,
262
+                                         ElementName=Bankbook}"
263
+                   FontSize="12"
264
+                   Text="{Binding}"
265
+                   d:DataContext="20130808" />
266
+        <TextBlock Name="textBlock22"
267
+                   Canvas.Left="112"
268
+                   Canvas.Top="383"
269
+                   Height="17"
270
+                   DataContext="{Binding Path=PageData_3_2,
271
+                                         ElementName=Bankbook}"
272
+                   FontSize="12"
273
+                   Text="{Binding}"
274
+                   d:DataContext="换入存单" />
275
+        <TextBlock Name="textBlock23"
276
+                   Canvas.Left="337"
277
+                   Canvas.Top="383"
278
+                   Width="126"
279
+                   Height="17"
280
+                   DataContext="{Binding Path=PageData_3_5,
281
+                                         ElementName=Bankbook}"
282
+                   FontSize="12"
283
+                   Text="{Binding}"
284
+                   TextAlignment="Right"
285
+                   d:DataContext="999,999,999,999.00" />
286
+        <TextBlock Name="textBlock24"
287
+                   Canvas.Left="170"
288
+                   Canvas.Top="383"
289
+                   Width="78"
290
+                   Height="17"
291
+                   DataContext="{Binding Path=PageData_3_3,
292
+                                         ElementName=Bankbook}"
293
+                   FontSize="12"
294
+                   Text="{Binding}"
295
+                   TextAlignment="Right"
296
+                   d:DataContext="9,999,999.00" />
297
+        <TextBlock Name="textBlock25"
298
+                   Canvas.Left="254"
299
+                   Canvas.Top="383"
300
+                   Width="78"
301
+                   Height="17"
302
+                   DataContext="{Binding Path=PageData_3_4,
303
+                                         ElementName=Bankbook}"
304
+                   FontSize="12"
305
+                   Text="{Binding}"
306
+                   TextAlignment="Right"
307
+                   d:DataContext="9,999,999.00" />
308
+        <TextBlock Name="textBlock26"
309
+                   Canvas.Left="475"
310
+                   Canvas.Top="383"
311
+                   Height="17"
312
+                   DataContext="{Binding Path=PageData_3_6,
313
+                                         ElementName=Bankbook}"
314
+                   FontSize="12"
315
+                   Text="{Binding}"
316
+                   d:DataContext="000100" />
317
+        <TextBlock Name="textBlock27"
318
+                   Canvas.Left="46"
319
+                   Canvas.Top="406"
320
+                   Height="17"
321
+                   DataContext="{Binding Path=PageData_4_1,
322
+                                         ElementName=Bankbook}"
323
+                   FontSize="12"
324
+                   Text="{Binding}"
325
+                   d:DataContext="20130808" />
326
+        <TextBlock Name="textBlock28"
327
+                   Canvas.Left="112"
328
+                   Canvas.Top="406"
329
+                   Height="17"
330
+                   DataContext="{Binding Path=PageData_4_2,
331
+                                         ElementName=Bankbook}"
332
+                   FontSize="12"
333
+                   Text="{Binding}"
334
+                   d:DataContext="换入存单" />
335
+        <TextBlock Name="textBlock29"
336
+                   Canvas.Left="337"
337
+                   Canvas.Top="406"
338
+                   Width="126"
339
+                   Height="17"
340
+                   DataContext="{Binding Path=PageData_4_5,
341
+                                         ElementName=Bankbook}"
342
+                   FontSize="12"
343
+                   Text="{Binding}"
344
+                   TextAlignment="Right"
345
+                   d:DataContext="999,999,999,999.00" />
346
+        <TextBlock Name="textBlock30"
347
+                   Canvas.Left="170"
348
+                   Canvas.Top="406"
349
+                   Width="78"
350
+                   Height="17"
351
+                   DataContext="{Binding Path=PageData_4_3,
352
+                                         ElementName=Bankbook}"
353
+                   FontSize="12"
354
+                   Text="{Binding}"
355
+                   TextAlignment="Right"
356
+                   d:DataContext="9,999,999.00" />
357
+        <TextBlock Name="textBlock31"
358
+                   Canvas.Left="254"
359
+                   Canvas.Top="406"
360
+                   Width="78"
361
+                   Height="17"
362
+                   DataContext="{Binding Path=PageData_4_4,
363
+                                         ElementName=Bankbook}"
364
+                   FontSize="12"
365
+                   Text="{Binding}"
366
+                   TextAlignment="Right"
367
+                   d:DataContext="9,999,999.00" />
368
+        <TextBlock Name="textBlock32"
369
+                   Canvas.Left="475"
370
+                   Canvas.Top="406"
371
+                   Height="17"
372
+                   DataContext="{Binding Path=PageData_4_6,
373
+                                         ElementName=Bankbook}"
374
+                   FontSize="12"
375
+                   Text="{Binding}"
376
+                   d:DataContext="000100" />
377
+        <TextBlock Name="textBlock33"
378
+                   Canvas.Left="46"
379
+                   Canvas.Top="431"
380
+                   Height="17"
381
+                   DataContext="{Binding Path=PageData_5_1,
382
+                                         ElementName=Bankbook}"
383
+                   FontSize="12"
384
+                   Text="{Binding}"
385
+                   d:DataContext="20130808" />
386
+        <TextBlock Name="textBlock34"
387
+                   Canvas.Left="112"
388
+                   Canvas.Top="431"
389
+                   Height="17"
390
+                   DataContext="{Binding Path=PageData_5_2,
391
+                                         ElementName=Bankbook}"
392
+                   FontSize="12"
393
+                   Text="{Binding}"
394
+                   d:DataContext="换入存单" />
395
+        <TextBlock Name="textBlock35"
396
+                   Canvas.Left="337"
397
+                   Canvas.Top="431"
398
+                   Width="126"
399
+                   Height="17"
400
+                   DataContext="{Binding Path=PageData_5_5,
401
+                                         ElementName=Bankbook}"
402
+                   FontSize="12"
403
+                   Text="{Binding}"
404
+                   TextAlignment="Right"
405
+                   d:DataContext="999,999,999,999.00" />
406
+        <TextBlock Name="textBlock36"
407
+                   Canvas.Left="170"
408
+                   Canvas.Top="431"
409
+                   Width="78"
410
+                   Height="17"
411
+                   DataContext="{Binding Path=PageData_5_3,
412
+                                         ElementName=Bankbook}"
413
+                   FontSize="12"
414
+                   Text="{Binding}"
415
+                   TextAlignment="Right"
416
+                   d:DataContext="9,999,999.00" />
417
+        <TextBlock Name="textBlock37"
418
+                   Canvas.Left="254"
419
+                   Canvas.Top="431"
420
+                   Width="78"
421
+                   Height="17"
422
+                   DataContext="{Binding Path=PageData_5_4,
423
+                                         ElementName=Bankbook}"
424
+                   FontSize="12"
425
+                   Text="{Binding}"
426
+                   TextAlignment="Right"
427
+                   d:DataContext="9,999,999.00" />
428
+        <TextBlock Name="textBlock38"
429
+                   Canvas.Left="475"
430
+                   Canvas.Top="431"
431
+                   Height="17"
432
+                   DataContext="{Binding Path=PageData_5_6,
433
+                                         ElementName=Bankbook}"
434
+                   FontSize="12"
435
+                   Text="{Binding}"
436
+                   d:DataContext="000100" />
437
+        <TextBlock Name="textBlock39"
438
+                   Canvas.Left="46"
439
+                   Canvas.Top="456"
440
+                   Height="17"
441
+                   DataContext="{Binding Path=PageData_6_1,
442
+                                         ElementName=Bankbook}"
443
+                   FontSize="12"
444
+                   Text="{Binding}"
445
+                   d:DataContext="20130808" />
446
+        <TextBlock Name="textBlock40"
447
+                   Canvas.Left="112"
448
+                   Canvas.Top="456"
449
+                   Height="17"
450
+                   DataContext="{Binding Path=PageData_6_2,
451
+                                         ElementName=Bankbook}"
452
+                   FontSize="12"
453
+                   Text="{Binding}"
454
+                   d:DataContext="换入存单" />
455
+        <TextBlock Name="textBlock41"
456
+                   Canvas.Left="337"
457
+                   Canvas.Top="456"
458
+                   Width="126"
459
+                   Height="17"
460
+                   DataContext="{Binding Path=PageData_6_5,
461
+                                         ElementName=Bankbook}"
462
+                   FontSize="12"
463
+                   Text="{Binding}"
464
+                   TextAlignment="Right"
465
+                   d:DataContext="999,999,999,999.00" />
466
+        <TextBlock Name="textBlock42"
467
+                   Canvas.Left="170"
468
+                   Canvas.Top="456"
469
+                   Width="78"
470
+                   Height="17"
471
+                   DataContext="{Binding Path=PageData_6_3,
472
+                                         ElementName=Bankbook}"
473
+                   FontSize="12"
474
+                   Text="{Binding}"
475
+                   TextAlignment="Right"
476
+                   d:DataContext="9,999,999.00" />
477
+        <TextBlock Name="textBlock43"
478
+                   Canvas.Left="254"
479
+                   Canvas.Top="456"
480
+                   Width="78"
481
+                   Height="17"
482
+                   DataContext="{Binding Path=PageData_6_4,
483
+                                         ElementName=Bankbook}"
484
+                   FontSize="12"
485
+                   Text="{Binding}"
486
+                   TextAlignment="Right"
487
+                   d:DataContext="9,999,999.00" />
488
+        <TextBlock Name="textBlock44"
489
+                   Canvas.Left="475"
490
+                   Canvas.Top="456"
491
+                   Height="17"
492
+                   DataContext="{Binding Path=PageData_6_6,
493
+                                         ElementName=Bankbook}"
494
+                   FontSize="12"
495
+                   Text="{Binding}"
496
+                   d:DataContext="000100" />
497
+        <TextBlock Name="textBlock45"
498
+                   Canvas.Left="46"
499
+                   Canvas.Top="479"
500
+                   Height="17"
501
+                   DataContext="{Binding Path=PageData_7_1,
502
+                                         ElementName=Bankbook}"
503
+                   FontSize="12"
504
+                   Text="{Binding}"
505
+                   d:DataContext="20130808" />
506
+        <TextBlock Name="textBlock46"
507
+                   Canvas.Left="112"
508
+                   Canvas.Top="479"
509
+                   Height="17"
510
+                   DataContext="{Binding Path=PageData_7_2,
511
+                                         ElementName=Bankbook}"
512
+                   FontSize="12"
513
+                   Text="{Binding}"
514
+                   d:DataContext="换入存单" />
515
+        <TextBlock Name="textBlock47"
516
+                   Canvas.Left="337"
517
+                   Canvas.Top="479"
518
+                   Width="126"
519
+                   Height="17"
520
+                   DataContext="{Binding Path=PageData_7_5,
521
+                                         ElementName=Bankbook}"
522
+                   FontSize="12"
523
+                   Text="{Binding}"
524
+                   TextAlignment="Right"
525
+                   d:DataContext="999,999,999,999.00" />
526
+        <TextBlock Name="textBlock48"
527
+                   Canvas.Left="170"
528
+                   Canvas.Top="479"
529
+                   Width="78"
530
+                   Height="17"
531
+                   DataContext="{Binding Path=PageData_7_3,
532
+                                         ElementName=Bankbook}"
533
+                   FontSize="12"
534
+                   Text="{Binding}"
535
+                   TextAlignment="Right"
536
+                   d:DataContext="9,999,999.00" />
537
+        <TextBlock Name="textBlock49"
538
+                   Canvas.Left="254"
539
+                   Canvas.Top="479"
540
+                   Width="78"
541
+                   Height="17"
542
+                   DataContext="{Binding Path=PageData_7_4,
543
+                                         ElementName=Bankbook}"
544
+                   FontSize="12"
545
+                   Text="{Binding}"
546
+                   TextAlignment="Right"
547
+                   d:DataContext="9,999,999.00" />
548
+        <TextBlock Name="textBlock50"
549
+                   Canvas.Left="475"
550
+                   Canvas.Top="479"
551
+                   Height="17"
552
+                   DataContext="{Binding Path=PageData_7_6,
553
+                                         ElementName=Bankbook}"
554
+                   FontSize="12"
555
+                   Text="{Binding}"
556
+                   d:DataContext="000100" />
557
+        <TextBlock Name="textBlock51"
558
+                   Canvas.Left="46"
559
+                   Canvas.Top="503"
560
+                   Height="17"
561
+                   DataContext="{Binding Path=PageData_8_1,
562
+                                         ElementName=Bankbook}"
563
+                   FontSize="12"
564
+                   Text="{Binding}"
565
+                   d:DataContext="20130808" />
566
+        <TextBlock Name="textBlock52"
567
+                   Canvas.Left="112"
568
+                   Canvas.Top="503"
569
+                   Height="17"
570
+                   DataContext="{Binding Path=PageData_8_2,
571
+                                         ElementName=Bankbook}"
572
+                   FontSize="12"
573
+                   Text="{Binding}"
574
+                   d:DataContext="换入存单" />
575
+        <TextBlock Name="textBlock53"
576
+                   Canvas.Left="337"
577
+                   Canvas.Top="503"
578
+                   Width="126"
579
+                   Height="17"
580
+                   DataContext="{Binding Path=PageData_8_5,
581
+                                         ElementName=Bankbook}"
582
+                   FontSize="12"
583
+                   Text="{Binding}"
584
+                   TextAlignment="Right"
585
+                   d:DataContext="999,999,999,999.00" />
586
+        <TextBlock Name="textBlock54"
587
+                   Canvas.Left="170"
588
+                   Canvas.Top="503"
589
+                   Width="78"
590
+                   Height="17"
591
+                   DataContext="{Binding Path=PageData_8_3,
592
+                                         ElementName=Bankbook}"
593
+                   FontSize="12"
594
+                   Text="{Binding}"
595
+                   TextAlignment="Right"
596
+                   d:DataContext="9,999,999.00" />
597
+        <TextBlock Name="textBlock55"
598
+                   Canvas.Left="254"
599
+                   Canvas.Top="503"
600
+                   Width="78"
601
+                   Height="17"
602
+                   DataContext="{Binding Path=PageData_8_4,
603
+                                         ElementName=Bankbook}"
604
+                   FontSize="12"
605
+                   Text="{Binding}"
606
+                   TextAlignment="Right"
607
+                   d:DataContext="9,999,999.00" />
608
+        <TextBlock Name="textBlock56"
609
+                   Canvas.Left="475"
610
+                   Canvas.Top="503"
611
+                   Height="17"
612
+                   DataContext="{Binding Path=PageData_8_6,
613
+                                         ElementName=Bankbook}"
614
+                   FontSize="12"
615
+                   Text="{Binding}"
616
+                   d:DataContext="000100" />
617
+        <TextBlock Name="textBlock57"
618
+                   Canvas.Left="46"
619
+                   Canvas.Top="528"
620
+                   Height="17"
621
+                   DataContext="{Binding Path=PageData_9_1,
622
+                                         ElementName=Bankbook}"
623
+                   FontSize="12"
624
+                   Text="{Binding}"
625
+                   d:DataContext="20130808" />
626
+        <TextBlock Name="textBlock58"
627
+                   Canvas.Left="112"
628
+                   Canvas.Top="528"
629
+                   Height="17"
630
+                   DataContext="{Binding Path=PageData_9_2,
631
+                                         ElementName=Bankbook}"
632
+                   FontSize="12"
633
+                   Text="{Binding}"
634
+                   d:DataContext="换入存单" />
635
+        <TextBlock Name="textBlock59"
636
+                   Canvas.Left="337"
637
+                   Canvas.Top="528"
638
+                   Width="126"
639
+                   Height="17"
640
+                   DataContext="{Binding Path=PageData_9_5,
641
+                                         ElementName=Bankbook}"
642
+                   FontSize="12"
643
+                   Text="{Binding}"
644
+                   TextAlignment="Right"
645
+                   d:DataContext="999,999,999,999.00" />
646
+        <TextBlock Name="textBlock60"
647
+                   Canvas.Left="170"
648
+                   Canvas.Top="528"
649
+                   Width="78"
650
+                   Height="17"
651
+                   DataContext="{Binding Path=PageData_9_3,
652
+                                         ElementName=Bankbook}"
653
+                   FontSize="12"
654
+                   Text="{Binding}"
655
+                   TextAlignment="Right"
656
+                   d:DataContext="9,999,999.00" />
657
+        <TextBlock Name="textBlock61"
658
+                   Canvas.Left="254"
659
+                   Canvas.Top="528"
660
+                   Width="78"
661
+                   Height="17"
662
+                   DataContext="{Binding Path=PageData_9_4,
663
+                                         ElementName=Bankbook}"
664
+                   FontSize="12"
665
+                   Text="{Binding}"
666
+                   TextAlignment="Right"
667
+                   d:DataContext="9,999,999.00" />
668
+        <TextBlock Name="textBlock62"
669
+                   Canvas.Left="475"
670
+                   Canvas.Top="528"
671
+                   Height="17"
672
+                   DataContext="{Binding Path=PageData_9_6,
673
+                                         ElementName=Bankbook}"
674
+                   FontSize="12"
675
+                   Text="{Binding}"
676
+                   d:DataContext="000100" />
677
+        <TextBlock Name="textBlock63"
678
+                   Canvas.Left="46"
679
+                   Canvas.Top="552"
680
+                   Height="17"
681
+                   DataContext="{Binding Path=PageData_10_1,
682
+                                         ElementName=Bankbook}"
683
+                   FontSize="12"
684
+                   Text="{Binding}"
685
+                   d:DataContext="20130808" />
686
+        <TextBlock Name="textBlock64"
687
+                   Canvas.Left="112"
688
+                   Canvas.Top="552"
689
+                   Height="17"
690
+                   DataContext="{Binding Path=PageData_10_2,
691
+                                         ElementName=Bankbook}"
692
+                   FontSize="12"
693
+                   Text="{Binding}"
694
+                   d:DataContext="换入存单" />
695
+        <TextBlock Name="textBlock65"
696
+                   Canvas.Left="337"
697
+                   Canvas.Top="552"
698
+                   Width="126"
699
+                   Height="17"
700
+                   DataContext="{Binding Path=PageData_10_5,
701
+                                         ElementName=Bankbook}"
702
+                   FontSize="12"
703
+                   Text="{Binding}"
704
+                   TextAlignment="Right"
705
+                   d:DataContext="999,999,999,999.00" />
706
+        <TextBlock Name="textBlock66"
707
+                   Canvas.Left="170"
708
+                   Canvas.Top="552"
709
+                   Width="78"
710
+                   Height="17"
711
+                   DataContext="{Binding Path=PageData_10_3,
712
+                                         ElementName=Bankbook}"
713
+                   FontSize="12"
714
+                   Text="{Binding}"
715
+                   TextAlignment="Right"
716
+                   d:DataContext="9,999,999.00" />
717
+        <TextBlock Name="textBlock67"
718
+                   Canvas.Left="254"
719
+                   Canvas.Top="552"
720
+                   Width="78"
721
+                   Height="17"
722
+                   DataContext="{Binding Path=PageData_10_4,
723
+                                         ElementName=Bankbook}"
724
+                   FontSize="12"
725
+                   Text="{Binding}"
726
+                   TextAlignment="Right"
727
+                   d:DataContext="9,999,999.00" />
728
+        <TextBlock Name="textBlock68"
729
+                   Canvas.Left="475"
730
+                   Canvas.Top="552"
731
+                   Height="17"
732
+                   DataContext="{Binding Path=PageData_10_6,
733
+                                         ElementName=Bankbook}"
734
+                   FontSize="12"
735
+                   Text="{Binding}"
736
+                   d:DataContext="000100" />
737
+    </Canvas>
738
+</dhcc:PrintContainer>

+ 801
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CDCZFirstPage.xaml.cs View File

@@ -0,0 +1,801 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Text;
5
+using System.Windows;
6
+using System.Windows.Controls;
7
+using System.Windows.Data;
8
+using System.Windows.Documents;
9
+using System.Windows.Input;
10
+using System.Windows.Media;
11
+using System.Windows.Media.Imaging;
12
+using System.Windows.Navigation;
13
+using System.Windows.Shapes;
14
+using System.Data;
15
+using Platform.Print;
16
+using System.Collections;
17
+
18
+namespace TellerSystem.PrintTemplate.Bankbook
19
+{
20
+    /// <summary>
21
+    /// Print_Deposit.xaml 的交互逻辑
22
+    /// </summary>
23
+    public partial class CXCZFirstPage
24
+    {
25
+        public CXCZFirstPage()
26
+        {
27
+            InitializeComponent();
28
+        }
29
+        /// <summary>
30
+        /// 
31
+        /// </summary>
32
+        public void Setvalue()
33
+        {
34
+            if (PageData == null) return;
35
+            if (PageData.Count == 0) return;
36
+            PageData_1_1 = PageData[0].DateInfo;
37
+            PageData_1_2 = PageData[0].Description;
38
+            PageData_1_3 = PageData[0].Deposit;
39
+            PageData_1_4 = PageData[0].Withdrawal;
40
+            PageData_1_5 = PageData[0].Balance;
41
+            PageData_1_6 = PageData[0].TellerNo;
42
+            if (PageData.Count == 1) return;
43
+
44
+            PageData_2_1 = PageData[1].DateInfo;
45
+            PageData_2_2 = PageData[1].Description;
46
+            PageData_2_3 = PageData[1].Deposit;
47
+            PageData_2_4 = PageData[1].Withdrawal;
48
+            PageData_2_5 = PageData[1].Balance;
49
+            PageData_2_6 = PageData[1].TellerNo;
50
+            if (PageData.Count == 2) return;
51
+            PageData_3_1 = PageData[2].DateInfo;
52
+            PageData_3_2 = PageData[2].Description;
53
+            PageData_3_3 = PageData[2].Deposit;
54
+            PageData_3_4 = PageData[2].Withdrawal;
55
+            PageData_3_5 = PageData[2].Balance;
56
+            PageData_3_6 = PageData[2].TellerNo;
57
+            if (PageData.Count == 3) return;
58
+            PageData_4_1 = PageData[3].DateInfo;
59
+            PageData_4_2 = PageData[3].Description;
60
+            PageData_4_3 = PageData[3].Deposit;
61
+            PageData_4_4 = PageData[3].Withdrawal;
62
+            PageData_4_5 = PageData[3].Balance;
63
+            PageData_4_6 = PageData[3].TellerNo;
64
+            if (PageData.Count == 4) return;
65
+            PageData_5_1 = PageData[4].DateInfo;
66
+            PageData_5_2 = PageData[4].Description;
67
+            PageData_5_3 = PageData[4].Deposit;
68
+            PageData_5_4 = PageData[4].Withdrawal;
69
+            PageData_5_5 = PageData[4].Balance;
70
+            PageData_5_6 = PageData[4].TellerNo;
71
+            if (PageData.Count == 5) return;
72
+            PageData_6_1 = PageData[5].DateInfo;
73
+            PageData_6_2 = PageData[5].Description;
74
+            PageData_6_3 = PageData[5].Deposit;
75
+            PageData_6_4 = PageData[5].Withdrawal;
76
+            PageData_6_5 = PageData[5].Balance;
77
+            PageData_6_6 = PageData[5].TellerNo;
78
+            if (PageData.Count == 6) return;       
79
+            PageData_7_1 = PageData[6].DateInfo;
80
+            PageData_7_2 = PageData[6].Description;
81
+            PageData_7_3 = PageData[6].Deposit;
82
+            PageData_7_4 = PageData[6].Withdrawal;
83
+            PageData_7_5 = PageData[6].Balance;
84
+            PageData_7_6 = PageData[6].TellerNo;
85
+            if (PageData.Count == 7) return;
86
+            PageData_8_1 = PageData[7].DateInfo;
87
+            PageData_8_2 = PageData[7].Description;
88
+            PageData_8_3 = PageData[7].Deposit;
89
+            PageData_8_4 = PageData[7].Withdrawal;
90
+            PageData_8_5 = PageData[7].Balance;
91
+            PageData_8_6 = PageData[7].TellerNo;
92
+            if (PageData.Count == 8) return;
93
+            PageData_9_1 = PageData[8].DateInfo;
94
+            PageData_9_2 = PageData[8].Description;
95
+            PageData_9_3 = PageData[8].Deposit;
96
+            PageData_9_4 = PageData[8].Withdrawal;
97
+            PageData_9_5 = PageData[8].Balance;
98
+            PageData_9_6 = PageData[8].TellerNo;
99
+            if (PageData.Count == 9) return;
100
+            PageData_10_1 = PageData[9].DateInfo;
101
+            PageData_10_2 = PageData[9].Description;
102
+            PageData_10_3 = PageData[9].Deposit;
103
+            PageData_10_4 = PageData[9].Withdrawal;
104
+            PageData_10_5 = PageData[9].Balance;
105
+            PageData_10_6 = PageData[9].TellerNo;
106
+            
107
+
108
+        }
109
+        #region 自定义属性
110
+
111
+        /// <summary>
112
+        /// 存折编号
113
+        /// </summary>
114
+        public string Number
115
+        {
116
+            get { return (string)GetValue(NumberProperty); }
117
+            set { SetValue(NumberProperty, value); }
118
+        }
119
+        public static readonly DependencyProperty NumberProperty =
120
+            DependencyProperty.Register("Number", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
121
+        /// <summary>
122
+        /// 账号
123
+        /// </summary>
124
+        public string AccountNo
125
+        {
126
+            get { return (string)GetValue(AccountNoProperty); }
127
+            set { SetValue(AccountNoProperty, value); }
128
+        }
129
+        public static readonly DependencyProperty AccountNoProperty =
130
+            DependencyProperty.Register("AccountNo", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
131
+        /// <summary>
132
+        /// 客户号
133
+        /// </summary>
134
+        public string UserNum
135
+        {
136
+            get { return (string)GetValue(UserNumProperty); }
137
+            set { SetValue(UserNumProperty, value); }
138
+        }
139
+        public static readonly DependencyProperty UserNumProperty =
140
+           DependencyProperty.Register("UserNum", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
141
+        /// <summary>
142
+        /// 户名
143
+        /// </summary>
144
+        public string AccountName
145
+        {
146
+            get { return (string)GetValue(AccountNameProperty); }
147
+            set { SetValue(AccountNameProperty, value); }
148
+        }
149
+        public static readonly DependencyProperty AccountNameProperty =
150
+          DependencyProperty.Register("AccountName", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
151
+        /// <summary>
152
+        /// 币种
153
+        /// </summary>
154
+        public string Currency
155
+        {
156
+            get { return (string)GetValue(CurrencyProperty); }
157
+            set { SetValue(CurrencyProperty, value); }
158
+        }
159
+        public static readonly DependencyProperty CurrencyProperty =
160
+         DependencyProperty.Register("Currency", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
161
+        /// <summary>
162
+        /// 开户银行
163
+        /// </summary>
164
+        public string AccountBank
165
+        {
166
+            get { return (string)GetValue(AccountBankProperty); }
167
+            set { SetValue(AccountBankProperty, value); }
168
+        }
169
+
170
+        public static readonly DependencyProperty AccountBankProperty =
171
+         DependencyProperty.Register("AccountBank", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
172
+        /// <summary>
173
+        /// 开户日期
174
+        /// </summary>
175
+        public string AccountDate
176
+        {
177
+            get { return (string)GetValue(AccountDateProperty); }
178
+            set { SetValue(AccountDateProperty, value); }
179
+        }
180
+        public static readonly DependencyProperty AccountDateProperty =
181
+         DependencyProperty.Register("AccountDate", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
182
+        /// <summary>
183
+        /// 存款类别
184
+        /// </summary>
185
+        public string DepositType
186
+        {
187
+            get { return (string)GetValue(DepositTypeProperty); }
188
+            set { SetValue(DepositTypeProperty, value); }
189
+        }
190
+        public static readonly DependencyProperty DepositTypeProperty =
191
+         DependencyProperty.Register("DepositType", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
192
+        /// <summary>
193
+        /// 印密
194
+        /// </summary>
195
+        public string PasswordOrSeal
196
+        {
197
+            get { return (string)GetValue(PasswordOrSealProperty); }
198
+            set { SetValue(PasswordOrSealProperty, value); }
199
+        }
200
+        public static readonly DependencyProperty PasswordOrSealProperty =
201
+        DependencyProperty.Register("PasswordOrSeal", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
202
+
203
+        /// <summary>
204
+        /// 支付行号
205
+        /// </summary>
206
+        public string PaySysCode
207
+        {
208
+            get { return (string)GetValue(PaySysCodeProperty); }
209
+            set { SetValue(PaySysCodeProperty, value); }
210
+        }
211
+        public static readonly DependencyProperty PaySysCodeProperty =
212
+            DependencyProperty.Register("PaySysCode", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
213
+
214
+        #endregion
215
+
216
+        /// <summary>
217
+        /// 子账户数据
218
+        /// </summary>
219
+        public List<CXCZPageEntity> PageData;
220
+
221
+        #region 第一行
222
+        public string PageData_1_1
223
+        {
224
+            get { return (string)GetValue(PageData_1_1Property); }
225
+            //get { return _PageData[0].TxDate; }
226
+            set { SetValue(PageData_1_1Property, value); }
227
+        }
228
+
229
+        public static readonly DependencyProperty PageData_1_1Property =
230
+            DependencyProperty.Register("PageData_1_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
231
+        public string PageData_1_2
232
+        {
233
+            get { return (string)GetValue(PageData_1_2Property); }
234
+            // get { return _PageData[0].CurNo; }
235
+            set { SetValue(PageData_1_2Property, value); }
236
+        }
237
+
238
+        public static readonly DependencyProperty PageData_1_2Property =
239
+            DependencyProperty.Register("PageData_1_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
240
+        public string PageData_1_3
241
+        {
242
+            get { return (string)GetValue(PageData_1_3Property); }
243
+            //get { return _PageData[0].DespInfo; }
244
+            set { SetValue(PageData_1_3Property, value); }
245
+        }
246
+
247
+        public static readonly DependencyProperty PageData_1_3Property =
248
+            DependencyProperty.Register("PageData_1_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
249
+        public string PageData_1_4
250
+        {
251
+            get { return (string)GetValue(PageData_1_4Property); }
252
+            // get { return _PageData[0].BegDate; }
253
+            set { SetValue(PageData_1_4Property, value); }
254
+        }
255
+
256
+        public static readonly DependencyProperty PageData_1_4Property =
257
+            DependencyProperty.Register("PageData_1_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
258
+        public string PageData_1_5
259
+        {
260
+            get { return (string)GetValue(PageData_1_5Property); }
261
+            //get { return _PageData[0].DepoistType; }
262
+            set { SetValue(PageData_1_5Property, value); }
263
+        }
264
+
265
+        public static readonly DependencyProperty PageData_1_5Property =
266
+            DependencyProperty.Register("PageData_1_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
267
+        public string PageData_1_6
268
+        {
269
+            get { return (string)GetValue(PageData_1_6Property); }
270
+            // get { return _PageData[0].Term; }
271
+            set { SetValue(PageData_1_6Property, value); }
272
+        }
273
+
274
+        public static readonly DependencyProperty PageData_1_6Property =
275
+            DependencyProperty.Register("PageData_1_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
276
+      
277
+        #endregion
278
+
279
+        #region 第二行
280
+        public string PageData_2_1
281
+        {
282
+            get { return (string)GetValue(PageData_2_1Property); }
283
+            //get { return _PageData[0].TxDate; }
284
+            set { SetValue(PageData_2_1Property, value); }
285
+        }
286
+
287
+        public static readonly DependencyProperty PageData_2_1Property =
288
+            DependencyProperty.Register("PageData_2_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
289
+        public string PageData_2_2
290
+        {
291
+            get { return (string)GetValue(PageData_2_2Property); }
292
+            // get { return _PageData[0].CurNo; }
293
+            set { SetValue(PageData_2_2Property, value); }
294
+        }
295
+
296
+        public static readonly DependencyProperty PageData_2_2Property =
297
+            DependencyProperty.Register("PageData_2_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
298
+        public string PageData_2_3
299
+        {
300
+            get { return (string)GetValue(PageData_2_3Property); }
301
+            //get { return _PageData[0].DespInfo; }
302
+            set { SetValue(PageData_2_3Property, value); }
303
+        }
304
+
305
+        public static readonly DependencyProperty PageData_2_3Property =
306
+            DependencyProperty.Register("PageData_2_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
307
+        public string PageData_2_4
308
+        {
309
+            get { return (string)GetValue(PageData_2_4Property); }
310
+            // get { return _PageData[0].BegDate; }
311
+            set { SetValue(PageData_2_4Property, value); }
312
+        }
313
+
314
+        public static readonly DependencyProperty PageData_2_4Property =
315
+            DependencyProperty.Register("PageData_2_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
316
+        public string PageData_2_5
317
+        {
318
+            get { return (string)GetValue(PageData_2_5Property); }
319
+            //get { return _PageData[0].DepoistType; }
320
+            set { SetValue(PageData_2_5Property, value); }
321
+        }
322
+
323
+        public static readonly DependencyProperty PageData_2_5Property =
324
+            DependencyProperty.Register("PageData_2_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
325
+        public string PageData_2_6
326
+        {
327
+            get { return (string)GetValue(PageData_2_6Property); }
328
+            // get { return _PageData[0].Term; }
329
+            set { SetValue(PageData_2_6Property, value); }
330
+        }
331
+
332
+        public static readonly DependencyProperty PageData_2_6Property =
333
+            DependencyProperty.Register("PageData_2_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
334
+       
335
+        #endregion
336
+
337
+        #region 第三行
338
+        public string PageData_3_1
339
+        {
340
+            get { return (string)GetValue(PageData_3_1Property); }
341
+            //get { return _PageData[0].TxDate; }
342
+            set { SetValue(PageData_3_1Property, value); }
343
+        }
344
+
345
+        public static readonly DependencyProperty PageData_3_1Property =
346
+            DependencyProperty.Register("PageData_3_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
347
+        public string PageData_3_2
348
+        {
349
+            get { return (string)GetValue(PageData_3_2Property); }
350
+            // get { return _PageData[0].CurNo; }
351
+            set { SetValue(PageData_3_2Property, value); }
352
+        }
353
+
354
+        public static readonly DependencyProperty PageData_3_2Property =
355
+            DependencyProperty.Register("PageData_3_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
356
+        public string PageData_3_3
357
+        {
358
+            get { return (string)GetValue(PageData_3_3Property); }
359
+            //get { return _PageData[0].DespInfo; }
360
+            set { SetValue(PageData_3_3Property, value); }
361
+        }
362
+
363
+        public static readonly DependencyProperty PageData_3_3Property =
364
+            DependencyProperty.Register("PageData_3_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
365
+        public string PageData_3_4
366
+        {
367
+            get { return (string)GetValue(PageData_3_4Property); }
368
+            // get { return _PageData[0].BegDate; }
369
+            set { SetValue(PageData_3_4Property, value); }
370
+        }
371
+
372
+        public static readonly DependencyProperty PageData_3_4Property =
373
+            DependencyProperty.Register("PageData_3_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
374
+        public string PageData_3_5
375
+        {
376
+            get { return (string)GetValue(PageData_3_5Property); }
377
+            //get { return _PageData[0].DepoistType; }
378
+            set { SetValue(PageData_3_5Property, value); }
379
+        }
380
+
381
+        public static readonly DependencyProperty PageData_3_5Property =
382
+            DependencyProperty.Register("PageData_3_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
383
+        public string PageData_3_6
384
+        {
385
+            get { return (string)GetValue(PageData_3_6Property); }
386
+            // get { return _PageData[0].Term; }
387
+            set { SetValue(PageData_3_6Property, value); }
388
+        }
389
+
390
+        public static readonly DependencyProperty PageData_3_6Property =
391
+            DependencyProperty.Register("PageData_3_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
392
+       
393
+        #endregion
394
+
395
+        #region 第四行
396
+        public string PageData_4_1
397
+        {
398
+            get { return (string)GetValue(PageData_4_1Property); }
399
+            //get { return _PageData[0].TxDate; }
400
+            set { SetValue(PageData_4_1Property, value); }
401
+        }
402
+
403
+        public static readonly DependencyProperty PageData_4_1Property =
404
+            DependencyProperty.Register("PageData_4_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
405
+        public string PageData_4_2
406
+        {
407
+            get { return (string)GetValue(PageData_4_2Property); }
408
+            // get { return _PageData[0].CurNo; }
409
+            set { SetValue(PageData_4_2Property, value); }
410
+        }
411
+
412
+        public static readonly DependencyProperty PageData_4_2Property =
413
+            DependencyProperty.Register("PageData_4_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
414
+        public string PageData_4_3
415
+        {
416
+            get { return (string)GetValue(PageData_4_3Property); }
417
+            //get { return _PageData[0].DespInfo; }
418
+            set { SetValue(PageData_4_3Property, value); }
419
+        }
420
+
421
+        public static readonly DependencyProperty PageData_4_3Property =
422
+            DependencyProperty.Register("PageData_4_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
423
+        public string PageData_4_4
424
+        {
425
+            get { return (string)GetValue(PageData_4_4Property); }
426
+            // get { return _PageData[0].BegDate; }
427
+            set { SetValue(PageData_4_4Property, value); }
428
+        }
429
+
430
+        public static readonly DependencyProperty PageData_4_4Property =
431
+            DependencyProperty.Register("PageData_4_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
432
+        public string PageData_4_5
433
+        {
434
+            get { return (string)GetValue(PageData_4_5Property); }
435
+            //get { return _PageData[0].DepoistType; }
436
+            set { SetValue(PageData_4_5Property, value); }
437
+        }
438
+
439
+        public static readonly DependencyProperty PageData_4_5Property =
440
+            DependencyProperty.Register("PageData_4_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
441
+        public string PageData_4_6
442
+        {
443
+            get { return (string)GetValue(PageData_4_6Property); }
444
+            // get { return _PageData[0].Term; }
445
+            set { SetValue(PageData_4_6Property, value); }
446
+        }
447
+
448
+        public static readonly DependencyProperty PageData_4_6Property =
449
+            DependencyProperty.Register("PageData_4_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
450
+       
451
+        #endregion
452
+
453
+        #region 第五行
454
+        public string PageData_5_1
455
+        {
456
+            get { return (string)GetValue(PageData_5_1Property); }
457
+            //get { return _PageData[0].TxDate; }
458
+            set { SetValue(PageData_5_1Property, value); }
459
+        }
460
+
461
+        public static readonly DependencyProperty PageData_5_1Property =
462
+            DependencyProperty.Register("PageData_5_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
463
+        public string PageData_5_2
464
+        {
465
+            get { return (string)GetValue(PageData_5_2Property); }
466
+            // get { return _PageData[0].CurNo; }
467
+            set { SetValue(PageData_5_2Property, value); }
468
+        }
469
+
470
+        public static readonly DependencyProperty PageData_5_2Property =
471
+            DependencyProperty.Register("PageData_5_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
472
+        public string PageData_5_3
473
+        {
474
+            get { return (string)GetValue(PageData_5_3Property); }
475
+            //get { return _PageData[0].DespInfo; }
476
+            set { SetValue(PageData_5_3Property, value); }
477
+        }
478
+
479
+        public static readonly DependencyProperty PageData_5_3Property =
480
+            DependencyProperty.Register("PageData_5_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
481
+        public string PageData_5_4
482
+        {
483
+            get { return (string)GetValue(PageData_5_4Property); }
484
+            // get { return _PageData[0].BegDate; }
485
+            set { SetValue(PageData_5_4Property, value); }
486
+        }
487
+
488
+        public static readonly DependencyProperty PageData_5_4Property =
489
+            DependencyProperty.Register("PageData_5_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
490
+        public string PageData_5_5
491
+        {
492
+            get { return (string)GetValue(PageData_5_5Property); }
493
+            //get { return _PageData[0].DepoistType; }
494
+            set { SetValue(PageData_5_5Property, value); }
495
+        }
496
+
497
+        public static readonly DependencyProperty PageData_5_5Property =
498
+            DependencyProperty.Register("PageData_5_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
499
+        public string PageData_5_6
500
+        {
501
+            get { return (string)GetValue(PageData_5_6Property); }
502
+            // get { return _PageData[0].Term; }
503
+            set { SetValue(PageData_5_6Property, value); }
504
+        }
505
+
506
+        public static readonly DependencyProperty PageData_5_6Property =
507
+            DependencyProperty.Register("PageData_5_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
508
+      
509
+        #endregion
510
+
511
+        #region 第六行
512
+        public string PageData_6_1
513
+        {
514
+            get { return (string)GetValue(PageData_6_1Property); }
515
+            //get { return _PageData[0].TxDate; }
516
+            set { SetValue(PageData_6_1Property, value); }
517
+        }
518
+
519
+        public static readonly DependencyProperty PageData_6_1Property =
520
+            DependencyProperty.Register("PageData_6_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
521
+        public string PageData_6_2
522
+        {
523
+            get { return (string)GetValue(PageData_6_2Property); }
524
+            // get { return _PageData[0].CurNo; }
525
+            set { SetValue(PageData_6_2Property, value); }
526
+        }
527
+
528
+        public static readonly DependencyProperty PageData_6_2Property =
529
+            DependencyProperty.Register("PageData_6_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
530
+        public string PageData_6_3
531
+        {
532
+            get { return (string)GetValue(PageData_6_3Property); }
533
+            //get { return _PageData[0].DespInfo; }
534
+            set { SetValue(PageData_6_3Property, value); }
535
+        }
536
+
537
+        public static readonly DependencyProperty PageData_6_3Property =
538
+            DependencyProperty.Register("PageData_6_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
539
+        public string PageData_6_4
540
+        {
541
+            get { return (string)GetValue(PageData_6_4Property); }
542
+            // get { return _PageData[0].BegDate; }
543
+            set { SetValue(PageData_6_4Property, value); }
544
+        }
545
+
546
+        public static readonly DependencyProperty PageData_6_4Property =
547
+            DependencyProperty.Register("PageData_6_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
548
+        public string PageData_6_5
549
+        {
550
+            get { return (string)GetValue(PageData_6_5Property); }
551
+            //get { return _PageData[0].DepoistType; }
552
+            set { SetValue(PageData_6_5Property, value); }
553
+        }
554
+
555
+        public static readonly DependencyProperty PageData_6_5Property =
556
+            DependencyProperty.Register("PageData_6_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
557
+        public string PageData_6_6
558
+        {
559
+            get { return (string)GetValue(PageData_6_6Property); }
560
+            // get { return _PageData[0].Term; }
561
+            set { SetValue(PageData_6_6Property, value); }
562
+        }
563
+
564
+        public static readonly DependencyProperty PageData_6_6Property =
565
+            DependencyProperty.Register("PageData_6_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
566
+      
567
+        #endregion
568
+
569
+        #region 第七行
570
+        public string PageData_7_1
571
+        {
572
+            get { return (string)GetValue(PageData_7_1Property); }
573
+            //get { return _PageData[0].TxDate; }
574
+            set { SetValue(PageData_7_1Property, value); }
575
+        }
576
+
577
+        public static readonly DependencyProperty PageData_7_1Property =
578
+            DependencyProperty.Register("PageData_7_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
579
+        public string PageData_7_2
580
+        {
581
+            get { return (string)GetValue(PageData_7_2Property); }
582
+            // get { return _PageData[0].CurNo; }
583
+            set { SetValue(PageData_7_2Property, value); }
584
+        }
585
+
586
+        public static readonly DependencyProperty PageData_7_2Property =
587
+            DependencyProperty.Register("PageData_7_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
588
+        public string PageData_7_3
589
+        {
590
+            get { return (string)GetValue(PageData_7_3Property); }
591
+            //get { return _PageData[0].DespInfo; }
592
+            set { SetValue(PageData_7_3Property, value); }
593
+        }
594
+
595
+        public static readonly DependencyProperty PageData_7_3Property =
596
+            DependencyProperty.Register("PageData_7_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
597
+        public string PageData_7_4
598
+        {
599
+            get { return (string)GetValue(PageData_7_4Property); }
600
+            // get { return _PageData[0].BegDate; }
601
+            set { SetValue(PageData_7_4Property, value); }
602
+        }
603
+
604
+        public static readonly DependencyProperty PageData_7_4Property =
605
+            DependencyProperty.Register("PageData_7_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
606
+        public string PageData_7_5
607
+        {
608
+            get { return (string)GetValue(PageData_7_5Property); }
609
+            //get { return _PageData[0].DepoistType; }
610
+            set { SetValue(PageData_7_5Property, value); }
611
+        }
612
+
613
+        public static readonly DependencyProperty PageData_7_5Property =
614
+            DependencyProperty.Register("PageData_7_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
615
+        public string PageData_7_6
616
+        {
617
+            get { return (string)GetValue(PageData_7_6Property); }
618
+            // get { return _PageData[0].Term; }
619
+            set { SetValue(PageData_7_6Property, value); }
620
+        }
621
+
622
+        public static readonly DependencyProperty PageData_7_6Property =
623
+            DependencyProperty.Register("PageData_7_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
624
+       
625
+        #endregion
626
+
627
+        #region 第八行
628
+        public string PageData_8_1
629
+        {
630
+            get { return (string)GetValue(PageData_8_1Property); }
631
+            //get { return _PageData[0].TxDate; }
632
+            set { SetValue(PageData_8_1Property, value); }
633
+        }
634
+
635
+        public static readonly DependencyProperty PageData_8_1Property =
636
+            DependencyProperty.Register("PageData_8_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
637
+        public string PageData_8_2
638
+        {
639
+            get { return (string)GetValue(PageData_8_2Property); }
640
+            // get { return _PageData[0].CurNo; }
641
+            set { SetValue(PageData_8_2Property, value); }
642
+        }
643
+
644
+        public static readonly DependencyProperty PageData_8_2Property =
645
+            DependencyProperty.Register("PageData_8_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
646
+        public string PageData_8_3
647
+        {
648
+            get { return (string)GetValue(PageData_8_3Property); }
649
+            //get { return _PageData[0].DespInfo; }
650
+            set { SetValue(PageData_8_3Property, value); }
651
+        }
652
+
653
+        public static readonly DependencyProperty PageData_8_3Property =
654
+            DependencyProperty.Register("PageData_8_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
655
+        public string PageData_8_4
656
+        {
657
+            get { return (string)GetValue(PageData_8_4Property); }
658
+            // get { return _PageData[0].BegDate; }
659
+            set { SetValue(PageData_8_4Property, value); }
660
+        }
661
+
662
+        public static readonly DependencyProperty PageData_8_4Property =
663
+            DependencyProperty.Register("PageData_8_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
664
+        public string PageData_8_5
665
+        {
666
+            get { return (string)GetValue(PageData_8_5Property); }
667
+            //get { return _PageData[0].DepoistType; }
668
+            set { SetValue(PageData_8_5Property, value); }
669
+        }
670
+
671
+        public static readonly DependencyProperty PageData_8_5Property =
672
+            DependencyProperty.Register("PageData_8_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
673
+        public string PageData_8_6
674
+        {
675
+            get { return (string)GetValue(PageData_8_6Property); }
676
+            // get { return _PageData[0].Term; }
677
+            set { SetValue(PageData_8_6Property, value); }
678
+        }
679
+
680
+        public static readonly DependencyProperty PageData_8_6Property =
681
+            DependencyProperty.Register("PageData_8_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
682
+
683
+        #endregion
684
+
685
+        #region 第九行
686
+        public string PageData_9_1
687
+        {
688
+            get { return (string)GetValue(PageData_9_1Property); }
689
+            //get { return _PageData[0].TxDate; }
690
+            set { SetValue(PageData_9_1Property, value); }
691
+        }
692
+
693
+        public static readonly DependencyProperty PageData_9_1Property =
694
+            DependencyProperty.Register("PageData_9_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
695
+        public string PageData_9_2
696
+        {
697
+            get { return (string)GetValue(PageData_9_2Property); }
698
+            // get { return _PageData[0].CurNo; }
699
+            set { SetValue(PageData_9_2Property, value); }
700
+        }
701
+
702
+        public static readonly DependencyProperty PageData_9_2Property =
703
+            DependencyProperty.Register("PageData_9_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
704
+        public string PageData_9_3
705
+        {
706
+            get { return (string)GetValue(PageData_9_3Property); }
707
+            //get { return _PageData[0].DespInfo; }
708
+            set { SetValue(PageData_9_3Property, value); }
709
+        }
710
+
711
+        public static readonly DependencyProperty PageData_9_3Property =
712
+            DependencyProperty.Register("PageData_9_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
713
+        public string PageData_9_4
714
+        {
715
+            get { return (string)GetValue(PageData_9_4Property); }
716
+            // get { return _PageData[0].BegDate; }
717
+            set { SetValue(PageData_9_4Property, value); }
718
+        }
719
+
720
+        public static readonly DependencyProperty PageData_9_4Property =
721
+            DependencyProperty.Register("PageData_9_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
722
+        public string PageData_9_5
723
+        {
724
+            get { return (string)GetValue(PageData_9_5Property); }
725
+            //get { return _PageData[0].DepoistType; }
726
+            set { SetValue(PageData_9_5Property, value); }
727
+        }
728
+
729
+        public static readonly DependencyProperty PageData_9_5Property =
730
+            DependencyProperty.Register("PageData_9_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
731
+        public string PageData_9_6
732
+        {
733
+            get { return (string)GetValue(PageData_9_6Property); }
734
+            // get { return _PageData[0].Term; }
735
+            set { SetValue(PageData_9_6Property, value); }
736
+        }
737
+
738
+        public static readonly DependencyProperty PageData_9_6Property =
739
+            DependencyProperty.Register("PageData_9_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
740
+
741
+        #endregion
742
+
743
+        #region 第十行
744
+        public string PageData_10_1
745
+        {
746
+            get { return (string)GetValue(PageData_10_1Property); }
747
+            //get { return _PageData[0].TxDate; }
748
+            set { SetValue(PageData_10_1Property, value); }
749
+        }
750
+
751
+        public static readonly DependencyProperty PageData_10_1Property =
752
+            DependencyProperty.Register("PageData_10_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
753
+        public string PageData_10_2
754
+        {
755
+            get { return (string)GetValue(PageData_10_2Property); }
756
+            // get { return _PageData[0].CurNo; }
757
+            set { SetValue(PageData_10_2Property, value); }
758
+        }
759
+
760
+        public static readonly DependencyProperty PageData_10_2Property =
761
+            DependencyProperty.Register("PageData_10_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
762
+        public string PageData_10_3
763
+        {
764
+            get { return (string)GetValue(PageData_10_3Property); }
765
+            //get { return _PageData[0].DespInfo; }
766
+            set { SetValue(PageData_10_3Property, value); }
767
+        }
768
+
769
+        public static readonly DependencyProperty PageData_10_3Property =
770
+            DependencyProperty.Register("PageData_10_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
771
+        public string PageData_10_4
772
+        {
773
+            get { return (string)GetValue(PageData_10_4Property); }
774
+            // get { return _PageData[0].BegDate; }
775
+            set { SetValue(PageData_10_4Property, value); }
776
+        }
777
+
778
+        public static readonly DependencyProperty PageData_10_4Property =
779
+            DependencyProperty.Register("PageData_10_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
780
+        public string PageData_10_5
781
+        {
782
+            get { return (string)GetValue(PageData_10_5Property); }
783
+            //get { return _PageData[0].DepoistType; }
784
+            set { SetValue(PageData_10_5Property, value); }
785
+        }
786
+
787
+        public static readonly DependencyProperty PageData_10_5Property =
788
+            DependencyProperty.Register("PageData_10_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
789
+        public string PageData_10_6
790
+        {
791
+            get { return (string)GetValue(PageData_10_6Property); }
792
+            // get { return _PageData[0].Term; }
793
+            set { SetValue(PageData_10_6Property, value); }
794
+        }
795
+
796
+        public static readonly DependencyProperty PageData_10_6Property =
797
+            DependencyProperty.Register("PageData_10_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
798
+
799
+        #endregion
800
+    }
801
+}

+ 51
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CDCZSecondPage.xaml View File

@@ -0,0 +1,51 @@
1
+<dhcc:PrintContainer x:Class="TellerSystem.PrintTemplate.Bankbook.CXCZEndPage"
2
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
+             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
+             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6
+             xmlns:dhcc="clr-namespace:Platform.Print;assembly=Platform.Print" 
7
+             mc:Ignorable="d" 
8
+             xmlns:localPrint="clr-namespace:TellerSystem.PrintTemplate.Extension"
9
+             localPrint:PrintContainerExt.CreatePrintNum="False"
10
+             x:Name="cxczendpage"
11
+             Description="活期存折尾页"
12
+             d:DesignHeight="300" d:DesignWidth="300"
13
+             Width="13.9cm" Height="16.8cm" BackgroundBrush="BackgroundBrush_CDCZSecondPage">
14
+    <!--<dhcc:PrintContainer.Background>
15
+        <ImageBrush ImageSource="/TellerSystem.PrintTemplate;component/Images/活期存折尾页.JPG" />
16
+    </dhcc:PrintContainer.Background>-->
17
+    <Canvas>
18
+        <TextBlock Canvas.Left="34" Canvas.Top="463" Height="17"
19
+                   Name="txtAcNo" d:DataContext="账号" 
20
+                   DataContext="{Binding Path=AcNo,ElementName=cxczendpage}" 
21
+                   Text="{Binding}" />
22
+        <TextBlock Canvas.Left="268" Canvas.Top="463" Height="17"
23
+                   Name="txtAcName" d:DataContext="户名" 
24
+                   DataContext="{Binding Path=AcName,ElementName=cxczendpage}" 
25
+                   Text="{Binding}" />
26
+        <TextBlock Canvas.Left="363" Canvas.Top="463" Height="17"
27
+                   Name="txtXHDate" d:DataContext="销户日" 
28
+                   DataContext="{Binding Path=XHDate,ElementName=cxczendpage}" 
29
+                   Text="{Binding}" />
30
+        <TextBlock Canvas.Left="34" Canvas.Top="542" Height="17"
31
+                   Name="txtBenJin" d:DataContext="本金" 
32
+                   DataContext="{Binding Path=BenJin,ElementName=cxczendpage}" 
33
+                   Text="{Binding}" />
34
+        <TextBlock Canvas.Left="161" Canvas.Top="542" Height="17"
35
+                   Name="txtLiXi" d:DataContext="利息" 
36
+                   DataContext="{Binding Path=LiXi,ElementName=cxczendpage}" 
37
+                   Text="{Binding}" />
38
+        <TextBlock Canvas.Left="268" Canvas.Top="542" Height="17"
39
+                   Name="txtShuiJin" d:DataContext="税金" 
40
+                   DataContext="{Binding Path=ShuiJin,ElementName=cxczendpage}" 
41
+                   Text="{Binding}" />
42
+        <TextBlock Canvas.Left="363" Canvas.Top="542" Height="17"
43
+                   Name="txtHeJi" d:DataContext="税后本息合计" 
44
+                   DataContext="{Binding Path=BenXiHeJi,ElementName=cxczendpage}" 
45
+                   Text="{Binding}" />
46
+        <TextBlock Canvas.Left="329" Canvas.Top="580" Height="17"
47
+                   Name="txtTeller" d:DataContext="操作员" 
48
+                   DataContext="{Binding Path=Teller,ElementName=cxczendpage}" 
49
+                   Text="{Binding}" />
50
+    </Canvas>
51
+</dhcc:PrintContainer>

+ 122
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CDCZSecondPage.xaml.cs View File

@@ -0,0 +1,122 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Text;
5
+using System.Windows;
6
+using System.Windows.Controls;
7
+using System.Windows.Data;
8
+using System.Windows.Documents;
9
+using System.Windows.Input;
10
+using System.Windows.Media;
11
+using System.Windows.Media.Imaging;
12
+using System.Windows.Navigation;
13
+using System.Windows.Shapes;
14
+
15
+namespace TellerSystem.PrintTemplate.Bankbook
16
+{
17
+    /// <summary>
18
+    /// Interaction logic for CXCZEndPage.xaml
19
+    /// </summary>
20
+    public partial class CXCZEndPage
21
+    {
22
+        public CXCZEndPage()
23
+        {
24
+            InitializeComponent();
25
+        }
26
+
27
+        #region   自定义属性
28
+       
29
+
30
+       public static readonly DependencyProperty AcNoProperty =
31
+            DependencyProperty.Register("AcNo", typeof (string), typeof (CXCZEndPage), new PropertyMetadata(default(string)));
32
+        /// <summary>
33
+        /// 账号
34
+        /// </summary>
35
+        public string AcNo
36
+        {
37
+            get { return (string) GetValue(AcNoProperty); }
38
+            set { SetValue(AcNoProperty, value); }
39
+        }
40
+
41
+        public static readonly DependencyProperty AcNameProperty =
42
+            DependencyProperty.Register("AcName", typeof (string), typeof (CXCZEndPage), new PropertyMetadata(default(string)));
43
+        /// <summary>
44
+        /// 户名
45
+        /// </summary>
46
+        public string AcName
47
+        {
48
+            get { return (string)GetValue(AcNameProperty); }
49
+            set { SetValue(AcNameProperty, value); }
50
+        }
51
+
52
+        public static readonly DependencyProperty XHDateProperty =
53
+            DependencyProperty.Register("XHDate", typeof (string), typeof (CXCZEndPage), new PropertyMetadata(Platform.Common.RunningParameters.LoginUserInfo.TradeDate));
54
+        /// <summary>
55
+        /// 销户日
56
+        /// </summary>
57
+        public string XHDate
58
+        {
59
+            get { return (string)GetValue(XHDateProperty); }
60
+            set { SetValue(XHDateProperty, value); }
61
+        }
62
+
63
+        public static readonly DependencyProperty BenJinProperty =
64
+            DependencyProperty.Register("BenJin", typeof (string), typeof (CXCZEndPage), new PropertyMetadata(default(string)));
65
+        /// <summary>
66
+        /// 本金
67
+        /// </summary>
68
+        public string BenJin
69
+        {
70
+            get { return (string) GetValue(BenJinProperty); }
71
+            set { SetValue(BenJinProperty, value); }
72
+        }
73
+
74
+        public static readonly DependencyProperty LiXiProperty =
75
+            DependencyProperty.Register("LiXi", typeof(string), typeof(CXCZEndPage), new PropertyMetadata(default(string)));
76
+        /// <summary>
77
+        /// 利息
78
+        /// </summary>
79
+        public string LiXi
80
+        {
81
+            get { return (string)GetValue(LiXiProperty); }
82
+            set { SetValue(LiXiProperty, value); }
83
+        }
84
+
85
+        public static readonly DependencyProperty ShuiJinProperty =
86
+            DependencyProperty.Register("ShuiJin", typeof(string), typeof(CXCZEndPage), new PropertyMetadata(default(string)));
87
+        /// <summary>
88
+        /// 税金
89
+        /// </summary>
90
+        public string ShuiJin
91
+        {
92
+            get { return (string)GetValue(ShuiJinProperty); }
93
+            set { SetValue(ShuiJinProperty, value); }
94
+        }
95
+
96
+        public static readonly DependencyProperty BenXiHeJiProperty =
97
+            DependencyProperty.Register("BenXiHeJi", typeof(string), typeof(CXCZEndPage), new PropertyMetadata(default(string)));
98
+
99
+        /// <summary>
100
+        /// 本金利息合计
101
+        /// </summary>
102
+        public string BenXiHeJi
103
+        {
104
+            get { return (string)GetValue(BenXiHeJiProperty); }
105
+            set { SetValue(BenXiHeJiProperty, value); }
106
+        }
107
+
108
+        public static readonly DependencyProperty TellerProperty =
109
+            DependencyProperty.Register("Teller", typeof (string), typeof (CXCZEndPage), new PropertyMetadata(Platform.Common.RunningParameters.LoginUserInfo.TellerNo));
110
+
111
+        /// <summary>
112
+        /// 操作员
113
+        /// </summary>
114
+        public string Teller
115
+        {
116
+            get { return (string)GetValue(TellerProperty); }
117
+            set { SetValue(TellerProperty, value); }
118
+        }
119
+
120
+        #endregion
121
+    }
122
+}

+ 340
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZBankbook.cs View File

@@ -0,0 +1,340 @@
1
+using System.Collections.Generic;
2
+using Platform.Print;
3
+
4
+namespace TellerSystem.PrintTemplate.Bankbook
5
+{
6
+    public class CXCZBankbook
7
+    {
8
+        private static CXCZBankbook _instance;
9
+
10
+        public static CXCZBankbook GetInstance()
11
+        {
12
+            if(_instance == null)
13
+            {
14
+                _instance = new CXCZBankbook();
15
+            }
16
+            return _instance;
17
+        }
18
+
19
+        /// <summary>
20
+        /// 单页行数
21
+        /// </summary>
22
+        private const int PrintPageNum = 10;
23
+
24
+        /// <summary>
25
+        /// 折最大行
26
+        /// </summary>
27
+        private const int SumNum = 100;
28
+
29
+        /// <summary>
30
+        /// 储蓄存折首页数据
31
+        /// </summary>
32
+        public CXCZFirstPageEntity FirstPageData { get; set; }
33
+
34
+        /// <summary>
35
+        /// 储蓄存折数据页数据
36
+        /// </summary>
37
+        public List<CXCZPageEntity> PageData { get; set; }
38
+
39
+        /// <summary>
40
+        /// 储蓄存折尾页数据
41
+        /// </summary>
42
+        public CXCZEndPageEntity EndPageData { get; set; }
43
+
44
+        /// <summary>
45
+        /// 打印首页
46
+        /// </summary>
47
+        /// <param name="data"></param>
48
+        /// <returns></returns>
49
+        public List<PrintContainer> PrintFirstPage()
50
+        {
51
+            List<PrintContainer> retData = new List<PrintContainer>();
52
+            if (FirstPageData == null)
53
+                return retData;
54
+
55
+            CXCZFirstPage cxczFirstPage = new CXCZFirstPage();
56
+            cxczFirstPage.Description = "请打印第1页";
57
+            cxczFirstPage.Number = FirstPageData.CZNum;
58
+            cxczFirstPage.AccountNo = FirstPageData.AcNo;
59
+            cxczFirstPage.AccountName = FirstPageData.AcName;
60
+            cxczFirstPage.Currency = FirstPageData.CurNo;
61
+            cxczFirstPage.AccountBank = FirstPageData.OpnBrname;
62
+            cxczFirstPage.AccountDate = FirstPageData.OpnDate;
63
+            cxczFirstPage.DepositType = FirstPageData.DepositType;
64
+            cxczFirstPage.PasswordOrSeal = FirstPageData.DrawMode;
65
+            cxczFirstPage.PaySysCode = FirstPageData.PaySysCode;
66
+
67
+
68
+           // var tmpFpPage = new List<CXCZPageEntity>();
69
+           // tmpFpPage.AddRange(PageData);
70
+           // cxczFirstPage.PageData = tmpFpPage;
71
+           // cxczFirstPage.Setvalue();
72
+
73
+           // retData.Add(cxczFirstPage);
74
+            retData.AddRange(PrintPage(cxczFirstPage));
75
+            return retData;
76
+        }
77
+
78
+        /// <summary>
79
+        /// 打印数据页
80
+        /// </summary>
81
+        /// <param name="data"></param>
82
+        /// <returns></returns>
83
+        public List<PrintContainer> PrintPage(CXCZFirstPage firstPage = null)
84
+        {
85
+            var retData = new List<PrintContainer>();
86
+            CXCZFirstPage aCxczFirstPage = null;
87
+            var tmpFpPage = new List<CXCZPageEntity>();
88
+            CXCZPageEntity tmpEntity = null;
89
+            //存折上半部分数据
90
+            var tmpPgPart1 = new List<CXCZPageEntity>();
91
+            //存折下半部分数据
92
+            var tmpPgPart2 = new List<CXCZPageEntity>();
93
+            int subPage = 0;
94
+            int curLine = 0;
95
+            var aDemoDatas = new List<CXCZPage>();
96
+            CXCZPage tmpSubPage = null;
97
+            var isInit = true;
98
+            //初始化的数据
99
+            List<CXCZPageEntity> initRows = null;
100
+
101
+            //开户情况
102
+            if (firstPage == null && FirstPageData != null)
103
+            {
104
+                aCxczFirstPage = new CXCZFirstPage();
105
+                aCxczFirstPage.Description = "请打印第1页!";
106
+                tmpFpPage = new List<CXCZPageEntity>();
107
+                tmpFpPage.AddRange(PageData);
108
+                aCxczFirstPage.PageData = tmpFpPage;
109
+                aCxczFirstPage.Setvalue();
110
+                //aCxczFirstPage.ListView7.ItemsSource = tmpFpPage;
111
+                retData.Add(aCxczFirstPage);
112
+                return retData;
113
+            }
114
+
115
+            //未找到页数据,返回空集合
116
+            if (PageData.Count == 0) return retData;
117
+            //计算当前页及行数
118
+            curLine = PageData[0].Line;
119
+            if (curLine <= PrintPageNum)
120
+            {
121
+                if (firstPage == null)
122
+                {
123
+                    aCxczFirstPage = new CXCZFirstPage();
124
+                }
125
+                else
126
+                {
127
+                    aCxczFirstPage = firstPage;
128
+                }
129
+
130
+                aCxczFirstPage.Description = "请打印第1页!";
131
+                subPage = 0;
132
+            }
133
+            else
134
+            {
135
+                subPage = (curLine - PrintPageNum - 1) / (PrintPageNum * 2) + 1;
136
+            }
137
+
138
+            //当前页初始化部分
139
+            initRows = new List<CXCZPageEntity>();
140
+            if ((curLine - 1) % PrintPageNum != 0)
141
+            {
142
+                if (subPage == 0)
143
+                {
144
+                    for (int j = 0; j < curLine - 1; j++)
145
+                    {
146
+                        initRows.Add(new CXCZPageEntity());
147
+                    }
148
+                }
149
+                else
150
+                {
151
+                    for (int j = PrintPageNum + PrintPageNum * 2 * (subPage - 1); j < curLine - 1; j++)
152
+                    {
153
+                        initRows.Add(new CXCZPageEntity());
154
+                    }
155
+                }
156
+            }
157
+
158
+            //不是第0页(页码为0)时,把subpage更新为前一页码
159
+            if(subPage >0)
160
+            {
161
+                subPage--;
162
+            }
163
+
164
+            foreach (var alinedata in PageData)
165
+            {
166
+                tmpEntity = alinedata;
167
+                curLine = alinedata.Line;
168
+                //首页下半部分数据
169
+                if (curLine <= PrintPageNum)
170
+                {
171
+                    if (isInit)
172
+                    {
173
+                        tmpFpPage.AddRange(initRows);
174
+                        isInit = false;
175
+                    }
176
+                    tmpFpPage.Add(tmpEntity);
177
+                }
178
+                else
179
+                {
180
+                    //数据页数据
181
+                    if (subPage == 0)
182
+                    {
183
+                        //切第1页时
184
+                        if (curLine / PrintPageNum > subPage)
185
+                        {
186
+                            tmpPgPart1 = new List<CXCZPageEntity>();
187
+                            tmpPgPart2 = new List<CXCZPageEntity>();
188
+                            if (isInit)
189
+                            {
190
+                                int tmpTick = 0;
191
+                                foreach (var cxczEntity in initRows)
192
+                                {
193
+                                    //奇数--对应数据页上半部分
194
+                                    if (tmpTick < PrintPageNum)
195
+                                    {
196
+                                        tmpPgPart1.Add(cxczEntity);
197
+                                    }
198
+                                    else
199
+                                    {
200
+                                        //偶数--对应数据页下半部分
201
+                                        tmpPgPart2.Add(cxczEntity);
202
+                                    }
203
+                                    tmpTick++;
204
+                                }
205
+                                isInit = false;
206
+                            }
207
+                            subPage++;
208
+                            tmpSubPage = new CXCZPage();
209
+                            tmpSubPage.Description = string.Format("请打印第{0}页!",(subPage+1).ToString());
210
+                            aDemoDatas.Add(tmpSubPage);
211
+                        }
212
+                    }
213
+                    else
214
+                    {
215
+                        //切第2、3...页时
216
+                        if (curLine > PrintPageNum + PrintPageNum * 2 * subPage)
217
+                        {
218
+                            tmpPgPart1 = new List<CXCZPageEntity>();
219
+                            tmpPgPart2 = new List<CXCZPageEntity>();
220
+                            if (isInit)
221
+                            {
222
+                                int tmpTick = 0;
223
+                                foreach (var cxczEntity in initRows)
224
+                                {
225
+                                    //奇数--对应数据页上半部分
226
+                                    if (tmpTick < PrintPageNum)
227
+                                    {
228
+                                        tmpPgPart1.Add(cxczEntity);
229
+                                    }
230
+                                    else
231
+                                    {
232
+                                        //偶数--对应数据页下半部分
233
+                                        tmpPgPart2.Add(cxczEntity);
234
+                                    }
235
+                                    tmpTick++;
236
+                                }
237
+                                isInit = false;
238
+                            }
239
+                            subPage++;
240
+                            tmpSubPage = new CXCZPage();
241
+                            tmpSubPage.Description = string.Format("请打印第{0}页!", (subPage + 1).ToString());
242
+                            aDemoDatas.Add(tmpSubPage);
243
+                        }
244
+                    }
245
+
246
+                    //奇数--对应数据页上半部分
247
+                    if (((curLine - 1) / PrintPageNum) % 2 != 0)
248
+                    {
249
+                        tmpPgPart1.Add(tmpEntity);
250
+                    }
251
+                    else
252
+                    {
253
+                        //偶数--对应数据页下半部分
254
+                        tmpPgPart2.Add(tmpEntity);
255
+                    }
256
+
257
+                    if (tmpSubPage != null)
258
+                    {
259
+                        //绑定数据页的上下部分
260
+                        if (tmpPgPart1.Count == PrintPageNum)
261
+                        {
262
+                            tmpSubPage.PageData = tmpPgPart1;
263
+                            tmpSubPage.Setvalueup();
264
+                        }
265
+                        if (tmpPgPart2.Count == PrintPageNum)
266
+                        {
267
+                            tmpSubPage.PageData2 = tmpPgPart2;
268
+                            tmpSubPage.Setvaluedown();
269
+                        }
270
+
271
+                        //if (tmpSubPage.ListView7.ItemsSource == null && tmpPgPart1.Count == PrintPageNum)
272
+                        //{
273
+                        //    tmpSubPage.ListView7.ItemsSource = tmpPgPart1;
274
+                        //}
275
+                        //if (tmpSubPage.listView1.ItemsSource == null && tmpPgPart2.Count == PrintPageNum)
276
+                        //{
277
+                        //    tmpSubPage.listView1.ItemsSource = tmpPgPart2;
278
+                        //}
279
+                    }
280
+                }
281
+            }
282
+
283
+            //绑定首页数据
284
+            if (tmpFpPage.Count != 0)
285
+            {
286
+                if (aCxczFirstPage != null)
287
+                {
288
+                    aCxczFirstPage.PageData = tmpFpPage;
289
+                    aCxczFirstPage.Setvalue();
290
+                    //aCxczFirstPage.ListView7.ItemsSource = tmpFpPage;
291
+                    retData.Add(aCxczFirstPage);
292
+                }
293
+            }
294
+
295
+            //绑定数据页的上下部分
296
+            if (tmpSubPage != null)
297
+            {
298
+                if (tmpPgPart1.Count < PrintPageNum)
299
+                {
300
+                    tmpSubPage.PageData = tmpPgPart1;
301
+                    tmpSubPage.Setvalueup();
302
+                   // tmpSubPage.ListView7.ItemsSource = tmpPgPart1;
303
+                }
304
+                if (tmpPgPart2.Count < PrintPageNum)
305
+                {
306
+                    tmpSubPage.PageData2 = tmpPgPart2;
307
+                    tmpSubPage.Setvaluedown();
308
+                   // tmpSubPage.listView1.ItemsSource = tmpPgPart2;
309
+                }
310
+            }
311
+            retData.AddRange(aDemoDatas);
312
+            return retData;
313
+        }
314
+
315
+        /// <summary>
316
+        /// 打印储蓄存折尾页
317
+        /// </summary>
318
+        /// <returns></returns>
319
+        public List<PrintContainer> PrintEndPage()
320
+        {
321
+            List<PrintContainer> retData = new List<PrintContainer>();
322
+
323
+            if (EndPageData == null)
324
+                return retData;
325
+            CXCZEndPage aCXCZEndPage = new CXCZEndPage();
326
+            aCXCZEndPage.Description = "请打印最后一页!";
327
+            aCXCZEndPage.AcName = EndPageData.AcName;
328
+            aCXCZEndPage.AcNo = EndPageData.AcNo;
329
+            aCXCZEndPage.BenJin = EndPageData.BenJin;
330
+            aCXCZEndPage.BenXiHeJi = EndPageData.BenXiHeJi;
331
+            aCXCZEndPage.LiXi = EndPageData.LiXi;
332
+            aCXCZEndPage.ShuiJin = EndPageData.ShuiJin;
333
+            aCXCZEndPage.Teller = EndPageData.Teller;
334
+            aCXCZEndPage.XHDate = EndPageData.XHDate;
335
+            retData.Add(aCXCZEndPage);
336
+            return retData;
337
+        }
338
+
339
+    }
340
+}

+ 51
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZEndPage.xaml View File

@@ -0,0 +1,51 @@
1
+<dhcc:PrintContainer x:Class="TellerSystem.PrintTemplate.Bankbook.CXCZEndPage"
2
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
+             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
+             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6
+             xmlns:dhcc="clr-namespace:Platform.Print;assembly=Platform.Print" 
7
+             mc:Ignorable="d" 
8
+             xmlns:localPrint="clr-namespace:TellerSystem.PrintTemplate.Extension"
9
+             localPrint:PrintContainerExt.CreatePrintNum="False"
10
+             x:Name="cxczendpage"
11
+             Description="活期存折尾页"
12
+             d:DesignHeight="300" d:DesignWidth="300"
13
+             Width="13.9cm" Height="16.8cm" BackgroundBrush="BackgroundBrush_CDCZSecondPage">
14
+    <!--<dhcc:PrintContainer.Background>
15
+        <ImageBrush ImageSource="/TellerSystem.PrintTemplate;component/Images/活期存折尾页.JPG" />
16
+    </dhcc:PrintContainer.Background>-->
17
+    <Canvas>
18
+        <TextBlock Canvas.Left="34" Canvas.Top="463" Height="17"
19
+                   Name="txtAcNo" d:DataContext="账号" 
20
+                   DataContext="{Binding Path=AcNo,ElementName=cxczendpage}" 
21
+                   Text="{Binding}" />
22
+        <TextBlock Canvas.Left="268" Canvas.Top="463" Height="17"
23
+                   Name="txtAcName" d:DataContext="户名" 
24
+                   DataContext="{Binding Path=AcName,ElementName=cxczendpage}" 
25
+                   Text="{Binding}" />
26
+        <TextBlock Canvas.Left="363" Canvas.Top="463" Height="17"
27
+                   Name="txtXHDate" d:DataContext="销户日" 
28
+                   DataContext="{Binding Path=XHDate,ElementName=cxczendpage}" 
29
+                   Text="{Binding}" />
30
+        <TextBlock Canvas.Left="34" Canvas.Top="542" Height="17"
31
+                   Name="txtBenJin" d:DataContext="本金" 
32
+                   DataContext="{Binding Path=BenJin,ElementName=cxczendpage}" 
33
+                   Text="{Binding}" />
34
+        <TextBlock Canvas.Left="161" Canvas.Top="542" Height="17"
35
+                   Name="txtLiXi" d:DataContext="利息" 
36
+                   DataContext="{Binding Path=LiXi,ElementName=cxczendpage}" 
37
+                   Text="{Binding}" />
38
+        <TextBlock Canvas.Left="268" Canvas.Top="542" Height="17"
39
+                   Name="txtShuiJin" d:DataContext="税金" 
40
+                   DataContext="{Binding Path=ShuiJin,ElementName=cxczendpage}" 
41
+                   Text="{Binding}" />
42
+        <TextBlock Canvas.Left="363" Canvas.Top="542" Height="17"
43
+                   Name="txtHeJi" d:DataContext="税后本息合计" 
44
+                   DataContext="{Binding Path=BenXiHeJi,ElementName=cxczendpage}" 
45
+                   Text="{Binding}" />
46
+        <TextBlock Canvas.Left="329" Canvas.Top="580" Height="17"
47
+                   Name="txtTeller" d:DataContext="操作员" 
48
+                   DataContext="{Binding Path=Teller,ElementName=cxczendpage}" 
49
+                   Text="{Binding}" />
50
+    </Canvas>
51
+</dhcc:PrintContainer>

+ 122
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZEndPage.xaml.cs View File

@@ -0,0 +1,122 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Text;
5
+using System.Windows;
6
+using System.Windows.Controls;
7
+using System.Windows.Data;
8
+using System.Windows.Documents;
9
+using System.Windows.Input;
10
+using System.Windows.Media;
11
+using System.Windows.Media.Imaging;
12
+using System.Windows.Navigation;
13
+using System.Windows.Shapes;
14
+
15
+namespace TellerSystem.PrintTemplate.Bankbook
16
+{
17
+    /// <summary>
18
+    /// Interaction logic for CXCZEndPage.xaml
19
+    /// </summary>
20
+    public partial class CXCZEndPage
21
+    {
22
+        public CXCZEndPage()
23
+        {
24
+            InitializeComponent();
25
+        }
26
+
27
+        #region   自定义属性
28
+       
29
+
30
+       public static readonly DependencyProperty AcNoProperty =
31
+            DependencyProperty.Register("AcNo", typeof (string), typeof (CXCZEndPage), new PropertyMetadata(default(string)));
32
+        /// <summary>
33
+        /// 账号
34
+        /// </summary>
35
+        public string AcNo
36
+        {
37
+            get { return (string) GetValue(AcNoProperty); }
38
+            set { SetValue(AcNoProperty, value); }
39
+        }
40
+
41
+        public static readonly DependencyProperty AcNameProperty =
42
+            DependencyProperty.Register("AcName", typeof (string), typeof (CXCZEndPage), new PropertyMetadata(default(string)));
43
+        /// <summary>
44
+        /// 户名
45
+        /// </summary>
46
+        public string AcName
47
+        {
48
+            get { return (string)GetValue(AcNameProperty); }
49
+            set { SetValue(AcNameProperty, value); }
50
+        }
51
+
52
+        public static readonly DependencyProperty XHDateProperty =
53
+            DependencyProperty.Register("XHDate", typeof (string), typeof (CXCZEndPage), new PropertyMetadata(Platform.Common.RunningParameters.LoginUserInfo.TradeDate));
54
+        /// <summary>
55
+        /// 销户日
56
+        /// </summary>
57
+        public string XHDate
58
+        {
59
+            get { return (string)GetValue(XHDateProperty); }
60
+            set { SetValue(XHDateProperty, value); }
61
+        }
62
+
63
+        public static readonly DependencyProperty BenJinProperty =
64
+            DependencyProperty.Register("BenJin", typeof (string), typeof (CXCZEndPage), new PropertyMetadata(default(string)));
65
+        /// <summary>
66
+        /// 本金
67
+        /// </summary>
68
+        public string BenJin
69
+        {
70
+            get { return (string) GetValue(BenJinProperty); }
71
+            set { SetValue(BenJinProperty, value); }
72
+        }
73
+
74
+        public static readonly DependencyProperty LiXiProperty =
75
+            DependencyProperty.Register("LiXi", typeof(string), typeof(CXCZEndPage), new PropertyMetadata(default(string)));
76
+        /// <summary>
77
+        /// 利息
78
+        /// </summary>
79
+        public string LiXi
80
+        {
81
+            get { return (string)GetValue(LiXiProperty); }
82
+            set { SetValue(LiXiProperty, value); }
83
+        }
84
+
85
+        public static readonly DependencyProperty ShuiJinProperty =
86
+            DependencyProperty.Register("ShuiJin", typeof(string), typeof(CXCZEndPage), new PropertyMetadata(default(string)));
87
+        /// <summary>
88
+        /// 税金
89
+        /// </summary>
90
+        public string ShuiJin
91
+        {
92
+            get { return (string)GetValue(ShuiJinProperty); }
93
+            set { SetValue(ShuiJinProperty, value); }
94
+        }
95
+
96
+        public static readonly DependencyProperty BenXiHeJiProperty =
97
+            DependencyProperty.Register("BenXiHeJi", typeof(string), typeof(CXCZEndPage), new PropertyMetadata(default(string)));
98
+
99
+        /// <summary>
100
+        /// 本金利息合计
101
+        /// </summary>
102
+        public string BenXiHeJi
103
+        {
104
+            get { return (string)GetValue(BenXiHeJiProperty); }
105
+            set { SetValue(BenXiHeJiProperty, value); }
106
+        }
107
+
108
+        public static readonly DependencyProperty TellerProperty =
109
+            DependencyProperty.Register("Teller", typeof (string), typeof (CXCZEndPage), new PropertyMetadata(Platform.Common.RunningParameters.LoginUserInfo.TellerNo));
110
+
111
+        /// <summary>
112
+        /// 操作员
113
+        /// </summary>
114
+        public string Teller
115
+        {
116
+            get { return (string)GetValue(TellerProperty); }
117
+            set { SetValue(TellerProperty, value); }
118
+        }
119
+
120
+        #endregion
121
+    }
122
+}

+ 161
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZEntity.cs View File

@@ -0,0 +1,161 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Text;
5
+using System.Windows;
6
+
7
+namespace TellerSystem.PrintTemplate.Bankbook
8
+{
9
+    /// <summary>
10
+    /// 储蓄存折首页实体
11
+    /// </summary>
12
+    public class CXCZFirstPageEntity
13
+    {
14
+        /// <summary>
15
+        /// 账号
16
+        /// </summary>
17
+        public string AcNo { get; set; }
18
+
19
+        /// <summary>
20
+        /// 存折编号
21
+        /// </summary>
22
+        public string CZNum { get; set; }
23
+
24
+        /// <summary>
25
+        /// 户名
26
+        /// </summary>
27
+        public string AcName { get; set; }
28
+
29
+        /// <summary>
30
+        /// 存款种类
31
+        /// </summary>
32
+        public string DepositType { get; set; }
33
+
34
+        /// <summary>
35
+        /// 币种
36
+        /// </summary>
37
+        public string CurNo { get; set; }
38
+
39
+        /// <summary>
40
+        /// 支取方式
41
+        /// </summary>
42
+        public string DrawMode { get; set; }
43
+
44
+        /// <summary>
45
+        /// 开户日期
46
+        /// </summary>
47
+        public string OpnDate { get; set; }
48
+
49
+        /// <summary>
50
+        /// 开户网点
51
+        /// </summary>
52
+        public string OpnBrname { get; set; }
53
+
54
+        /// <summary>
55
+        /// 支付系统行号
56
+        /// </summary>
57
+        public string PaySysCode { get; set; }
58
+
59
+        /// <summary>
60
+        /// 通存通兑
61
+        /// </summary>
62
+        public string TCTD { get; set; }
63
+    }
64
+
65
+    /// <summary>
66
+    /// 储蓄存折数据实体
67
+    /// </summary>
68
+    public class CXCZPageEntity
69
+    {
70
+        /// <summary>
71
+        /// 日期
72
+        /// </summary>
73
+        public string DateInfo { get; set; }
74
+
75
+        /// <summary>
76
+        /// 摘要
77
+        /// </summary>
78
+        public string Description { get; set; }
79
+
80
+        /// <summary>
81
+        /// 借方(支出)
82
+        /// </summary>
83
+        public string Withdrawal { get; set; }
84
+
85
+        /// <summary>
86
+        /// 贷方(存入)
87
+        /// </summary>
88
+        public string Deposit { get; set; }
89
+
90
+        /// <summary>
91
+        /// 余额
92
+        /// </summary>
93
+        public string Balance { get; set; }
94
+
95
+        /// <summary>
96
+        /// 操作
97
+        /// </summary>
98
+        public string TellerNo { get; set; }
99
+
100
+        /// <summary>
101
+        /// 银行备考
102
+        /// </summary>
103
+        public string BankOperate { get; set; }
104
+
105
+        /// <summary>
106
+        /// 行号
107
+        /// </summary>
108
+        public int Line { get; set; }
109
+
110
+        /// <summary>
111
+        /// 是否显示
112
+        /// </summary>
113
+        public Visibility IsVisibility { get; set; }
114
+    }
115
+
116
+    /// <summary>
117
+    /// 储蓄存折尾页实体
118
+    /// </summary>
119
+    public class CXCZEndPageEntity
120
+    {
121
+        /// <summary>
122
+        /// 账号
123
+        /// </summary>
124
+        public string AcNo { get; set; }
125
+
126
+        /// <summary>
127
+        /// 户名
128
+        /// </summary>
129
+        public string AcName { get; set; }
130
+
131
+        /// <summary>
132
+        /// 销户日期
133
+        /// </summary>
134
+        public string XHDate { get; set; }
135
+
136
+        /// <summary>
137
+        /// 本金
138
+        /// </summary>
139
+        public string BenJin { get; set; }
140
+
141
+        /// <summary>
142
+        /// 利息
143
+        /// </summary>
144
+        public string LiXi { get; set; }
145
+
146
+        /// <summary>
147
+        /// 税金
148
+        /// </summary>
149
+        public string ShuiJin { get; set; }
150
+
151
+        /// <summary>
152
+        /// 本息合计
153
+        /// </summary>
154
+        public string BenXiHeJi { get; set; }
155
+
156
+        /// <summary>
157
+        /// 操作员
158
+        /// </summary>
159
+        public string Teller { get; set; }
160
+    }
161
+}

+ 738
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZFirstPage.xaml View File

@@ -0,0 +1,738 @@
1
+<dhcc:PrintContainer x:Class="TellerSystem.PrintTemplate.Bankbook.CXCZFirstPage"
2
+                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
+                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
+                     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5
+                     xmlns:dhcc="http://www.dhcc.com.cn"
6
+                     xmlns:localPrint="clr-namespace:TellerSystem.PrintTemplate.Extension"
7
+                     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8
+                     x:Name="Bankbook"
9
+                     Width="13.9cm"
10
+                     Height="16.8cm"
11
+                     BackgroundBrush="BackgroundBrush_CDCZFirstPage"
12
+                     localPrint:PrintContainerExt.CreatePrintNum="False"
13
+                     mc:Ignorable="d">
14
+
15
+    <dhcc:PrintContainer.Resources>
16
+        <ResourceDictionary>
17
+            <ResourceDictionary.MergedDictionaries>
18
+                <ResourceDictionary Source="/TellerSystem.PrintTemplate;component/Themes/BankBook.Generic.xaml" />
19
+                <ResourceDictionary>
20
+                    <Style TargetType="{x:Type GridViewColumnHeader}">
21
+                        <Setter Property="FrameworkElement.Visibility" Value="Hidden" />
22
+                        <Setter Property="Height" Value="0" />
23
+                    </Style>
24
+                    <Style x:Key="listviewItemKey" TargetType="{x:Type ListViewItem}">
25
+                        <Style.Setters>
26
+                            <Setter Property="SnapsToDevicePixels" Value="True" />
27
+                            <Setter Property="Template">
28
+                                <Setter.Value>
29
+                                    <ControlTemplate TargetType="{x:Type ListViewItem}">
30
+                                        <GridViewRowPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Visibility="{Binding IsVisibility}" />
31
+                                    </ControlTemplate>
32
+                                </Setter.Value>
33
+                            </Setter>
34
+                            <Setter Property="Margin" Value="0,4,0,0" />
35
+                        </Style.Setters>
36
+                    </Style>
37
+                </ResourceDictionary>
38
+            </ResourceDictionary.MergedDictionaries>
39
+        </ResourceDictionary>
40
+    </dhcc:PrintContainer.Resources>
41
+    <!--
42
+        <dhcc:PrintContainer.Background>
43
+        <ImageBrush ImageSource="/TellerSystem.PrintTemplate;component/Images/活期存折首页.jpg" />
44
+        </dhcc:PrintContainer.Background>
45
+    -->
46
+    <Canvas>
47
+        <Canvas.Resources>
48
+            <Style x:Key="TransformTextBlock" BasedOn="{StaticResource {x:Type TextBlock}}" TargetType="TextBlock">
49
+                <Setter Property="RenderTransform">
50
+                    <Setter.Value>
51
+                        <TransformGroup>
52
+                            <ScaleTransform ScaleX=".6" ScaleY="1.4" />
53
+                        </TransformGroup>
54
+                    </Setter.Value>
55
+                </Setter>
56
+                <Setter Property="FontSize" Value="18" />
57
+            </Style>
58
+        </Canvas.Resources>
59
+        <TextBlock Name="textBlock1"
60
+                   Canvas.Left="92"
61
+                   Canvas.Top="227"
62
+                   DataContext="{Binding Path=PaySysCode,
63
+                                         ElementName=Bankbook}"
64
+                   Style="{DynamicResource TransformTextBlock}"
65
+                   Text="{Binding}"
66
+                   d:DataContext="0514001" />
67
+        <TextBlock Name="textBlock2"
68
+                   Canvas.Left="81"
69
+                   Canvas.Top="83"
70
+                   DataContext="{Binding Path=AccountNo,
71
+                                         ElementName=Bankbook}"
72
+                   FontSize="20"
73
+                   Style="{DynamicResource TransformTextBlock}"
74
+                   Text="{Binding}"
75
+                   d:DataContext="051400101000208800" />
76
+
77
+        <TextBlock Name="textBlock3"
78
+                   Canvas.Left="170"
79
+                   Canvas.Top="30"
80
+                   DataContext="{Binding Path=AccountName,
81
+                                         ElementName=Bankbook}"
82
+                   FontSize="20"
83
+                   Style="{DynamicResource TransformTextBlock}"
84
+                   Text="{Binding}"
85
+                   d:DataContext="比尔盖茨(William Henry Gates)" />
86
+        <TextBlock Name="textBlock4"
87
+                   Canvas.Left="231"
88
+                   Canvas.Top="247"
89
+                   DataContext="{Binding Path=AccountBank,
90
+                                         ElementName=Bankbook}"
91
+                   Style="{DynamicResource TransformTextBlock}"
92
+                   Text="{Binding}"
93
+                   d:DataContext="承德" />
94
+        <TextBlock Name="textBlock5"
95
+                   Canvas.Left="388"
96
+                   Canvas.Top="32"
97
+                   DataContext="{Binding Path=Currency,
98
+                                         ElementName=Bankbook}"
99
+                   Style="{DynamicResource TransformTextBlock}"
100
+                   Text="{Binding}"
101
+                   d:DataContext="人民币" />
102
+        
103
+            <TextBlock Name="textBlock6"
104
+            Canvas.Left="393"
105
+            Canvas.Top="176"
106
+            Height="17"
107
+            d:DataContext="30167026"
108
+            DataContext="{Binding Path=Number,
109
+            ElementName=Bankbook}"
110
+            Text="{Binding}" />
111
+        
112
+        <TextBlock Name="textBlock7"
113
+                   Canvas.Left="85"
114
+                   Canvas.Top="256"
115
+                   DataContext="{Binding Path=AccountDate,
116
+                                         ElementName=Bankbook}"
117
+                   Style="{DynamicResource TransformTextBlock}"
118
+                   Text="{Binding}"
119
+                   d:DataContext="2007/09/06" />
120
+        <TextBlock Name="textBlock8"
121
+                   Canvas.Left="321"
122
+                   Canvas.Top="87"
123
+                   DataContext="{Binding Path=DepositType,
124
+                                         ElementName=Bankbook}"
125
+                   Style="{DynamicResource TransformTextBlock}"
126
+                   Text="{Binding}"
127
+                   d:DataContext="储蓄活折" />
128
+        <TextBlock Name="textBlock9"
129
+                   Canvas.Left="318"
130
+                   Canvas.Top="221"
131
+                   DataContext="{Binding Path=PasswordOrSeal,
132
+                                         ElementName=Bankbook}"
133
+                   Style="{DynamicResource TransformTextBlock}"
134
+                   Text="{Binding}"
135
+                   d:DataContext="凭密码支取" />
136
+        <Canvas Canvas.Left="10" Canvas.Top="10" />
137
+        <TextBlock Name="textBlock11"
138
+                   Canvas.Left="46"
139
+                   Canvas.Top="336"
140
+                   Height="17"
141
+                   DataContext="{Binding Path=PageData_1_1,
142
+                                         ElementName=Bankbook}"
143
+                   FontSize="12"
144
+                   Text="{Binding}"
145
+                   d:DataContext="20130808" />
146
+        <TextBlock Name="textBlock13"
147
+                   Canvas.Left="112"
148
+                   Canvas.Top="336"
149
+                   Height="17"
150
+                   DataContext="{Binding Path=PageData_1_2,
151
+                                         ElementName=Bankbook}"
152
+                   FontSize="12"
153
+                   Text="{Binding}"
154
+                   d:DataContext="换入存单" />
155
+        <TextBlock Name="textBlock17"
156
+                   Canvas.Left="337"
157
+                   Canvas.Top="336"
158
+                   Width="126"
159
+                   Height="17"
160
+                   DataContext="{Binding Path=PageData_1_5,
161
+                                         ElementName=Bankbook}"
162
+                   FontSize="12"
163
+                   Text="{Binding}"
164
+                   TextAlignment="Right"
165
+                   d:DataContext="999,999,999,999.00" />
166
+        <TextBlock Name="textBlock10"
167
+                   Canvas.Left="170"
168
+                   Canvas.Top="336"
169
+                   Width="78"
170
+                   Height="17"
171
+                   DataContext="{Binding Path=PageData_1_3,
172
+                                         ElementName=Bankbook}"
173
+                   FontSize="12"
174
+                   Text="{Binding}"
175
+                   TextAlignment="Right"
176
+                   d:DataContext="9,999,999.00" />
177
+        <TextBlock Name="textBlock81"
178
+                   Canvas.Left="254"
179
+                   Canvas.Top="336"
180
+                   Width="78"
181
+                   Height="17"
182
+                   DataContext="{Binding Path=PageData_1_4,
183
+                                         ElementName=Bankbook}"
184
+                   FontSize="12"
185
+                   Text="{Binding}"
186
+                   TextAlignment="Right"
187
+                   d:DataContext="9,999,999.00" />
188
+        <TextBlock Name="textBlock19"
189
+                   Canvas.Left="475"
190
+                   Canvas.Top="336"
191
+                   Height="17"
192
+                   DataContext="{Binding Path=PageData_1_6,
193
+                                         ElementName=Bankbook}"
194
+                   FontSize="12"
195
+                   Text="{Binding}"
196
+                   d:DataContext="000100" />
197
+        <TextBlock Name="textBlock12"
198
+                   Canvas.Left="46"
199
+                   Canvas.Top="359"
200
+                   Height="17"
201
+                   DataContext="{Binding Path=PageData_2_1,
202
+                                         ElementName=Bankbook}"
203
+                   FontSize="12"
204
+                   Text="{Binding}"
205
+                   d:DataContext="20130808" />
206
+        <TextBlock Name="textBlock14"
207
+                   Canvas.Left="112"
208
+                   Canvas.Top="359"
209
+                   Height="17"
210
+                   DataContext="{Binding Path=PageData_2_2,
211
+                                         ElementName=Bankbook}"
212
+                   FontSize="12"
213
+                   Text="{Binding}"
214
+                   d:DataContext="换入存单" />
215
+        <TextBlock Name="textBlock15"
216
+                   Canvas.Left="337"
217
+                   Canvas.Top="359"
218
+                   Width="126"
219
+                   Height="17"
220
+                   DataContext="{Binding Path=PageData_2_5,
221
+                                         ElementName=Bankbook}"
222
+                   FontSize="12"
223
+                   Text="{Binding}"
224
+                   TextAlignment="Right"
225
+                   d:DataContext="999,999,999,999.00" />
226
+        <TextBlock Name="textBlock16"
227
+                   Canvas.Left="170"
228
+                   Canvas.Top="359"
229
+                   Width="78"
230
+                   Height="17"
231
+                   DataContext="{Binding Path=PageData_2_3,
232
+                                         ElementName=Bankbook}"
233
+                   FontSize="12"
234
+                   Text="{Binding}"
235
+                   TextAlignment="Right"
236
+                   d:DataContext="9,999,999.00" />
237
+        <TextBlock Name="textBlock18"
238
+                   Canvas.Left="254"
239
+                   Canvas.Top="359"
240
+                   Width="78"
241
+                   Height="17"
242
+                   DataContext="{Binding Path=PageData_2_4,
243
+                                         ElementName=Bankbook}"
244
+                   FontSize="12"
245
+                   Text="{Binding}"
246
+                   TextAlignment="Right"
247
+                   d:DataContext="9,999,999.00" />
248
+        <TextBlock Name="textBlock20"
249
+                   Canvas.Left="475"
250
+                   Canvas.Top="359"
251
+                   Height="17"
252
+                   DataContext="{Binding Path=PageData_2_6,
253
+                                         ElementName=Bankbook}"
254
+                   FontSize="12"
255
+                   Text="{Binding}"
256
+                   d:DataContext="000100" />
257
+        <TextBlock Name="textBlock21"
258
+                   Canvas.Left="46"
259
+                   Canvas.Top="383"
260
+                   Height="17"
261
+                   DataContext="{Binding Path=PageData_3_1,
262
+                                         ElementName=Bankbook}"
263
+                   FontSize="12"
264
+                   Text="{Binding}"
265
+                   d:DataContext="20130808" />
266
+        <TextBlock Name="textBlock22"
267
+                   Canvas.Left="112"
268
+                   Canvas.Top="383"
269
+                   Height="17"
270
+                   DataContext="{Binding Path=PageData_3_2,
271
+                                         ElementName=Bankbook}"
272
+                   FontSize="12"
273
+                   Text="{Binding}"
274
+                   d:DataContext="换入存单" />
275
+        <TextBlock Name="textBlock23"
276
+                   Canvas.Left="337"
277
+                   Canvas.Top="383"
278
+                   Width="126"
279
+                   Height="17"
280
+                   DataContext="{Binding Path=PageData_3_5,
281
+                                         ElementName=Bankbook}"
282
+                   FontSize="12"
283
+                   Text="{Binding}"
284
+                   TextAlignment="Right"
285
+                   d:DataContext="999,999,999,999.00" />
286
+        <TextBlock Name="textBlock24"
287
+                   Canvas.Left="170"
288
+                   Canvas.Top="383"
289
+                   Width="78"
290
+                   Height="17"
291
+                   DataContext="{Binding Path=PageData_3_3,
292
+                                         ElementName=Bankbook}"
293
+                   FontSize="12"
294
+                   Text="{Binding}"
295
+                   TextAlignment="Right"
296
+                   d:DataContext="9,999,999.00" />
297
+        <TextBlock Name="textBlock25"
298
+                   Canvas.Left="254"
299
+                   Canvas.Top="383"
300
+                   Width="78"
301
+                   Height="17"
302
+                   DataContext="{Binding Path=PageData_3_4,
303
+                                         ElementName=Bankbook}"
304
+                   FontSize="12"
305
+                   Text="{Binding}"
306
+                   TextAlignment="Right"
307
+                   d:DataContext="9,999,999.00" />
308
+        <TextBlock Name="textBlock26"
309
+                   Canvas.Left="475"
310
+                   Canvas.Top="383"
311
+                   Height="17"
312
+                   DataContext="{Binding Path=PageData_3_6,
313
+                                         ElementName=Bankbook}"
314
+                   FontSize="12"
315
+                   Text="{Binding}"
316
+                   d:DataContext="000100" />
317
+        <TextBlock Name="textBlock27"
318
+                   Canvas.Left="46"
319
+                   Canvas.Top="406"
320
+                   Height="17"
321
+                   DataContext="{Binding Path=PageData_4_1,
322
+                                         ElementName=Bankbook}"
323
+                   FontSize="12"
324
+                   Text="{Binding}"
325
+                   d:DataContext="20130808" />
326
+        <TextBlock Name="textBlock28"
327
+                   Canvas.Left="112"
328
+                   Canvas.Top="406"
329
+                   Height="17"
330
+                   DataContext="{Binding Path=PageData_4_2,
331
+                                         ElementName=Bankbook}"
332
+                   FontSize="12"
333
+                   Text="{Binding}"
334
+                   d:DataContext="换入存单" />
335
+        <TextBlock Name="textBlock29"
336
+                   Canvas.Left="337"
337
+                   Canvas.Top="406"
338
+                   Width="126"
339
+                   Height="17"
340
+                   DataContext="{Binding Path=PageData_4_5,
341
+                                         ElementName=Bankbook}"
342
+                   FontSize="12"
343
+                   Text="{Binding}"
344
+                   TextAlignment="Right"
345
+                   d:DataContext="999,999,999,999.00" />
346
+        <TextBlock Name="textBlock30"
347
+                   Canvas.Left="170"
348
+                   Canvas.Top="406"
349
+                   Width="78"
350
+                   Height="17"
351
+                   DataContext="{Binding Path=PageData_4_3,
352
+                                         ElementName=Bankbook}"
353
+                   FontSize="12"
354
+                   Text="{Binding}"
355
+                   TextAlignment="Right"
356
+                   d:DataContext="9,999,999.00" />
357
+        <TextBlock Name="textBlock31"
358
+                   Canvas.Left="254"
359
+                   Canvas.Top="406"
360
+                   Width="78"
361
+                   Height="17"
362
+                   DataContext="{Binding Path=PageData_4_4,
363
+                                         ElementName=Bankbook}"
364
+                   FontSize="12"
365
+                   Text="{Binding}"
366
+                   TextAlignment="Right"
367
+                   d:DataContext="9,999,999.00" />
368
+        <TextBlock Name="textBlock32"
369
+                   Canvas.Left="475"
370
+                   Canvas.Top="406"
371
+                   Height="17"
372
+                   DataContext="{Binding Path=PageData_4_6,
373
+                                         ElementName=Bankbook}"
374
+                   FontSize="12"
375
+                   Text="{Binding}"
376
+                   d:DataContext="000100" />
377
+        <TextBlock Name="textBlock33"
378
+                   Canvas.Left="46"
379
+                   Canvas.Top="431"
380
+                   Height="17"
381
+                   DataContext="{Binding Path=PageData_5_1,
382
+                                         ElementName=Bankbook}"
383
+                   FontSize="12"
384
+                   Text="{Binding}"
385
+                   d:DataContext="20130808" />
386
+        <TextBlock Name="textBlock34"
387
+                   Canvas.Left="112"
388
+                   Canvas.Top="431"
389
+                   Height="17"
390
+                   DataContext="{Binding Path=PageData_5_2,
391
+                                         ElementName=Bankbook}"
392
+                   FontSize="12"
393
+                   Text="{Binding}"
394
+                   d:DataContext="换入存单" />
395
+        <TextBlock Name="textBlock35"
396
+                   Canvas.Left="337"
397
+                   Canvas.Top="431"
398
+                   Width="126"
399
+                   Height="17"
400
+                   DataContext="{Binding Path=PageData_5_5,
401
+                                         ElementName=Bankbook}"
402
+                   FontSize="12"
403
+                   Text="{Binding}"
404
+                   TextAlignment="Right"
405
+                   d:DataContext="999,999,999,999.00" />
406
+        <TextBlock Name="textBlock36"
407
+                   Canvas.Left="170"
408
+                   Canvas.Top="431"
409
+                   Width="78"
410
+                   Height="17"
411
+                   DataContext="{Binding Path=PageData_5_3,
412
+                                         ElementName=Bankbook}"
413
+                   FontSize="12"
414
+                   Text="{Binding}"
415
+                   TextAlignment="Right"
416
+                   d:DataContext="9,999,999.00" />
417
+        <TextBlock Name="textBlock37"
418
+                   Canvas.Left="254"
419
+                   Canvas.Top="431"
420
+                   Width="78"
421
+                   Height="17"
422
+                   DataContext="{Binding Path=PageData_5_4,
423
+                                         ElementName=Bankbook}"
424
+                   FontSize="12"
425
+                   Text="{Binding}"
426
+                   TextAlignment="Right"
427
+                   d:DataContext="9,999,999.00" />
428
+        <TextBlock Name="textBlock38"
429
+                   Canvas.Left="475"
430
+                   Canvas.Top="431"
431
+                   Height="17"
432
+                   DataContext="{Binding Path=PageData_5_6,
433
+                                         ElementName=Bankbook}"
434
+                   FontSize="12"
435
+                   Text="{Binding}"
436
+                   d:DataContext="000100" />
437
+        <TextBlock Name="textBlock39"
438
+                   Canvas.Left="46"
439
+                   Canvas.Top="456"
440
+                   Height="17"
441
+                   DataContext="{Binding Path=PageData_6_1,
442
+                                         ElementName=Bankbook}"
443
+                   FontSize="12"
444
+                   Text="{Binding}"
445
+                   d:DataContext="20130808" />
446
+        <TextBlock Name="textBlock40"
447
+                   Canvas.Left="112"
448
+                   Canvas.Top="456"
449
+                   Height="17"
450
+                   DataContext="{Binding Path=PageData_6_2,
451
+                                         ElementName=Bankbook}"
452
+                   FontSize="12"
453
+                   Text="{Binding}"
454
+                   d:DataContext="换入存单" />
455
+        <TextBlock Name="textBlock41"
456
+                   Canvas.Left="337"
457
+                   Canvas.Top="456"
458
+                   Width="126"
459
+                   Height="17"
460
+                   DataContext="{Binding Path=PageData_6_5,
461
+                                         ElementName=Bankbook}"
462
+                   FontSize="12"
463
+                   Text="{Binding}"
464
+                   TextAlignment="Right"
465
+                   d:DataContext="999,999,999,999.00" />
466
+        <TextBlock Name="textBlock42"
467
+                   Canvas.Left="170"
468
+                   Canvas.Top="456"
469
+                   Width="78"
470
+                   Height="17"
471
+                   DataContext="{Binding Path=PageData_6_3,
472
+                                         ElementName=Bankbook}"
473
+                   FontSize="12"
474
+                   Text="{Binding}"
475
+                   TextAlignment="Right"
476
+                   d:DataContext="9,999,999.00" />
477
+        <TextBlock Name="textBlock43"
478
+                   Canvas.Left="254"
479
+                   Canvas.Top="456"
480
+                   Width="78"
481
+                   Height="17"
482
+                   DataContext="{Binding Path=PageData_6_4,
483
+                                         ElementName=Bankbook}"
484
+                   FontSize="12"
485
+                   Text="{Binding}"
486
+                   TextAlignment="Right"
487
+                   d:DataContext="9,999,999.00" />
488
+        <TextBlock Name="textBlock44"
489
+                   Canvas.Left="475"
490
+                   Canvas.Top="456"
491
+                   Height="17"
492
+                   DataContext="{Binding Path=PageData_6_6,
493
+                                         ElementName=Bankbook}"
494
+                   FontSize="12"
495
+                   Text="{Binding}"
496
+                   d:DataContext="000100" />
497
+        <TextBlock Name="textBlock45"
498
+                   Canvas.Left="46"
499
+                   Canvas.Top="479"
500
+                   Height="17"
501
+                   DataContext="{Binding Path=PageData_7_1,
502
+                                         ElementName=Bankbook}"
503
+                   FontSize="12"
504
+                   Text="{Binding}"
505
+                   d:DataContext="20130808" />
506
+        <TextBlock Name="textBlock46"
507
+                   Canvas.Left="112"
508
+                   Canvas.Top="479"
509
+                   Height="17"
510
+                   DataContext="{Binding Path=PageData_7_2,
511
+                                         ElementName=Bankbook}"
512
+                   FontSize="12"
513
+                   Text="{Binding}"
514
+                   d:DataContext="换入存单" />
515
+        <TextBlock Name="textBlock47"
516
+                   Canvas.Left="337"
517
+                   Canvas.Top="479"
518
+                   Width="126"
519
+                   Height="17"
520
+                   DataContext="{Binding Path=PageData_7_5,
521
+                                         ElementName=Bankbook}"
522
+                   FontSize="12"
523
+                   Text="{Binding}"
524
+                   TextAlignment="Right"
525
+                   d:DataContext="999,999,999,999.00" />
526
+        <TextBlock Name="textBlock48"
527
+                   Canvas.Left="170"
528
+                   Canvas.Top="479"
529
+                   Width="78"
530
+                   Height="17"
531
+                   DataContext="{Binding Path=PageData_7_3,
532
+                                         ElementName=Bankbook}"
533
+                   FontSize="12"
534
+                   Text="{Binding}"
535
+                   TextAlignment="Right"
536
+                   d:DataContext="9,999,999.00" />
537
+        <TextBlock Name="textBlock49"
538
+                   Canvas.Left="254"
539
+                   Canvas.Top="479"
540
+                   Width="78"
541
+                   Height="17"
542
+                   DataContext="{Binding Path=PageData_7_4,
543
+                                         ElementName=Bankbook}"
544
+                   FontSize="12"
545
+                   Text="{Binding}"
546
+                   TextAlignment="Right"
547
+                   d:DataContext="9,999,999.00" />
548
+        <TextBlock Name="textBlock50"
549
+                   Canvas.Left="475"
550
+                   Canvas.Top="479"
551
+                   Height="17"
552
+                   DataContext="{Binding Path=PageData_7_6,
553
+                                         ElementName=Bankbook}"
554
+                   FontSize="12"
555
+                   Text="{Binding}"
556
+                   d:DataContext="000100" />
557
+        <TextBlock Name="textBlock51"
558
+                   Canvas.Left="46"
559
+                   Canvas.Top="503"
560
+                   Height="17"
561
+                   DataContext="{Binding Path=PageData_8_1,
562
+                                         ElementName=Bankbook}"
563
+                   FontSize="12"
564
+                   Text="{Binding}"
565
+                   d:DataContext="20130808" />
566
+        <TextBlock Name="textBlock52"
567
+                   Canvas.Left="112"
568
+                   Canvas.Top="503"
569
+                   Height="17"
570
+                   DataContext="{Binding Path=PageData_8_2,
571
+                                         ElementName=Bankbook}"
572
+                   FontSize="12"
573
+                   Text="{Binding}"
574
+                   d:DataContext="换入存单" />
575
+        <TextBlock Name="textBlock53"
576
+                   Canvas.Left="337"
577
+                   Canvas.Top="503"
578
+                   Width="126"
579
+                   Height="17"
580
+                   DataContext="{Binding Path=PageData_8_5,
581
+                                         ElementName=Bankbook}"
582
+                   FontSize="12"
583
+                   Text="{Binding}"
584
+                   TextAlignment="Right"
585
+                   d:DataContext="999,999,999,999.00" />
586
+        <TextBlock Name="textBlock54"
587
+                   Canvas.Left="170"
588
+                   Canvas.Top="503"
589
+                   Width="78"
590
+                   Height="17"
591
+                   DataContext="{Binding Path=PageData_8_3,
592
+                                         ElementName=Bankbook}"
593
+                   FontSize="12"
594
+                   Text="{Binding}"
595
+                   TextAlignment="Right"
596
+                   d:DataContext="9,999,999.00" />
597
+        <TextBlock Name="textBlock55"
598
+                   Canvas.Left="254"
599
+                   Canvas.Top="503"
600
+                   Width="78"
601
+                   Height="17"
602
+                   DataContext="{Binding Path=PageData_8_4,
603
+                                         ElementName=Bankbook}"
604
+                   FontSize="12"
605
+                   Text="{Binding}"
606
+                   TextAlignment="Right"
607
+                   d:DataContext="9,999,999.00" />
608
+        <TextBlock Name="textBlock56"
609
+                   Canvas.Left="475"
610
+                   Canvas.Top="503"
611
+                   Height="17"
612
+                   DataContext="{Binding Path=PageData_8_6,
613
+                                         ElementName=Bankbook}"
614
+                   FontSize="12"
615
+                   Text="{Binding}"
616
+                   d:DataContext="000100" />
617
+        <TextBlock Name="textBlock57"
618
+                   Canvas.Left="46"
619
+                   Canvas.Top="528"
620
+                   Height="17"
621
+                   DataContext="{Binding Path=PageData_9_1,
622
+                                         ElementName=Bankbook}"
623
+                   FontSize="12"
624
+                   Text="{Binding}"
625
+                   d:DataContext="20130808" />
626
+        <TextBlock Name="textBlock58"
627
+                   Canvas.Left="112"
628
+                   Canvas.Top="528"
629
+                   Height="17"
630
+                   DataContext="{Binding Path=PageData_9_2,
631
+                                         ElementName=Bankbook}"
632
+                   FontSize="12"
633
+                   Text="{Binding}"
634
+                   d:DataContext="换入存单" />
635
+        <TextBlock Name="textBlock59"
636
+                   Canvas.Left="337"
637
+                   Canvas.Top="528"
638
+                   Width="126"
639
+                   Height="17"
640
+                   DataContext="{Binding Path=PageData_9_5,
641
+                                         ElementName=Bankbook}"
642
+                   FontSize="12"
643
+                   Text="{Binding}"
644
+                   TextAlignment="Right"
645
+                   d:DataContext="999,999,999,999.00" />
646
+        <TextBlock Name="textBlock60"
647
+                   Canvas.Left="170"
648
+                   Canvas.Top="528"
649
+                   Width="78"
650
+                   Height="17"
651
+                   DataContext="{Binding Path=PageData_9_3,
652
+                                         ElementName=Bankbook}"
653
+                   FontSize="12"
654
+                   Text="{Binding}"
655
+                   TextAlignment="Right"
656
+                   d:DataContext="9,999,999.00" />
657
+        <TextBlock Name="textBlock61"
658
+                   Canvas.Left="254"
659
+                   Canvas.Top="528"
660
+                   Width="78"
661
+                   Height="17"
662
+                   DataContext="{Binding Path=PageData_9_4,
663
+                                         ElementName=Bankbook}"
664
+                   FontSize="12"
665
+                   Text="{Binding}"
666
+                   TextAlignment="Right"
667
+                   d:DataContext="9,999,999.00" />
668
+        <TextBlock Name="textBlock62"
669
+                   Canvas.Left="475"
670
+                   Canvas.Top="528"
671
+                   Height="17"
672
+                   DataContext="{Binding Path=PageData_9_6,
673
+                                         ElementName=Bankbook}"
674
+                   FontSize="12"
675
+                   Text="{Binding}"
676
+                   d:DataContext="000100" />
677
+        <TextBlock Name="textBlock63"
678
+                   Canvas.Left="46"
679
+                   Canvas.Top="552"
680
+                   Height="17"
681
+                   DataContext="{Binding Path=PageData_10_1,
682
+                                         ElementName=Bankbook}"
683
+                   FontSize="12"
684
+                   Text="{Binding}"
685
+                   d:DataContext="20130808" />
686
+        <TextBlock Name="textBlock64"
687
+                   Canvas.Left="112"
688
+                   Canvas.Top="552"
689
+                   Height="17"
690
+                   DataContext="{Binding Path=PageData_10_2,
691
+                                         ElementName=Bankbook}"
692
+                   FontSize="12"
693
+                   Text="{Binding}"
694
+                   d:DataContext="换入存单" />
695
+        <TextBlock Name="textBlock65"
696
+                   Canvas.Left="337"
697
+                   Canvas.Top="552"
698
+                   Width="126"
699
+                   Height="17"
700
+                   DataContext="{Binding Path=PageData_10_5,
701
+                                         ElementName=Bankbook}"
702
+                   FontSize="12"
703
+                   Text="{Binding}"
704
+                   TextAlignment="Right"
705
+                   d:DataContext="999,999,999,999.00" />
706
+        <TextBlock Name="textBlock66"
707
+                   Canvas.Left="170"
708
+                   Canvas.Top="552"
709
+                   Width="78"
710
+                   Height="17"
711
+                   DataContext="{Binding Path=PageData_10_3,
712
+                                         ElementName=Bankbook}"
713
+                   FontSize="12"
714
+                   Text="{Binding}"
715
+                   TextAlignment="Right"
716
+                   d:DataContext="9,999,999.00" />
717
+        <TextBlock Name="textBlock67"
718
+                   Canvas.Left="254"
719
+                   Canvas.Top="552"
720
+                   Width="78"
721
+                   Height="17"
722
+                   DataContext="{Binding Path=PageData_10_4,
723
+                                         ElementName=Bankbook}"
724
+                   FontSize="12"
725
+                   Text="{Binding}"
726
+                   TextAlignment="Right"
727
+                   d:DataContext="9,999,999.00" />
728
+        <TextBlock Name="textBlock68"
729
+                   Canvas.Left="475"
730
+                   Canvas.Top="552"
731
+                   Height="17"
732
+                   DataContext="{Binding Path=PageData_10_6,
733
+                                         ElementName=Bankbook}"
734
+                   FontSize="12"
735
+                   Text="{Binding}"
736
+                   d:DataContext="000100" />
737
+    </Canvas>
738
+</dhcc:PrintContainer>

+ 801
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZFirstPage.xaml.cs View File

@@ -0,0 +1,801 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Text;
5
+using System.Windows;
6
+using System.Windows.Controls;
7
+using System.Windows.Data;
8
+using System.Windows.Documents;
9
+using System.Windows.Input;
10
+using System.Windows.Media;
11
+using System.Windows.Media.Imaging;
12
+using System.Windows.Navigation;
13
+using System.Windows.Shapes;
14
+using System.Data;
15
+using Platform.Print;
16
+using System.Collections;
17
+
18
+namespace TellerSystem.PrintTemplate.Bankbook
19
+{
20
+    /// <summary>
21
+    /// Print_Deposit.xaml 的交互逻辑
22
+    /// </summary>
23
+    public partial class CXCZFirstPage
24
+    {
25
+        public CXCZFirstPage()
26
+        {
27
+            InitializeComponent();
28
+        }
29
+        /// <summary>
30
+        /// 赋初值
31
+        /// </summary>
32
+        public void Setvalue()
33
+        {
34
+            if (PageData == null) return;
35
+            if (PageData.Count == 0) return;
36
+            PageData_1_1 = PageData[0].DateInfo;
37
+            PageData_1_2 = PageData[0].Description;
38
+            PageData_1_3 = PageData[0].Deposit;
39
+            PageData_1_4 = PageData[0].Withdrawal;
40
+            PageData_1_5 = PageData[0].Balance;
41
+            PageData_1_6 = PageData[0].TellerNo;
42
+            if (PageData.Count == 1) return;
43
+
44
+            PageData_2_1 = PageData[1].DateInfo;
45
+            PageData_2_2 = PageData[1].Description;
46
+            PageData_2_3 = PageData[1].Deposit;
47
+            PageData_2_4 = PageData[1].Withdrawal;
48
+            PageData_2_5 = PageData[1].Balance;
49
+            PageData_2_6 = PageData[1].TellerNo;
50
+            if (PageData.Count == 2) return;
51
+            PageData_3_1 = PageData[2].DateInfo;
52
+            PageData_3_2 = PageData[2].Description;
53
+            PageData_3_3 = PageData[2].Deposit;
54
+            PageData_3_4 = PageData[2].Withdrawal;
55
+            PageData_3_5 = PageData[2].Balance;
56
+            PageData_3_6 = PageData[2].TellerNo;
57
+            if (PageData.Count == 3) return;
58
+            PageData_4_1 = PageData[3].DateInfo;
59
+            PageData_4_2 = PageData[3].Description;
60
+            PageData_4_3 = PageData[3].Deposit;
61
+            PageData_4_4 = PageData[3].Withdrawal;
62
+            PageData_4_5 = PageData[3].Balance;
63
+            PageData_4_6 = PageData[3].TellerNo;
64
+            if (PageData.Count == 4) return;
65
+            PageData_5_1 = PageData[4].DateInfo;
66
+            PageData_5_2 = PageData[4].Description;
67
+            PageData_5_3 = PageData[4].Deposit;
68
+            PageData_5_4 = PageData[4].Withdrawal;
69
+            PageData_5_5 = PageData[4].Balance;
70
+            PageData_5_6 = PageData[4].TellerNo;
71
+            if (PageData.Count == 5) return;
72
+            PageData_6_1 = PageData[5].DateInfo;
73
+            PageData_6_2 = PageData[5].Description;
74
+            PageData_6_3 = PageData[5].Deposit;
75
+            PageData_6_4 = PageData[5].Withdrawal;
76
+            PageData_6_5 = PageData[5].Balance;
77
+            PageData_6_6 = PageData[5].TellerNo;
78
+            if (PageData.Count == 6) return;       
79
+            PageData_7_1 = PageData[6].DateInfo;
80
+            PageData_7_2 = PageData[6].Description;
81
+            PageData_7_3 = PageData[6].Deposit;
82
+            PageData_7_4 = PageData[6].Withdrawal;
83
+            PageData_7_5 = PageData[6].Balance;
84
+            PageData_7_6 = PageData[6].TellerNo;
85
+            if (PageData.Count == 7) return;
86
+            PageData_8_1 = PageData[7].DateInfo;
87
+            PageData_8_2 = PageData[7].Description;
88
+            PageData_8_3 = PageData[7].Deposit;
89
+            PageData_8_4 = PageData[7].Withdrawal;
90
+            PageData_8_5 = PageData[7].Balance;
91
+            PageData_8_6 = PageData[7].TellerNo;
92
+            if (PageData.Count == 8) return;
93
+            PageData_9_1 = PageData[8].DateInfo;
94
+            PageData_9_2 = PageData[8].Description;
95
+            PageData_9_3 = PageData[8].Deposit;
96
+            PageData_9_4 = PageData[8].Withdrawal;
97
+            PageData_9_5 = PageData[8].Balance;
98
+            PageData_9_6 = PageData[8].TellerNo;
99
+            if (PageData.Count == 9) return;
100
+            PageData_10_1 = PageData[9].DateInfo;
101
+            PageData_10_2 = PageData[9].Description;
102
+            PageData_10_3 = PageData[9].Deposit;
103
+            PageData_10_4 = PageData[9].Withdrawal;
104
+            PageData_10_5 = PageData[9].Balance;
105
+            PageData_10_6 = PageData[9].TellerNo;
106
+            
107
+
108
+        }
109
+        #region 自定义属性
110
+
111
+        /// <summary>
112
+        /// 存折编号
113
+        /// </summary>
114
+        public string Number
115
+        {
116
+            get { return (string)GetValue(NumberProperty); }
117
+            set { SetValue(NumberProperty, value); }
118
+        }
119
+        public static readonly DependencyProperty NumberProperty =
120
+            DependencyProperty.Register("Number", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
121
+        /// <summary>
122
+        /// 账号
123
+        /// </summary>
124
+        public string AccountNo
125
+        {
126
+            get { return (string)GetValue(AccountNoProperty); }
127
+            set { SetValue(AccountNoProperty, value); }
128
+        }
129
+        public static readonly DependencyProperty AccountNoProperty =
130
+            DependencyProperty.Register("AccountNo", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
131
+        /// <summary>
132
+        /// 客户号
133
+        /// </summary>
134
+        public string UserNum
135
+        {
136
+            get { return (string)GetValue(UserNumProperty); }
137
+            set { SetValue(UserNumProperty, value); }
138
+        }
139
+        public static readonly DependencyProperty UserNumProperty =
140
+           DependencyProperty.Register("UserNum", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
141
+        /// <summary>
142
+        /// 户名
143
+        /// </summary>
144
+        public string AccountName
145
+        {
146
+            get { return (string)GetValue(AccountNameProperty); }
147
+            set { SetValue(AccountNameProperty, value); }
148
+        }
149
+        public static readonly DependencyProperty AccountNameProperty =
150
+          DependencyProperty.Register("AccountName", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
151
+        /// <summary>
152
+        /// 币种
153
+        /// </summary>
154
+        public string Currency
155
+        {
156
+            get { return (string)GetValue(CurrencyProperty); }
157
+            set { SetValue(CurrencyProperty, value); }
158
+        }
159
+        public static readonly DependencyProperty CurrencyProperty =
160
+         DependencyProperty.Register("Currency", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
161
+        /// <summary>
162
+        /// 开户银行
163
+        /// </summary>
164
+        public string AccountBank
165
+        {
166
+            get { return (string)GetValue(AccountBankProperty); }
167
+            set { SetValue(AccountBankProperty, value); }
168
+        }
169
+
170
+        public static readonly DependencyProperty AccountBankProperty =
171
+         DependencyProperty.Register("AccountBank", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
172
+        /// <summary>
173
+        /// 开户日期
174
+        /// </summary>
175
+        public string AccountDate
176
+        {
177
+            get { return (string)GetValue(AccountDateProperty); }
178
+            set { SetValue(AccountDateProperty, value); }
179
+        }
180
+        public static readonly DependencyProperty AccountDateProperty =
181
+         DependencyProperty.Register("AccountDate", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
182
+        /// <summary>
183
+        /// 存款类别
184
+        /// </summary>
185
+        public string DepositType
186
+        {
187
+            get { return (string)GetValue(DepositTypeProperty); }
188
+            set { SetValue(DepositTypeProperty, value); }
189
+        }
190
+        public static readonly DependencyProperty DepositTypeProperty =
191
+         DependencyProperty.Register("DepositType", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
192
+        /// <summary>
193
+        /// 印密
194
+        /// </summary>
195
+        public string PasswordOrSeal
196
+        {
197
+            get { return (string)GetValue(PasswordOrSealProperty); }
198
+            set { SetValue(PasswordOrSealProperty, value); }
199
+        }
200
+        public static readonly DependencyProperty PasswordOrSealProperty =
201
+        DependencyProperty.Register("PasswordOrSeal", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
202
+
203
+        /// <summary>
204
+        /// 支付行号
205
+        /// </summary>
206
+        public string PaySysCode
207
+        {
208
+            get { return (string)GetValue(PaySysCodeProperty); }
209
+            set { SetValue(PaySysCodeProperty, value); }
210
+        }
211
+        public static readonly DependencyProperty PaySysCodeProperty =
212
+            DependencyProperty.Register("PaySysCode", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
213
+
214
+        #endregion
215
+
216
+        /// <summary>
217
+        /// 子账户数据
218
+        /// </summary>
219
+        public List<CXCZPageEntity> PageData;
220
+
221
+        #region 第一行
222
+        public string PageData_1_1
223
+        {
224
+            get { return (string)GetValue(PageData_1_1Property); }
225
+            //get { return _PageData[0].TxDate; }
226
+            set { SetValue(PageData_1_1Property, value); }
227
+        }
228
+
229
+        public static readonly DependencyProperty PageData_1_1Property =
230
+            DependencyProperty.Register("PageData_1_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
231
+        public string PageData_1_2
232
+        {
233
+            get { return (string)GetValue(PageData_1_2Property); }
234
+            // get { return _PageData[0].CurNo; }
235
+            set { SetValue(PageData_1_2Property, value); }
236
+        }
237
+
238
+        public static readonly DependencyProperty PageData_1_2Property =
239
+            DependencyProperty.Register("PageData_1_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
240
+        public string PageData_1_3
241
+        {
242
+            get { return (string)GetValue(PageData_1_3Property); }
243
+            //get { return _PageData[0].DespInfo; }
244
+            set { SetValue(PageData_1_3Property, value); }
245
+        }
246
+
247
+        public static readonly DependencyProperty PageData_1_3Property =
248
+            DependencyProperty.Register("PageData_1_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
249
+        public string PageData_1_4
250
+        {
251
+            get { return (string)GetValue(PageData_1_4Property); }
252
+            // get { return _PageData[0].BegDate; }
253
+            set { SetValue(PageData_1_4Property, value); }
254
+        }
255
+
256
+        public static readonly DependencyProperty PageData_1_4Property =
257
+            DependencyProperty.Register("PageData_1_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
258
+        public string PageData_1_5
259
+        {
260
+            get { return (string)GetValue(PageData_1_5Property); }
261
+            //get { return _PageData[0].DepoistType; }
262
+            set { SetValue(PageData_1_5Property, value); }
263
+        }
264
+
265
+        public static readonly DependencyProperty PageData_1_5Property =
266
+            DependencyProperty.Register("PageData_1_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
267
+        public string PageData_1_6
268
+        {
269
+            get { return (string)GetValue(PageData_1_6Property); }
270
+            // get { return _PageData[0].Term; }
271
+            set { SetValue(PageData_1_6Property, value); }
272
+        }
273
+
274
+        public static readonly DependencyProperty PageData_1_6Property =
275
+            DependencyProperty.Register("PageData_1_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
276
+      
277
+        #endregion
278
+
279
+        #region 第二行
280
+        public string PageData_2_1
281
+        {
282
+            get { return (string)GetValue(PageData_2_1Property); }
283
+            //get { return _PageData[0].TxDate; }
284
+            set { SetValue(PageData_2_1Property, value); }
285
+        }
286
+
287
+        public static readonly DependencyProperty PageData_2_1Property =
288
+            DependencyProperty.Register("PageData_2_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
289
+        public string PageData_2_2
290
+        {
291
+            get { return (string)GetValue(PageData_2_2Property); }
292
+            // get { return _PageData[0].CurNo; }
293
+            set { SetValue(PageData_2_2Property, value); }
294
+        }
295
+
296
+        public static readonly DependencyProperty PageData_2_2Property =
297
+            DependencyProperty.Register("PageData_2_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
298
+        public string PageData_2_3
299
+        {
300
+            get { return (string)GetValue(PageData_2_3Property); }
301
+            //get { return _PageData[0].DespInfo; }
302
+            set { SetValue(PageData_2_3Property, value); }
303
+        }
304
+
305
+        public static readonly DependencyProperty PageData_2_3Property =
306
+            DependencyProperty.Register("PageData_2_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
307
+        public string PageData_2_4
308
+        {
309
+            get { return (string)GetValue(PageData_2_4Property); }
310
+            // get { return _PageData[0].BegDate; }
311
+            set { SetValue(PageData_2_4Property, value); }
312
+        }
313
+
314
+        public static readonly DependencyProperty PageData_2_4Property =
315
+            DependencyProperty.Register("PageData_2_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
316
+        public string PageData_2_5
317
+        {
318
+            get { return (string)GetValue(PageData_2_5Property); }
319
+            //get { return _PageData[0].DepoistType; }
320
+            set { SetValue(PageData_2_5Property, value); }
321
+        }
322
+
323
+        public static readonly DependencyProperty PageData_2_5Property =
324
+            DependencyProperty.Register("PageData_2_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
325
+        public string PageData_2_6
326
+        {
327
+            get { return (string)GetValue(PageData_2_6Property); }
328
+            // get { return _PageData[0].Term; }
329
+            set { SetValue(PageData_2_6Property, value); }
330
+        }
331
+
332
+        public static readonly DependencyProperty PageData_2_6Property =
333
+            DependencyProperty.Register("PageData_2_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
334
+       
335
+        #endregion
336
+
337
+        #region 第三行
338
+        public string PageData_3_1
339
+        {
340
+            get { return (string)GetValue(PageData_3_1Property); }
341
+            //get { return _PageData[0].TxDate; }
342
+            set { SetValue(PageData_3_1Property, value); }
343
+        }
344
+
345
+        public static readonly DependencyProperty PageData_3_1Property =
346
+            DependencyProperty.Register("PageData_3_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
347
+        public string PageData_3_2
348
+        {
349
+            get { return (string)GetValue(PageData_3_2Property); }
350
+            // get { return _PageData[0].CurNo; }
351
+            set { SetValue(PageData_3_2Property, value); }
352
+        }
353
+
354
+        public static readonly DependencyProperty PageData_3_2Property =
355
+            DependencyProperty.Register("PageData_3_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
356
+        public string PageData_3_3
357
+        {
358
+            get { return (string)GetValue(PageData_3_3Property); }
359
+            //get { return _PageData[0].DespInfo; }
360
+            set { SetValue(PageData_3_3Property, value); }
361
+        }
362
+
363
+        public static readonly DependencyProperty PageData_3_3Property =
364
+            DependencyProperty.Register("PageData_3_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
365
+        public string PageData_3_4
366
+        {
367
+            get { return (string)GetValue(PageData_3_4Property); }
368
+            // get { return _PageData[0].BegDate; }
369
+            set { SetValue(PageData_3_4Property, value); }
370
+        }
371
+
372
+        public static readonly DependencyProperty PageData_3_4Property =
373
+            DependencyProperty.Register("PageData_3_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
374
+        public string PageData_3_5
375
+        {
376
+            get { return (string)GetValue(PageData_3_5Property); }
377
+            //get { return _PageData[0].DepoistType; }
378
+            set { SetValue(PageData_3_5Property, value); }
379
+        }
380
+
381
+        public static readonly DependencyProperty PageData_3_5Property =
382
+            DependencyProperty.Register("PageData_3_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
383
+        public string PageData_3_6
384
+        {
385
+            get { return (string)GetValue(PageData_3_6Property); }
386
+            // get { return _PageData[0].Term; }
387
+            set { SetValue(PageData_3_6Property, value); }
388
+        }
389
+
390
+        public static readonly DependencyProperty PageData_3_6Property =
391
+            DependencyProperty.Register("PageData_3_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
392
+       
393
+        #endregion
394
+
395
+        #region 第四行
396
+        public string PageData_4_1
397
+        {
398
+            get { return (string)GetValue(PageData_4_1Property); }
399
+            //get { return _PageData[0].TxDate; }
400
+            set { SetValue(PageData_4_1Property, value); }
401
+        }
402
+
403
+        public static readonly DependencyProperty PageData_4_1Property =
404
+            DependencyProperty.Register("PageData_4_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
405
+        public string PageData_4_2
406
+        {
407
+            get { return (string)GetValue(PageData_4_2Property); }
408
+            // get { return _PageData[0].CurNo; }
409
+            set { SetValue(PageData_4_2Property, value); }
410
+        }
411
+
412
+        public static readonly DependencyProperty PageData_4_2Property =
413
+            DependencyProperty.Register("PageData_4_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
414
+        public string PageData_4_3
415
+        {
416
+            get { return (string)GetValue(PageData_4_3Property); }
417
+            //get { return _PageData[0].DespInfo; }
418
+            set { SetValue(PageData_4_3Property, value); }
419
+        }
420
+
421
+        public static readonly DependencyProperty PageData_4_3Property =
422
+            DependencyProperty.Register("PageData_4_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
423
+        public string PageData_4_4
424
+        {
425
+            get { return (string)GetValue(PageData_4_4Property); }
426
+            // get { return _PageData[0].BegDate; }
427
+            set { SetValue(PageData_4_4Property, value); }
428
+        }
429
+
430
+        public static readonly DependencyProperty PageData_4_4Property =
431
+            DependencyProperty.Register("PageData_4_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
432
+        public string PageData_4_5
433
+        {
434
+            get { return (string)GetValue(PageData_4_5Property); }
435
+            //get { return _PageData[0].DepoistType; }
436
+            set { SetValue(PageData_4_5Property, value); }
437
+        }
438
+
439
+        public static readonly DependencyProperty PageData_4_5Property =
440
+            DependencyProperty.Register("PageData_4_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
441
+        public string PageData_4_6
442
+        {
443
+            get { return (string)GetValue(PageData_4_6Property); }
444
+            // get { return _PageData[0].Term; }
445
+            set { SetValue(PageData_4_6Property, value); }
446
+        }
447
+
448
+        public static readonly DependencyProperty PageData_4_6Property =
449
+            DependencyProperty.Register("PageData_4_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
450
+       
451
+        #endregion
452
+
453
+        #region 第五行
454
+        public string PageData_5_1
455
+        {
456
+            get { return (string)GetValue(PageData_5_1Property); }
457
+            //get { return _PageData[0].TxDate; }
458
+            set { SetValue(PageData_5_1Property, value); }
459
+        }
460
+
461
+        public static readonly DependencyProperty PageData_5_1Property =
462
+            DependencyProperty.Register("PageData_5_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
463
+        public string PageData_5_2
464
+        {
465
+            get { return (string)GetValue(PageData_5_2Property); }
466
+            // get { return _PageData[0].CurNo; }
467
+            set { SetValue(PageData_5_2Property, value); }
468
+        }
469
+
470
+        public static readonly DependencyProperty PageData_5_2Property =
471
+            DependencyProperty.Register("PageData_5_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
472
+        public string PageData_5_3
473
+        {
474
+            get { return (string)GetValue(PageData_5_3Property); }
475
+            //get { return _PageData[0].DespInfo; }
476
+            set { SetValue(PageData_5_3Property, value); }
477
+        }
478
+
479
+        public static readonly DependencyProperty PageData_5_3Property =
480
+            DependencyProperty.Register("PageData_5_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
481
+        public string PageData_5_4
482
+        {
483
+            get { return (string)GetValue(PageData_5_4Property); }
484
+            // get { return _PageData[0].BegDate; }
485
+            set { SetValue(PageData_5_4Property, value); }
486
+        }
487
+
488
+        public static readonly DependencyProperty PageData_5_4Property =
489
+            DependencyProperty.Register("PageData_5_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
490
+        public string PageData_5_5
491
+        {
492
+            get { return (string)GetValue(PageData_5_5Property); }
493
+            //get { return _PageData[0].DepoistType; }
494
+            set { SetValue(PageData_5_5Property, value); }
495
+        }
496
+
497
+        public static readonly DependencyProperty PageData_5_5Property =
498
+            DependencyProperty.Register("PageData_5_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
499
+        public string PageData_5_6
500
+        {
501
+            get { return (string)GetValue(PageData_5_6Property); }
502
+            // get { return _PageData[0].Term; }
503
+            set { SetValue(PageData_5_6Property, value); }
504
+        }
505
+
506
+        public static readonly DependencyProperty PageData_5_6Property =
507
+            DependencyProperty.Register("PageData_5_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
508
+      
509
+        #endregion
510
+
511
+        #region 第六行
512
+        public string PageData_6_1
513
+        {
514
+            get { return (string)GetValue(PageData_6_1Property); }
515
+            //get { return _PageData[0].TxDate; }
516
+            set { SetValue(PageData_6_1Property, value); }
517
+        }
518
+
519
+        public static readonly DependencyProperty PageData_6_1Property =
520
+            DependencyProperty.Register("PageData_6_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
521
+        public string PageData_6_2
522
+        {
523
+            get { return (string)GetValue(PageData_6_2Property); }
524
+            // get { return _PageData[0].CurNo; }
525
+            set { SetValue(PageData_6_2Property, value); }
526
+        }
527
+
528
+        public static readonly DependencyProperty PageData_6_2Property =
529
+            DependencyProperty.Register("PageData_6_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
530
+        public string PageData_6_3
531
+        {
532
+            get { return (string)GetValue(PageData_6_3Property); }
533
+            //get { return _PageData[0].DespInfo; }
534
+            set { SetValue(PageData_6_3Property, value); }
535
+        }
536
+
537
+        public static readonly DependencyProperty PageData_6_3Property =
538
+            DependencyProperty.Register("PageData_6_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
539
+        public string PageData_6_4
540
+        {
541
+            get { return (string)GetValue(PageData_6_4Property); }
542
+            // get { return _PageData[0].BegDate; }
543
+            set { SetValue(PageData_6_4Property, value); }
544
+        }
545
+
546
+        public static readonly DependencyProperty PageData_6_4Property =
547
+            DependencyProperty.Register("PageData_6_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
548
+        public string PageData_6_5
549
+        {
550
+            get { return (string)GetValue(PageData_6_5Property); }
551
+            //get { return _PageData[0].DepoistType; }
552
+            set { SetValue(PageData_6_5Property, value); }
553
+        }
554
+
555
+        public static readonly DependencyProperty PageData_6_5Property =
556
+            DependencyProperty.Register("PageData_6_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
557
+        public string PageData_6_6
558
+        {
559
+            get { return (string)GetValue(PageData_6_6Property); }
560
+            // get { return _PageData[0].Term; }
561
+            set { SetValue(PageData_6_6Property, value); }
562
+        }
563
+
564
+        public static readonly DependencyProperty PageData_6_6Property =
565
+            DependencyProperty.Register("PageData_6_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
566
+      
567
+        #endregion
568
+
569
+        #region 第七行
570
+        public string PageData_7_1
571
+        {
572
+            get { return (string)GetValue(PageData_7_1Property); }
573
+            //get { return _PageData[0].TxDate; }
574
+            set { SetValue(PageData_7_1Property, value); }
575
+        }
576
+
577
+        public static readonly DependencyProperty PageData_7_1Property =
578
+            DependencyProperty.Register("PageData_7_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
579
+        public string PageData_7_2
580
+        {
581
+            get { return (string)GetValue(PageData_7_2Property); }
582
+            // get { return _PageData[0].CurNo; }
583
+            set { SetValue(PageData_7_2Property, value); }
584
+        }
585
+
586
+        public static readonly DependencyProperty PageData_7_2Property =
587
+            DependencyProperty.Register("PageData_7_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
588
+        public string PageData_7_3
589
+        {
590
+            get { return (string)GetValue(PageData_7_3Property); }
591
+            //get { return _PageData[0].DespInfo; }
592
+            set { SetValue(PageData_7_3Property, value); }
593
+        }
594
+
595
+        public static readonly DependencyProperty PageData_7_3Property =
596
+            DependencyProperty.Register("PageData_7_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
597
+        public string PageData_7_4
598
+        {
599
+            get { return (string)GetValue(PageData_7_4Property); }
600
+            // get { return _PageData[0].BegDate; }
601
+            set { SetValue(PageData_7_4Property, value); }
602
+        }
603
+
604
+        public static readonly DependencyProperty PageData_7_4Property =
605
+            DependencyProperty.Register("PageData_7_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
606
+        public string PageData_7_5
607
+        {
608
+            get { return (string)GetValue(PageData_7_5Property); }
609
+            //get { return _PageData[0].DepoistType; }
610
+            set { SetValue(PageData_7_5Property, value); }
611
+        }
612
+
613
+        public static readonly DependencyProperty PageData_7_5Property =
614
+            DependencyProperty.Register("PageData_7_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
615
+        public string PageData_7_6
616
+        {
617
+            get { return (string)GetValue(PageData_7_6Property); }
618
+            // get { return _PageData[0].Term; }
619
+            set { SetValue(PageData_7_6Property, value); }
620
+        }
621
+
622
+        public static readonly DependencyProperty PageData_7_6Property =
623
+            DependencyProperty.Register("PageData_7_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
624
+       
625
+        #endregion
626
+
627
+        #region 第八行
628
+        public string PageData_8_1
629
+        {
630
+            get { return (string)GetValue(PageData_8_1Property); }
631
+            //get { return _PageData[0].TxDate; }
632
+            set { SetValue(PageData_8_1Property, value); }
633
+        }
634
+
635
+        public static readonly DependencyProperty PageData_8_1Property =
636
+            DependencyProperty.Register("PageData_8_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
637
+        public string PageData_8_2
638
+        {
639
+            get { return (string)GetValue(PageData_8_2Property); }
640
+            // get { return _PageData[0].CurNo; }
641
+            set { SetValue(PageData_8_2Property, value); }
642
+        }
643
+
644
+        public static readonly DependencyProperty PageData_8_2Property =
645
+            DependencyProperty.Register("PageData_8_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
646
+        public string PageData_8_3
647
+        {
648
+            get { return (string)GetValue(PageData_8_3Property); }
649
+            //get { return _PageData[0].DespInfo; }
650
+            set { SetValue(PageData_8_3Property, value); }
651
+        }
652
+
653
+        public static readonly DependencyProperty PageData_8_3Property =
654
+            DependencyProperty.Register("PageData_8_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
655
+        public string PageData_8_4
656
+        {
657
+            get { return (string)GetValue(PageData_8_4Property); }
658
+            // get { return _PageData[0].BegDate; }
659
+            set { SetValue(PageData_8_4Property, value); }
660
+        }
661
+
662
+        public static readonly DependencyProperty PageData_8_4Property =
663
+            DependencyProperty.Register("PageData_8_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
664
+        public string PageData_8_5
665
+        {
666
+            get { return (string)GetValue(PageData_8_5Property); }
667
+            //get { return _PageData[0].DepoistType; }
668
+            set { SetValue(PageData_8_5Property, value); }
669
+        }
670
+
671
+        public static readonly DependencyProperty PageData_8_5Property =
672
+            DependencyProperty.Register("PageData_8_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
673
+        public string PageData_8_6
674
+        {
675
+            get { return (string)GetValue(PageData_8_6Property); }
676
+            // get { return _PageData[0].Term; }
677
+            set { SetValue(PageData_8_6Property, value); }
678
+        }
679
+
680
+        public static readonly DependencyProperty PageData_8_6Property =
681
+            DependencyProperty.Register("PageData_8_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
682
+
683
+        #endregion
684
+
685
+        #region 第九行
686
+        public string PageData_9_1
687
+        {
688
+            get { return (string)GetValue(PageData_9_1Property); }
689
+            //get { return _PageData[0].TxDate; }
690
+            set { SetValue(PageData_9_1Property, value); }
691
+        }
692
+
693
+        public static readonly DependencyProperty PageData_9_1Property =
694
+            DependencyProperty.Register("PageData_9_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
695
+        public string PageData_9_2
696
+        {
697
+            get { return (string)GetValue(PageData_9_2Property); }
698
+            // get { return _PageData[0].CurNo; }
699
+            set { SetValue(PageData_9_2Property, value); }
700
+        }
701
+
702
+        public static readonly DependencyProperty PageData_9_2Property =
703
+            DependencyProperty.Register("PageData_9_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
704
+        public string PageData_9_3
705
+        {
706
+            get { return (string)GetValue(PageData_9_3Property); }
707
+            //get { return _PageData[0].DespInfo; }
708
+            set { SetValue(PageData_9_3Property, value); }
709
+        }
710
+
711
+        public static readonly DependencyProperty PageData_9_3Property =
712
+            DependencyProperty.Register("PageData_9_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
713
+        public string PageData_9_4
714
+        {
715
+            get { return (string)GetValue(PageData_9_4Property); }
716
+            // get { return _PageData[0].BegDate; }
717
+            set { SetValue(PageData_9_4Property, value); }
718
+        }
719
+
720
+        public static readonly DependencyProperty PageData_9_4Property =
721
+            DependencyProperty.Register("PageData_9_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
722
+        public string PageData_9_5
723
+        {
724
+            get { return (string)GetValue(PageData_9_5Property); }
725
+            //get { return _PageData[0].DepoistType; }
726
+            set { SetValue(PageData_9_5Property, value); }
727
+        }
728
+
729
+        public static readonly DependencyProperty PageData_9_5Property =
730
+            DependencyProperty.Register("PageData_9_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
731
+        public string PageData_9_6
732
+        {
733
+            get { return (string)GetValue(PageData_9_6Property); }
734
+            // get { return _PageData[0].Term; }
735
+            set { SetValue(PageData_9_6Property, value); }
736
+        }
737
+
738
+        public static readonly DependencyProperty PageData_9_6Property =
739
+            DependencyProperty.Register("PageData_9_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
740
+
741
+        #endregion
742
+
743
+        #region 第十行
744
+        public string PageData_10_1
745
+        {
746
+            get { return (string)GetValue(PageData_10_1Property); }
747
+            //get { return _PageData[0].TxDate; }
748
+            set { SetValue(PageData_10_1Property, value); }
749
+        }
750
+
751
+        public static readonly DependencyProperty PageData_10_1Property =
752
+            DependencyProperty.Register("PageData_10_1", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
753
+        public string PageData_10_2
754
+        {
755
+            get { return (string)GetValue(PageData_10_2Property); }
756
+            // get { return _PageData[0].CurNo; }
757
+            set { SetValue(PageData_10_2Property, value); }
758
+        }
759
+
760
+        public static readonly DependencyProperty PageData_10_2Property =
761
+            DependencyProperty.Register("PageData_10_2", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
762
+        public string PageData_10_3
763
+        {
764
+            get { return (string)GetValue(PageData_10_3Property); }
765
+            //get { return _PageData[0].DespInfo; }
766
+            set { SetValue(PageData_10_3Property, value); }
767
+        }
768
+
769
+        public static readonly DependencyProperty PageData_10_3Property =
770
+            DependencyProperty.Register("PageData_10_3", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
771
+        public string PageData_10_4
772
+        {
773
+            get { return (string)GetValue(PageData_10_4Property); }
774
+            // get { return _PageData[0].BegDate; }
775
+            set { SetValue(PageData_10_4Property, value); }
776
+        }
777
+
778
+        public static readonly DependencyProperty PageData_10_4Property =
779
+            DependencyProperty.Register("PageData_10_4", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
780
+        public string PageData_10_5
781
+        {
782
+            get { return (string)GetValue(PageData_10_5Property); }
783
+            //get { return _PageData[0].DepoistType; }
784
+            set { SetValue(PageData_10_5Property, value); }
785
+        }
786
+
787
+        public static readonly DependencyProperty PageData_10_5Property =
788
+            DependencyProperty.Register("PageData_10_5", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
789
+        public string PageData_10_6
790
+        {
791
+            get { return (string)GetValue(PageData_10_6Property); }
792
+            // get { return _PageData[0].Term; }
793
+            set { SetValue(PageData_10_6Property, value); }
794
+        }
795
+
796
+        public static readonly DependencyProperty PageData_10_6Property =
797
+            DependencyProperty.Register("PageData_10_6", typeof(string), typeof(CXCZFirstPage), new UIPropertyMetadata(string.Empty));
798
+
799
+        #endregion
800
+    }
801
+}

+ 205
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZPage.xaml View File

@@ -0,0 +1,205 @@
1
+<dhcc:PrintContainer x:Class="TellerSystem.PrintTemplate.Bankbook.CXCZPage"
2
+                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
+                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
+                     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5
+                     xmlns:dhcc="http://www.dhcc.com.cn"
6
+                     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
7
+                     x:Name="Bankbook"
8
+                     xmlns:localPrint="clr-namespace:TellerSystem.PrintTemplate.Extension"
9
+                     localPrint:PrintContainerExt.CreatePrintNum="False"
10
+                     Width="13.9cm" Height="16.8cm"
11
+                     mc:Ignorable="d" BackgroundBrush="BackgroundBrush_CDCZSecondPage">
12
+    <dhcc:PrintContainer.Resources>
13
+        <ResourceDictionary>
14
+            <ResourceDictionary.MergedDictionaries>
15
+                <ResourceDictionary Source="/TellerSystem.PrintTemplate;component/Themes/BankBook.Generic.xaml" />
16
+                <ResourceDictionary>
17
+                    <Style TargetType="{x:Type GridViewColumnHeader}">
18
+                        <Setter Property="HorizontalContentAlignment" Value="Center" />
19
+                        <Setter Property="FrameworkElement.Visibility" Value="Hidden" />
20
+                        <Setter Property="Height" Value="0" />
21
+                    </Style>
22
+                    <Style x:Key="listviewItemKey" TargetType="{x:Type ListViewItem}">
23
+                        <Style.Setters>
24
+                            <Setter Property="SnapsToDevicePixels" Value="True" />
25
+                            <Setter Property="Template">
26
+                                <Setter.Value>
27
+                                    <ControlTemplate TargetType="{x:Type ListViewItem}">
28
+                                        <GridViewRowPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Visibility="{Binding IsVisibility}" />
29
+                                    </ControlTemplate>
30
+                                </Setter.Value>
31
+                            </Setter>
32
+                            <Setter Property="Margin" Value="0,4,0,0" />
33
+                        </Style.Setters>
34
+                    </Style>
35
+                </ResourceDictionary>
36
+            </ResourceDictionary.MergedDictionaries>
37
+        </ResourceDictionary>
38
+    </dhcc:PrintContainer.Resources>
39
+    <!--<dhcc:PrintContainer.Background>
40
+        <ImageBrush ImageSource="/TellerSystem.PrintTemplate;component/Images/活期存折数据页.JPG" />
41
+    </dhcc:PrintContainer.Background>-->
42
+    <Canvas>
43
+        <!--<ListView Name="ListView7" BorderThickness="0"
44
+                  Canvas.Left="0"
45
+                  Canvas.Top="66"
46
+                  Width="533"
47
+                  Height="258"
48
+                  Foreground="Blue"
49
+                  ItemContainerStyle="{StaticResource listviewItemKey}"
50
+                  Style="{StaticResource bankbookLsv}">
51
+            <ListView.View>
52
+                <GridView>
53
+                    <GridViewColumn Width="60" DisplayMemberBinding="{Binding DateInfo}" />
54
+                    <GridViewColumn Width="50" DisplayMemberBinding="{Binding Description}" />
55
+                    <GridViewColumn Width="105" DisplayMemberBinding="{Binding Deposit}" />
56
+                    <GridViewColumn Width="105" DisplayMemberBinding="{Binding Withdrawal}" />
57
+                    <GridViewColumn Width="100" DisplayMemberBinding="{Binding Balance}" />
58
+                    <GridViewColumn Width="50" DisplayMemberBinding="{Binding TellerNo}" />
59
+                </GridView>
60
+            </ListView.View>
61
+        </ListView>
62
+        <ListView Name="listView1" BorderThickness="0"
63
+                  Canvas.Left="0"
64
+                  Canvas.Top="324"
65
+                  Width="533"
66
+                  Height="267"
67
+                  Foreground="Blue"
68
+                  ItemContainerStyle="{StaticResource listviewItemKey}"
69
+                  Style="{StaticResource bankbookLsv}">
70
+            <ListView.View>
71
+                <GridView>
72
+                    <GridViewColumn Width="60" DisplayMemberBinding="{Binding DateInfo}" />
73
+                    <GridViewColumn Width="50" DisplayMemberBinding="{Binding Description}" />
74
+                    <GridViewColumn Width="105" DisplayMemberBinding="{Binding Deposit}" />
75
+                    <GridViewColumn Width="105" DisplayMemberBinding="{Binding Withdrawal}" />
76
+                    <GridViewColumn Width="100" DisplayMemberBinding="{Binding Balance}" />
77
+                    <GridViewColumn Width="50" DisplayMemberBinding="{Binding TellerNo}" />
78
+                </GridView>
79
+            </ListView.View>
80
+        </ListView>-->
81
+        <Canvas Canvas.Left="10" Canvas.Top="10">
82
+            <Canvas Canvas.Left="10" Canvas.Top="10" />
83
+        </Canvas>
84
+        <TextBlock Canvas.Left="44" Canvas.Top="71" DataContext="{Binding Path=PageData_1_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock11" Text="{Binding}" />
85
+        <TextBlock Canvas.Left="112" Canvas.Top="71" DataContext="{Binding Path=PageData_1_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock13" Text="{Binding}" />
86
+        <TextBlock Canvas.Left="331" Canvas.Top="71" DataContext="{Binding Path=PageData_1_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock17" Text="{Binding}" TextAlignment="Right" Width="128" />
87
+        <TextBlock Canvas.Left="167" Canvas.Top="71" DataContext="{Binding Path=PageData_1_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock10" Text="{Binding}" TextAlignment="Right" Width="79" />
88
+        <TextBlock Canvas.Left="251" Canvas.Top="71" DataContext="{Binding Path=PageData_1_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock81" Text="{Binding}" TextAlignment="Right" Width="78" />
89
+        <TextBlock Canvas.Left="473" Canvas.Top="71" DataContext="{Binding Path=PageData_1_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock19" Text="{Binding}" />
90
+        <TextBlock Canvas.Left="44" Canvas.Top="94" DataContext="{Binding Path=PageData_2_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock12" Text="{Binding}" />
91
+        <TextBlock Canvas.Left="112" Canvas.Top="94" DataContext="{Binding Path=PageData_2_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock14" Text="{Binding}" />
92
+        <TextBlock Canvas.Left="331" Canvas.Top="94" DataContext="{Binding Path=PageData_2_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock15" Text="{Binding}" TextAlignment="Right" Width="128" />
93
+        <TextBlock Canvas.Left="167" Canvas.Top="94" DataContext="{Binding Path=PageData_2_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock16" Text="{Binding}" TextAlignment="Right" Width="79" />
94
+        <TextBlock Canvas.Left="251" Canvas.Top="94" DataContext="{Binding Path=PageData_2_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock18" Text="{Binding}" TextAlignment="Right" Width="78" />
95
+        <TextBlock Canvas.Left="473" Canvas.Top="94" DataContext="{Binding Path=PageData_2_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock20" Text="{Binding}" />
96
+        <TextBlock Canvas.Left="44" Canvas.Top="118" DataContext="{Binding Path=PageData_3_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock21" Text="{Binding}" />
97
+        <TextBlock Canvas.Left="112" Canvas.Top="118" DataContext="{Binding Path=PageData_3_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock22" Text="{Binding}" />
98
+        <TextBlock Canvas.Left="331" Canvas.Top="118" DataContext="{Binding Path=PageData_3_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock23" Text="{Binding}" TextAlignment="Right" Width="128" />
99
+        <TextBlock Canvas.Left="167" Canvas.Top="118" DataContext="{Binding Path=PageData_3_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock24" Text="{Binding}" TextAlignment="Right" Width="79" />
100
+        <TextBlock Canvas.Left="251" Canvas.Top="118" DataContext="{Binding Path=PageData_3_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock25" Text="{Binding}" TextAlignment="Right" Width="78" />
101
+        <TextBlock Canvas.Left="473" Canvas.Top="118" DataContext="{Binding Path=PageData_3_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock26" Text="{Binding}" />
102
+        <TextBlock Canvas.Left="44" Canvas.Top="141" DataContext="{Binding Path=PageData_4_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock27" Text="{Binding}" />
103
+        <TextBlock Canvas.Left="112" Canvas.Top="141" DataContext="{Binding Path=PageData_4_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock28" Text="{Binding}" />
104
+        <TextBlock Canvas.Left="331" Canvas.Top="141" DataContext="{Binding Path=PageData_4_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock29" Text="{Binding}" TextAlignment="Right" Width="128" />
105
+        <TextBlock Canvas.Left="167" Canvas.Top="141" DataContext="{Binding Path=PageData_4_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock30" Text="{Binding}" TextAlignment="Right" Width="79" />
106
+        <TextBlock Canvas.Left="251" Canvas.Top="141" DataContext="{Binding Path=PageData_4_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock31" Text="{Binding}" TextAlignment="Right" Width="78" />
107
+        <TextBlock Canvas.Left="473" Canvas.Top="141" DataContext="{Binding Path=PageData_4_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock32" Text="{Binding}" />
108
+        <TextBlock Canvas.Left="44" Canvas.Top="166" DataContext="{Binding Path=PageData_5_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock33" Text="{Binding}" />
109
+        <TextBlock Canvas.Left="112" Canvas.Top="166" DataContext="{Binding Path=PageData_5_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock34" Text="{Binding}" />
110
+        <TextBlock Canvas.Left="331" Canvas.Top="166" DataContext="{Binding Path=PageData_5_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock35" Text="{Binding}" TextAlignment="Right" Width="128" />
111
+        <TextBlock Canvas.Left="167" Canvas.Top="166" DataContext="{Binding Path=PageData_5_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock36" Text="{Binding}" TextAlignment="Right" Width="79" />
112
+        <TextBlock Canvas.Left="251" Canvas.Top="166" DataContext="{Binding Path=PageData_5_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock37" Text="{Binding}" TextAlignment="Right" Width="78" />
113
+        <TextBlock Canvas.Left="473" Canvas.Top="166" DataContext="{Binding Path=PageData_5_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock38" Text="{Binding}" />
114
+        <TextBlock Canvas.Left="44" Canvas.Top="191" DataContext="{Binding Path=PageData_6_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock39" Text="{Binding}" />
115
+        <TextBlock Canvas.Left="112" Canvas.Top="191" DataContext="{Binding Path=PageData_6_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock40" Text="{Binding}" />
116
+        <TextBlock Canvas.Left="331" Canvas.Top="191" DataContext="{Binding Path=PageData_6_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock41" Text="{Binding}" TextAlignment="Right" Width="128" />
117
+        <TextBlock Canvas.Left="167" Canvas.Top="191" DataContext="{Binding Path=PageData_6_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock42" Text="{Binding}" TextAlignment="Right" Width="79" />
118
+        <TextBlock Canvas.Left="251" Canvas.Top="191" DataContext="{Binding Path=PageData_6_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock43" Text="{Binding}" TextAlignment="Right" Width="78" />
119
+        <TextBlock Canvas.Left="473" Canvas.Top="191" DataContext="{Binding Path=PageData_6_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock44" Text="{Binding}" />
120
+        <TextBlock Canvas.Left="44" Canvas.Top="214" DataContext="{Binding Path=PageData_7_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock45" Text="{Binding}" />
121
+        <TextBlock Canvas.Left="112" Canvas.Top="214" DataContext="{Binding Path=PageData_7_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock46" Text="{Binding}" />
122
+        <TextBlock Canvas.Left="331" Canvas.Top="214" DataContext="{Binding Path=PageData_7_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock47" Text="{Binding}" TextAlignment="Right" Width="128" />
123
+        <TextBlock Canvas.Left="167" Canvas.Top="214" DataContext="{Binding Path=PageData_7_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock48" Text="{Binding}" TextAlignment="Right" Width="79" />
124
+        <TextBlock Canvas.Left="251" Canvas.Top="214" DataContext="{Binding Path=PageData_7_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock49" Text="{Binding}" TextAlignment="Right" Width="78" />
125
+        <TextBlock Canvas.Left="473" Canvas.Top="214" DataContext="{Binding Path=PageData_7_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock50" Text="{Binding}" />
126
+        <TextBlock Canvas.Left="44" Canvas.Top="238" DataContext="{Binding Path=PageData_8_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock51" Text="{Binding}" />
127
+        <TextBlock Canvas.Left="112" Canvas.Top="238" DataContext="{Binding Path=PageData_8_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock52" Text="{Binding}" />
128
+        <TextBlock Canvas.Left="331" Canvas.Top="238" DataContext="{Binding Path=PageData_8_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock53" Text="{Binding}" TextAlignment="Right" Width="128" />
129
+        <TextBlock Canvas.Left="167" Canvas.Top="238" DataContext="{Binding Path=PageData_8_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock54" Text="{Binding}" TextAlignment="Right" Width="79" />
130
+        <TextBlock Canvas.Left="251" Canvas.Top="238" DataContext="{Binding Path=PageData_8_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock55" Text="{Binding}" TextAlignment="Right" Width="78" />
131
+        <TextBlock Canvas.Left="473" Canvas.Top="238" DataContext="{Binding Path=PageData_8_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock56" Text="{Binding}" />
132
+        <TextBlock Canvas.Left="44" Canvas.Top="263" DataContext="{Binding Path=PageData_9_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock57" Text="{Binding}" />
133
+        <TextBlock Canvas.Left="112" Canvas.Top="263" DataContext="{Binding Path=PageData_9_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock58" Text="{Binding}" />
134
+        <TextBlock Canvas.Left="331" Canvas.Top="263" DataContext="{Binding Path=PageData_9_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock59" Text="{Binding}" TextAlignment="Right" Width="128" />
135
+        <TextBlock Canvas.Left="167" Canvas.Top="263" DataContext="{Binding Path=PageData_9_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock60" Text="{Binding}" TextAlignment="Right" Width="79" />
136
+        <TextBlock Canvas.Left="251" Canvas.Top="263" DataContext="{Binding Path=PageData_9_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock61" Text="{Binding}" TextAlignment="Right" Width="78" />
137
+        <TextBlock Canvas.Left="473" Canvas.Top="263" DataContext="{Binding Path=PageData_9_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock62" Text="{Binding}" />
138
+        <TextBlock Canvas.Left="44" Canvas.Top="287" DataContext="{Binding Path=PageData_10_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock63" Text="{Binding}" />
139
+        <TextBlock Canvas.Left="112" Canvas.Top="287" DataContext="{Binding Path=PageData_10_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock64" Text="{Binding}" />
140
+        <TextBlock Canvas.Left="331" Canvas.Top="287" DataContext="{Binding Path=PageData_10_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock65" Text="{Binding}" TextAlignment="Right" Width="128" />
141
+        <TextBlock Canvas.Left="167" Canvas.Top="287" DataContext="{Binding Path=PageData_10_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock66" Text="{Binding}" TextAlignment="Right" Width="79" />
142
+        <TextBlock Canvas.Left="251" Canvas.Top="287" DataContext="{Binding Path=PageData_10_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock67" Text="{Binding}" TextAlignment="Right" Width="78" />
143
+        <TextBlock Canvas.Left="473" Canvas.Top="287" DataContext="{Binding Path=PageData_10_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock68" Text="{Binding}" />
144
+        <TextBlock Canvas.Left="44" Canvas.Top="341" DataContext="{Binding Path=PageData2_1_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock1" Text="{Binding}" />
145
+        <TextBlock Canvas.Left="112" Canvas.Top="341" DataContext="{Binding Path=PageData2_1_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock2" Text="{Binding}" />
146
+        <TextBlock Canvas.Left="331" Canvas.Top="341" DataContext="{Binding Path=PageData2_1_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock3" Text="{Binding}" TextAlignment="Right" Width="128" />
147
+        <TextBlock Canvas.Left="167" Canvas.Top="341" DataContext="{Binding Path=PageData2_1_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock4" Text="{Binding}" TextAlignment="Right" Width="79" />
148
+        <TextBlock Canvas.Left="251" Canvas.Top="341" DataContext="{Binding Path=PageData2_1_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock5" Text="{Binding}" TextAlignment="Right" Width="78" />
149
+        <TextBlock Canvas.Left="473" Canvas.Top="341" DataContext="{Binding Path=PageData2_1_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock6" Text="{Binding}" />
150
+        <TextBlock Canvas.Left="44" Canvas.Top="364" DataContext="{Binding Path=PageData2_2_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock7" Text="{Binding}" />
151
+        <TextBlock Canvas.Left="112" Canvas.Top="364" DataContext="{Binding Path=PageData2_2_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock8" Text="{Binding}" />
152
+        <TextBlock Canvas.Left="331" Canvas.Top="364" DataContext="{Binding Path=PageData2_2_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock9" Text="{Binding}" TextAlignment="Right" Width="128" />
153
+        <TextBlock Canvas.Left="167" Canvas.Top="364" DataContext="{Binding Path=PageData2_2_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock69" Text="{Binding}" TextAlignment="Right" Width="79" />
154
+        <TextBlock Canvas.Left="251" Canvas.Top="364" DataContext="{Binding Path=PageData2_2_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock70" Text="{Binding}" TextAlignment="Right" Width="78" />
155
+        <TextBlock Canvas.Left="473" Canvas.Top="364" DataContext="{Binding Path=PageData2_2_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock71" Text="{Binding}" />
156
+        <TextBlock Canvas.Left="44" Canvas.Top="388" DataContext="{Binding Path=PageData2_3_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock72" Text="{Binding}" />
157
+        <TextBlock Canvas.Left="112" Canvas.Top="388" DataContext="{Binding Path=PageData2_3_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock73" Text="{Binding}" />
158
+        <TextBlock Canvas.Left="331" Canvas.Top="388" DataContext="{Binding Path=PageData2_3_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock74" Text="{Binding}" TextAlignment="Right" Width="128" />
159
+        <TextBlock Canvas.Left="167" Canvas.Top="388" DataContext="{Binding Path=PageData2_3_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock75" Text="{Binding}" TextAlignment="Right" Width="79" />
160
+        <TextBlock Canvas.Left="251" Canvas.Top="388" DataContext="{Binding Path=PageData2_3_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock76" Text="{Binding}" TextAlignment="Right" Width="78" />
161
+        <TextBlock Canvas.Left="473" Canvas.Top="388" DataContext="{Binding Path=PageData2_3_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock77" Text="{Binding}" />
162
+        <TextBlock Canvas.Left="44" Canvas.Top="411" DataContext="{Binding Path=PageData2_4_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock78" Text="{Binding}" />
163
+        <TextBlock Canvas.Left="112" Canvas.Top="411" DataContext="{Binding Path=PageData2_4_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock79" Text="{Binding}" />
164
+        <TextBlock Canvas.Left="331" Canvas.Top="411" DataContext="{Binding Path=PageData2_4_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock80" Text="{Binding}" TextAlignment="Right" Width="128" />
165
+        <TextBlock Canvas.Left="167" Canvas.Top="411" DataContext="{Binding Path=PageData2_4_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock82" Text="{Binding}" TextAlignment="Right" Width="79" />
166
+        <TextBlock Canvas.Left="251" Canvas.Top="411" DataContext="{Binding Path=PageData2_4_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock83" Text="{Binding}" TextAlignment="Right" Width="78" />
167
+        <TextBlock Canvas.Left="473" Canvas.Top="411" DataContext="{Binding Path=PageData2_4_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock84" Text="{Binding}" />
168
+        <TextBlock Canvas.Left="44" Canvas.Top="436" DataContext="{Binding Path=PageData2_5_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock85" Text="{Binding}" />
169
+        <TextBlock Canvas.Left="112" Canvas.Top="436" DataContext="{Binding Path=PageData2_5_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock86" Text="{Binding}" />
170
+        <TextBlock Canvas.Left="331" Canvas.Top="436" DataContext="{Binding Path=PageData2_5_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock87" Text="{Binding}" TextAlignment="Right" Width="128" />
171
+        <TextBlock Canvas.Left="167" Canvas.Top="436" DataContext="{Binding Path=PageData2_5_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock88" Text="{Binding}" TextAlignment="Right" Width="79" />
172
+        <TextBlock Canvas.Left="251" Canvas.Top="436" DataContext="{Binding Path=PageData2_5_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock89" Text="{Binding}" TextAlignment="Right" Width="78" />
173
+        <TextBlock Canvas.Left="473" Canvas.Top="436" DataContext="{Binding Path=PageData2_5_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock90" Text="{Binding}" />
174
+        <TextBlock Canvas.Left="44" Canvas.Top="461" DataContext="{Binding Path=PageData2_6_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock91" Text="{Binding}" />
175
+        <TextBlock Canvas.Left="112" Canvas.Top="461" DataContext="{Binding Path=PageData2_6_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock92" Text="{Binding}" />
176
+        <TextBlock Canvas.Left="331" Canvas.Top="461" DataContext="{Binding Path=PageData2_6_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock93" Text="{Binding}" TextAlignment="Right" Width="128" />
177
+        <TextBlock Canvas.Left="167" Canvas.Top="461" DataContext="{Binding Path=PageData2_6_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock94" Text="{Binding}" TextAlignment="Right" Width="79" />
178
+        <TextBlock Canvas.Left="251" Canvas.Top="461" DataContext="{Binding Path=PageData2_6_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock95" Text="{Binding}" TextAlignment="Right" Width="78" />
179
+        <TextBlock Canvas.Left="473" Canvas.Top="461" DataContext="{Binding Path=PageData2_6_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock96" Text="{Binding}" />
180
+        <TextBlock Canvas.Left="44" Canvas.Top="484" DataContext="{Binding Path=PageData2_7_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock97" Text="{Binding}" />
181
+        <TextBlock Canvas.Left="112" Canvas.Top="484" DataContext="{Binding Path=PageData2_7_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock98" Text="{Binding}" />
182
+        <TextBlock Canvas.Left="331" Canvas.Top="484" DataContext="{Binding Path=PageData2_7_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock99" Text="{Binding}" TextAlignment="Right" Width="128" />
183
+        <TextBlock Canvas.Left="167" Canvas.Top="484" DataContext="{Binding Path=PageData2_7_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock100" Text="{Binding}" TextAlignment="Right" Width="79" />
184
+        <TextBlock Canvas.Left="251" Canvas.Top="484" DataContext="{Binding Path=PageData2_7_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock101" Text="{Binding}" TextAlignment="Right" Width="78" />
185
+        <TextBlock Canvas.Left="473" Canvas.Top="484" DataContext="{Binding Path=PageData2_7_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock102" Text="{Binding}" />
186
+        <TextBlock Canvas.Left="44" Canvas.Top="508" DataContext="{Binding Path=PageData2_8_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock103" Text="{Binding}" />
187
+        <TextBlock Canvas.Left="112" Canvas.Top="508" DataContext="{Binding Path=PageData2_8_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock104" Text="{Binding}" />
188
+        <TextBlock Canvas.Left="331" Canvas.Top="508" DataContext="{Binding Path=PageData2_8_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock105" Text="{Binding}" TextAlignment="Right" Width="128" />
189
+        <TextBlock Canvas.Left="167" Canvas.Top="508" DataContext="{Binding Path=PageData2_8_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock106" Text="{Binding}" TextAlignment="Right" Width="79" />
190
+        <TextBlock Canvas.Left="251" Canvas.Top="508" DataContext="{Binding Path=PageData2_8_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock107" Text="{Binding}" TextAlignment="Right" Width="78" />
191
+        <TextBlock Canvas.Left="473" Canvas.Top="508" DataContext="{Binding Path=PageData2_8_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock108" Text="{Binding}" />
192
+        <TextBlock Canvas.Left="44" Canvas.Top="533" DataContext="{Binding Path=PageData2_9_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock109" Text="{Binding}" />
193
+        <TextBlock Canvas.Left="112" Canvas.Top="533" DataContext="{Binding Path=PageData2_9_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock110" Text="{Binding}" />
194
+        <TextBlock Canvas.Left="331" Canvas.Top="533" DataContext="{Binding Path=PageData2_9_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock111" Text="{Binding}" TextAlignment="Right" Width="128" />
195
+        <TextBlock Canvas.Left="167" Canvas.Top="533" DataContext="{Binding Path=PageData2_9_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock112" Text="{Binding}" TextAlignment="Right" Width="79" />
196
+        <TextBlock Canvas.Left="251" Canvas.Top="533" DataContext="{Binding Path=PageData2_9_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock113" Text="{Binding}" TextAlignment="Right" Width="78" />
197
+        <TextBlock Canvas.Left="473" Canvas.Top="533" DataContext="{Binding Path=PageData2_9_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock114" Text="{Binding}" />
198
+        <TextBlock Canvas.Left="44" Canvas.Top="557" DataContext="{Binding Path=PageData2_10_1, ElementName=Bankbook}" d:DataContext="20130808" FontSize="12" Height="17" Name="textBlock115" Text="{Binding}" />
199
+        <TextBlock Canvas.Left="112" Canvas.Top="557" DataContext="{Binding Path=PageData2_10_2, ElementName=Bankbook}" d:DataContext="换入存单" FontSize="12" Height="17" Name="textBlock116" Text="{Binding}" />
200
+        <TextBlock Canvas.Left="331" Canvas.Top="557" DataContext="{Binding Path=PageData2_10_5, ElementName=Bankbook}" d:DataContext="999,999,999,999.00" FontSize="12" Height="17" Name="textBlock117" Text="{Binding}" TextAlignment="Right" Width="128" />
201
+        <TextBlock Canvas.Left="167" Canvas.Top="557" DataContext="{Binding Path=PageData2_10_3, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock118" Text="{Binding}" TextAlignment="Right" Width="79" />
202
+        <TextBlock Canvas.Left="251" Canvas.Top="557" DataContext="{Binding Path=PageData2_10_4, ElementName=Bankbook}" d:DataContext="9,999,999.00" FontSize="12" Height="17" Name="textBlock119" Text="{Binding}" TextAlignment="Right" Width="78" />
203
+        <TextBlock Canvas.Left="473" Canvas.Top="557" DataContext="{Binding Path=PageData2_10_6, ElementName=Bankbook}" d:DataContext="000100" FontSize="12" Height="17" Name="textBlock120" Text="{Binding}" />
204
+    </Canvas>
205
+</dhcc:PrintContainer>

+ 1354
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/CXCZPage.xaml.cs
File diff suppressed because it is too large
View File


+ 328
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/DQCZBankbook.cs View File

@@ -0,0 +1,328 @@
1
+using System.Collections.Generic;
2
+using Platform.Print;
3
+using System;
4
+using System.Linq;
5
+
6
+namespace TellerSystem.PrintTemplate.Bankbook
7
+{
8
+    /// <summary>
9
+    /// 定期存折
10
+    /// </summary>
11
+    public class DQCZBankbook
12
+    {
13
+        private static DQCZBankbook _instance;
14
+
15
+        public static DQCZBankbook GetInstance()
16
+        {
17
+            if (_instance == null) 
18
+            {
19
+                _instance = new DQCZBankbook();
20
+            }
21
+            return _instance;
22
+        }
23
+
24
+        private const int PrintPageNum = 7;
25
+
26
+        /// <summary>
27
+        /// 首页数据
28
+        /// </summary>
29
+        public DQCZFirstPageEntity FirstPageData { get; set; }
30
+
31
+        /// <summary>
32
+        /// 子账户头数据
33
+        /// </summary>
34
+        public List<DQCZSubAcTitleEntity> SubAcTitleList { get; set; }
35
+
36
+        /// <summary>
37
+        /// 打印定期首页
38
+        /// </summary>
39
+        /// <returns></returns>
40
+        //public List<PrintContainer> PrintFirstPage()
41
+        //{
42
+        //    var retData = new List<PrintContainer>();  
43
+        //    if(FirstPageData == null)
44
+        //        return retData;
45
+
46
+        //    DQCZFirstPage aFirstPage = new DQCZFirstPage();
47
+        //    aFirstPage.Description = "请打印第1页!";
48
+        //    aFirstPage.AcNo = FirstPageData.AcNo;
49
+        //    aFirstPage.AccountName = FirstPageData.AcName;
50
+        //    aFirstPage.CzNo = FirstPageData.CzNum;
51
+        //    aFirstPage.DrawType = FirstPageData.DrawMode;
52
+        //    aFirstPage.OpnBrno = FirstPageData.OpnBr;
53
+        //    aFirstPage.DepartDate = FirstPageData.OpnDate;
54
+        //    aFirstPage.TellerNo = FirstPageData.Teller;
55
+        //    var SubAcTitle = SubAcTitleList.Where(p => p.AcNoSeqn == 200).ToList();
56
+        //    if (SubAcTitle.Count != 0)
57
+        //    {
58
+        //        aFirstPage.AccountName1 = SubAcTitle[0].AcName;
59
+        //        aFirstPage.AcSeqn1 = SubAcTitle[0].AcNoSeqn.ToString();
60
+        //        aFirstPage.Amt1 = SubAcTitle[0].AcAmt;
61
+        //        aFirstPage.AutoFlag1 = SubAcTitle[0].AutoDeposit;
62
+        //        aFirstPage.DualDate1 = SubAcTitle[0].DualDate;
63
+        //        aFirstPage.Rate1 = SubAcTitle[0].Rate;
64
+        //        aFirstPage.Term1 = SubAcTitle[0].Term;
65
+        //        aFirstPage.OpnDate1 = SubAcTitle[0].TxDate;
66
+
67
+        //    }
68
+
69
+        //    var tmpFpPage = new List<DQCZSubAcEntity>();
70
+        //    tmpFpPage.AddRange(SubAcData);
71
+        //    aFirstPage.lsvData.ItemsSource = tmpFpPage;
72
+        //    retData.Add(aFirstPage);
73
+        //    return retData;
74
+        //}
75
+
76
+        /// <summary>
77
+        /// 打印子账户头
78
+        /// </summary>
79
+        /// <returns></returns>
80
+        //public List<PrintContainer> PrintSubAcTitle()
81
+        //{
82
+        //    var retData = new List<PrintContainer>();
83
+        //    int pageNo = AcNoSeqn;
84
+
85
+        //    int curLine = Convert.ToInt32(SubAcData[0].Seqn);
86
+        //    pageNo = Convert.ToInt32(curLine / 7);
87
+        //    curLine = curLine - pageNo * 7;
88
+
89
+        //    //第一个账号
90
+        //    if (pageNo == 0)
91
+        //    {
92
+        //        if(SubAcTitle != null)
93
+        //        {
94
+        //            DQCZFirstPage aFirstPage = new DQCZFirstPage();
95
+        //            aFirstPage.Description = "请打印第1页!";
96
+        //            aFirstPage.AccountName1 = SubAcTitle.AcName;
97
+        //            aFirstPage.AcSeqn1 = SubAcTitle.AcSeqn;
98
+        //            aFirstPage.Amt1 = SubAcTitle.AcAmt;
99
+        //            aFirstPage.OpnDate1 = SubAcTitle.TxDate;
100
+        //            aFirstPage.DualDate1 = SubAcTitle.DualDate;
101
+        //            aFirstPage.Term1 = SubAcTitle.Term;
102
+        //            aFirstPage.Rate1 = SubAcTitle.Rate;
103
+        //            aFirstPage.AutoFlag1 = SubAcTitle.AutoDeposit;
104
+
105
+        //            var tmpFpPage = new List<DQCZSubAcEntity>();
106
+        //            tmpFpPage.AddRange(SubAcData);
107
+        //            aFirstPage.lsvData.ItemsSource = tmpFpPage;
108
+
109
+        //            retData.Add(aFirstPage);
110
+        //        }
111
+        //    }
112
+        //    else
113
+        //    {
114
+        //        //偶数序号账号
115
+        //        if (pageNo % 2 == 0)
116
+        //        {
117
+        //            if (SubAcTitle != null)
118
+        //            {
119
+        //                DQCZPage aPage = new DQCZPage();
120
+        //                aPage.Description = string.Format("请打印第{0}页!", (pageNo / 2 + 1).ToString());
121
+        //                aPage.AccountName1 = SubAcTitle.AcName;
122
+        //                aPage.AcSeqn1 = SubAcTitle.AcSeqn;
123
+        //                aPage.Amt1 = SubAcTitle.AcAmt;
124
+        //                aPage.OpnDate1 = SubAcTitle.TxDate;
125
+        //                aPage.DualDate1 = SubAcTitle.DualDate;
126
+        //                aPage.Term1 = SubAcTitle.Term;
127
+        //                aPage.Rate1 = SubAcTitle.Rate;
128
+        //                aPage.AutoFlag1 = SubAcTitle.AutoDeposit;
129
+
130
+        //                var tmpFpPage = new List<DQCZSubAcEntity>();
131
+        //                tmpFpPage.AddRange(SubAcData);
132
+        //                aPage.lsvData1.ItemsSource = tmpFpPage;
133
+
134
+        //                retData.Add(aPage);
135
+        //            }
136
+        //        }else if (SubAcTitle != null)
137
+        //        {
138
+        //            //奇数序号账号
139
+        //            DQCZPage aPage = new DQCZPage();
140
+        //            aPage.Description = string.Format("请打印第{0}页!", ((pageNo + 1) / 2 + 1).ToString());
141
+        //            aPage.AccountName = SubAcTitle.AcName;
142
+        //            aPage.AcSeqn = SubAcTitle.AcSeqn;
143
+        //            aPage.Amt = SubAcTitle.AcAmt;
144
+        //            aPage.OpnDate = SubAcTitle.TxDate;
145
+        //            aPage.DualDate = SubAcTitle.DualDate;
146
+        //            aPage.Term = SubAcTitle.Term;
147
+        //            aPage.Rate = SubAcTitle.Rate;
148
+        //            aPage.AutoFlag = SubAcTitle.AutoDeposit;
149
+
150
+        //            var tmpFpPage = new List<DQCZSubAcEntity>();
151
+        //            tmpFpPage.AddRange(SubAcData);
152
+        //            aPage.lsvData.ItemsSource = tmpFpPage;
153
+
154
+        //            retData.Add(aPage);
155
+        //        }
156
+        //    }
157
+        //    return retData;
158
+        //}
159
+
160
+        /// <summary>
161
+        /// 打印子账户数据
162
+        /// </summary>
163
+        /// <returns></returns>
164
+        //public List<PrintContainer> PrintSubAcPage()
165
+        //{
166
+        //    var retData = new List<PrintContainer>();
167
+        //    List<DQCZSubAcEntity> initRows = null;
168
+        //    var allRows = new List<DQCZSubAcEntity>();
169
+        //    int pageNo = 0;
170
+        //    int curLine = 0;
171
+
172
+        //    if (SubAcData == null)
173
+        //        return retData;
174
+
175
+        //    curLine = Convert.ToInt32(SubAcData[0].Seqn);
176
+        //    initRows = new List<DQCZSubAcEntity>();
177
+
178
+        //    pageNo = Convert.ToInt32(curLine / 7);
179
+        //    curLine = curLine - pageNo * 7;
180
+        //    for (int j = 0; j < curLine - 1; j++)
181
+        //    {
182
+        //        initRows.Add(new DQCZSubAcEntity());
183
+        //    }
184
+
185
+
186
+        //    allRows.AddRange(initRows);
187
+        //    allRows.AddRange(SubAcData);
188
+
189
+        //    //第一个账号
190
+        //    if(pageNo ==0)
191
+        //    {
192
+        //        var aFirstPage = new DQCZFirstPage();
193
+        //        aFirstPage.Description = "请打印第1页!";
194
+        //        aFirstPage.lsvData.ItemsSource = allRows;
195
+        //        retData.Add(aFirstPage);
196
+        //    }
197
+        //    else
198
+        //    {
199
+        //        //偶数序号账号
200
+        //        if (pageNo % 2 == 0)
201
+        //        {
202
+        //            var aPage = new DQCZPage();
203
+        //            aPage.lsvData1.ItemsSource = allRows;
204
+        //            aPage.Description = string.Format("请打印第{0}页!", (pageNo/2 + 1).ToString());
205
+        //            retData.Add(aPage);
206
+        //        }
207
+        //        else
208
+        //        {
209
+        //            //奇数序号账号
210
+        //            var aPage = new DQCZPage();
211
+        //            aPage.Description = string.Format("请打印第{0}页!", ((pageNo+1)/2 + 1).ToString());
212
+        //            aPage.lsvData.ItemsSource = allRows;
213
+        //            retData.Add(aPage);
214
+        //        }
215
+
216
+        //    }
217
+        //    return retData;
218
+        //}
219
+
220
+        public List<PrintContainer> PrintDQCZ()
221
+        {
222
+            var PrintList = new List<PrintContainer>();
223
+            var dqcdPageList = new List<DQCZPage>();
224
+            var SubAcTitle = SubAcTitleList.Where(p => p.PrintPageNo == 1).ToList();
225
+            //打印第一页
226
+            if (FirstPageData != null)
227
+            {
228
+                DQCZFirstPage aFirstPage = new DQCZFirstPage();
229
+                aFirstPage.Description = "请打印第1页!";
230
+                aFirstPage.AcNo = FirstPageData.AcNo;
231
+                aFirstPage.AccountName = FirstPageData.AcName;
232
+                aFirstPage.CzNo = FirstPageData.CzNum;
233
+                aFirstPage.DrawType = FirstPageData.DrawMode;
234
+                aFirstPage.OpnBrno = FirstPageData.OpnBr;
235
+                aFirstPage.DepartDate = FirstPageData.OpnDate;
236
+                aFirstPage.TellerNo = FirstPageData.Teller;
237
+
238
+                if (SubAcTitle.Count != 0)
239
+                {
240
+                    aFirstPage.AccountName1 = SubAcTitle[0].AcName;
241
+                    aFirstPage.AcSeqn1 = SubAcTitle[0].AcNoSeqn.ToString();
242
+                    aFirstPage.CurNo1 = SubAcTitle[0].CurNo;
243
+                    aFirstPage.Amt1 = SubAcTitle[0].AcAmt;
244
+                    aFirstPage.AutoFlag1 = SubAcTitle[0].AutoDeposit;
245
+                    aFirstPage.DualDate1 = SubAcTitle[0].DualDate;
246
+                    aFirstPage.Rate1 = SubAcTitle[0].Rate;
247
+                    aFirstPage.Term1 = SubAcTitle[0].Term;
248
+                    aFirstPage.OpnDate1 = SubAcTitle[0].TxDate;
249
+                    aFirstPage.ChangePageStr = SubAcTitle[0].ChangePageStr;
250
+                    aFirstPage.SubAcData = SubAcTitle[0].SubAcData;
251
+                    aFirstPage.Setvalue();
252
+                    // aFirstPage.lsvData.ItemsSource = SubAcTitle[0].SubAcData;
253
+                }
254
+                PrintList.Add(aFirstPage);
255
+            }
256
+            else
257
+            {
258
+                if (SubAcTitle.Count != 0)
259
+                {
260
+                    DQCZFirstPage aFirstPage = new DQCZFirstPage();
261
+                    aFirstPage.AccountName1 = SubAcTitle[0].AcName;
262
+                    aFirstPage.AcSeqn1 = SubAcTitle[0].AcNoSeqn == 0 ? "" : SubAcTitle[0].AcNoSeqn.ToString();
263
+                    aFirstPage.CurNo1 = SubAcTitle[0].CurNo;
264
+                    aFirstPage.Amt1 = SubAcTitle[0].AcAmt;
265
+                    aFirstPage.AutoFlag1 = SubAcTitle[0].AutoDeposit;
266
+                    aFirstPage.DualDate1 = SubAcTitle[0].DualDate;
267
+                    aFirstPage.Rate1 = SubAcTitle[0].Rate;
268
+                    aFirstPage.Term1 = SubAcTitle[0].Term;
269
+                    aFirstPage.OpnDate1 = SubAcTitle[0].TxDate;
270
+                    aFirstPage.ChangePageStr = SubAcTitle[0].ChangePageStr;
271
+                    aFirstPage.SubAcData = SubAcTitle[0].SubAcData;
272
+                    aFirstPage.Setvalue();
273
+                    // aFirstPage.lsvData.ItemsSource = SubAcTitle[0].SubAcData;
274
+                    PrintList.Add(aFirstPage);
275
+                }
276
+            }
277
+            SubAcTitle = SubAcTitleList.Where(p => p.PrintPageNo != 1).ToList();
278
+            foreach (var item in SubAcTitle)
279
+            {
280
+                var dqcdpage = dqcdPageList.Where(p => p.PageNo == item.PrintPageNo).ToList();
281
+                if (dqcdpage.Count == 0)
282
+                {
283
+                    DQCZPage NewPage = new DQCZPage();
284
+                    NewPage.PageNo = item.PrintPageNo;
285
+                    dqcdPageList.Add(NewPage);
286
+                }
287
+                dqcdpage = dqcdPageList.Where(p => p.PageNo == item.PrintPageNo).ToList();
288
+
289
+                if (item.PrintPageNo % 2 == 0)
290
+                {
291
+                    dqcdpage[0].Description = string.Format("请打印第{0}页!", item.PrintPageNo);
292
+                    dqcdpage[0].AccountName = item.AcName;
293
+                    dqcdpage[0].AcSeqn = item.AcNoSeqn == 0 ? "" : item.AcNoSeqn.ToString();
294
+                    dqcdpage[0].CurNo = item.CurNo;
295
+                    dqcdpage[0].Amt = item.AcAmt;
296
+                    dqcdpage[0].OpnDate = item.TxDate;
297
+                    dqcdpage[0].DualDate = item.DualDate;
298
+                    dqcdpage[0].Term = item.Term;
299
+                    dqcdpage[0].Rate = item.Rate;
300
+                    dqcdpage[0].AutoFlag = item.AutoDeposit;
301
+                    dqcdpage[0].ChangePageStr = item.ChangePageStr;
302
+                    dqcdpage[0].PageSubAcData1 = item.SubAcData;
303
+                    dqcdpage[0].Setvalueup();
304
+                    //dqcdpage[0].lsvData.ItemsSource = item.SubAcData;
305
+                }
306
+                else
307
+                {
308
+                    dqcdpage[0].Description = string.Format("请打印第{0}页!", item.PrintPageNo);
309
+                    dqcdpage[0].AccountName1 = item.AcName;
310
+                    dqcdpage[0].AcSeqn1 = item.AcNoSeqn == 0 ? "" : item.AcNoSeqn.ToString();
311
+                    dqcdpage[0].CurNo1 = item.CurNo;
312
+                    dqcdpage[0].Amt1 = item.AcAmt;
313
+                    dqcdpage[0].OpnDate1 = item.TxDate;
314
+                    dqcdpage[0].DualDate1 = item.DualDate;
315
+                    dqcdpage[0].Term1 = item.Term;
316
+                    dqcdpage[0].Rate1 = item.Rate;
317
+                    dqcdpage[0].AutoFlag1 = item.AutoDeposit;
318
+                    dqcdpage[0].ChangePageStr1 = item.ChangePageStr;
319
+                    dqcdpage[0].PageSubAcData2 = item.SubAcData;
320
+                    dqcdpage[0].Setvaluedown();
321
+                    //dqcdpage[0].lsvData1.ItemsSource = item.SubAcData;
322
+                }
323
+            }
324
+            PrintList.AddRange(dqcdPageList);
325
+            return PrintList;
326
+        }
327
+    }
328
+}

+ 266
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/DQCZEntity.cs View File

@@ -0,0 +1,266 @@
1
+using System.Windows;
2
+using System.Collections.Generic;
3
+
4
+namespace TellerSystem.PrintTemplate.Bankbook
5
+{
6
+    /// <summary>
7
+    /// 定期存折单行数据实体
8
+    /// </summary>
9
+    public class DQCZSubAcEntity
10
+    {
11
+        /// <summary>
12
+        /// 打印序号
13
+        /// </summary>
14
+        public int PrintNo { get; set; }
15
+
16
+        /// <summary>
17
+        /// 序号
18
+        /// </summary>
19
+        public string Seqn { get; set; }
20
+
21
+        /// <summary>
22
+        /// 交易日期
23
+        /// </summary>
24
+        public string TxDate { get; set; }
25
+
26
+        /// <summary>
27
+        /// 币种
28
+        /// </summary>
29
+        public string CurNo { get; set; }
30
+
31
+        /// <summary>
32
+        /// 摘要
33
+        /// </summary>
34
+        public string DespInfo { get; set; }
35
+
36
+        /// <summary>
37
+        /// 起息日
38
+        /// </summary>
39
+        public string BegDate { get; set; }
40
+
41
+        /// <summary>
42
+        /// 储种
43
+        /// </summary>
44
+        public string DepoistType { get; set; }
45
+
46
+        /// <summary>
47
+        /// 存期
48
+        /// </summary>
49
+        public string Term { get; set; }
50
+
51
+        private string _Amt = string.Empty;
52
+        /// <summary>
53
+        /// 金额
54
+        /// </summary>
55
+        public string Amt
56
+        {
57
+            get
58
+            {
59
+                double amt = 0;
60
+                if (double.TryParse(_Amt, out amt))
61
+                {
62
+                    return amt.ToString("f2");
63
+                }
64
+                else
65
+                {
66
+                    return _Amt;
67
+                }
68
+            }
69
+            set
70
+            {
71
+                _Amt = value;
72
+            }
73
+        }
74
+
75
+        /// <summary>
76
+        /// 利息
77
+        /// </summary>
78
+        public string RateAmt { get; set; }
79
+
80
+        /// <summary>
81
+        /// 操作员
82
+        /// </summary>
83
+        public string Teller { get; set; }
84
+
85
+        /// <summary>
86
+        /// 经办机构
87
+        /// </summary>
88
+        public string Anotherbr { get; set; }
89
+
90
+        /// <summary>
91
+        /// 是否显示
92
+        /// </summary>
93
+        public Visibility IsVisibility { get; set; }
94
+
95
+    }
96
+
97
+    /// <summary>
98
+    /// 子账户实体
99
+    /// </summary>
100
+    public class DQCZSubAcTitleEntity
101
+    {
102
+        /// <summary>
103
+        /// 账号序号
104
+        /// </summary>
105
+        public int AcNoSeqn { get; set; }
106
+
107
+        public string CurNo { get; set; }
108
+
109
+        /// <summary>
110
+        /// 第几个子账户
111
+        /// </summary>
112
+        public int PrintAcSeqn
113
+        {
114
+            get;
115
+            set;
116
+        }
117
+
118
+        ///// <summary>
119
+        ///// 第几页
120
+        ///// </summary>
121
+        //public int PrintPageNo
122
+        //{
123
+        //    get { return PrintAcSeqn / 2 + 1; }
124
+        //}
125
+
126
+        /// <summary>
127
+        /// 打印行数
128
+        /// </summary>
129
+        public int PrintLine
130
+        {
131
+            get;
132
+            set;
133
+        }
134
+
135
+        /// <summary>
136
+        /// 第几页
137
+        /// </summary>
138
+        public int PrintPageNo
139
+        {
140
+            get { return (PrintLine - 1) / 7 + 1; }
141
+        }
142
+
143
+        ///// <summary>
144
+        ///// 0表示上半页,1表示下半页
145
+        ///// </summary>
146
+        //public int UpDownPage
147
+        //{
148
+        //    get { return PrintAcSeqn % 2; }
149
+        //}
150
+
151
+        /// <summary>
152
+        /// 户名
153
+        /// </summary>
154
+        public string AcName { get; set; }
155
+
156
+        private string _AcAmt = string.Empty;
157
+        /// <summary>
158
+        /// 金额
159
+        /// </summary>
160
+        public string AcAmt
161
+        {
162
+            get
163
+            {
164
+                double amt = 0;
165
+                if (double.TryParse(_AcAmt, out amt))
166
+                {
167
+                    return amt.ToString("f2");
168
+                }
169
+                else
170
+                {
171
+                    return _AcAmt;
172
+                }
173
+            }
174
+            set
175
+            {
176
+                _AcAmt = value;
177
+            }
178
+        }
179
+
180
+        /// <summary>
181
+        /// 交易日期
182
+        /// </summary>
183
+        public string TxDate { get; set; }
184
+
185
+        /// <summary>
186
+        /// 到期日期
187
+        /// </summary>
188
+        public string DualDate { get; set; }
189
+
190
+        /// <summary>
191
+        /// 存期
192
+        /// </summary>
193
+        public string Term { get; set; }
194
+
195
+        /// <summary>
196
+        /// 利率
197
+        /// </summary>
198
+        public string Rate { get; set; }
199
+
200
+        /// <summary>
201
+        /// 自动转存
202
+        /// </summary>
203
+        public string AutoDeposit { get; set; }
204
+
205
+        /// <summary>
206
+        /// 自动转存
207
+        /// </summary>
208
+        public string ChangePageStr { get; set; }
209
+
210
+        /// <summary>
211
+        /// 子账户数据
212
+        /// </summary>
213
+        public List<DQCZSubAcEntity> SubAcData { get; set; }
214
+
215
+        public List<DQCZSubAcEntity> GetNullData()
216
+        {
217
+            List<DQCZSubAcEntity> list = new List<DQCZSubAcEntity>();
218
+            for (int i = 0; i < 7; i++)
219
+            {
220
+                list.Add(new DQCZSubAcEntity());
221
+            }
222
+            return list;
223
+        }
224
+    }
225
+
226
+    /// <summary>
227
+    /// 定期存折首页
228
+    /// </summary>
229
+    public class DQCZFirstPageEntity
230
+    {
231
+        /// <summary>
232
+        /// 账号
233
+        /// </summary>
234
+        public string AcNo { get; set; }
235
+
236
+        /// <summary>
237
+        /// 存折号码
238
+        /// </summary>
239
+        public string CzNum { get; set; }
240
+
241
+        /// <summary>
242
+        /// 户名
243
+        /// </summary>
244
+        public string AcName { get; set; }
245
+
246
+        /// <summary>
247
+        ///  支取方式
248
+        /// </summary>
249
+        public string DrawMode { get; set; }
250
+
251
+        /// <summary>
252
+        /// 经办人员
253
+        /// </summary>
254
+        public string Teller { get; set; }
255
+
256
+        /// <summary>
257
+        /// 签发日期
258
+        /// </summary>
259
+        public string OpnDate { get; set; }
260
+
261
+        /// <summary>
262
+        /// 开户网点
263
+        /// </summary>
264
+        public string OpnBr { get; set; }
265
+    }
266
+}

+ 763
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/DQCZFirstPage.xaml View File

@@ -0,0 +1,763 @@
1
+<dhcc:PrintContainer x:Class="TellerSystem.PrintTemplate.Bankbook.DQCZFirstPage"
2
+                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
+                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
+                     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5
+                     xmlns:dhcc="clr-namespace:Platform.Print;assembly=Platform.Print"
6
+                     xmlns:localPrint="clr-namespace:TellerSystem.PrintTemplate.Extension"
7
+                     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8
+                     x:Name="dqczbankbook"
9
+                     Width="13.9cm"
10
+                     Height="16.8cm"
11
+                     BackgroundBrush="BackgroundBrush_DQCZFirstPage"
12
+                     d:DesignHeight="300"
13
+                     d:DesignWidth="300"
14
+                     localPrint:PrintContainerExt.CreatePrintNum="False"
15
+                     mc:Ignorable="d">
16
+    <dhcc:PrintContainer.Resources>
17
+        <Style TargetType="{x:Type GridViewColumnHeader}">
18
+            <Setter Property="FrameworkElement.Visibility" Value="Hidden" />
19
+            <Setter Property="Height" Value="0" />
20
+        </Style>
21
+        <Style x:Key="listviewItemKey" TargetType="{x:Type ListViewItem}">
22
+            <Style.Setters>
23
+                <Setter Property="SnapsToDevicePixels" Value="True" />
24
+                <Setter Property="Template">
25
+                    <Setter.Value>
26
+                        <ControlTemplate TargetType="{x:Type ListViewItem}">
27
+                            <!--  {TemplateBinding HorizontalContentAlignment}  -->
28
+                            <GridViewRowPresenter HorizontalAlignment="Left" Visibility="{Binding IsVisibility}" />
29
+                        </ControlTemplate>
30
+                    </Setter.Value>
31
+                </Setter>
32
+                <Setter Property="Margin" Value="0,0,0,0" />
33
+            </Style.Setters>
34
+        </Style>
35
+    </dhcc:PrintContainer.Resources>
36
+    <!--
37
+        <dhcc:PrintContainer.Background>
38
+        <ImageBrush ImageSource="/TellerSystem.PrintTemplate;component/Images/定期存折首页.JPG" />
39
+        </dhcc:PrintContainer.Background>
40
+    -->
41
+    <Canvas>
42
+        <Canvas.Resources>
43
+            <Style x:Key="TransformTextBlock" BasedOn="{StaticResource {x:Type TextBlock}}" TargetType="TextBlock">
44
+                <Setter Property="RenderTransform">
45
+                    <Setter.Value>
46
+                        <TransformGroup>
47
+                            <ScaleTransform ScaleX=".6" ScaleY="1.4" />
48
+                        </TransformGroup>
49
+                    </Setter.Value>
50
+                </Setter>
51
+                <Setter Property="FontSize" Value="18" />
52
+            </Style>
53
+            <Style x:Key="TransformTextBlock14" BasedOn="{StaticResource {x:Type TextBlock}}" TargetType="TextBlock">
54
+                <Setter Property="RenderTransform">
55
+                    <Setter.Value>
56
+                        <TransformGroup>
57
+                            <ScaleTransform ScaleX=".7" ScaleY="1.4" />
58
+                        </TransformGroup>
59
+                    </Setter.Value>
60
+                </Setter>
61
+                <Setter Property="FontSize" Value="12" />
62
+            </Style>
63
+        </Canvas.Resources>
64
+        <TextBlock Name="txtAcNo"
65
+                   Canvas.Left="74"
66
+                   Canvas.Top="27"
67
+                   DataContext="{Binding Path=AcNo,
68
+                                         ElementName=dqczbankbook}"
69
+                   FontSize="22"
70
+                   Style="{DynamicResource TransformTextBlock}"
71
+                   Text="{Binding}"
72
+                   d:DataContext="1000030600299" />
73
+        <TextBlock Name="txtCzNo"
74
+            Canvas.Left="330"
75
+            Canvas.Top="47"
76
+            Height="17"
77
+            d:DataContext="存折号码"
78
+            DataContext="{Binding Path=CzNo,
79
+            ElementName=dqczbankbook}"
80
+            Text="{Binding}" />
81
+        <TextBlock Name="txtAccountName"
82
+                   Canvas.Left="75"
83
+                   Canvas.Top="71"
84
+                   DataContext="{Binding Path=AccountName,
85
+                                         ElementName=dqczbankbook}"
86
+                   FontSize="22"
87
+                   Style="{DynamicResource TransformTextBlock}"
88
+                   Text="{Binding}"
89
+                   d:DataContext="南琦(NanQi)" />
90
+        <TextBlock Name="txtDrawType"
91
+                   Canvas.Left="94"
92
+                   Canvas.Top="130"
93
+                   DataContext="{Binding Path=DrawType,
94
+                                         ElementName=dqczbankbook}"
95
+                   Style="{DynamicResource TransformTextBlock}"
96
+                   Text="{Binding}"
97
+                   d:DataContext="支取方式" />
98
+        <TextBlock Name="txtTeller"
99
+                   Canvas.Left="328"
100
+                   Canvas.Top="213"
101
+                   DataContext="{Binding Path=TellerNo,
102
+                                         ElementName=dqczbankbook}"
103
+                   Style="{DynamicResource TransformTextBlock}"
104
+                   Text="{Binding}"
105
+                   d:DataContext="经办人员" />
106
+        <TextBlock Name="txtDepartDate"
107
+                   Canvas.Left="94"
108
+                   Canvas.Top="174"
109
+                   DataContext="{Binding Path=DepartDate,
110
+                                         ElementName=dqczbankbook}"
111
+                   Style="{DynamicResource TransformTextBlock}"
112
+                   Text="{Binding}"
113
+                   d:DataContext="签发日期" />
114
+        <TextBlock Name="txtOpnBrno"
115
+                   Canvas.Left="94"
116
+                   Canvas.Top="221"
117
+                   DataContext="{Binding Path=OpnBrno,
118
+                                         ElementName=dqczbankbook}"
119
+                   Style="{DynamicResource TransformTextBlock}"
120
+                   Text="{Binding}"
121
+                   d:DataContext="开户网点" />
122
+        <TextBlock Name="textBlock1"
123
+                   Canvas.Left="68"
124
+                   Canvas.Top="347"
125
+                   Height="17"
126
+                   DataContext="{Binding Path=AccountName1,
127
+                                         ElementName=dqczbankbook}"
128
+                   Text="{Binding}"
129
+                   d:DataContext="户名" Style="{DynamicResource TransformTextBlock14}" />
130
+        <TextBlock Name="txtAcSeqn"
131
+                   Canvas.Left="248"
132
+                   Canvas.Top="347"
133
+                   Height="17"
134
+                   DataContext="{Binding Path=AcSeqn1,
135
+                                         ElementName=dqczbankbook}"
136
+                   Text="{Binding}"
137
+                   d:DataContext="账号序号" Style="{DynamicResource TransformTextBlock14}" />
138
+        <TextBlock x:Name="txtCurNo"
139
+                   Canvas.Left="415"
140
+                   Canvas.Top="347"
141
+                   Height="17"
142
+                   DataContext="{Binding Path=CurNo1,
143
+                                         ElementName=dqczbankbook}"
144
+                   Text="{Binding}"
145
+                   d:DataContext="币种" Style="{DynamicResource TransformTextBlock14}" />
146
+        <TextBlock Name="txtAmt"
147
+                   Canvas.Left="68"
148
+                   Canvas.Top="367"
149
+                   Height="17"
150
+                   DataContext="{Binding Path=Amt1,
151
+                                         ElementName=dqczbankbook}"
152
+                   Text="{Binding}"
153
+                   d:DataContext="金额" Style="{DynamicResource TransformTextBlock14}" />
154
+        <TextBlock Name="txtOpnDate"
155
+                   Canvas.Left="248"
156
+                   Canvas.Top="366"
157
+                   Height="17"
158
+                   DataContext="{Binding Path=OpnDate1,
159
+                                         ElementName=dqczbankbook}"
160
+                   Text="{Binding}"
161
+                   d:DataContext="交易日期" Style="{DynamicResource TransformTextBlock14}" />
162
+        <TextBlock Name="txtDualDate"
163
+                   Canvas.Left="415"
164
+                   Canvas.Top="365"
165
+                   Height="17"
166
+                   DataContext="{Binding Path=DualDate1,
167
+                                         ElementName=dqczbankbook}"
168
+                   Text="{Binding}"
169
+                   d:DataContext="到期日期" Style="{DynamicResource TransformTextBlock14}" />
170
+        <TextBlock Name="txtTerm"
171
+                   Canvas.Left="68"
172
+                   Canvas.Top="388"
173
+                   Height="17"
174
+                   DataContext="{Binding Path=Term1,
175
+                                         ElementName=dqczbankbook}"
176
+                   Text="{Binding}"
177
+                   d:DataContext="存期" Style="{DynamicResource TransformTextBlock14}" />
178
+        <TextBlock Name="txtRate"
179
+                   Canvas.Left="248"
180
+                   Canvas.Top="388"
181
+                   Height="17"
182
+                   DataContext="{Binding Path=Rate1,
183
+                                         ElementName=dqczbankbook}"
184
+                   Text="{Binding}"
185
+                   d:DataContext="利率" Style="{DynamicResource TransformTextBlock14}" />
186
+        <TextBlock Name="txtAutoFlag"
187
+                   Canvas.Left="415"
188
+                   Canvas.Top="388"
189
+                   Height="17"
190
+                   DataContext="{Binding Path=AutoFlag1,
191
+                                         ElementName=dqczbankbook}"
192
+                   Text="{Binding}"
193
+                   d:DataContext="自动转存" Style="{DynamicResource TransformTextBlock14}" />
194
+        <TextBlock Name="textBlock2"
195
+                   Canvas.Left="32"
196
+                   Canvas.Top="441"
197
+                   Height="17"
198
+                   DataContext="{Binding Path=SubAcData_1_1,
199
+                                         ElementName=dqczbankbook}"
200
+                   Text="{Binding}"
201
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
202
+        <TextBlock Name="textBlock4"
203
+                   Canvas.Left="90"
204
+                   Canvas.Top="441"
205
+                   Height="17"
206
+                   DataContext="{Binding Path=SubAcData_1_3,
207
+                                         ElementName=dqczbankbook}"
208
+                   Text="{Binding}"
209
+                   d:DataContext="存单" Style="{DynamicResource TransformTextBlock14}" />
210
+        <TextBlock Name="textBlock5"
211
+                   Canvas.Left="122"
212
+                   Canvas.Top="441"
213
+                   Height="17"
214
+                   DataContext="{Binding Path=SubAcData_1_4,
215
+                                         ElementName=dqczbankbook}"
216
+                   Text="{Binding}"
217
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
218
+        <TextBlock Name="textBlock6"
219
+                   Canvas.Left="180"
220
+                   Canvas.Top="441"
221
+                   Height="17"
222
+                   DataContext="{Binding Path=SubAcData_1_5,
223
+                                         ElementName=dqczbankbook}"
224
+                   Text="{Binding}"
225
+                   d:DataContext="定期" Style="{DynamicResource TransformTextBlock14}" />
226
+        <TextBlock Name="textBlock7"
227
+                   Canvas.Left="212"
228
+                   Canvas.Top="441"
229
+                   Height="17"
230
+                   DataContext="{Binding Path=SubAcData_1_6,
231
+                                         ElementName=dqczbankbook}"
232
+                   Text="{Binding}"
233
+                   d:DataContext="3月" Style="{DynamicResource TransformTextBlock14}" />
234
+        <TextBlock Name="textBlock8"
235
+                   Canvas.Left="244"
236
+                   Canvas.Top="441"
237
+                   Width="141"
238
+                   Height="17"
239
+                   DataContext="{Binding Path=SubAcData_1_7,
240
+                                         ElementName=dqczbankbook}"
241
+                   Text="{Binding}"
242
+                   TextAlignment="Right"
243
+                   d:DataContext="999,999,999,999.00" Style="{DynamicResource TransformTextBlock14}" />
244
+        <TextBlock Name="textBlock9"
245
+                   Canvas.Left="358"
246
+                   Canvas.Top="441"
247
+                   Width="117"
248
+                   Height="17"
249
+                   DataContext="{Binding Path=SubAcData_1_8,
250
+                                         ElementName=dqczbankbook}"
251
+                   Text="{Binding}"
252
+                   TextAlignment="Right"
253
+                   d:DataContext="2.86" Style="{DynamicResource TransformTextBlock14}" />
254
+        <TextBlock Name="textBlock10"
255
+                   Canvas.Left="451"
256
+                   Canvas.Top="441"
257
+                   Height="17"
258
+                   DataContext="{Binding Path=SubAcData_1_9,
259
+                                         ElementName=dqczbankbook}"
260
+                   Text="{Binding}"
261
+                   d:DataContext="000100" Style="{DynamicResource TransformTextBlock14}" />
262
+        <TextBlock Name="textBlock11"
263
+                   Canvas.Left="491"
264
+                   Canvas.Top="441"
265
+                   Height="17"
266
+                   DataContext="{Binding Path=SubAcData_1_10,
267
+                                         ElementName=dqczbankbook}"
268
+                   Text="{Binding}"
269
+                   d:DataContext="10000" Style="{DynamicResource TransformTextBlock14}" />
270
+        <TextBlock Name="textBlock12"
271
+                   Canvas.Left="32"
272
+                   Canvas.Top="465"
273
+                   Height="17"
274
+                   DataContext="{Binding Path=SubAcData_2_1,
275
+                                         ElementName=dqczbankbook}"
276
+                   Text="{Binding}"
277
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
278
+        <TextBlock Name="textBlock14"
279
+                   Canvas.Left="90"
280
+                   Canvas.Top="465"
281
+                   Height="17"
282
+                   DataContext="{Binding Path=SubAcData_2_3,
283
+                                         ElementName=dqczbankbook}"
284
+                   Text="{Binding}"
285
+                   d:DataContext="存单" Style="{DynamicResource TransformTextBlock14}" />
286
+        <TextBlock Name="textBlock15"
287
+                   Canvas.Left="122"
288
+                   Canvas.Top="465"
289
+                   Height="17"
290
+                   DataContext="{Binding Path=SubAcData_2_4,
291
+                                         ElementName=dqczbankbook}"
292
+                   Text="{Binding}"
293
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
294
+        <TextBlock Name="textBlock16"
295
+                   Canvas.Left="180"
296
+                   Canvas.Top="465"
297
+                   Height="17"
298
+                   DataContext="{Binding Path=SubAcData_2_5,
299
+                                         ElementName=dqczbankbook}"
300
+                   Text="{Binding}"
301
+                   d:DataContext="定期" Style="{DynamicResource TransformTextBlock14}" />
302
+        <TextBlock Name="textBlock17"
303
+                   Canvas.Left="212"
304
+                   Canvas.Top="465"
305
+                   Height="17"
306
+                   DataContext="{Binding Path=SubAcData_2_6,
307
+                                         ElementName=dqczbankbook}"
308
+                   Text="{Binding}"
309
+                   d:DataContext="3月" Style="{DynamicResource TransformTextBlock14}" />
310
+        <TextBlock Name="textBlock18"
311
+                   Canvas.Left="244"
312
+                   Canvas.Top="465"
313
+                   Width="141"
314
+                   Height="17"
315
+                   DataContext="{Binding Path=SubAcData_2_7,
316
+                                         ElementName=dqczbankbook}"
317
+                   Text="{Binding}"
318
+                   TextAlignment="Right"
319
+                   d:DataContext="999,999,999,999.00" Style="{DynamicResource TransformTextBlock14}" />
320
+        <TextBlock Name="textBlock19"
321
+                   Canvas.Left="358"
322
+                   Canvas.Top="465"
323
+                   Width="117"
324
+                   Height="17"
325
+                   DataContext="{Binding Path=SubAcData_2_8,
326
+                                         ElementName=dqczbankbook}"
327
+                   Text="{Binding}"
328
+                   TextAlignment="Right"
329
+                   d:DataContext="2.86" Style="{DynamicResource TransformTextBlock14}" />
330
+        <TextBlock Name="textBlock20"
331
+                   Canvas.Left="451"
332
+                   Canvas.Top="465"
333
+                   Height="17"
334
+                   DataContext="{Binding Path=SubAcData_2_9,
335
+                                         ElementName=dqczbankbook}"
336
+                   Text="{Binding}"
337
+                   d:DataContext="000100" Style="{DynamicResource TransformTextBlock14}" />
338
+        <TextBlock Name="textBlock21"
339
+                   Canvas.Left="491"
340
+                   Canvas.Top="465"
341
+                   Height="17"
342
+                   DataContext="{Binding Path=SubAcData_2_10,
343
+                                         ElementName=dqczbankbook}"
344
+                   Text="{Binding}"
345
+                   d:DataContext="10000" Style="{DynamicResource TransformTextBlock14}" />
346
+        <TextBlock Name="textBlock22"
347
+                   Canvas.Left="32"
348
+                   Canvas.Top="487"
349
+                   Height="17"
350
+                   DataContext="{Binding Path=SubAcData_3_1,
351
+                                         ElementName=dqczbankbook}"
352
+                   Text="{Binding}"
353
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
354
+        <TextBlock Name="textBlock24"
355
+                   Canvas.Left="90"
356
+                   Canvas.Top="487"
357
+                   Height="17"
358
+                   DataContext="{Binding Path=SubAcData_3_3,
359
+                                         ElementName=dqczbankbook}"
360
+                   Text="{Binding}"
361
+                   d:DataContext="存单" Style="{DynamicResource TransformTextBlock14}" />
362
+        <TextBlock Name="textBlock25"
363
+                   Canvas.Left="122"
364
+                   Canvas.Top="487"
365
+                   Height="17"
366
+                   DataContext="{Binding Path=SubAcData_3_4,
367
+                                         ElementName=dqczbankbook}"
368
+                   Text="{Binding}"
369
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
370
+        <TextBlock Name="textBlock26"
371
+                   Canvas.Left="180"
372
+                   Canvas.Top="487"
373
+                   Height="17"
374
+                   DataContext="{Binding Path=SubAcData_3_5,
375
+                                         ElementName=dqczbankbook}"
376
+                   Text="{Binding}"
377
+                   d:DataContext="定期" Style="{DynamicResource TransformTextBlock14}" />
378
+        <TextBlock Name="textBlock27"
379
+                   Canvas.Left="212"
380
+                   Canvas.Top="487"
381
+                   Height="17"
382
+                   DataContext="{Binding Path=SubAcData_3_6,
383
+                                         ElementName=dqczbankbook}"
384
+                   Text="{Binding}"
385
+                   d:DataContext="3月" Style="{DynamicResource TransformTextBlock14}" />
386
+        <TextBlock Name="textBlock28"
387
+                   Canvas.Left="244"
388
+                   Canvas.Top="487"
389
+                   Width="141"
390
+                   Height="17"
391
+                   DataContext="{Binding Path=SubAcData_3_7,
392
+                                         ElementName=dqczbankbook}"
393
+                   Text="{Binding}"
394
+                   TextAlignment="Right"
395
+                   d:DataContext="999,999,999,999.00" Style="{DynamicResource TransformTextBlock14}" />
396
+        <TextBlock Name="textBlock29"
397
+                   Canvas.Left="358"
398
+                   Canvas.Top="487"
399
+                   Width="117"
400
+                   Height="17"
401
+                   DataContext="{Binding Path=SubAcData_3_8,
402
+                                         ElementName=dqczbankbook}"
403
+                   Text="{Binding}"
404
+                   TextAlignment="Right"
405
+                   d:DataContext="2.86" Style="{DynamicResource TransformTextBlock14}" />
406
+        <TextBlock Name="textBlock30"
407
+                   Canvas.Left="451"
408
+                   Canvas.Top="487"
409
+                   Height="17"
410
+                   DataContext="{Binding Path=SubAcData_3_9,
411
+                                         ElementName=dqczbankbook}"
412
+                   Text="{Binding}"
413
+                   d:DataContext="000100" Style="{DynamicResource TransformTextBlock14}" />
414
+        <TextBlock Name="textBlock31"
415
+                   Canvas.Left="491"
416
+                   Canvas.Top="487"
417
+                   Height="17"
418
+                   DataContext="{Binding Path=SubAcData_3_10,
419
+                                         ElementName=dqczbankbook}"
420
+                   Text="{Binding}"
421
+                   d:DataContext="10000" Style="{DynamicResource TransformTextBlock14}" />
422
+        <TextBlock Name="textBlock32"
423
+                   Canvas.Left="32"
424
+                   Canvas.Top="510"
425
+                   Height="17"
426
+                   DataContext="{Binding Path=SubAcData_4_1,
427
+                                         ElementName=dqczbankbook}"
428
+                   Text="{Binding}"
429
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
430
+        <TextBlock Name="textBlock34"
431
+                   Canvas.Left="90"
432
+                   Canvas.Top="510"
433
+                   Height="17"
434
+                   DataContext="{Binding Path=SubAcData_4_3,
435
+                                         ElementName=dqczbankbook}"
436
+                   Text="{Binding}"
437
+                   d:DataContext="存单" Style="{DynamicResource TransformTextBlock14}" />
438
+        <TextBlock Name="textBlock35"
439
+                   Canvas.Left="122"
440
+                   Canvas.Top="510"
441
+                   Height="17"
442
+                   DataContext="{Binding Path=SubAcData_4_4,
443
+                                         ElementName=dqczbankbook}"
444
+                   Text="{Binding}"
445
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
446
+        <TextBlock Name="textBlock36"
447
+                   Canvas.Left="180"
448
+                   Canvas.Top="510"
449
+                   Height="17"
450
+                   DataContext="{Binding Path=SubAcData_4_5,
451
+                                         ElementName=dqczbankbook}"
452
+                   Text="{Binding}"
453
+                   d:DataContext="定期" Style="{DynamicResource TransformTextBlock14}" />
454
+        <TextBlock Name="textBlock37"
455
+                   Canvas.Left="212"
456
+                   Canvas.Top="510"
457
+                   Height="17"
458
+                   DataContext="{Binding Path=SubAcData_4_6,
459
+                                         ElementName=dqczbankbook}"
460
+                   Text="{Binding}"
461
+                   d:DataContext="3月" Style="{DynamicResource TransformTextBlock14}" />
462
+        <TextBlock Name="textBlock38"
463
+                   Canvas.Left="244"
464
+                   Canvas.Top="510"
465
+                   Width="141"
466
+                   Height="17"
467
+                   DataContext="{Binding Path=SubAcData_4_7,
468
+                                         ElementName=dqczbankbook}"
469
+                   Text="{Binding}"
470
+                   TextAlignment="Right"
471
+                   d:DataContext="999,999,999,999.00" Style="{DynamicResource TransformTextBlock14}" />
472
+        <TextBlock Name="textBlock39"
473
+                   Canvas.Left="358"
474
+                   Canvas.Top="510"
475
+                   Width="117"
476
+                   Height="17"
477
+                   DataContext="{Binding Path=SubAcData_4_8,
478
+                                         ElementName=dqczbankbook}"
479
+                   Text="{Binding}"
480
+                   TextAlignment="Right"
481
+                   d:DataContext="2.86" Style="{DynamicResource TransformTextBlock14}" />
482
+        <TextBlock Name="textBlock40"
483
+                   Canvas.Left="451"
484
+                   Canvas.Top="510"
485
+                   Height="17"
486
+                   DataContext="{Binding Path=SubAcData_4_9,
487
+                                         ElementName=dqczbankbook}"
488
+                   Text="{Binding}"
489
+                   d:DataContext="000100" Style="{DynamicResource TransformTextBlock14}" />
490
+        <TextBlock Name="textBlock41"
491
+                   Canvas.Left="491"
492
+                   Canvas.Top="510"
493
+                   Height="17"
494
+                   DataContext="{Binding Path=SubAcData_4_10,
495
+                                         ElementName=dqczbankbook}"
496
+                   Text="{Binding}"
497
+                   d:DataContext="10000" Style="{DynamicResource TransformTextBlock14}" />
498
+        <TextBlock Name="textBlock42"
499
+                   Canvas.Left="32"
500
+                   Canvas.Top="533"
501
+                   Height="17"
502
+                   DataContext="{Binding Path=SubAcData_5_1,
503
+                                         ElementName=dqczbankbook}"
504
+                   Text="{Binding}"
505
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
506
+        <TextBlock Name="textBlock44"
507
+                   Canvas.Left="90"
508
+                   Canvas.Top="533"
509
+                   Height="17"
510
+                   DataContext="{Binding Path=SubAcData_5_3,
511
+                                         ElementName=dqczbankbook}"
512
+                   Text="{Binding}"
513
+                   d:DataContext="存单" Style="{DynamicResource TransformTextBlock14}" />
514
+        <TextBlock Name="textBlock45"
515
+                   Canvas.Left="122"
516
+                   Canvas.Top="533"
517
+                   Height="17"
518
+                   DataContext="{Binding Path=SubAcData_5_4,
519
+                                         ElementName=dqczbankbook}"
520
+                   Text="{Binding}"
521
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
522
+        <TextBlock Name="textBlock46"
523
+                   Canvas.Left="180"
524
+                   Canvas.Top="533"
525
+                   Height="17"
526
+                   DataContext="{Binding Path=SubAcData_5_5,
527
+                                         ElementName=dqczbankbook}"
528
+                   Text="{Binding}"
529
+                   d:DataContext="定期" Style="{DynamicResource TransformTextBlock14}" />
530
+        <TextBlock Name="textBlock47"
531
+                   Canvas.Left="212"
532
+                   Canvas.Top="533"
533
+                   Height="17"
534
+                   DataContext="{Binding Path=SubAcData_5_6,
535
+                                         ElementName=dqczbankbook}"
536
+                   Text="{Binding}"
537
+                   d:DataContext="3月" Style="{DynamicResource TransformTextBlock14}" />
538
+        <TextBlock Name="textBlock48"
539
+                   Canvas.Left="244"
540
+                   Canvas.Top="533"
541
+                   Width="141"
542
+                   Height="17"
543
+                   DataContext="{Binding Path=SubAcData_5_7,
544
+                                         ElementName=dqczbankbook}"
545
+                   Text="{Binding}"
546
+                   TextAlignment="Right"
547
+                   d:DataContext="999,999,999,999.00" Style="{DynamicResource TransformTextBlock14}" />
548
+        <TextBlock Name="textBlock49"
549
+                   Canvas.Left="358"
550
+                   Canvas.Top="533"
551
+                   Width="117"
552
+                   Height="17"
553
+                   DataContext="{Binding Path=SubAcData_5_8,
554
+                                         ElementName=dqczbankbook}"
555
+                   Text="{Binding}"
556
+                   TextAlignment="Right"
557
+                   d:DataContext="2.86" Style="{DynamicResource TransformTextBlock14}" />
558
+        <TextBlock Name="textBlock50"
559
+                   Canvas.Left="451"
560
+                   Canvas.Top="533"
561
+                   Height="17"
562
+                   DataContext="{Binding Path=SubAcData_5_9,
563
+                                         ElementName=dqczbankbook}"
564
+                   Text="{Binding}"
565
+                   d:DataContext="000100" Style="{DynamicResource TransformTextBlock14}" />
566
+        <TextBlock Name="textBlock51"
567
+                   Canvas.Left="491"
568
+                   Canvas.Top="533"
569
+                   Height="17"
570
+                   DataContext="{Binding Path=SubAcData_5_10,
571
+                                         ElementName=dqczbankbook}"
572
+                   Text="{Binding}"
573
+                   d:DataContext="10000" Style="{DynamicResource TransformTextBlock14}" />
574
+        <TextBlock Name="textBlock52"
575
+                   Canvas.Left="32"
576
+                   Canvas.Top="557"
577
+                   Height="17"
578
+                   DataContext="{Binding Path=SubAcData_6_1,
579
+                                         ElementName=dqczbankbook}"
580
+                   Text="{Binding}"
581
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
582
+        <TextBlock Name="textBlock54"
583
+                   Canvas.Left="90"
584
+                   Canvas.Top="557"
585
+                   Height="17"
586
+                   DataContext="{Binding Path=SubAcData_6_3,
587
+                                         ElementName=dqczbankbook}"
588
+                   Text="{Binding}"
589
+                   d:DataContext="存单" Style="{DynamicResource TransformTextBlock14}" />
590
+        <TextBlock Name="textBlock55"
591
+                   Canvas.Left="122"
592
+                   Canvas.Top="557"
593
+                   Height="17"
594
+                   DataContext="{Binding Path=SubAcData_6_4,
595
+                                         ElementName=dqczbankbook}"
596
+                   Text="{Binding}"
597
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
598
+        <TextBlock Name="textBlock56"
599
+                   Canvas.Left="180"
600
+                   Canvas.Top="557"
601
+                   Height="17"
602
+                   DataContext="{Binding Path=SubAcData_6_5,
603
+                                         ElementName=dqczbankbook}"
604
+                   Text="{Binding}"
605
+                   d:DataContext="定期" Style="{DynamicResource TransformTextBlock14}" />
606
+        <TextBlock Name="textBlock57"
607
+                   Canvas.Left="212"
608
+                   Canvas.Top="557"
609
+                   Height="17"
610
+                   DataContext="{Binding Path=SubAcData_6_6,
611
+                                         ElementName=dqczbankbook}"
612
+                   Text="{Binding}"
613
+                   d:DataContext="3月" Style="{DynamicResource TransformTextBlock14}" />
614
+        <TextBlock Name="textBlock58"
615
+                   Canvas.Left="244"
616
+                   Canvas.Top="557"
617
+                   Width="141"
618
+                   Height="17"
619
+                   DataContext="{Binding Path=SubAcData_6_7,
620
+                                         ElementName=dqczbankbook}"
621
+                   Text="{Binding}"
622
+                   TextAlignment="Right"
623
+                   d:DataContext="999,999,999,999.00" Style="{DynamicResource TransformTextBlock14}" />
624
+        <TextBlock Name="textBlock59"
625
+                   Canvas.Left="358"
626
+                   Canvas.Top="557"
627
+                   Width="117"
628
+                   Height="17"
629
+                   DataContext="{Binding Path=SubAcData_6_8,
630
+                                         ElementName=dqczbankbook}"
631
+                   Text="{Binding}"
632
+                   TextAlignment="Right"
633
+                   d:DataContext="2.86" Style="{DynamicResource TransformTextBlock14}" />
634
+        <TextBlock Name="textBlock60"
635
+                   Canvas.Left="451"
636
+                   Canvas.Top="557"
637
+                   Height="17"
638
+                   DataContext="{Binding Path=SubAcData_6_9,
639
+                                         ElementName=dqczbankbook}"
640
+                   Text="{Binding}"
641
+                   d:DataContext="000100" Style="{DynamicResource TransformTextBlock14}" />
642
+        <TextBlock Name="textBlock61"
643
+                   Canvas.Left="491"
644
+                   Canvas.Top="557"
645
+                   Height="17"
646
+                   DataContext="{Binding Path=SubAcData_6_10,
647
+                                         ElementName=dqczbankbook}"
648
+                   Text="{Binding}"
649
+                   d:DataContext="10000" Style="{DynamicResource TransformTextBlock14}" />
650
+        <TextBlock Name="textBlock163"
651
+                   Canvas.Left="30"
652
+                   Canvas.Top="608"
653
+                   Height="17"
654
+                   DataContext="{Binding Path=ChangePageStr,
655
+                                         ElementName=dqczbankbook}"
656
+                   Text="{Binding}"
657
+                   d:DataContext=" 转至第**页" Style="{DynamicResource TransformTextBlock14}" />
658
+        <TextBlock Name="textBlock62"
659
+                   Canvas.Left="32"
660
+                   Canvas.Top="579"
661
+                   Height="17"
662
+                   DataContext="{Binding Path=SubAcData_7_1,
663
+                                         ElementName=dqczbankbook}"
664
+                   Text="{Binding}"
665
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
666
+        <TextBlock Name="textBlock64"
667
+                   Canvas.Left="90"
668
+                   Canvas.Top="579"
669
+                   Height="17"
670
+                   DataContext="{Binding Path=SubAcData_7_3,
671
+                                         ElementName=dqczbankbook}"
672
+                   Text="{Binding}"
673
+                   d:DataContext="存单" Style="{DynamicResource TransformTextBlock14}" />
674
+        <TextBlock Name="textBlock65"
675
+                   Canvas.Left="122"
676
+                   Canvas.Top="579"
677
+                   Height="17"
678
+                   DataContext="{Binding Path=SubAcData_7_4,
679
+                                         ElementName=dqczbankbook}"
680
+                   Text="{Binding}"
681
+                   d:DataContext="20130808" Style="{DynamicResource TransformTextBlock14}" />
682
+        <TextBlock Name="textBlock66"
683
+                   Canvas.Left="180"
684
+                   Canvas.Top="579"
685
+                   Height="17"
686
+                   DataContext="{Binding Path=SubAcData_7_5,
687
+                                         ElementName=dqczbankbook}"
688
+                   Text="{Binding}"
689
+                   d:DataContext="定期" Style="{DynamicResource TransformTextBlock14}" />
690
+        <TextBlock Name="textBlock67"
691
+                   Canvas.Left="212"
692
+                   Canvas.Top="579"
693
+                   Height="17"
694
+                   DataContext="{Binding Path=SubAcData_7_6,
695
+                                         ElementName=dqczbankbook}"
696
+                   Text="{Binding}"
697
+                   d:DataContext="3月" Style="{DynamicResource TransformTextBlock14}" />
698
+        <TextBlock Name="textBlock68"
699
+                   Canvas.Left="244"
700
+                   Canvas.Top="579"
701
+                   Width="141"
702
+                   Height="17"
703
+                   DataContext="{Binding Path=SubAcData_7_7,
704
+                                         ElementName=dqczbankbook}"
705
+                   Text="{Binding}"
706
+                   TextAlignment="Right"
707
+                   d:DataContext="999,999,999,999.00" Style="{DynamicResource TransformTextBlock14}" />
708
+        <TextBlock Name="textBlock69"
709
+                   Canvas.Left="358"
710
+                   Canvas.Top="579"
711
+                   Width="117"
712
+                   Height="17"
713
+                   DataContext="{Binding Path=SubAcData_7_8,
714
+                                         ElementName=dqczbankbook}"
715
+                   Text="{Binding}"
716
+                   TextAlignment="Right"
717
+                   d:DataContext="2.86" Style="{DynamicResource TransformTextBlock14}" />
718
+        <TextBlock Name="textBlock70"
719
+                   Canvas.Left="451"
720
+                   Canvas.Top="579"
721
+                   Height="17"
722
+                   DataContext="{Binding Path=SubAcData_7_9,
723
+                                         ElementName=dqczbankbook}"
724
+                   Text="{Binding}"
725
+                   d:DataContext="000100" Style="{DynamicResource TransformTextBlock14}" />
726
+        <TextBlock Name="textBlock71"
727
+                   Canvas.Left="491"
728
+                   Canvas.Top="579"
729
+                   Height="17"
730
+                   DataContext="{Binding Path=SubAcData_7_10,
731
+                                         ElementName=dqczbankbook}"
732
+                   Text="{Binding}"
733
+                   d:DataContext="10000" Style="{DynamicResource TransformTextBlock14}" />
734
+
735
+        <!--
736
+            <ListView Name="lsvData" BorderThickness="0"  FontSize="8"
737
+            Canvas.Left="34"
738
+            Canvas.Top="443"
739
+            Width="13.1cm"
740
+            Height="162"
741
+            Foreground="Blue"  ScrollViewer.HorizontalScrollBarVisibility="Hidden"
742
+            ScrollViewer.VerticalScrollBarVisibility="Hidden"
743
+            ItemContainerStyle="{StaticResource listviewItemKey}">
744
+            <ListView.View>
745
+            <GridView>
746
+            <GridViewColumn  Width="1.2cm" DisplayMemberBinding="{Binding TxDate}">
747
+            </GridViewColumn>
748
+            <GridViewColumn Width="1cm" DisplayMemberBinding="{Binding CurNo}" />
749
+            <GridViewColumn Width="1cm" DisplayMemberBinding="{Binding DespInfo}"  />
750
+            <GridViewColumn Width="1.4cm" DisplayMemberBinding="{Binding BegDate}" />
751
+            <GridViewColumn Width="1cm" DisplayMemberBinding="{Binding DepoistType}" />
752
+            <GridViewColumn Width="0.75cm" DisplayMemberBinding="{Binding Term}" />
753
+            <GridViewColumn Width="2.65cm" DisplayMemberBinding="{Binding Amt}" />
754
+            <GridViewColumn Width="1.85cm" DisplayMemberBinding="{Binding RateAmt}" />
755
+            <GridViewColumn Width="1.05cm" DisplayMemberBinding="{Binding Teller}" />
756
+            <GridViewColumn Width="1.3cm" DisplayMemberBinding="{Binding Anotherbr}" />
757
+            </GridView>
758
+            
759
+            </ListView.View>
760
+            </ListView>
761
+        -->
762
+    </Canvas>
763
+</dhcc:PrintContainer>

+ 971
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/DQCZFirstPage.xaml.cs View File

@@ -0,0 +1,971 @@
1
+using System.Collections.Generic;
2
+using System.Windows;
3
+
4
+namespace TellerSystem.PrintTemplate.Bankbook
5
+{
6
+    /// <summary>
7
+    /// Interaction logic for DQCZFirstPage.xaml
8
+    /// </summary>
9
+    public partial class DQCZFirstPage
10
+    {
11
+       public DQCZFirstPage()
12
+       {
13
+           InitializeComponent();
14
+       }
15
+
16
+
17
+        /// <summary>
18
+        /// 
19
+        /// </summary>
20
+        public void Setvalue()
21
+        {
22
+            if (SubAcData == null) return;
23
+            if (SubAcData.Count != 7) return;
24
+            SubAcData_1_1 = SubAcData[0].TxDate;
25
+            SubAcData_1_2 = SubAcData[0].CurNo;
26
+            SubAcData_1_3 = SubAcData[0].DespInfo;
27
+            SubAcData_1_4 = SubAcData[0].BegDate;
28
+            SubAcData_1_5 = SubAcData[0].DepoistType;
29
+            SubAcData_1_6 = SubAcData[0].Term;
30
+            SubAcData_1_7 = SubAcData[0].Amt;
31
+            SubAcData_1_8 = SubAcData[0].RateAmt;
32
+            SubAcData_1_9 = SubAcData[0].Teller;
33
+            SubAcData_1_10 = SubAcData[0].Anotherbr;
34
+
35
+            SubAcData_2_1 = SubAcData[1].TxDate;
36
+            SubAcData_2_2 = SubAcData[1].CurNo;
37
+            SubAcData_2_3 = SubAcData[1].DespInfo;
38
+            SubAcData_2_4 = SubAcData[1].BegDate;
39
+            SubAcData_2_5 = SubAcData[1].DepoistType;
40
+            SubAcData_2_6 = SubAcData[1].Term;
41
+            SubAcData_2_7 = SubAcData[1].Amt;
42
+            SubAcData_2_8 = SubAcData[1].RateAmt;
43
+            SubAcData_2_9 = SubAcData[1].Teller;
44
+            SubAcData_2_10 = SubAcData[1].Anotherbr;
45
+
46
+            SubAcData_3_1 = SubAcData[2].TxDate;
47
+            SubAcData_3_2 = SubAcData[2].CurNo;
48
+            SubAcData_3_3 = SubAcData[2].DespInfo;
49
+            SubAcData_3_4 = SubAcData[2].BegDate;
50
+            SubAcData_3_5 = SubAcData[2].DepoistType;
51
+            SubAcData_3_6 = SubAcData[2].Term;
52
+            SubAcData_3_7 = SubAcData[2].Amt;
53
+            SubAcData_3_8 = SubAcData[2].RateAmt;
54
+            SubAcData_3_9 = SubAcData[2].Teller;
55
+            SubAcData_3_10 = SubAcData[2].Anotherbr;
56
+
57
+            SubAcData_4_1 = SubAcData[3].TxDate;
58
+            SubAcData_4_2 = SubAcData[3].CurNo;
59
+            SubAcData_4_3 = SubAcData[3].DespInfo;
60
+            SubAcData_4_4 = SubAcData[3].BegDate;
61
+            SubAcData_4_5 = SubAcData[3].DepoistType;
62
+            SubAcData_4_6 = SubAcData[3].Term;
63
+            SubAcData_4_7 = SubAcData[3].Amt;
64
+            SubAcData_4_8 = SubAcData[3].RateAmt;
65
+            SubAcData_4_9 = SubAcData[3].Teller;
66
+            SubAcData_4_10 = SubAcData[3].Anotherbr;
67
+
68
+            SubAcData_5_1 = SubAcData[4].TxDate;
69
+            SubAcData_5_2 = SubAcData[4].CurNo;
70
+            SubAcData_5_3 = SubAcData[4].DespInfo;
71
+            SubAcData_5_4 = SubAcData[4].BegDate;
72
+            SubAcData_5_5 = SubAcData[4].DepoistType;
73
+            SubAcData_5_6 = SubAcData[4].Term;
74
+            SubAcData_5_7 = SubAcData[4].Amt;
75
+            SubAcData_5_8 = SubAcData[4].RateAmt;
76
+            SubAcData_5_9 = SubAcData[4].Teller;
77
+            SubAcData_5_10 = SubAcData[4].Anotherbr;
78
+
79
+            SubAcData_6_1 = SubAcData[5].TxDate;
80
+            SubAcData_6_2 = SubAcData[5].CurNo;
81
+            SubAcData_6_3 = SubAcData[5].DespInfo;
82
+            SubAcData_6_4 = SubAcData[5].BegDate;
83
+            SubAcData_6_5 = SubAcData[5].DepoistType;
84
+            SubAcData_6_6 = SubAcData[5].Term;
85
+            SubAcData_6_7 = SubAcData[5].Amt;
86
+            SubAcData_6_8 = SubAcData[5].RateAmt;
87
+            SubAcData_6_9 = SubAcData[5].Teller;
88
+            SubAcData_6_10 = SubAcData[5].Anotherbr;
89
+
90
+            SubAcData_7_1 = SubAcData[6].TxDate;
91
+            SubAcData_7_2 = SubAcData[6].CurNo;
92
+            SubAcData_7_3 = SubAcData[6].DespInfo;
93
+            SubAcData_7_4 = SubAcData[6].BegDate;
94
+            SubAcData_7_5 = SubAcData[6].DepoistType;
95
+            SubAcData_7_6 = SubAcData[6].Term;
96
+            SubAcData_7_7 = SubAcData[6].Amt;
97
+            SubAcData_7_8 = SubAcData[6].RateAmt;
98
+            SubAcData_7_9 = SubAcData[6].Teller;
99
+            SubAcData_7_10 = SubAcData[6].Anotherbr;
100
+         
101
+        }
102
+
103
+        #region   自定义属性
104
+
105
+        /// <summary>
106
+        /// 账号
107
+        /// </summary>
108
+        public string AcNo
109
+        {
110
+            get { return (string)GetValue(AcNoProperty); }
111
+            set { SetValue(AcNoProperty, value); }
112
+        }
113
+
114
+        public static readonly DependencyProperty AcNoProperty =
115
+            DependencyProperty.Register("AcNo", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
116
+
117
+        /// <summary>
118
+        /// 存折编号
119
+        /// </summary>
120
+        public string CzNo
121
+        {
122
+            get { return (string)GetValue(CzNoProperty); }
123
+            set { SetValue(CzNoProperty, value); }
124
+        }
125
+
126
+        public static readonly DependencyProperty CzNoProperty =
127
+            DependencyProperty.Register("CzNo", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
128
+
129
+        /// <summary>
130
+        /// 户名
131
+        /// </summary>
132
+        public string AccountName
133
+        {
134
+            get { return (string)GetValue(AccountNameProperty); }
135
+            set { SetValue(AccountNameProperty, value); }
136
+        }
137
+
138
+        public static readonly DependencyProperty AccountNameProperty =
139
+            DependencyProperty.Register("AccountName", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
140
+
141
+        /// <summary>
142
+        /// 支取方式
143
+        /// </summary>
144
+        public string DrawType
145
+        {
146
+            get { return (string)GetValue(DrawTypeProperty); }
147
+            set { SetValue(DrawTypeProperty, value); }
148
+        }
149
+
150
+        public static readonly DependencyProperty DrawTypeProperty =
151
+            DependencyProperty.Register("DrawType", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
152
+
153
+        /// <summary>
154
+        /// 经办人
155
+        /// </summary>
156
+        public string TellerNo
157
+        {
158
+            get { return (string)GetValue(TellerNoProperty); }
159
+            set { SetValue(TellerNoProperty, value); }
160
+        }
161
+
162
+        public static readonly DependencyProperty TellerNoProperty =
163
+            DependencyProperty.Register("TellerNo", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
164
+
165
+        /// <summary>
166
+        /// 签发日期
167
+        /// </summary>
168
+        public string DepartDate
169
+        {
170
+            get { return (string)GetValue(DepartDateProperty); }
171
+            set { SetValue(DepartDateProperty, value); }
172
+        }
173
+
174
+        public static readonly DependencyProperty DepartDateProperty =
175
+            DependencyProperty.Register("DepartDate", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
176
+
177
+        /// <summary>
178
+        /// 开户网点
179
+        /// </summary>
180
+        public string OpnBrno
181
+        {
182
+            get { return (string)GetValue(OpnBrnoProperty); }
183
+            set { SetValue(OpnBrnoProperty, value); }
184
+        }
185
+
186
+        public static readonly DependencyProperty OpnBrnoProperty =
187
+            DependencyProperty.Register("OpnBrno", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
188
+
189
+        /// <summary>
190
+        /// 户名
191
+        /// </summary>
192
+        public string AccountName1
193
+        {
194
+            get { return (string)GetValue(AccountName1Property); }
195
+            set { SetValue(AccountName1Property, value); }
196
+        }
197
+
198
+        public static readonly DependencyProperty AccountName1Property =
199
+            DependencyProperty.Register("AccountName1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
200
+
201
+        /// <summary>
202
+        /// 账号序号
203
+        /// </summary>
204
+        public string AcSeqn1
205
+        {
206
+            get { return (string)GetValue(AcSeqn1Property); }
207
+            set { SetValue(AcSeqn1Property, value); }
208
+        }
209
+
210
+        public static readonly DependencyProperty AcSeqn1Property =
211
+            DependencyProperty.Register("AcSeqn1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
212
+
213
+        /// <summary>
214
+        /// 币种
215
+        /// </summary>
216
+        public string CurNo1
217
+        {
218
+            get { return (string)GetValue(CurNo1Property); }
219
+            set { SetValue(CurNo1Property, value); }
220
+        }
221
+
222
+        public static readonly DependencyProperty CurNo1Property =
223
+            DependencyProperty.Register("CurNo1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
224
+
225
+        /// <summary>
226
+        /// 金额
227
+        /// </summary>
228
+        public string Amt1
229
+        {
230
+            get { return (string)GetValue(Amt1Property); }
231
+            set { SetValue(Amt1Property, value); }
232
+        }
233
+
234
+        public static readonly DependencyProperty Amt1Property =
235
+            DependencyProperty.Register("Amt1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
236
+
237
+        /// <summary>
238
+        /// 交易日期
239
+        /// </summary>
240
+        public string OpnDate1
241
+        {
242
+            get { return (string)GetValue(OpnDate1Property); }
243
+            set { SetValue(OpnDate1Property, value); }
244
+        }
245
+
246
+        public static readonly DependencyProperty OpnDate1Property =
247
+            DependencyProperty.Register("OpnDate1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
248
+
249
+        /// <summary>
250
+        /// 到期日期
251
+        /// </summary>
252
+        public string DualDate1
253
+        {
254
+            get { return (string)GetValue(DualDate1Property); }
255
+            set { SetValue(DualDate1Property, value); }
256
+        }
257
+
258
+        public static readonly DependencyProperty DualDate1Property =
259
+            DependencyProperty.Register("DualDate1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
260
+
261
+        /// <summary>
262
+        /// 存期
263
+        /// </summary>
264
+        public string Term1
265
+        {
266
+            get { return (string)GetValue(Term1Property); }
267
+            set { SetValue(Term1Property, value); }
268
+        }
269
+
270
+        public static readonly DependencyProperty Term1Property =
271
+            DependencyProperty.Register("Term1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
272
+
273
+        /// <summary>
274
+        /// 利率
275
+        /// </summary>
276
+        public string Rate1
277
+        {
278
+            get { return (string)GetValue(Rate1Property); }
279
+            set { SetValue(Rate1Property, value); }
280
+        }
281
+
282
+        public static readonly DependencyProperty Rate1Property =
283
+            DependencyProperty.Register("Rate1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
284
+
285
+        /// <summary>
286
+        /// 自动转存标志
287
+        /// </summary>
288
+        public string AutoFlag1
289
+        {
290
+            get { return (string)GetValue(AutoFlag1Property); }
291
+            set { SetValue(AutoFlag1Property, value); }
292
+        }
293
+
294
+        public static readonly DependencyProperty AutoFlag1Property =
295
+            DependencyProperty.Register("AutoFlag1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
296
+
297
+
298
+        /// <summary>
299
+        /// 转到第几页
300
+        /// </summary>
301
+        public string ChangePageStr
302
+        {
303
+            get { return (string)GetValue(ChangePageStrProperty); }
304
+            set { SetValue(ChangePageStrProperty, value); }
305
+        }
306
+
307
+        public static readonly DependencyProperty ChangePageStrProperty =
308
+            DependencyProperty.Register("ChangePageStr", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
309
+
310
+
311
+        #endregion
312
+
313
+
314
+
315
+        /// <summary>
316
+        /// 子账户数据
317
+        /// </summary>
318
+        public List<DQCZSubAcEntity> SubAcData;
319
+
320
+        #region 第一行
321
+        public string SubAcData_1_1
322
+        {
323
+            get { return (string)GetValue(SubAcData_1_1Property); }
324
+            //get { return _subAcData[0].TxDate; }
325
+            set { SetValue(SubAcData_1_1Property, value); }
326
+        }
327
+
328
+        public static readonly DependencyProperty SubAcData_1_1Property =
329
+            DependencyProperty.Register("SubAcData_1_1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
330
+        public string SubAcData_1_2
331
+        {
332
+            get { return (string)GetValue(SubAcData_1_2Property); }
333
+            // get { return _subAcData[0].CurNo; }
334
+            set { SetValue(SubAcData_1_2Property, value); }
335
+        }
336
+
337
+        public static readonly DependencyProperty SubAcData_1_2Property =
338
+            DependencyProperty.Register("SubAcData_1_2", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
339
+        public string SubAcData_1_3
340
+        {
341
+            get { return (string)GetValue(SubAcData_1_3Property); }
342
+            //get { return _subAcData[0].DespInfo; }
343
+            set { SetValue(SubAcData_1_3Property, value); }
344
+        }
345
+
346
+        public static readonly DependencyProperty SubAcData_1_3Property =
347
+            DependencyProperty.Register("SubAcData_1_3", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
348
+        public string SubAcData_1_4
349
+        {
350
+            get { return (string)GetValue(SubAcData_1_4Property); }
351
+            // get { return _subAcData[0].BegDate; }
352
+            set { SetValue(SubAcData_1_4Property, value); }
353
+        }
354
+
355
+        public static readonly DependencyProperty SubAcData_1_4Property =
356
+            DependencyProperty.Register("SubAcData_1_4", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
357
+        public string SubAcData_1_5
358
+        {
359
+            get { return (string)GetValue(SubAcData_1_5Property); }
360
+            //get { return _subAcData[0].DepoistType; }
361
+            set { SetValue(SubAcData_1_5Property, value); }
362
+        }
363
+
364
+        public static readonly DependencyProperty SubAcData_1_5Property =
365
+            DependencyProperty.Register("SubAcData_1_5", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
366
+        public string SubAcData_1_6
367
+        {
368
+            get { return (string)GetValue(SubAcData_1_6Property); }
369
+            // get { return _subAcData[0].Term; }
370
+            set { SetValue(SubAcData_1_6Property, value); }
371
+        }
372
+
373
+        public static readonly DependencyProperty SubAcData_1_6Property =
374
+            DependencyProperty.Register("SubAcData_1_6", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
375
+        public string SubAcData_1_7
376
+        {
377
+            get { return (string)GetValue(SubAcData_1_7Property); }
378
+            // get { return _subAcData[0].Amt; }
379
+            set { SetValue(SubAcData_1_7Property, value); }
380
+        }
381
+
382
+        public static readonly DependencyProperty SubAcData_1_7Property =
383
+            DependencyProperty.Register("SubAcData_1_7", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
384
+        public string SubAcData_1_8
385
+        {
386
+            get { return (string)GetValue(SubAcData_1_8Property); }
387
+            // get { return _subAcData[0].RateAmt; }
388
+            set { SetValue(SubAcData_1_8Property, value); }
389
+        }
390
+
391
+        public static readonly DependencyProperty SubAcData_1_8Property =
392
+            DependencyProperty.Register("SubAcData_1_8", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
393
+        public string SubAcData_1_9
394
+        {
395
+            get { return (string)GetValue(SubAcData_1_9Property); }
396
+            // get { return _subAcData[0].Teller; }
397
+            set { SetValue(SubAcData_1_9Property, value); }
398
+        }
399
+
400
+        public static readonly DependencyProperty SubAcData_1_9Property =
401
+            DependencyProperty.Register("SubAcData_1_9", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
402
+        public string SubAcData_1_10
403
+        {
404
+            get { return (string)GetValue(SubAcData_1_10Property); }
405
+            // get { return _subAcData[0].Anotherbr; }
406
+            set { SetValue(SubAcData_1_10Property, value); }
407
+        }
408
+
409
+        public static readonly DependencyProperty SubAcData_1_10Property =
410
+            DependencyProperty.Register("SubAcData_1_10", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty)); 
411
+        #endregion
412
+
413
+        #region 第二行
414
+        public string SubAcData_2_1
415
+        {
416
+            get { return (string)GetValue(SubAcData_2_1Property); }
417
+            //get { return _subAcData[0].TxDate; }
418
+            set { SetValue(SubAcData_2_1Property, value); }
419
+        }
420
+
421
+        public static readonly DependencyProperty SubAcData_2_1Property =
422
+            DependencyProperty.Register("SubAcData_2_1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
423
+        public string SubAcData_2_2
424
+        {
425
+            get { return (string)GetValue(SubAcData_2_2Property); }
426
+            // get { return _subAcData[0].CurNo; }
427
+            set { SetValue(SubAcData_2_2Property, value); }
428
+        }
429
+
430
+        public static readonly DependencyProperty SubAcData_2_2Property =
431
+            DependencyProperty.Register("SubAcData_2_2", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
432
+        public string SubAcData_2_3
433
+        {
434
+            get { return (string)GetValue(SubAcData_2_3Property); }
435
+            //get { return _subAcData[0].DespInfo; }
436
+            set { SetValue(SubAcData_2_3Property, value); }
437
+        }
438
+
439
+        public static readonly DependencyProperty SubAcData_2_3Property =
440
+            DependencyProperty.Register("SubAcData_2_3", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
441
+        public string SubAcData_2_4
442
+        {
443
+            get { return (string)GetValue(SubAcData_2_4Property); }
444
+            // get { return _subAcData[0].BegDate; }
445
+            set { SetValue(SubAcData_2_4Property, value); }
446
+        }
447
+
448
+        public static readonly DependencyProperty SubAcData_2_4Property =
449
+            DependencyProperty.Register("SubAcData_2_4", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
450
+        public string SubAcData_2_5
451
+        {
452
+            get { return (string)GetValue(SubAcData_2_5Property); }
453
+            //get { return _subAcData[0].DepoistType; }
454
+            set { SetValue(SubAcData_2_5Property, value); }
455
+        }
456
+
457
+        public static readonly DependencyProperty SubAcData_2_5Property =
458
+            DependencyProperty.Register("SubAcData_2_5", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
459
+        public string SubAcData_2_6
460
+        {
461
+            get { return (string)GetValue(SubAcData_2_6Property); }
462
+            // get { return _subAcData[0].Term; }
463
+            set { SetValue(SubAcData_2_6Property, value); }
464
+        }
465
+
466
+        public static readonly DependencyProperty SubAcData_2_6Property =
467
+            DependencyProperty.Register("SubAcData_2_6", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
468
+        public string SubAcData_2_7
469
+        {
470
+            get { return (string)GetValue(SubAcData_2_7Property); }
471
+            // get { return _subAcData[0].Amt; }
472
+            set { SetValue(SubAcData_2_7Property, value); }
473
+        }
474
+
475
+        public static readonly DependencyProperty SubAcData_2_7Property =
476
+            DependencyProperty.Register("SubAcData_2_7", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
477
+        public string SubAcData_2_8
478
+        {
479
+            get { return (string)GetValue(SubAcData_2_8Property); }
480
+            // get { return _subAcData[0].RateAmt; }
481
+            set { SetValue(SubAcData_2_8Property, value); }
482
+        }
483
+
484
+        public static readonly DependencyProperty SubAcData_2_8Property =
485
+            DependencyProperty.Register("SubAcData_2_8", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
486
+        public string SubAcData_2_9
487
+        {
488
+            get { return (string)GetValue(SubAcData_2_9Property); }
489
+            // get { return _subAcData[0].Teller; }
490
+            set { SetValue(SubAcData_2_9Property, value); }
491
+        }
492
+
493
+        public static readonly DependencyProperty SubAcData_2_9Property =
494
+            DependencyProperty.Register("SubAcData_2_9", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
495
+        public string SubAcData_2_10
496
+        {
497
+            get { return (string)GetValue(SubAcData_2_10Property); }
498
+            // get { return _subAcData[0].Anotherbr; }
499
+            set { SetValue(SubAcData_2_10Property, value); }
500
+        }
501
+
502
+        public static readonly DependencyProperty SubAcData_2_10Property =
503
+            DependencyProperty.Register("SubAcData_2_10", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
504
+        #endregion
505
+
506
+        #region 第三行
507
+        public string SubAcData_3_1
508
+        {
509
+            get { return (string)GetValue(SubAcData_3_1Property); }
510
+            //get { return _subAcData[0].TxDate; }
511
+            set { SetValue(SubAcData_3_1Property, value); }
512
+        }
513
+
514
+        public static readonly DependencyProperty SubAcData_3_1Property =
515
+            DependencyProperty.Register("SubAcData_3_1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
516
+        public string SubAcData_3_2
517
+        {
518
+            get { return (string)GetValue(SubAcData_3_2Property); }
519
+            // get { return _subAcData[0].CurNo; }
520
+            set { SetValue(SubAcData_3_2Property, value); }
521
+        }
522
+
523
+        public static readonly DependencyProperty SubAcData_3_2Property =
524
+            DependencyProperty.Register("SubAcData_3_2", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
525
+        public string SubAcData_3_3
526
+        {
527
+            get { return (string)GetValue(SubAcData_3_3Property); }
528
+            //get { return _subAcData[0].DespInfo; }
529
+            set { SetValue(SubAcData_3_3Property, value); }
530
+        }
531
+
532
+        public static readonly DependencyProperty SubAcData_3_3Property =
533
+            DependencyProperty.Register("SubAcData_3_3", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
534
+        public string SubAcData_3_4
535
+        {
536
+            get { return (string)GetValue(SubAcData_3_4Property); }
537
+            // get { return _subAcData[0].BegDate; }
538
+            set { SetValue(SubAcData_3_4Property, value); }
539
+        }
540
+
541
+        public static readonly DependencyProperty SubAcData_3_4Property =
542
+            DependencyProperty.Register("SubAcData_3_4", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
543
+        public string SubAcData_3_5
544
+        {
545
+            get { return (string)GetValue(SubAcData_3_5Property); }
546
+            //get { return _subAcData[0].DepoistType; }
547
+            set { SetValue(SubAcData_3_5Property, value); }
548
+        }
549
+
550
+        public static readonly DependencyProperty SubAcData_3_5Property =
551
+            DependencyProperty.Register("SubAcData_3_5", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
552
+        public string SubAcData_3_6
553
+        {
554
+            get { return (string)GetValue(SubAcData_3_6Property); }
555
+            // get { return _subAcData[0].Term; }
556
+            set { SetValue(SubAcData_3_6Property, value); }
557
+        }
558
+
559
+        public static readonly DependencyProperty SubAcData_3_6Property =
560
+            DependencyProperty.Register("SubAcData_3_6", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
561
+        public string SubAcData_3_7
562
+        {
563
+            get { return (string)GetValue(SubAcData_3_7Property); }
564
+            // get { return _subAcData[0].Amt; }
565
+            set { SetValue(SubAcData_3_7Property, value); }
566
+        }
567
+
568
+        public static readonly DependencyProperty SubAcData_3_7Property =
569
+            DependencyProperty.Register("SubAcData_3_7", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
570
+        public string SubAcData_3_8
571
+        {
572
+            get { return (string)GetValue(SubAcData_3_8Property); }
573
+            // get { return _subAcData[0].RateAmt; }
574
+            set { SetValue(SubAcData_3_8Property, value); }
575
+        }
576
+
577
+        public static readonly DependencyProperty SubAcData_3_8Property =
578
+            DependencyProperty.Register("SubAcData_3_8", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
579
+        public string SubAcData_3_9
580
+        {
581
+            get { return (string)GetValue(SubAcData_3_9Property); }
582
+            // get { return _subAcData[0].Teller; }
583
+            set { SetValue(SubAcData_3_9Property, value); }
584
+        }
585
+
586
+        public static readonly DependencyProperty SubAcData_3_9Property =
587
+            DependencyProperty.Register("SubAcData_3_9", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
588
+        public string SubAcData_3_10
589
+        {
590
+            get { return (string)GetValue(SubAcData_3_10Property); }
591
+            // get { return _subAcData[0].Anotherbr; }
592
+            set { SetValue(SubAcData_3_10Property, value); }
593
+        }
594
+
595
+        public static readonly DependencyProperty SubAcData_3_10Property =
596
+            DependencyProperty.Register("SubAcData_3_10", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
597
+        #endregion
598
+
599
+        #region 第四行
600
+        public string SubAcData_4_1
601
+        {
602
+            get { return (string)GetValue(SubAcData_4_1Property); }
603
+            //get { return _subAcData[0].TxDate; }
604
+            set { SetValue(SubAcData_4_1Property, value); }
605
+        }
606
+
607
+        public static readonly DependencyProperty SubAcData_4_1Property =
608
+            DependencyProperty.Register("SubAcData_4_1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
609
+        public string SubAcData_4_2
610
+        {
611
+            get { return (string)GetValue(SubAcData_4_2Property); }
612
+            // get { return _subAcData[0].CurNo; }
613
+            set { SetValue(SubAcData_4_2Property, value); }
614
+        }
615
+
616
+        public static readonly DependencyProperty SubAcData_4_2Property =
617
+            DependencyProperty.Register("SubAcData_4_2", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
618
+        public string SubAcData_4_3
619
+        {
620
+            get { return (string)GetValue(SubAcData_4_3Property); }
621
+            //get { return _subAcData[0].DespInfo; }
622
+            set { SetValue(SubAcData_4_3Property, value); }
623
+        }
624
+
625
+        public static readonly DependencyProperty SubAcData_4_3Property =
626
+            DependencyProperty.Register("SubAcData_4_3", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
627
+        public string SubAcData_4_4
628
+        {
629
+            get { return (string)GetValue(SubAcData_4_4Property); }
630
+            // get { return _subAcData[0].BegDate; }
631
+            set { SetValue(SubAcData_4_4Property, value); }
632
+        }
633
+
634
+        public static readonly DependencyProperty SubAcData_4_4Property =
635
+            DependencyProperty.Register("SubAcData_4_4", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
636
+        public string SubAcData_4_5
637
+        {
638
+            get { return (string)GetValue(SubAcData_4_5Property); }
639
+            //get { return _subAcData[0].DepoistType; }
640
+            set { SetValue(SubAcData_4_5Property, value); }
641
+        }
642
+
643
+        public static readonly DependencyProperty SubAcData_4_5Property =
644
+            DependencyProperty.Register("SubAcData_4_5", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
645
+        public string SubAcData_4_6
646
+        {
647
+            get { return (string)GetValue(SubAcData_4_6Property); }
648
+            // get { return _subAcData[0].Term; }
649
+            set { SetValue(SubAcData_4_6Property, value); }
650
+        }
651
+
652
+        public static readonly DependencyProperty SubAcData_4_6Property =
653
+            DependencyProperty.Register("SubAcData_4_6", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
654
+        public string SubAcData_4_7
655
+        {
656
+            get { return (string)GetValue(SubAcData_4_7Property); }
657
+            // get { return _subAcData[0].Amt; }
658
+            set { SetValue(SubAcData_4_7Property, value); }
659
+        }
660
+
661
+        public static readonly DependencyProperty SubAcData_4_7Property =
662
+            DependencyProperty.Register("SubAcData_4_7", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
663
+        public string SubAcData_4_8
664
+        {
665
+            get { return (string)GetValue(SubAcData_4_8Property); }
666
+            // get { return _subAcData[0].RateAmt; }
667
+            set { SetValue(SubAcData_4_8Property, value); }
668
+        }
669
+
670
+        public static readonly DependencyProperty SubAcData_4_8Property =
671
+            DependencyProperty.Register("SubAcData_4_8", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
672
+        public string SubAcData_4_9
673
+        {
674
+            get { return (string)GetValue(SubAcData_4_9Property); }
675
+            // get { return _subAcData[0].Teller; }
676
+            set { SetValue(SubAcData_4_9Property, value); }
677
+        }
678
+
679
+        public static readonly DependencyProperty SubAcData_4_9Property =
680
+            DependencyProperty.Register("SubAcData_4_9", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
681
+        public string SubAcData_4_10
682
+        {
683
+            get { return (string)GetValue(SubAcData_4_10Property); }
684
+            // get { return _subAcData[0].Anotherbr; }
685
+            set { SetValue(SubAcData_4_10Property, value); }
686
+        }
687
+
688
+        public static readonly DependencyProperty SubAcData_4_10Property =
689
+            DependencyProperty.Register("SubAcData_4_10", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
690
+        #endregion
691
+
692
+        #region 第五行
693
+        public string SubAcData_5_1
694
+        {
695
+            get { return (string)GetValue(SubAcData_5_1Property); }
696
+            //get { return _subAcData[0].TxDate; }
697
+            set { SetValue(SubAcData_5_1Property, value); }
698
+        }
699
+
700
+        public static readonly DependencyProperty SubAcData_5_1Property =
701
+            DependencyProperty.Register("SubAcData_5_1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
702
+        public string SubAcData_5_2
703
+        {
704
+            get { return (string)GetValue(SubAcData_5_2Property); }
705
+            // get { return _subAcData[0].CurNo; }
706
+            set { SetValue(SubAcData_5_2Property, value); }
707
+        }
708
+
709
+        public static readonly DependencyProperty SubAcData_5_2Property =
710
+            DependencyProperty.Register("SubAcData_5_2", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
711
+        public string SubAcData_5_3
712
+        {
713
+            get { return (string)GetValue(SubAcData_5_3Property); }
714
+            //get { return _subAcData[0].DespInfo; }
715
+            set { SetValue(SubAcData_5_3Property, value); }
716
+        }
717
+
718
+        public static readonly DependencyProperty SubAcData_5_3Property =
719
+            DependencyProperty.Register("SubAcData_5_3", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
720
+        public string SubAcData_5_4
721
+        {
722
+            get { return (string)GetValue(SubAcData_5_4Property); }
723
+            // get { return _subAcData[0].BegDate; }
724
+            set { SetValue(SubAcData_5_4Property, value); }
725
+        }
726
+
727
+        public static readonly DependencyProperty SubAcData_5_4Property =
728
+            DependencyProperty.Register("SubAcData_5_4", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
729
+        public string SubAcData_5_5
730
+        {
731
+            get { return (string)GetValue(SubAcData_5_5Property); }
732
+            //get { return _subAcData[0].DepoistType; }
733
+            set { SetValue(SubAcData_5_5Property, value); }
734
+        }
735
+
736
+        public static readonly DependencyProperty SubAcData_5_5Property =
737
+            DependencyProperty.Register("SubAcData_5_5", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
738
+        public string SubAcData_5_6
739
+        {
740
+            get { return (string)GetValue(SubAcData_5_6Property); }
741
+            // get { return _subAcData[0].Term; }
742
+            set { SetValue(SubAcData_5_6Property, value); }
743
+        }
744
+
745
+        public static readonly DependencyProperty SubAcData_5_6Property =
746
+            DependencyProperty.Register("SubAcData_5_6", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
747
+        public string SubAcData_5_7
748
+        {
749
+            get { return (string)GetValue(SubAcData_5_7Property); }
750
+            // get { return _subAcData[0].Amt; }
751
+            set { SetValue(SubAcData_5_7Property, value); }
752
+        }
753
+
754
+        public static readonly DependencyProperty SubAcData_5_7Property =
755
+            DependencyProperty.Register("SubAcData_5_7", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
756
+        public string SubAcData_5_8
757
+        {
758
+            get { return (string)GetValue(SubAcData_5_8Property); }
759
+            // get { return _subAcData[0].RateAmt; }
760
+            set { SetValue(SubAcData_5_8Property, value); }
761
+        }
762
+
763
+        public static readonly DependencyProperty SubAcData_5_8Property =
764
+            DependencyProperty.Register("SubAcData_5_8", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
765
+        public string SubAcData_5_9
766
+        {
767
+            get { return (string)GetValue(SubAcData_5_9Property); }
768
+            // get { return _subAcData[0].Teller; }
769
+            set { SetValue(SubAcData_5_9Property, value); }
770
+        }
771
+
772
+        public static readonly DependencyProperty SubAcData_5_9Property =
773
+            DependencyProperty.Register("SubAcData_5_9", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
774
+        public string SubAcData_5_10
775
+        {
776
+            get { return (string)GetValue(SubAcData_5_10Property); }
777
+            // get { return _subAcData[0].Anotherbr; }
778
+            set { SetValue(SubAcData_5_10Property, value); }
779
+        }
780
+
781
+        public static readonly DependencyProperty SubAcData_5_10Property =
782
+            DependencyProperty.Register("SubAcData_5_10", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
783
+        #endregion
784
+
785
+        #region 第六行
786
+        public string SubAcData_6_1
787
+        {
788
+            get { return (string)GetValue(SubAcData_6_1Property); }
789
+            //get { return _subAcData[0].TxDate; }
790
+            set { SetValue(SubAcData_6_1Property, value); }
791
+        }
792
+
793
+        public static readonly DependencyProperty SubAcData_6_1Property =
794
+            DependencyProperty.Register("SubAcData_6_1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
795
+        public string SubAcData_6_2
796
+        {
797
+            get { return (string)GetValue(SubAcData_6_2Property); }
798
+            // get { return _subAcData[0].CurNo; }
799
+            set { SetValue(SubAcData_6_2Property, value); }
800
+        }
801
+
802
+        public static readonly DependencyProperty SubAcData_6_2Property =
803
+            DependencyProperty.Register("SubAcData_6_2", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
804
+        public string SubAcData_6_3
805
+        {
806
+            get { return (string)GetValue(SubAcData_6_3Property); }
807
+            //get { return _subAcData[0].DespInfo; }
808
+            set { SetValue(SubAcData_6_3Property, value); }
809
+        }
810
+
811
+        public static readonly DependencyProperty SubAcData_6_3Property =
812
+            DependencyProperty.Register("SubAcData_6_3", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
813
+        public string SubAcData_6_4
814
+        {
815
+            get { return (string)GetValue(SubAcData_6_4Property); }
816
+            // get { return _subAcData[0].BegDate; }
817
+            set { SetValue(SubAcData_6_4Property, value); }
818
+        }
819
+
820
+        public static readonly DependencyProperty SubAcData_6_4Property =
821
+            DependencyProperty.Register("SubAcData_6_4", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
822
+        public string SubAcData_6_5
823
+        {
824
+            get { return (string)GetValue(SubAcData_6_5Property); }
825
+            //get { return _subAcData[0].DepoistType; }
826
+            set { SetValue(SubAcData_6_5Property, value); }
827
+        }
828
+
829
+        public static readonly DependencyProperty SubAcData_6_5Property =
830
+            DependencyProperty.Register("SubAcData_6_5", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
831
+        public string SubAcData_6_6
832
+        {
833
+            get { return (string)GetValue(SubAcData_6_6Property); }
834
+            // get { return _subAcData[0].Term; }
835
+            set { SetValue(SubAcData_6_6Property, value); }
836
+        }
837
+
838
+        public static readonly DependencyProperty SubAcData_6_6Property =
839
+            DependencyProperty.Register("SubAcData_6_6", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
840
+        public string SubAcData_6_7
841
+        {
842
+            get { return (string)GetValue(SubAcData_6_7Property); }
843
+            // get { return _subAcData[0].Amt; }
844
+            set { SetValue(SubAcData_6_7Property, value); }
845
+        }
846
+
847
+        public static readonly DependencyProperty SubAcData_6_7Property =
848
+            DependencyProperty.Register("SubAcData_6_7", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
849
+        public string SubAcData_6_8
850
+        {
851
+            get { return (string)GetValue(SubAcData_6_8Property); }
852
+            // get { return _subAcData[0].RateAmt; }
853
+            set { SetValue(SubAcData_6_8Property, value); }
854
+        }
855
+
856
+        public static readonly DependencyProperty SubAcData_6_8Property =
857
+            DependencyProperty.Register("SubAcData_6_8", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
858
+        public string SubAcData_6_9
859
+        {
860
+            get { return (string)GetValue(SubAcData_6_9Property); }
861
+            // get { return _subAcData[0].Teller; }
862
+            set { SetValue(SubAcData_6_9Property, value); }
863
+        }
864
+
865
+        public static readonly DependencyProperty SubAcData_6_9Property =
866
+            DependencyProperty.Register("SubAcData_6_9", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
867
+        public string SubAcData_6_10
868
+        {
869
+            get { return (string)GetValue(SubAcData_6_10Property); }
870
+            // get { return _subAcData[0].Anotherbr; }
871
+            set { SetValue(SubAcData_6_10Property, value); }
872
+        }
873
+
874
+        public static readonly DependencyProperty SubAcData_6_10Property =
875
+            DependencyProperty.Register("SubAcData_6_10", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
876
+        #endregion
877
+
878
+        #region 第七行
879
+        public string SubAcData_7_1
880
+        {
881
+            get { return (string)GetValue(SubAcData_7_1Property); }
882
+            //get { return _subAcData[0].TxDate; }
883
+            set { SetValue(SubAcData_7_1Property, value); }
884
+        }
885
+
886
+        public static readonly DependencyProperty SubAcData_7_1Property =
887
+            DependencyProperty.Register("SubAcData_7_1", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
888
+        public string SubAcData_7_2
889
+        {
890
+            get { return (string)GetValue(SubAcData_7_2Property); }
891
+            // get { return _subAcData[0].CurNo; }
892
+            set { SetValue(SubAcData_7_2Property, value); }
893
+        }
894
+
895
+        public static readonly DependencyProperty SubAcData_7_2Property =
896
+            DependencyProperty.Register("SubAcData_7_2", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
897
+        public string SubAcData_7_3
898
+        {
899
+            get { return (string)GetValue(SubAcData_7_3Property); }
900
+            //get { return _subAcData[0].DespInfo; }
901
+            set { SetValue(SubAcData_7_3Property, value); }
902
+        }
903
+
904
+        public static readonly DependencyProperty SubAcData_7_3Property =
905
+            DependencyProperty.Register("SubAcData_7_3", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
906
+        public string SubAcData_7_4
907
+        {
908
+            get { return (string)GetValue(SubAcData_7_4Property); }
909
+            // get { return _subAcData[0].BegDate; }
910
+            set { SetValue(SubAcData_7_4Property, value); }
911
+        }
912
+
913
+        public static readonly DependencyProperty SubAcData_7_4Property =
914
+            DependencyProperty.Register("SubAcData_7_4", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
915
+        public string SubAcData_7_5
916
+        {
917
+            get { return (string)GetValue(SubAcData_7_5Property); }
918
+            //get { return _subAcData[0].DepoistType; }
919
+            set { SetValue(SubAcData_7_5Property, value); }
920
+        }
921
+
922
+        public static readonly DependencyProperty SubAcData_7_5Property =
923
+            DependencyProperty.Register("SubAcData_7_5", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
924
+        public string SubAcData_7_6
925
+        {
926
+            get { return (string)GetValue(SubAcData_7_6Property); }
927
+            // get { return _subAcData[0].Term; }
928
+            set { SetValue(SubAcData_7_6Property, value); }
929
+        }
930
+
931
+        public static readonly DependencyProperty SubAcData_7_6Property =
932
+            DependencyProperty.Register("SubAcData_7_6", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
933
+        public string SubAcData_7_7
934
+        {
935
+            get { return (string)GetValue(SubAcData_7_7Property); }
936
+            // get { return _subAcData[0].Amt; }
937
+            set { SetValue(SubAcData_7_7Property, value); }
938
+        }
939
+
940
+        public static readonly DependencyProperty SubAcData_7_7Property =
941
+            DependencyProperty.Register("SubAcData_7_7", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
942
+        public string SubAcData_7_8
943
+        {
944
+            get { return (string)GetValue(SubAcData_7_8Property); }
945
+            // get { return _subAcData[0].RateAmt; }
946
+            set { SetValue(SubAcData_7_8Property, value); }
947
+        }
948
+
949
+        public static readonly DependencyProperty SubAcData_7_8Property =
950
+            DependencyProperty.Register("SubAcData_7_8", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
951
+        public string SubAcData_7_9
952
+        {
953
+            get { return (string)GetValue(SubAcData_7_9Property); }
954
+            // get { return _subAcData[0].Teller; }
955
+            set { SetValue(SubAcData_7_9Property, value); }
956
+        }
957
+
958
+        public static readonly DependencyProperty SubAcData_7_9Property =
959
+            DependencyProperty.Register("SubAcData_7_9", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
960
+        public string SubAcData_7_10
961
+        {
962
+            get { return (string)GetValue(SubAcData_7_10Property); }
963
+            // get { return _subAcData[0].Anotherbr; }
964
+            set { SetValue(SubAcData_7_10Property, value); }
965
+        }
966
+
967
+        public static readonly DependencyProperty SubAcData_7_10Property =
968
+            DependencyProperty.Register("SubAcData_7_10", typeof(string), typeof(DQCZFirstPage), new UIPropertyMetadata(string.Empty));
969
+        #endregion
970
+    }
971
+}

+ 1182
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/DQCZPage.xaml
File diff suppressed because it is too large
View File


+ 1757
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/BankbookTemplate/DQCZPage.xaml.cs
File diff suppressed because it is too large
View File


+ 27
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Bankbook/Interface/IBankbook.cs View File

@@ -0,0 +1,27 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Text;
5
+using Platform.Print;
6
+using TellerSystem.Communication;
7
+
8
+namespace TellerSystem.PrintTemplate.Bankbook.Interface
9
+{
10
+    /// <summary>
11
+    /// 存折打印接口
12
+    /// </summary>
13
+    public interface IBankbook
14
+    {
15
+        /// <summary>
16
+        /// 打印首页方式
17
+        /// </summary>
18
+        /// <returns></returns>
19
+        List<PrintContainer> PrintFirstPage(Message msg);
20
+
21
+        /// <summary>
22
+        /// 打印数据页
23
+        /// </summary>
24
+        /// <returns></returns>
25
+        List<PrintContainer> PrintPage(Message msg);
26
+    }
27
+}

+ 131
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/BackgroundBrush.Generic.xaml View File

@@ -0,0 +1,131 @@
1
+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2
+                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3
+                    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
4
+                    xmlns:dhcc="http://www.dhcc.com.cn"
5
+                    xmlns:local="clr-namespace:TellerSystem.PrintTemplate.PrintTemplateData"
6
+                    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
7
+                    mc:Ignorable="d">
8
+    <ImageBrush x:Key="BackgroundBrush_Print_BankBookFirstPage" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/存折首.jpg" />
9
+    <ImageBrush x:Key="BackgroundBrush_Print_BankBookLastPage" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/存折尾.jpg" />
10
+    <ImageBrush x:Key="BackgroundBrush_Print_BankBookPage" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/存折内芯.jpg" />
11
+    <ImageBrush x:Key="BackgroundBrush_Print_BankBookFirstPageDY" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/存折首-都匀.jpg" />
12
+    <ImageBrush x:Key="BackgroundBrush_Print_BankBookLastPageDY" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/存折尾-都匀.jpg" />
13
+
14
+    <ImageBrush x:Key="BackgroundBrush_Print_BankOneBookFirstPage" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/一本通首.jpg" />
15
+    <ImageBrush x:Key="BackgroundBrush_Print_BankOneBookLastPage" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/一本通尾.jpg" />
16
+    <ImageBrush x:Key="BackgroundBrush_Print_BankOneBookPage" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/一本通内芯.jpg" />
17
+
18
+    <!--  <ImageBrush x:Key="BackgroundBrush_Print_BillOfExchange" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/汇票.jpg" />  -->
19
+    <ImageBrush x:Key="BackgroundBrush_Print_BusinessVoucher" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/业务凭条.jpg" />
20
+    <ImageBrush x:Key="BackgroundBrush_Print_CashPaymentNote" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/现金交款单.jpg" />
21
+    <ImageBrush x:Key="BackgroundBrush_Print_CashPaymentNote3" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/现金缴款单.jpg" />
22
+    <ImageBrush x:Key="BackgroundBrush_Print_CashPaymentNoteQX" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/淇县现金缴款单.jpg" />
23
+    <ImageBrush x:Key="BackgroundBrush_Print_CounterfeitMoneyVoucher" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/假币收缴.jpg" />
24
+    <ImageBrush x:Key="BackgroundBrush_Print_EnterpriseRegularlyCDs" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/单位定期存单.jpg" />
25
+    <ImageBrush x:Key="BackgroundBrush_Print_EnterpriseRegularlyConfirmation" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/单位定期存款证实书.jpg" />
26
+    <!--  <ImageBrush x:Key="BackgroundBrush_Print_GuaranteeSpecialCDs" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/担保公司特种存款凭证.jpg" />  -->
27
+    <ImageBrush x:Key="BackgroundBrush_Print_Largepayment" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/大额支付.jpg" />
28
+    <ImageBrush x:Key="BackgroundBrush_Print_Micropayment" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/小额支付.jpg" />
29
+    <ImageBrush x:Key="BackgroundBrush_Print_PersonalAccountingVoucher" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/个人凭条.jpg" />
30
+    <ImageBrush x:Key="BackgroundBrush_Print_PersonalCDsRecord" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/个人存款证明.jpg" />
31
+    <ImageBrush x:Key="BackgroundBrush_Print_PersonalCDsRecordFG" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/扶沟存款证明.jpg" />
32
+    <ImageBrush x:Key="BackgroundBrush_Print_PersonalRegularlyCDs" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/储蓄存单.jpg" />
33
+    <ImageBrush x:Key="BackgroundBrush_Print_PromissoryNote" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/本票.jpg" />
34
+    <!--  <ImageBrush x:Key="BackgroundBrush_Print_TaxInvoice" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/税务发票.jpg" />  -->
35
+
36
+    <ImageBrush x:Key="BackgroundBrush_Print_JZDQCZFisrt" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/一本通1(焦作).jpg" />
37
+    <ImageBrush x:Key="BackgroundBrush_Print_JZDQCZ" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/一本通2(焦作).jpg" />
38
+    <ImageBrush x:Key="BackgroundBrush_Print_JZDQCZLast" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/一本通3(焦作).jpg" />
39
+    <ImageBrush x:Key="BackgroundBrush_Print_JZHQCZFisrt" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/储蓄存折1(焦作).jpg" />
40
+    <ImageBrush x:Key="BackgroundBrush_Print_JZHQCZ" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/储蓄存折2(焦作).jpg" />
41
+    <ImageBrush x:Key="BackgroundBrush_Print_JZHQCZLast" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/储蓄存折3(焦作).jpg" />
42
+
43
+
44
+    <!--  <ImageBrush x:Key="BackgroundBrush_Print_DHPZ" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/电汇凭证.jpg" />  -->
45
+    <ImageBrush x:Key="BackgroundBrush_Print_GSSQS" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/挂失申请书.jpg" />
46
+    <ImageBrush x:Key="BackgroundBrush_Print_GSSQS_DY" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/挂失申请书-都匀.jpg" />
47
+    <!--  <ImageBrush x:Key="BackgroundBrush_Print_JZD" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/进账单.jpg" />  -->
48
+    <ImageBrush x:Key="BackgroundBrush_Print_QKPTZM" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/取款凭条.jpg" />
49
+    <!--  <ImageBrush x:Key="BackgroundBrush_Print_SFPZ" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/收费凭证.jpg" />  -->
50
+    <ImageBrush x:Key="BackgroundBrush_Print_XJZP" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/现金支票.jpg" />
51
+    <ImageBrush x:Key="BackgroundBrush_Print_ZZZP" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/转账支票.jpg" />
52
+    <ImageBrush x:Key="BackgroundBrush_Print_CKPTZM" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/存款凭条.jpg" />
53
+    <ImageBrush x:Key="BackgroundBrush_Print_YWPTD" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/业务凭条小.jpg" />
54
+    <!--  <ImageBrush x:Key="BackgroundBrush_Print_ZHYLYJK" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/支行预留印鉴卡.jpg" />  -->
55
+    <!--  <ImageBrush x:Key="BackgroundBrush_Print_ZZDFCP" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/转账贷方传票.jpg" />  -->
56
+    <!--  <ImageBrush x:Key="BackgroundBrush_Print_ZZJFCP" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/转账借方传票.jpg" />  -->
57
+    <ImageBrush x:Key="BackgroundBrush_Print_CDHP" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/承兑汇票.jpg" />
58
+    <ImageBrush x:Key="BackgroundBrush_Print_GRZZHKPZ" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/个人转账汇款凭证.jpg" />
59
+    <ImageBrush x:Key="BackgroundBrush_Print_YJK" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/印鉴卡.jpg" />
60
+    <ImageBrush x:Key="BackgroundBrush_Print_KHSQS" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/开户申请书.jpg" />
61
+    <ImageBrush x:Key="BackgroundBrush_Print_FGKHSQS" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/扶沟开户申请书.jpg" />
62
+    <ImageBrush x:Key="BackgroundBrush_Print_KHSQS_DY" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/开户申请书-都匀.jpg" />
63
+    <ImageBrush x:Key="BackgroundBrush_Print_CKPTZM_YL" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/存款凭条_鄢陵.jpg" />
64
+    <ImageBrush x:Key="BackgroundBrush_Print_QKPTZM_YL" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/取款凭条_鄢陵.jpg" />
65
+    <ImageBrush x:Key="BackgroundBrush_Print_KHSQS_QF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/对公开户申请书-齐丰.png" />
66
+    <!--  <ImageBrush x:Key="BackgroundBrush_Print_GRWYDXMSQBSD" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/个人网上银行短信验证码申请表SD.jpg" />  -->
67
+    <!--  <ImageBrush x:Key="BackgroundBrush_Print_GEWYSQBSD" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/个人网上银行申请表SD.jpg" />  -->
68
+    <ImageBrush x:Key="BackgroundBrush_Print_GSSQSSD" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/挂失申请书SD.jpg" />
69
+    <ImageBrush x:Key="BackgroundBrush_Print_GSSQSPY" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/挂失申请书濮阳.jpg" />
70
+    <ImageBrush x:Key="BackgroundBrush_Print_GSSQSQX" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/淇县挂失申请书.jpg" />
71
+    <ImageBrush x:Key="BackgroundBrush_Print_JSQKPTSD" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/结算取款凭条SD.jpg" />
72
+    <ImageBrush x:Key="BackgroundBrush_Print_JSZZPTSD" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/结算转账凭条SD.jpg" />
73
+    <ImageBrush x:Key="BackgroundBrush_Print_KLGRYHSQSSD" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/开立个人银行账户申请表SD.jpg" />
74
+    <!--  <ImageBrush x:Key="BackgroundBrush_Print_QYWYSQBSD" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/企业网上银行申请表SD.jpg" />  -->
75
+    <ImageBrush x:Key="BackgroundBrush_Print_SDDKZSY" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/贷款证首页.jpg" />
76
+    <ImageBrush x:Key="BackgroundBrush_Print_SDDKZDEY" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/贷款证第二页.jpg" />
77
+    <ImageBrush x:Key="BackgroundBrush_Print_SDDKZWY" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/贷款证尾页.jpg" />
78
+    <ImageBrush x:Key="BackgroundBrush_Print_SDGRCKZM" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/个人存款证明SD.jpg" />
79
+    <ImageBrush x:Key="BackgroundBrush_Print_SDJCPZ" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/交存凭证.jpg" />
80
+    <ImageBrush x:Key="BackgroundBrush_Print_GRTSYWSQS" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/个人特殊业务申请书淇县.jpg" />
81
+    <ImageBrush x:Key="BackgroundBrush_Print_XZYJK" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/通用印鉴卡.jpg" />
82
+    <ImageBrush x:Key="BackgroundBrush_Print_DYYJK" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/都匀印鉴卡.jpg" />
83
+    <ImageBrush x:Key="BackgroundBrush_Print_PersonalRegularlyCDs_DY" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/储蓄存单DY.jpg" />
84
+    <ImageBrush x:Key="BackgroundBrush_Print_CQKPTZM_YG" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/存取款凭条_阳光.jpg" />
85
+    <ImageBrush x:Key="BackgroundBrush_Print_PersonalCDsRecordYG" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/阳光存款证明.jpg" />
86
+    <!--  汇通村镇  -->
87
+    <ImageBrush x:Key="BackgroundBrush_Print_PersonalRegularlyCDs_HT" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/储蓄存单HT.jpg" />
88
+    <ImageBrush x:Key="BackgroundBrush_Print_EnterpriseRegularlyCDs_HT" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/单位定期存单HT.jpg" />
89
+    <ImageBrush x:Key="BackgroundBrush_Print_EnterpriseRegularlyConfirmation_HT" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/单位定期存款证实书HT.jpg" />
90
+    <ImageBrush x:Key="BackgroundBrush_Print_CashPaymentNote_HT" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/现金缴款单HT.jpg" />
91
+    <!--  汇通村镇  -->
92
+    <!--  莱山齐丰新增  -->
93
+    <ImageBrush x:Key="BackgroundBrush_Print_CKPTZM_LSQF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/存款凭条-莱山齐丰.jpg" />
94
+    <ImageBrush x:Key="BackgroundBrush_Print_QKPTZM_LSQF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/取款凭条-莱山齐丰.jpg" />
95
+    <ImageBrush x:Key="BackgroundBrush_Print_PersonalRegularlyCDsQF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/储蓄存单QF.jpg" />
96
+    <ImageBrush x:Key="BackgroundBrush_Print_EnterpriseRegularlyConfirmationQF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/单位定期存款证实书QF.jpg" />
97
+    <ImageBrush x:Key="BackgroundBrush_Print_PersonalCDsRecordQF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/个人存款证明-莱山齐丰.jpg" />
98
+    <ImageBrush x:Key="BackgroundBrush_Print_BankBookFirstPageQF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/存折首QF.jpg" />
99
+    <ImageBrush x:Key="BackgroundBrush_Print_BankBookLastPageQF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/存折尾QF.jpg" />
100
+    <ImageBrush x:Key="BackgroundBrush_Print_BankBookPageQF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/存折内芯QF.jpg" />
101
+    <ImageBrush x:Key="BackgroundBrush_Print_CounterfeitMoneyVoucherQF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/假币收缴QF.jpg" />
102
+    <ImageBrush x:Key="BackgroundBrush_Print_QFYJK" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/齐丰印鉴卡.jpg" />
103
+    <!--  莱山齐丰新增  -->
104
+    <!--  大石桥隆丰新增  -->
105
+    <ImageBrush x:Key="BackgroundBrush_Print_PersonalRegularlyCDsLF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/储蓄存单LF.jpg" />
106
+    <ImageBrush x:Key="BackgroundBrush_Print_EnterpriseRegularlyConfirmationLF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/单位定期存款证实书LF.jpg" />
107
+    <ImageBrush x:Key="BackgroundBrush_Print_PersonalCDsRecordLF" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/个人存款证明LF.jpg" />
108
+    <ImageBrush x:Key="BackgroundBrush_Print_LFYJK" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/印鉴卡LF.jpg" />
109
+    <!--  大石桥隆丰新增  -->
110
+    <!--  长春融丰村镇  -->
111
+    <ImageBrush x:Key="BackgroundBrush_Print_CCRF_GSSQS" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/长春融丰挂失申请书.jpg" />
112
+    <ImageBrush x:Key="BackgroundBrush_Print_CCRF_JBSJPZ" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/长春融丰假币收缴凭证.jpg" />
113
+    <ImageBrush x:Key="BackgroundBrush_Print_CCRF_YJK1" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/长春融丰印鉴卡1.jpg" />
114
+    <ImageBrush x:Key="BackgroundBrush_Print_CCRF_YJK2" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/长春融丰印鉴卡2.jpg" />
115
+    <ImageBrush x:Key="BackgroundBrush_Print_CQKPTZM_RongFeng" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/个人业务交易凭证_融丰.jpg" />
116
+    <!--  长春融丰村镇  -->
117
+    <!--  新密郑银村镇  -->
118
+    <ImageBrush x:Key="BackgroundBrush_Print_XM_YJK1" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/新密印鉴卡1.jpg" />
119
+    <ImageBrush x:Key="BackgroundBrush_Print_XM_YJK2" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/新密印鉴卡2.jpg" />
120
+    <!--  新密郑银村镇  -->
121
+    <!--
122
+        村镇没有
123
+        <ImageBrush x:Key="BackgroundBrush_Print_BankBookFirstPage1" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/对账折首.jpg" />
124
+        <ImageBrush x:Key="BackgroundBrush_Print_PwdEnvelope" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/密码信封.jpg" />
125
+        <ImageBrush x:Key="BackgroundBrush_Print_PwdEnvelopeOfCyberBank" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/密码信封-网上银行.jpg" />
126
+        <ImageBrush x:Key="BackgroundBrush_Print_PwdEnvelopeOfElectronicPayment" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/密码信封-电子支付.jpg" />
127
+        <ImageBrush x:Key="BackgroundBrush_Print_TelevisionFeeReceipt" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/信广联收据.jpg" />
128
+        <ImageBrush x:Key="BackgroundBrush_Print_SQWXJJ" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/市区维修资金收据.jpg" />
129
+        <ImageBrush x:Key="BackgroundBrush_Print_XYRL" ImageSource="/TellerSystem.PrintTemplate;component/Base/Images/兴业热力收据.jpg" />
130
+    -->
131
+</ResourceDictionary>

+ 100
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/CanvasHelper.cs View File

@@ -0,0 +1,100 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Text;
5
+using System.Windows;
6
+using System.Windows.Controls;
7
+
8
+namespace TellerSystem.PrintTemplate.Base
9
+{
10
+    public static class CanvasHelper
11
+    {
12
+        #region Property
13
+        #region IsGridLayout
14
+        public static bool GetIsGridLayout(DependencyObject obj)
15
+        {
16
+            return (bool)obj.GetValue(IsGridLayoutProperty);
17
+        }
18
+
19
+        public static void SetIsGridLayout(DependencyObject obj, bool value)
20
+        {
21
+            obj.SetValue(IsGridLayoutProperty, value);
22
+        }
23
+
24
+        /// <summary>
25
+        /// 是否使用Grid布局
26
+        /// </summary>
27
+        public static readonly DependencyProperty IsGridLayoutProperty =
28
+            DependencyProperty.RegisterAttached("IsGridLayout", typeof(bool), typeof(CanvasHelper), new UIPropertyMetadata(false));
29
+        #endregion
30
+
31
+        #region InternalGrid
32
+        public static Grid GetInternalGrid(Canvas obj)
33
+        {
34
+            return (Grid)obj.GetValue(InternalGridProperty);
35
+        }
36
+
37
+        public static void SetInternalGrid(Canvas obj, Grid value)
38
+        {
39
+            obj.SetValue(InternalGridProperty, value);
40
+        }
41
+
42
+        /// <summary>
43
+        /// 内部的Grid要素
44
+        /// </summary>
45
+        private static readonly DependencyProperty InternalGridProperty =
46
+            DependencyProperty.RegisterAttached("InternalGrid", typeof(Grid), typeof(CanvasHelper), new UIPropertyMetadata(null));
47
+        #endregion
48
+
49
+        #region Offset
50
+        public static Point GetOffset(Canvas obj)
51
+        {
52
+            return (Point)obj.GetValue(OffsetProperty);
53
+        }
54
+
55
+        public static void SetOffset(Canvas obj, Point value)
56
+        {
57
+            obj.SetValue(OffsetProperty, value);
58
+        }
59
+
60
+        /// <summary>
61
+        /// 起始位置偏移
62
+        /// </summary>
63
+        public static readonly DependencyProperty OffsetProperty =
64
+            DependencyProperty.RegisterAttached("Offset", typeof(Point), typeof(CanvasHelper), new UIPropertyMetadata(new Point(0, 0)));
65
+        #endregion
66
+        #endregion
67
+
68
+        #region Method
69
+        /// <summary>
70
+        /// 刷新布局
71
+        /// </summary>
72
+        /// <param name="canvas"></param>
73
+        public static void Refresh(this Canvas canvas)
74
+        {
75
+            if (canvas == null) return;
76
+            //擒拿参数
77
+            var grid = GetInternalGrid(canvas);
78
+            if (grid == null) return;
79
+            var offset = GetOffset(canvas);
80
+            if (canvas.Children.Contains(grid)) canvas.Children.Remove(grid);
81
+            //grid.Children.Clear();
82
+            //整理布局
83
+            var items = canvas.Children.Cast<UIElement>().ToList();
84
+            foreach (var item in items)
85
+            {
86
+                if (GetIsGridLayout(item))
87
+                {
88
+                    var index = canvas.Children.IndexOf(item);
89
+                    canvas.Children.Remove(item);
90
+                    canvas.Children.Insert(index, new UIElement());
91
+                    grid.Children.Add(item);
92
+                }
93
+            }
94
+            Canvas.SetLeft(grid, offset.X);
95
+            Canvas.SetTop(grid, offset.Y);
96
+            canvas.Children.Add(grid);
97
+        }
98
+        #endregion
99
+    }
100
+}

+ 22
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/E_Seal.xaml View File

@@ -0,0 +1,22 @@
1
+<UserControl x:Class="TellerSystem.PrintTemplate.Base.E_Seal"
2
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
+             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5
+             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6
+             Name="Panel"
7
+             Width="160"
8
+             Height="96"
9
+             d:DesignHeight="300"
10
+             d:DesignWidth="300"
11
+             mc:Ignorable="d">
12
+    <Grid>
13
+        <Border x:Name="bd_seal" />
14
+        <TextBlock Name="tb_Code"
15
+                   Margin="0,30"
16
+                   HorizontalAlignment="Center"
17
+                   VerticalAlignment="Bottom"
18
+                   Foreground="Black"
19
+                   Text="电子印章占位" />
20
+        <!--  <Image Name="image_seal" />  -->
21
+    </Grid>
22
+</UserControl>

+ 201
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/E_Seal.xaml.cs View File

@@ -0,0 +1,201 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Text;
5
+using System.Windows;
6
+using System.Windows.Controls;
7
+using System.Windows.Data;
8
+using System.Windows.Documents;
9
+using System.Windows.Input;
10
+using System.Windows.Media;
11
+using System.Windows.Media.Imaging;
12
+using System.Windows.Navigation;
13
+using System.Windows.Shapes;
14
+using System.ComponentModel;
15
+using Platform.Common.RunningParameters;
16
+using Platform.Common.BasicFunctions;
17
+using Platform.Presentation.Interfaces;
18
+using TellerSystem.Communication;
19
+using TellerSystem.Communication.MessageHelper;
20
+using Platform.Print;
21
+using TellerSystem.PrintTemplate.Extension;
22
+using TellerSystem.ServiceProxy.Ext.ServiceHelper;
23
+
24
+namespace TellerSystem.PrintTemplate.Base
25
+{
26
+    /// <summary>
27
+    /// E_Seal.xaml 的交互逻辑
28
+    /// </summary>
29
+    public partial class E_Seal
30
+    {
31
+
32
+        #region static
33
+        private static Brush _brush = Brushes.Transparent;
34
+        /// <summary>
35
+        /// 是否开启电子印章
36
+        /// </summary>
37
+        public static bool HasE_Seal
38
+        {
39
+            get
40
+            {
41
+                if (_brush == Brushes.Transparent)
42
+                {
43
+                    //按照资源加载印章画刷
44
+                    _brush = RES.GetBrush("ESeal/" + LoginUserInfo.KinbrName + ".png");
45
+                }
46
+                return _brush != null;
47
+            }
48
+        }
49
+        #endregion
50
+
51
+        /// <summary>
52
+        /// 印章
53
+        /// </summary>
54
+        public E_Seal(string keyCode, bool local = true)
55
+        {
56
+            InitializeComponent();
57
+            if (DesignerProperties.GetIsInDesignMode(this)) return;
58
+            tb_Code.Text = string.Empty;
59
+            //当前环境无电子印章配置,则不处理
60
+            if (local && !HasE_Seal) return;
61
+            tb_Code.Text = keyCode;
62
+            if (local)
63
+                this.Loaded += (sender, e) =>
64
+                {
65
+                    if (bd_seal.Background != null) return;
66
+                    //加载时,默认从父对象中找PrintContainer.PrintAttributes
67
+                    var p = this.FindVisualTreeAncestor(x => x is PrintContainer) as PrintContainer;
68
+                    if (p != null)
69
+                        Print(PrintContainerExt.GetPrintElement(p));
70
+                };
71
+            string flag = TradeManagerHandle.TT_SYSCONFIG_GetConfigValueByConfigID("2ea3a7e6cfa04f89a335bf1e363295de");
72
+            if (flag == "V13" || flag == "V12" || flag == "V10" || flag == "V18" || flag == "V16" || flag == "V11" || flag == "V21" || flag == "V22" || flag == "V14" || flag == "V5" || flag == "V17")
73
+            {
74
+                if (flag == "V13")
75
+                {
76
+                    Thickness thick = new Thickness(10, 30, 10, 35);
77
+                    tb_Code.Margin = thick;
78
+                    tb_Code.SetValue(ForegroundProperty, Brushes.Red);
79
+                }
80
+                else if (flag == "V12")
81
+                {
82
+                    Thickness thick = new Thickness(10, 25, 10, 40);
83
+                    tb_Code.Margin = thick;
84
+                    Panel.Width = 172;
85
+                    Panel.Height = 122;
86
+                }
87
+                else if (flag == "V10")
88
+                {
89
+                    Thickness thick = new Thickness(10, 30, 10, 35);
90
+                    tb_Code.Margin = thick;
91
+                    tb_Code.FontSize = 10;
92
+                }
93
+                else if (flag == "V18")
94
+                {
95
+                    Thickness thick = new Thickness(10, 10, 10, 45);
96
+                    tb_Code.Margin = thick;
97
+                    tb_Code.FontSize = 14;
98
+                    tb_Code.SetValue(ForegroundProperty, Brushes.Red);
99
+                    Panel.Width = 172;
100
+                    Panel.Height = 122;
101
+                }
102
+                else if (flag == "V16")
103
+                {
104
+                    Thickness thick = new Thickness(10, 30, 10, 26);
105
+                    tb_Code.Margin = thick;
106
+                    tb_Code.FontSize = 11;
107
+                }
108
+                else if (flag == "V11")
109
+                {
110
+                    Thickness thick = new Thickness(10, 25, 10, 40);
111
+                    tb_Code.Margin = thick;
112
+                    //tb_Code.SetValue(ForegroundProperty, Brushes.Red);
113
+                    Panel.Width = 172;
114
+                    Panel.Height = 122;
115
+                }
116
+                else if (flag == "V21")
117
+                {
118
+                    Thickness thick = new Thickness(10, 30, 10, 32);
119
+                    tb_Code.Margin = thick;
120
+                    tb_Code.FontSize = 12;
121
+                    //tb_Code.SetValue(ForegroundProperty, Brushes.Red);
122
+                }
123
+                else if (flag == "V22")
124
+                {
125
+                    Thickness thick = new Thickness(10, 10, 10, 55);
126
+                    tb_Code.Margin = thick;
127
+                    tb_Code.FontSize = 14;
128
+                    tb_Code.SetValue(ForegroundProperty, Brushes.Red);
129
+                    Panel.Width = 172;
130
+                    Panel.Height = 122;
131
+                }
132
+                else if (flag == "V5")
133
+                {
134
+                    //Thickness thick = new Thickness(10, 30, 10, 26);
135
+                    // tb_Code.Margin = thick;
136
+                    tb_Code.FontSize = 10;
137
+                }
138
+                else if (flag == "V14")
139
+                {
140
+                    Thickness thick = new Thickness(10, 30, 10, 35);
141
+                    tb_Code.Margin = thick;
142
+                    tb_Code.FontSize = 10;
143
+                    tb_Code.SetValue(ForegroundProperty, Brushes.Red);
144
+                }
145
+                else if (flag == "V17")
146
+                {
147
+                    Thickness thick = new Thickness(10, 10, 10, 45);
148
+                    tb_Code.Margin = thick;
149
+                    tb_Code.FontSize = 14;
150
+                    tb_Code.SetValue(ForegroundProperty, Brushes.Red);
151
+                    Panel.Width = 172;
152
+                    Panel.Height = 122;
153
+                }
154
+            }
155
+
156
+        }
157
+
158
+        private double fontSize = -1;
159
+
160
+        /// <summary>
161
+        /// 显示标志
162
+        /// </summary>
163
+        public bool Display
164
+        {
165
+            get
166
+            {
167
+                return tb_Code.FontSize > 1;
168
+            }
169
+            set
170
+            {
171
+                if (Display == value) return;
172
+                if (!value) fontSize = tb_Code.FontSize;
173
+                tb_Code.FontSize = value ? fontSize : 1;
174
+                tb_Code.Width = value ? double.NaN : 1;
175
+            }
176
+        }
177
+
178
+        /// <summary>
179
+        /// 加载印章
180
+        /// </summary>
181
+        /// <param name="code"></param>
182
+        private void Print(PrintAttributes printAttributes)
183
+        {
184
+            //if (string.IsNullOrEmpty(business)) return;
185
+            if (printAttributes == null) return;
186
+            //加载印章信息
187
+            bd_seal.Background = _brush;
188
+            string flag = TradeManagerHandle.TT_SYSCONFIG_GetConfigValueByConfigID("2ea3a7e6cfa04f89a335bf1e363295de");
189
+            if (flag == "V21" || flag == "V22")
190
+            {
191
+                tb_Code.Text = LoginUserInfo.TradeDate.Substring(0, 4) + "." + LoginUserInfo.TradeDate.Substring(4, 2) + "." + LoginUserInfo.TradeDate.Substring(6, 2);
192
+            }
193
+            else
194
+            {
195
+                var index = tb_Code.Text.IndexOf('-');
196
+                if (index > 0)
197
+                    tb_Code.Text = tb_Code.Text.Substring(0, index);
198
+            }
199
+        }
200
+    }
201
+}

BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/一本通1(焦作).jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/一本通2(焦作).jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/一本通3(焦作).jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/一本通内芯.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/一本通尾.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/一本通首.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/业务凭条.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/业务凭条小.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人业务交易凭证_融丰.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人凭条.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人存款证明-莱山齐丰.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人存款证明.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人存款证明LF.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人存款证明SD.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人特殊业务申请书淇县.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人网上银行申请表SD.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人网上银行短信验证码申请表SD.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/个人转账汇款凭证.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/交存凭证.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/企业网上银行申请表SD.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/假币收缴.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/假币收缴QF.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存单.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存单DY.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存单HT.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存单LF.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存单QF.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存折1(焦作).jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存折2(焦作).jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/储蓄存折3(焦作).jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行临江支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行乌兰支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行兴原支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行哈萨尔支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行哈达大街支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行康宁支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行松江支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行沿江支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行源江支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行滨江支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行营业部.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行锦江支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行镇南支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/前郭县阳光村镇银行镜湖支行.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/单位定期存单.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/单位定期存单HT.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/单位定期存款证实书.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/单位定期存款证实书HT.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/单位定期存款证实书LF.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/单位定期存款证实书QF.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/印鉴卡.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/印鉴卡LF.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/取款凭条-莱山齐丰.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/取款凭条.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/取款凭条_鄢陵.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/大额支付.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存取款凭条_阳光.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折内芯.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折内芯QF.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折尾-都匀.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折尾.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折尾QF.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折首-都匀.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折首.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存折首QF.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存款凭条-莱山齐丰.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存款凭条.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/存款凭条_鄢陵.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/对公开户申请书-齐丰.png View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/小额支付.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/开户申请书-都匀.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/开户申请书.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/开立个人银行账户申请表SD.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/扶沟存款证明.jpg View File


BIN
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/扶沟开户申请书.jpg View File


+ 0
- 0
ant-design-pro-vue3/src/views/front/develop/PrintTemplate/Base/Images/承兑汇票.jpg View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save