apply-clients 7.1.36-1 → 7.1.36-yuchuan-2

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 (62) hide show
  1. package/build/dev-server.js +8 -2
  2. package/dist-android.7z +0 -0
  3. package/dist.7z +0 -0
  4. package/package.json +1 -1
  5. package/rebel.xml +16 -0
  6. package/src/AndroidApp.vue +35 -35
  7. package/src/apply.js +31 -4
  8. package/src/applyAndroid.js +83 -76
  9. package/src/components/android/AppSign.vue +13 -10
  10. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  11. package/src/components/android/Process/AppServiceControl.vue +3 -3
  12. package/src/components/android/Process/Processes/AppChaiChuInfo.vue +546 -0
  13. package/src/components/android/Process/Processes/AppDevicesManagement.vue +2 -1
  14. package/src/components/android/Process/Processes/AppInstallationDetails.vue +69 -20
  15. package/src/components/android/Process/Processes/newAppDevicesManagement.vue +2 -1
  16. package/src/components/android/Process/Processes/newAppInstallationDetails.vue +5 -5
  17. package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -298
  18. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +432 -0
  19. package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -0
  20. package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -0
  21. package/src/components/android/Task/UpBuild/UpJianLi.vue +98 -95
  22. package/src/components/product/ApplyCharge/ApplyChargeList.vue +27 -0
  23. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +198 -0
  24. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue +30 -0
  25. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +235 -0
  26. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +323 -0
  27. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -0
  28. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -0
  29. package/src/components/product/ApplyGuanXian/TabButton.vue +157 -0
  30. package/src/components/product/ApplyGuanXian/Tabs.vue +67 -0
  31. package/src/components/product/Function/InstallInfoSelect.vue +370 -370
  32. package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
  33. package/src/components/product/Ignition/IgnitionList.vue +236 -232
  34. package/src/components/product/Ignition/IgnitionListManage.vue +69 -28
  35. package/src/components/product/Ignition/IgnitionRecord.vue +56 -17
  36. package/src/components/product/List/ShowDevices.vue +279 -277
  37. package/src/components/product/Print/OrderPrint/printChaiChuOrder.vue +260 -0
  38. package/src/components/product/Process/ExplorationSelect.vue +581 -566
  39. package/src/components/product/Process/ExplorationUser.vue +158 -155
  40. package/src/components/product/Process/NewExplorationUser.vue +184 -0
  41. package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -0
  42. package/src/components/product/Process/Processes/InstallationDetails.vue +86 -33
  43. package/src/components/product/Process/Processes/Print/printCharge.vue +5 -1
  44. package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -221
  45. package/src/components/product/Process/Processes/Print/printPaymentSubject.vue +170 -0
  46. package/src/components/product/Process/Processes/chargeManagement.vue +24 -6
  47. package/src/components/product/Process/Processes/devicesManagement.vue +2 -1
  48. package/src/components/product/Process/Processes/newInstallationDetails.vue +3 -3
  49. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -0
  50. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  51. package/src/components/product/Process/Service/ServiceControl.vue +178 -16
  52. package/src/components/product/Report/ReportItems.vue +79 -0
  53. package/src/components/product/Report/apply-stair-anzhuang.vue +361 -0
  54. package/src/components/product/Report/apply-stair-kaifa.vue +138 -0
  55. package/src/components/product/Report/apply-stair-tongqi.vue +137 -0
  56. package/src/components/product/Report/apply-stair-wtongqi.vue +138 -0
  57. package/src/components/product/ServiceView.vue +644 -632
  58. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +594 -551
  59. package/src/components/product/Supervisory/SupervisoryList.vue +78 -26
  60. package/src/main.js +27 -27
  61. package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  62. package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
@@ -1,221 +1,224 @@
1
- <template>
2
- <style id="printPaymentApprovalStyle">
3
- td {
4
- height: 60px;
5
- text-align: center;
6
- }
7
-
8
- table {
9
- margin: auto;
10
- width: 100%;
11
- border-collapse: collapse;
12
- border: 1px solid black;
13
- }
14
- h1, h2, h3, h4, h5, h6 {
15
- text-align: center;
16
- }
17
-
18
- .orgs {
19
- border-bottom: 2px solid;
20
- padding: 5px;
21
- }
22
-
23
- .date {
24
- float: left;
25
- padding-left: 10px;
26
- }
27
-
28
- .status {
29
- float: right;
30
- padding-right: 10px;
31
- }
32
-
33
- .seal {
34
- position: absolute;
35
- right: 100px;
36
- top: 120px;
37
- width: 150px;
38
- height: 150px;
39
- /*opacity: 0.5;*/
40
- z-index: -1;
41
- }
42
- </style>
43
- <div style="margin-bottom: 20px" class="form-group select-overspread">
44
- <label class="control-label-justify control-label col-sm-10">打印付款审批单</label>
45
- <div class="col-sm-2">
46
- <button class="button_search button_spacing" type="button" style="width: max-content;position: absolute"
47
- @click="openModal()">打印预览
48
- </button>
49
- </div>
50
- </div>
51
- <modal v-if="showModal" :show.sync="showModal" title="打印预览" v-ref:modal large backdrop="false">
52
- <header slot="modal-header" class="modal-header">
53
- <button type="button" class="close" @click="colseModal()"><span>&times;</span></button>
54
- <h4 class="modal-title">打印预览</h4>
55
- </header>
56
- <article slot="modal-body" class="modal-body">
57
- <div id="printPaymentApproval">
58
- <h4>
59
- 榆 林 榆 川 天 然 气 有 限 责 任 公 司
60
- </h4>
61
- <h2>
62
- 付 款 审 批 单
63
- </h2>
64
- <table style="border: 0px solid black;">
65
- <tr>
66
- <td style="height: 30px;">{{ new Date().Format('yyyy年MM月dd日') }}</td>
67
- <td style="height: 30px;">金额:{{ selectdata.f_due_money }}元</td>
68
- </tr>
69
- </table>
70
- <table border="1" width="100%">
71
- <tr>
72
- <td style="width: 17%">收款单位名称:</td>
73
- <td colspan="2" style="border: none">
74
- {{ selectdata.f_paper_name }}
75
- </td>
76
- <td style="width: 17%">付 款 方 式:</td>
77
- <td colspan="2" style="border: none">
78
- {{ selectdata.f_payment_method }}
79
- </td>
80
- </tr>
81
- <tr>
82
- <td style="width: 17%">开 银 行:</td>
83
- <td colspan="2" style="width: 33%">{{ selectdata.f_bank }}</td>
84
- <td style="width: 17%">账&emsp;&emsp;号:</td>
85
- <td colspan="2" style="width: 33%">{{ selectdata.f_paper_account }}</td>
86
- </tr>
87
- <tr>
88
- <td>付 事 由:</td>
89
- <td colspan="5">{{ selectdata.f_pay_remark }}</td>
90
- </tr>
91
- <tr>
92
- <td>付款金额(元、大写):</td>
93
- <td colspan="2">{{ selectdata.f_amount_words }}</td>
94
- <td>付款金额(元、小写):</td>
95
- <td colspan="2">{{ selectdata.f_due_money }}</td>
96
- </tr>
97
- <tr>
98
- <td style="width: 17%">备&emsp;&emsp;注:</td>
99
- <td colspan="2" style="width: 33%">{{ selectdata.f_payment_remarks }}</td>
100
- <td style="width: 17%">附件张数:</td>
101
- <td colspan="2" style="width: 33%">{{ selectdata.f_attachment_count }}</td>
102
- </tr>
103
- </table>
104
- <table style="border: 0px solid black;">
105
- <tr>
106
- <td>财务部门负责人:</td>
107
- <td>&emsp;&emsp;</td>
108
- <td>部门负责人:</td>
109
- <td>&emsp;&emsp;</td>
110
- <td>经办人:</td>
111
- <td>&emsp;&emsp;</td>
112
- </tr>
113
- <tr>
114
- <td>单位负责人:</td>
115
- <td>&emsp;&emsp;</td>
116
- <td>财务主管:</td>
117
- <td>&emsp;&emsp;</td>
118
- <td>分管领导:</td>
119
- <td>&emsp;&emsp;</td>
120
- </tr>
121
- </table>
122
- </div>
123
- </article>
124
- <footer slot="modal-footer" class="modal-footer">
125
- <button type="button" class="btn btn-primary" @click="print()">打印</button>
126
- </footer>
127
- </modal>
128
-
129
- <print-element v-show="false" v-ref:print id='printPaymentApproval' styleid='printPaymentApprovalStyle'
130
- top='20' left='30' width='100%' height='100%'>
131
- </print-element>
132
- </template>
133
-
134
- <script>
135
- import {isEmpty} from '../../../../Util'
136
- import {HttpResetClass} from "vue-client";
137
-
138
- Date.prototype.Format = function (fmt) {
139
- var o = {
140
- 'M+': this.getMonth() + 1, // 月份
141
- 'd+': this.getDate(), //
142
- 'H+': this.getHours(), // 小时
143
- 'm+': this.getMinutes(), //
144
- 's+': this.getSeconds(), //
145
- 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
146
- 'S': this.getMilliseconds() // 毫秒
147
- }
148
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
149
- for (var k in o)
150
- if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
151
- return fmt
152
- }
153
- export default {
154
- title: '打印付款审批单',
155
- props: ['selectdata'],
156
- data () {
157
- return {
158
- showModal: false,
159
- device: null
160
- }
161
- },
162
- ready () {
163
- },
164
- methods: {
165
- openModal () {
166
- if (this.selectdata.f_due_money >= 0 ) {
167
- this.smalltoBIG(this.selectdata.f_due_money)
168
- }
169
- this.showModal = true
170
- },
171
- colseModal () {
172
- this.showModal = false
173
- },
174
- print () {
175
- this.showInput = false
176
- setTimeout(() => {
177
- this.$refs.print.PrintTable()
178
- }, 10)
179
- },
180
- // 金额转大写
181
- smalltoBIG (n) {
182
- let fraction = ['角', '分']
183
- let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
184
- let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']]
185
- let head = n < 0 ? '' : ''
186
- n = Math.abs(n)
187
-
188
- let s = ''
189
-
190
- for (var i = 0; i < fraction.length; i++) {
191
- s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '')
192
- }
193
- s = s || '整'
194
- n = Math.floor(n)
195
-
196
- for (var i = 0; i < unit[0].length && n > 0; i++) {
197
- let p = ''
198
- for (var j = 0; j < unit[1].length && n > 0; j++) {
199
- p = digit[n % 10] + unit[1][j] + p
200
- n = Math.floor(n / 10)
201
- }
202
- s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s
203
- }
204
- let result = head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
205
- console.log('当前大写', result)
206
- this.selectdata.f_amount_words = result
207
- }
208
- },
209
- computed: {
210
- orgs () {
211
- return this.$login.f.f_fengongsi
212
- },
213
- src () {
214
- }
215
- }
216
- }
217
- </script>
218
-
219
- <style scoped>
220
-
221
- </style>
1
+ <template>
2
+ <style id="printPaymentApprovalStyle">
3
+ td {
4
+ height: 60px;
5
+ text-align: center;
6
+ }
7
+
8
+ table {
9
+ margin: auto;
10
+ width: 100%;
11
+ border-collapse: collapse;
12
+ border: 1px solid black;
13
+ }
14
+ h1, h2, h3, h4, h5, h6 {
15
+ text-align: center;
16
+ }
17
+
18
+ .orgs {
19
+ border-bottom: 2px solid;
20
+ padding: 5px;
21
+ }
22
+
23
+ .date {
24
+ float: left;
25
+ padding-left: 10px;
26
+ }
27
+
28
+ .status {
29
+ float: right;
30
+ padding-right: 10px;
31
+ }
32
+
33
+ .seal {
34
+ position: absolute;
35
+ right: 100px;
36
+ top: 120px;
37
+ width: 150px;
38
+ height: 150px;
39
+ /*opacity: 0.5;*/
40
+ z-index: -1;
41
+ }
42
+ </style>
43
+ <div style="margin-bottom: 20px" class="form-group select-overspread">
44
+ <label class="control-label-justify control-label col-sm-10">打印付款审批单</label>
45
+ <div class="col-sm-2">
46
+ <button class="button_search button_spacing" type="button" style="width: max-content;position: absolute"
47
+ @click="openModal()">打印预览
48
+ </button>
49
+ </div>
50
+ </div>
51
+ <modal v-if="showModal" :show.sync="showModal" title="打印预览" v-ref:modal large backdrop="false">
52
+ <header slot="modal-header" class="modal-header">
53
+ <button type="button" class="close" @click="colseModal()"><span>&times;</span></button>
54
+ <h4 class="modal-title">打印预览</h4>
55
+ </header>
56
+ <article slot="modal-body" class="modal-body">
57
+ <div id="printPaymentApproval">
58
+ <h4>
59
+ 榆 林 榆 川 天 然 气 有 限 责 任 公 司
60
+ </h4>
61
+ <h2>
62
+ 付 款 审 批 单
63
+ </h2>
64
+ <table style="border: 0px solid black;">
65
+ <tr>
66
+ <td style="height: 30px;">{{ new Date().Format('yyyy年MM月dd日') }}</td>
67
+ </tr>
68
+ </table>
69
+ <table border="1" width="100%">
70
+ <tr>
71
+ <td style="width: 17%">收款单位名称:</td>
72
+ <td colspan="2" style="border: none">
73
+ {{ selectdata.f_paper_name }}
74
+ </td>
75
+ <td style="width: 17%">付 款 方 式:</td>
76
+ <td colspan="2" style="border: none">
77
+ {{ selectdata.f_payment_method }}
78
+ </td>
79
+ </tr>
80
+ <tr>
81
+ <td style="width: 17%">开 户 银 行:</td>
82
+ <td colspan="2" style="width: 33%">{{ selectdata.f_bank }}</td>
83
+ <td style="width: 17%">账&emsp;&emsp;号:</td>
84
+ <td colspan="2" style="width: 33%">{{ selectdata.f_paper_account }}</td>
85
+ </tr>
86
+ <tr>
87
+ <td>付 款 事 由:</td>
88
+ <td colspan="5" style="text-align:left">
89
+ {{ selectdata.f_pay_remark }}
90
+ </td>
91
+ </tr>
92
+ <tr>
93
+ <td>付款金额(元、大写):</td>
94
+ <td colspan="2">{{ selectdata.f_amount_words }}</td>
95
+ <td>付款金额(元、小写):</td>
96
+ <td colspan="2">{{ selectdata.f_due_money }}</td>
97
+ </tr>
98
+ <tr>
99
+ <td style="width: 17%">备&emsp;&emsp;注:</td>
100
+ <td colspan="2" style="width: 33%">{{ selectdata.f_payment_remarks }}</td>
101
+ <td style="width: 17%">附件张数:</td>
102
+ <td colspan="2" style="width: 33%">{{ selectdata.f_attachment_count }}</td>
103
+ </tr>
104
+ </table>
105
+ <table style="border: 0px solid black;">
106
+ <tr>
107
+ <td>财务部门负责人:</td>
108
+ <td>&emsp;&emsp;</td>
109
+ <td>部门负责人:</td>
110
+ <td>&emsp;&emsp;</td>
111
+ <td>经办人:</td>
112
+ <td>&emsp;&emsp;</td>
113
+ </tr>
114
+ <tr>
115
+ <td>单位负责人:</td>
116
+ <td>&emsp;&emsp;</td>
117
+ <td>财务主管:</td>
118
+ <td>&emsp;&emsp;</td>
119
+ <td>分管领导:</td>
120
+ <td>&emsp;&emsp;</td>
121
+ </tr>
122
+ </table>
123
+ </div>
124
+ </article>
125
+ <footer slot="modal-footer" class="modal-footer">
126
+ <button type="button" class="btn btn-primary" @click="print()">打印</button>
127
+ </footer>
128
+ </modal>
129
+
130
+ <print-element v-show="false" v-ref:print id='printPayentApproval' styleid='printPaymentApprovalStyle'
131
+ top='20' left='30' width='100%' height='100%'>
132
+ </print-element>
133
+ </template>
134
+
135
+ <script>
136
+ import {isEmpty} from '../../../../Util'
137
+ import {HttpResetClass} from "vue-client";
138
+
139
+ Date.prototype.Format = function (fmt) {
140
+ var o = {
141
+ 'M+': this.getMonth() + 1, // 月份
142
+ 'd+': this.getDate(), //
143
+ 'H+': this.getHours(), // 小时
144
+ 'm+': this.getMinutes(), //
145
+ 's+': this.getSeconds(), //
146
+ 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
147
+ 'S': this.getMilliseconds() // 毫秒
148
+ }
149
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
150
+ for (var k in o)
151
+ if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
152
+ return fmt
153
+ }
154
+ export default {
155
+ title: '打印付款审批单',
156
+ props: ['selectdata'],
157
+ data () {
158
+ return {
159
+ showModal: false,
160
+ device: null
161
+ }
162
+ },
163
+ ready () {
164
+ },
165
+ methods: {
166
+ openModal () {
167
+ if (this.selectdata.f_due_money >= 0 && this.selectdata.f_due_money) {
168
+ this.smalltoBIG(this.selectdata.f_due_money)
169
+ } else {
170
+ this.selectdata.f_amount_words = ''
171
+ }
172
+ this.showModal = true
173
+ },
174
+ colseModal () {
175
+ this.showModal = false
176
+ },
177
+ print () {
178
+ this.showInput = false
179
+ setTimeout(() => {
180
+ this.$refs.print.PrintTable()
181
+ }, 10)
182
+ },
183
+ // 金额转大写
184
+ smalltoBIG (n) {
185
+ let fraction = ['', '']
186
+ let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
187
+ let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']]
188
+ let head = n < 0 ? '' : ''
189
+ n = Math.abs(n)
190
+
191
+ let s = ''
192
+
193
+ for (var i = 0; i < fraction.length; i++) {
194
+ s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '')
195
+ }
196
+ s = s || '整'
197
+ n = Math.floor(n)
198
+
199
+ for (var i = 0; i < unit[0].length && n > 0; i++) {
200
+ let p = ''
201
+ for (var j = 0; j < unit[1].length && n > 0; j++) {
202
+ p = digit[n % 10] + unit[1][j] + p
203
+ n = Math.floor(n / 10)
204
+ }
205
+ s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s
206
+ }
207
+ let result = head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
208
+ console.log('当前大写', result)
209
+ this.selectdata.f_amount_words = result
210
+ }
211
+ },
212
+ computed: {
213
+ orgs () {
214
+ return this.$login.f.f_fengongsi
215
+ },
216
+ src () {
217
+ }
218
+ }
219
+ }
220
+ </script>
221
+
222
+ <style scoped>
223
+
224
+ </style>
@@ -0,0 +1,170 @@
1
+ <template>
2
+ <style id="printPaymentApprovalStyle">
3
+ td {
4
+ height: 60px;
5
+ text-align: center;
6
+ }
7
+
8
+ table {
9
+ margin: auto;
10
+ width: 100%;
11
+ border-collapse: collapse;
12
+ border: 1px solid black;
13
+ }
14
+ h1, h2, h3, h4, h5, h6 {
15
+ text-align: center;
16
+ }
17
+
18
+ .orgs {
19
+ border-bottom: 2px solid;
20
+ padding: 5px;
21
+ }
22
+
23
+ .date {
24
+ float: left;
25
+ padding-left: 10px;
26
+ }
27
+
28
+ .status {
29
+ float: right;
30
+ padding-right: 10px;
31
+ }
32
+
33
+ .seal {
34
+ position: absolute;
35
+ right: 100px;
36
+ top: 120px;
37
+ width: 150px;
38
+ height: 150px;
39
+ /*opacity: 0.5;*/
40
+ z-index: -1;
41
+ }
42
+ </style>
43
+ <div style="margin-bottom: 20px" class="form-group select-overspread">
44
+ <label class="control-label-justify control-label col-sm-10">打印付款事由</label>
45
+ <div class="col-sm-2">
46
+ <button class="button_search button_spacing" type="button" style="width: max-content;position: absolute"
47
+ @click="openModal()">打印预览
48
+ </button>
49
+ </div>
50
+ </div>
51
+ <modal v-if="showModal" :show.sync="showModal" title="打印预览" v-ref:modal large backdrop="false">
52
+ <header slot="modal-header" class="modal-header">
53
+ <button type="button" class="close" @click="colseModal()"><span>&times;</span></button>
54
+ <h4 class="modal-title">打印预览</h4>
55
+ </header>
56
+ <article slot="modal-body" class="modal-body">
57
+ <div id="printPaymentApproval">
58
+ <h4>
59
+ 榆 林 榆 川 天 然 气 有 限 责 任 公 司
60
+ </h4>
61
+ <h2>
62
+ 付 款 事 由 明 细
63
+ </h2>
64
+ <table border="1" width="100%">
65
+ <tr style="text-align: center;">
66
+ <td>用户编号</td>
67
+ <td>用户姓名</td>
68
+ <td>用户电话</td>
69
+ <td>用户地址</td>
70
+ <td>最后购气时间</td>
71
+ <td>累购气量</td>
72
+ <td>累购金额</td>
73
+ <td>系统显示底数</td>
74
+ </tr>
75
+ <tr style="text-align: center;" v-for="i in chaiChuInfo.length">
76
+ <td>{{chaiChuInfo[i].f_userinfo_id}}</td>
77
+ <td>{{chaiChuInfo[i].f_user_name}}</td>
78
+ <td>{{chaiChuInfo[i].f_user_phone}}</td>
79
+ <td>{{chaiChuInfo[i].f_address}}</td>
80
+ <td>{{chaiChuInfo[i].f_delivery_date}}</td>
81
+ <td>{{chaiChuInfo[i].f_gas_total}}</td>
82
+ <td>{{chaiChuInfo[i].f_money_total}}</td>
83
+ <td>{{chaiChuInfo[i].f_meter_base}}</td>
84
+ </tr>
85
+ </table>
86
+ </div>
87
+ </article>
88
+ <footer slot="modal-footer" class="modal-footer">
89
+ <button type="button" class="btn btn-primary" @click="print()">打印</button>
90
+ </footer>
91
+ </modal>
92
+
93
+ <print-element v-show="false" v-ref:print id='printPaymentApproval' styleid='printPaymentApprovalStyle'
94
+ top='20' left='30' width='100%' height='100%'>
95
+ </print-element>
96
+ </template>
97
+
98
+ <script>
99
+ import {isEmpty} from '../../../../Util'
100
+ import {HttpResetClass} from "vue-client";
101
+
102
+ Date.prototype.Format = function (fmt) {
103
+ var o = {
104
+ 'M+': this.getMonth() + 1, // 月份
105
+ 'd+': this.getDate(), // 日
106
+ 'H+': this.getHours(), // 小时
107
+ 'm+': this.getMinutes(), // 分
108
+ 's+': this.getSeconds(), // 秒
109
+ 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
110
+ 'S': this.getMilliseconds() // 毫秒
111
+ }
112
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
113
+ for (var k in o)
114
+ if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
115
+ return fmt
116
+ }
117
+ export default {
118
+ title: '打印付款事由',
119
+ props: ['selectdata'],
120
+ data () {
121
+ return {
122
+ showModal: false,
123
+ device: null,
124
+ chaiChuInfo: {}
125
+ }
126
+ },
127
+ ready () {
128
+ },
129
+ methods: {
130
+ openModal () {
131
+ this.getChaiChuInfo()
132
+ this.showModal = true
133
+ },
134
+ async getChaiChuInfo () {
135
+ let data = {
136
+ tablename: 't_apply_chai',
137
+ condition: `f_process_id = '${this.selectdata.f_process_id}'`
138
+ }
139
+ let http = new HttpResetClass()
140
+ let res = await http.load(
141
+ 'POST',
142
+ `rs/sql/applySingleTable`,
143
+ {data: data},
144
+ {resolveMsg: null, rejectMsg: '销户信息查询失败!!!'}
145
+ )
146
+ this.chaiChuInfo = res.data
147
+ },
148
+ colseModal () {
149
+ this.showModal = false
150
+ },
151
+ print () {
152
+ this.showInput = false
153
+ setTimeout(() => {
154
+ this.$refs.print.PrintTable()
155
+ }, 10)
156
+ },
157
+ },
158
+ computed: {
159
+ orgs () {
160
+ return this.$login.f.f_fengongsi
161
+ },
162
+ src () {
163
+ }
164
+ }
165
+ }
166
+ </script>
167
+
168
+ <style scoped>
169
+
170
+ </style>