apply-clients 3.4.2-FuGu-4 → 3.4.2-FuGu-6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/build/dev-server.js +119 -119
  2. package/dist-android/static/doc.jpg +0 -0
  3. package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  4. package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  5. package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  6. package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  7. package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
  8. package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  9. package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  10. package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  11. package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  12. package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  13. package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  14. package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  15. package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  16. package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  17. package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  18. package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  19. package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  20. package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  21. package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  22. package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  23. package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  24. package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  25. package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  26. package/dist-android/static/imgerror.jpg +0 -0
  27. package/dist-android/static/newStyle/clear.png +0 -0
  28. package/dist-android/static/newStyle/fife.png +0 -0
  29. package/dist-android/static/newStyle/hidden.png +0 -0
  30. package/dist-android/static/newStyle/label-clear.png +0 -0
  31. package/dist-android/static/newStyle/left-img.png +0 -0
  32. package/dist-android/static/newStyle/list_ok.png +0 -0
  33. package/dist-android/static/newStyle/login-check.png +0 -0
  34. package/dist-android/static/newStyle/login-con.png +0 -0
  35. package/dist-android/static/newStyle/login-do.gif +0 -0
  36. package/dist-android/static/newStyle/login-f.png +0 -0
  37. package/dist-android/static/newStyle/login-info.png +0 -0
  38. package/dist-android/static/newStyle/login-left.png +0 -0
  39. package/dist-android/static/newStyle/login-org.png +0 -0
  40. package/dist-android/static/newStyle/login-pwd.png +0 -0
  41. package/dist-android/static/newStyle/login-user.png +0 -0
  42. package/dist-android/static/newStyle/loginbg.gif +0 -0
  43. package/dist-android/static/newStyle/loginbg1280.gif +0 -0
  44. package/dist-android/static/newStyle/loginbg1366.gif +0 -0
  45. package/dist-android/static/newStyle/setting.png +0 -0
  46. package/dist-android/static/newStyle/setting1.png +0 -0
  47. package/dist-android/static/newStyle/shirk.png +0 -0
  48. package/dist-android/static/newStyle/stretch_bottom.png +0 -0
  49. package/dist-android/static/newStyle/stretch_left.png +0 -0
  50. package/dist-android/static/newStyle/stretch_right.png +0 -0
  51. package/dist-android/static/newStyle/stretch_top.png +0 -0
  52. package/dist-android/static/newStyle/system-off.png +0 -0
  53. package/dist-android/static/pdf.jpg +0 -0
  54. package/package.json +115 -115
  55. package/src/App.vue +20 -20
  56. package/src/apply.js +75 -75
  57. package/src/applyAndroid.js +25 -25
  58. package/src/components/product/ApplyCharge/printCharge.vue +142 -142
  59. package/src/components/product/Process/ExplorationSelect.vue +401 -401
  60. package/src/components/product/Process/Processes/chargeManagement.vue +634 -634
  61. package/src/components/product/Process/Service/ServiceControl.vue +1241 -1241
  62. package/src/components/product/Supervisory/SupervisoryControl.vue +110 -100
  63. package/src/components/product/Supervisory/SupervisoryList.vue +237 -233
  64. package/src/components/product/Supervisory/SupervisoryhCart.vue +110 -110
  65. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  66. package/src/dingding.js +20 -20
package/src/App.vue CHANGED
@@ -1,20 +1,20 @@
1
- <template>
2
- <div>
3
- <app-base class="bg">
4
- <div class='flex'>
5
- <article>
6
- <route :comp="{name: 'login'}"></route>
7
- </article>
8
- </div>
9
- </app-base>
10
- </div>
11
- </template>
12
-
13
- <script>
14
-
15
-
16
- export default {
17
-
18
-
19
- }
20
- </script>
1
+ <template>
2
+ <div>
3
+ <app-base class="bg">
4
+ <div class='flex'>
5
+ <article>
6
+ <route :comp="{name: 'login'}"></route>
7
+ </article>
8
+ </div>
9
+ </app-base>
10
+ </div>
11
+ </template>
12
+
13
+ <script>
14
+
15
+
16
+ export default {
17
+
18
+
19
+ }
20
+ </script>
package/src/apply.js CHANGED
@@ -1,75 +1,75 @@
1
- import Vue from 'vue'
2
- Vue.config.silent = true
3
- import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
4
- import ApplyLoadParams from './stores/ApplyLoadParams'
5
- /** ****************服务插件*********************/
6
-
7
- export default function () {
8
- Vue.use(ApplyGetSaleParam)
9
- Vue.use(ApplyLoadParams)
10
- /** ***************************报建模块*********************************/
11
- /** 报建流程业务 **/
12
- // 报建流程业务总入口
13
- Vue.component('exploration-user', (resolve) => { require(['./components/product/Process/ExplorationUser'], resolve) })
14
- // 报建流程业务总入口页面list布局
15
- Vue.component('exploration-select', (resolve) => { require(['./components/product/Process/ExplorationSelect'], resolve) })
16
- // 业务tab(control层)页
17
- Vue.component('service-control', (resolve) => { require(['./components/product/Process/Service/ServiceControl'], resolve) })
18
- // 公共业务显示(view层)页
19
- Vue.component('service-view', (resolve) => { require(['./components/product/ServiceView'], resolve) })
20
- Vue.component('onetomany', (resolve) => { require(['./components/product/Onetomany'], resolve) })
21
- // 显示退回理由tab页
22
- Vue.component('show-back-reason', (resolve) => { require(['./components/product/Process/Service/ShowBackReason'], resolve) })
23
-
24
- /** 报建监控业务 **/
25
- // 流程监控入口页
26
- Vue.component('supervisory-control', (resolve) => { require(['./components/product/Supervisory/SupervisoryControl'], resolve) })
27
- // 流程监控列表页
28
- Vue.component('supervisory-list', (resolve) => { require(['./components/product/Supervisory/SupervisoryList'], resolve) })
29
- // 业务tab(control层)页
30
- Vue.component('supervisory-service-control', (resolve) => { require(['./components/product/Supervisory/Service/SupervisoryServiceControl'], resolve) })
31
- // 流程列表页
32
- Vue.component('supervisory-chart', (resolve) => { require(['./components/product/Supervisory/SupervisoryhCart'], resolve) })
33
-
34
- /** 报建功能业务 **/
35
- // 报建功能业务总入口
36
- Vue.component('install-function', (resolve) => { require(['./components/product/Function/InstallFunction'], resolve) })
37
- // 报建功能工程列表
38
- Vue.component('installinfoselect', (resolve) => { require(['./components/product/Function/InstallInfoSelect'], resolve) })
39
- // 报建菜单页面控制层
40
- Vue.component('function-service-control', (resolve) => { require(['./components/product/Function/Service/FunctionServiceControl'], resolve) })
41
-
42
- /** 预约报建 **/
43
- // Vue.component('order-apply', (resolve) => { require(['./components/product/Order/OrderApply'], resolve) })
44
- // Vue.component('order-apply-list', (resolve) => { require(['./components/product/Order/OrderApplyList'], resolve) })
45
- // Vue.component('order-message', (resolve) => { require(['./components/product/Order/OrderMessage'], resolve) })
46
-
47
- // 终止报建页面入口
48
- Vue.component('stop-apply', (resolve) => { require(['./components/product/Stop/StopApply'], resolve) })
49
- Vue.component('stop-apply-list', (resolve) => { require(['./components/product/Stop/StopApplyList'], resolve) })
50
-
51
- /** 报建收费记录 **/
52
- Vue.component('apply-charge-search', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeSearch'], resolve) })
53
- Vue.component('apply-charge-list', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeList'], resolve) })
54
- Vue.component('apply-print-charge', (resolve) => { require(['./components/product/ApplyCharge/printCharge'], resolve) })
55
-
56
- // 地址管理
57
- Vue.component('apply-address-userinfo-management', (resolve) => { require(['./components/product/Process/Processes/addressAndUserinfoManagement'], resolve) })
58
- // 施工安装明细
59
- Vue.component('installation-details', (resolve) => { require(['./components/product/Process/Processes/InstallationDetails'], resolve) })
60
- // 收费管理
61
- Vue.component('apply-charge-management', (resolve) => { require(['./components/product/Process/Processes/chargeManagement'], resolve) })
62
-
63
- // 补充协议
64
- Vue.component('supplemental-agreement', (resolve) => { require(['./components/product/Process/Processes/supplementalAgreement'], resolve) })
65
- // 选择用户信息
66
- Vue.component('select-userinfo', (resolve) => { require(['./components/product/Process/Processes/selectUserinfo'], resolve) })
67
- // 选择报建项目
68
- Vue.component('select-apply', (resolve) => { require(['./components/product/Process/Processes/selectApply'], resolve) })
69
- // 设备管理
70
- Vue.component('apply-devices-management', (resolve) => { require(['./components/product/Process/Processes/devicesManagement'], resolve) })
71
-
72
- /** VueUtils **/
73
- Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
74
- Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/HighMeter'], resolve) })
75
- }
1
+ import Vue from 'vue'
2
+ Vue.config.silent = true
3
+ import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
4
+ import ApplyLoadParams from './stores/ApplyLoadParams'
5
+ /** ****************服务插件*********************/
6
+
7
+ export default function () {
8
+ Vue.use(ApplyGetSaleParam)
9
+ Vue.use(ApplyLoadParams)
10
+ /** ***************************报建模块*********************************/
11
+ /** 报建流程业务 **/
12
+ // 报建流程业务总入口
13
+ Vue.component('exploration-user', (resolve) => { require(['./components/product/Process/ExplorationUser'], resolve) })
14
+ // 报建流程业务总入口页面list布局
15
+ Vue.component('exploration-select', (resolve) => { require(['./components/product/Process/ExplorationSelect'], resolve) })
16
+ // 业务tab(control层)页
17
+ Vue.component('service-control', (resolve) => { require(['./components/product/Process/Service/ServiceControl'], resolve) })
18
+ // 公共业务显示(view层)页
19
+ Vue.component('service-view', (resolve) => { require(['./components/product/ServiceView'], resolve) })
20
+ Vue.component('onetomany', (resolve) => { require(['./components/product/Onetomany'], resolve) })
21
+ // 显示退回理由tab页
22
+ Vue.component('show-back-reason', (resolve) => { require(['./components/product/Process/Service/ShowBackReason'], resolve) })
23
+
24
+ /** 报建监控业务 **/
25
+ // 流程监控入口页
26
+ Vue.component('supervisory-control', (resolve) => { require(['./components/product/Supervisory/SupervisoryControl'], resolve) })
27
+ // 流程监控列表页
28
+ Vue.component('supervisory-list', (resolve) => { require(['./components/product/Supervisory/SupervisoryList'], resolve) })
29
+ // 业务tab(control层)页
30
+ Vue.component('supervisory-service-control', (resolve) => { require(['./components/product/Supervisory/Service/SupervisoryServiceControl'], resolve) })
31
+ // 流程列表页
32
+ Vue.component('supervisory-chart', (resolve) => { require(['./components/product/Supervisory/SupervisoryhCart'], resolve) })
33
+
34
+ /** 报建功能业务 **/
35
+ // 报建功能业务总入口
36
+ Vue.component('install-function', (resolve) => { require(['./components/product/Function/InstallFunction'], resolve) })
37
+ // 报建功能工程列表
38
+ Vue.component('installinfoselect', (resolve) => { require(['./components/product/Function/InstallInfoSelect'], resolve) })
39
+ // 报建菜单页面控制层
40
+ Vue.component('function-service-control', (resolve) => { require(['./components/product/Function/Service/FunctionServiceControl'], resolve) })
41
+
42
+ /** 预约报建 **/
43
+ // Vue.component('order-apply', (resolve) => { require(['./components/product/Order/OrderApply'], resolve) })
44
+ // Vue.component('order-apply-list', (resolve) => { require(['./components/product/Order/OrderApplyList'], resolve) })
45
+ // Vue.component('order-message', (resolve) => { require(['./components/product/Order/OrderMessage'], resolve) })
46
+
47
+ // 终止报建页面入口
48
+ Vue.component('stop-apply', (resolve) => { require(['./components/product/Stop/StopApply'], resolve) })
49
+ Vue.component('stop-apply-list', (resolve) => { require(['./components/product/Stop/StopApplyList'], resolve) })
50
+
51
+ /** 报建收费记录 **/
52
+ Vue.component('apply-charge-search', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeSearch'], resolve) })
53
+ Vue.component('apply-charge-list', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeList'], resolve) })
54
+ Vue.component('apply-print-charge', (resolve) => { require(['./components/product/ApplyCharge/printCharge'], resolve) })
55
+
56
+ // 地址管理
57
+ Vue.component('apply-address-userinfo-management', (resolve) => { require(['./components/product/Process/Processes/addressAndUserinfoManagement'], resolve) })
58
+ // 施工安装明细
59
+ Vue.component('installation-details', (resolve) => { require(['./components/product/Process/Processes/InstallationDetails'], resolve) })
60
+ // 收费管理
61
+ Vue.component('apply-charge-management', (resolve) => { require(['./components/product/Process/Processes/chargeManagement'], resolve) })
62
+
63
+ // 补充协议
64
+ Vue.component('supplemental-agreement', (resolve) => { require(['./components/product/Process/Processes/supplementalAgreement'], resolve) })
65
+ // 选择用户信息
66
+ Vue.component('select-userinfo', (resolve) => { require(['./components/product/Process/Processes/selectUserinfo'], resolve) })
67
+ // 选择报建项目
68
+ Vue.component('select-apply', (resolve) => { require(['./components/product/Process/Processes/selectApply'], resolve) })
69
+ // 设备管理
70
+ Vue.component('apply-devices-management', (resolve) => { require(['./components/product/Process/Processes/devicesManagement'], resolve) })
71
+
72
+ /** VueUtils **/
73
+ Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
74
+ Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/HighMeter'], resolve) })
75
+ }
@@ -1,25 +1,25 @@
1
- import Vue from 'vue'
2
- import { all } from 'vue-client'
3
- Vue.config.silent = true
4
- import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
5
- import ApplyLoadParams from './stores/ApplyLoadParams'
6
- /** ****************服务插件*********************/
7
-
8
- export default function () {
9
- Vue.use(ApplyGetSaleParam)
10
- Vue.use(ApplyLoadParams)
11
- /** ***************************报建模块*********************************/
12
- // 报建 总入口
13
- Vue.component('app-exploration-user', (resolve) => { require(['./components/android/Process/AppExplorationUser'], resolve) })
14
- Vue.component('app-service-control', (resolve) => { require(['./components/android/Process/AppServiceControl'], resolve) })
15
- Vue.component('app-process-supervisory', (resolve) => { require(['./components/android/Supervisory/AppProcessSupervisory'], resolve) })
16
- Vue.component('app-supervisory-cart', (resolve) => { require(['./components/android/Supervisory/AppSupervisoryCart'], resolve) })
17
-
18
- Vue.component('app-take-pic', (resolve) => { require(['./components/android/AppTakePic'], resolve) })
19
- Vue.component('app-service-view', (resolve) => { require(['./components/android/AppServiceView'], resolve) })
20
- Vue.component('app-onetomany', (resolve) => { require(['./components/android/AppOnetomany'], resolve) })
21
- Vue.component('task-graph', (resolve) => { require(['./components/android/TaskGraph'], resolve) })
22
- Vue.component('app-sign', (resolve) => { require(['./components/android/AppSign'], resolve) })
23
-
24
- Vue.component('app-installation-details', (resolve) => { require(['./components/android/Process/Processes/AppInstallationDetails'], resolve) })
25
- }
1
+ import Vue from 'vue'
2
+ import { all } from 'vue-client'
3
+ Vue.config.silent = true
4
+ import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
5
+ import ApplyLoadParams from './stores/ApplyLoadParams'
6
+ /** ****************服务插件*********************/
7
+
8
+ export default function () {
9
+ Vue.use(ApplyGetSaleParam)
10
+ Vue.use(ApplyLoadParams)
11
+ /** ***************************报建模块*********************************/
12
+ // 报建 总入口
13
+ Vue.component('app-exploration-user', (resolve) => { require(['./components/android/Process/AppExplorationUser'], resolve) })
14
+ Vue.component('app-service-control', (resolve) => { require(['./components/android/Process/AppServiceControl'], resolve) })
15
+ Vue.component('app-process-supervisory', (resolve) => { require(['./components/android/Supervisory/AppProcessSupervisory'], resolve) })
16
+ Vue.component('app-supervisory-cart', (resolve) => { require(['./components/android/Supervisory/AppSupervisoryCart'], resolve) })
17
+
18
+ Vue.component('app-take-pic', (resolve) => { require(['./components/android/AppTakePic'], resolve) })
19
+ Vue.component('app-service-view', (resolve) => { require(['./components/android/AppServiceView'], resolve) })
20
+ Vue.component('app-onetomany', (resolve) => { require(['./components/android/AppOnetomany'], resolve) })
21
+ Vue.component('task-graph', (resolve) => { require(['./components/android/TaskGraph'], resolve) })
22
+ Vue.component('app-sign', (resolve) => { require(['./components/android/AppSign'], resolve) })
23
+
24
+ Vue.component('app-installation-details', (resolve) => { require(['./components/android/Process/Processes/AppInstallationDetails'], resolve) })
25
+ }
@@ -1,142 +1,142 @@
1
- <template>
2
- <style id="printChargeStyle">
3
- td{
4
- height: 30px;
5
- text-align: center;
6
- }
7
- table{
8
- margin: auto;
9
- /*width: 100%;*/
10
- border-collapse:collapse;
11
- border: 1px solid black;
12
- }
13
- h1,h2,h3,h4,h5,h6 {
14
- text-align: center;
15
- }
16
- .orgs {
17
- border-bottom: 2px solid;
18
- padding: 5px;
19
- }
20
- .date {
21
- float: left;
22
- padding-left: 10px;
23
- }
24
- .status {
25
- float: right;
26
- padding-right: 10px;
27
- }
28
- .seal {
29
- position: absolute;
30
- right: 100px;
31
- top: 120px;
32
- width: 150px;
33
- height: 150px;
34
- /*opacity: 0.5;*/
35
- z-index: -1;
36
- }
37
- </style>
38
- <div id="printCharge">
39
- <h4>
40
- <span class="orgs">
41
- {{orgs}}统一收据
42
- </span>
43
- </h4>
44
- <table border="1" width="100%">
45
- <tr>
46
- <td colspan="2" style="border: none">
47
- 开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
48
- </td>
49
- <td colspan="2" style="border: none">
50
- 收据编码:{{ charge.f_charge_number }}
51
- </td>
52
- <td colspan="2" style="border: none">
53
- 状态:{{ charge.f_charge_status }}
54
- </td>
55
- </tr>
56
- <tr>
57
- <td style="width: 17%">用户姓名</td>
58
- <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
59
- <td style="width: 17%">用户编号</td>
60
- <td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
61
- </tr>
62
- <tr>
63
- <td>用户地址</td>
64
- <td colspan="5">{{ selectdata.f_address }}</td>
65
- </tr>
66
- <tr>
67
- <td>收款项目</td>
68
- <td colspan="2">{{ charge.f_payment_term }}</td>
69
- <td>收款方式</td>
70
- <td colspan="2">{{ charge.f_payment_method }}</td>
71
- </tr>
72
- <tr>
73
- <td>金额</td>
74
- <td colspan="2">{{ charge.f_charge_money }}</td>
75
- <td>金额大写</td>
76
- <td colspan="2">{{ charge.f_amount_words }}</td>
77
- </tr>
78
- <tr>
79
- <td>收款人</td>
80
- <td colspan="2">{{ charge.f_charge_collectors }}</td>
81
- <td>销售方(章)</td>
82
- <td colspan="2"></td>
83
- </tr>
84
- <tr>
85
- <td>备&emsp;&emsp;注</td>
86
- <td colspan="5">{{ charge.f_charge_remarks }}</td>
87
- </tr>
88
- <tr>
89
- <td colspan="6">
90
- 请持此收据到{{orgs}}营业厅换取发票
91
- </td>
92
- </tr>
93
- </table>
94
- <img class="seal" border="0" :src="src" alt="">
95
- </div>
96
-
97
- <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
98
- top='20' left='30' width='100%' height='100%'>
99
- </print-element>
100
- </template>
101
-
102
- <script>
103
- import { isEmpty } from '../../Util'
104
- Date.prototype.Format = function (fmt) {
105
- var o = {
106
- "M+": this.getMonth() + 1, //月份
107
- "d+": this.getDate(), //日
108
- "H+": this.getHours(), //小时
109
- "m+": this.getMinutes(), //分
110
- "s+": this.getSeconds(), //秒
111
- "q+": Math.floor((this.getMonth() + 3) / 3), //季度
112
- "S": this.getMilliseconds() //毫秒
113
- };
114
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
115
- for (var k in o)
116
- if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
117
- return fmt;
118
- }
119
- export default {
120
- title: '打印收费票据',
121
- props: ['selectdata', 'charge'],
122
- data () {
123
- return {}
124
- },
125
- ready () {
126
- },
127
- methods: {
128
- },
129
- computed: {
130
- orgs () {
131
- return this.$login.f.orgs
132
- },
133
- src () {
134
- // return require(`./img/${this.$login.f.number}.png`)
135
- }
136
- }
137
- }
138
- </script>
139
-
140
- <style scoped>
141
-
142
- </style>
1
+ <template>
2
+ <style id="printChargeStyle">
3
+ td{
4
+ height: 30px;
5
+ text-align: center;
6
+ }
7
+ table{
8
+ margin: auto;
9
+ /*width: 100%;*/
10
+ border-collapse:collapse;
11
+ border: 1px solid black;
12
+ }
13
+ h1,h2,h3,h4,h5,h6 {
14
+ text-align: center;
15
+ }
16
+ .orgs {
17
+ border-bottom: 2px solid;
18
+ padding: 5px;
19
+ }
20
+ .date {
21
+ float: left;
22
+ padding-left: 10px;
23
+ }
24
+ .status {
25
+ float: right;
26
+ padding-right: 10px;
27
+ }
28
+ .seal {
29
+ position: absolute;
30
+ right: 100px;
31
+ top: 120px;
32
+ width: 150px;
33
+ height: 150px;
34
+ /*opacity: 0.5;*/
35
+ z-index: -1;
36
+ }
37
+ </style>
38
+ <div id="printCharge">
39
+ <h4>
40
+ <span class="orgs">
41
+ {{orgs}}统一收据
42
+ </span>
43
+ </h4>
44
+ <table border="1" width="100%">
45
+ <tr>
46
+ <td colspan="2" style="border: none">
47
+ 开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
48
+ </td>
49
+ <td colspan="2" style="border: none">
50
+ 收据编码:{{ charge.f_charge_number }}
51
+ </td>
52
+ <td colspan="2" style="border: none">
53
+ 状态:{{ charge.f_charge_status }}
54
+ </td>
55
+ </tr>
56
+ <tr>
57
+ <td style="width: 17%">用户姓名</td>
58
+ <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
59
+ <td style="width: 17%">用户编号</td>
60
+ <td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
61
+ </tr>
62
+ <tr>
63
+ <td>用户地址</td>
64
+ <td colspan="5">{{ selectdata.f_address }}</td>
65
+ </tr>
66
+ <tr>
67
+ <td>收款项目</td>
68
+ <td colspan="2">{{ charge.f_payment_term }}</td>
69
+ <td>收款方式</td>
70
+ <td colspan="2">{{ charge.f_payment_method }}</td>
71
+ </tr>
72
+ <tr>
73
+ <td>金额</td>
74
+ <td colspan="2">{{ charge.f_charge_money }}</td>
75
+ <td>金额大写</td>
76
+ <td colspan="2">{{ charge.f_amount_words }}</td>
77
+ </tr>
78
+ <tr>
79
+ <td>收款人</td>
80
+ <td colspan="2">{{ charge.f_charge_collectors }}</td>
81
+ <td>销售方(章)</td>
82
+ <td colspan="2"></td>
83
+ </tr>
84
+ <tr>
85
+ <td>备&emsp;&emsp;注</td>
86
+ <td colspan="5">{{ charge.f_charge_remarks }}</td>
87
+ </tr>
88
+ <tr>
89
+ <td colspan="6">
90
+ 请持此收据到{{orgs}}营业厅换取发票
91
+ </td>
92
+ </tr>
93
+ </table>
94
+ <img class="seal" border="0" :src="src" alt="">
95
+ </div>
96
+
97
+ <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
98
+ top='20' left='30' width='100%' height='100%'>
99
+ </print-element>
100
+ </template>
101
+
102
+ <script>
103
+ import { isEmpty } from '../../Util'
104
+ Date.prototype.Format = function (fmt) {
105
+ var o = {
106
+ "M+": this.getMonth() + 1, //月份
107
+ "d+": this.getDate(), //日
108
+ "H+": this.getHours(), //小时
109
+ "m+": this.getMinutes(), //分
110
+ "s+": this.getSeconds(), //秒
111
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
112
+ "S": this.getMilliseconds() //毫秒
113
+ };
114
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
115
+ for (var k in o)
116
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
117
+ return fmt;
118
+ }
119
+ export default {
120
+ title: '打印收费票据',
121
+ props: ['selectdata', 'charge'],
122
+ data () {
123
+ return {}
124
+ },
125
+ ready () {
126
+ },
127
+ methods: {
128
+ },
129
+ computed: {
130
+ orgs () {
131
+ return this.$login.f.orgs
132
+ },
133
+ src () {
134
+ // return require(`./img/${this.$login.f.number}.png`)
135
+ }
136
+ }
137
+ }
138
+ </script>
139
+
140
+ <style scoped>
141
+
142
+ </style>