apply-clients 3.3.51 → 3.3.55

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 (36) hide show
  1. package/build/dev-server.js +4 -4
  2. package/package.json +1 -1
  3. package/src/AndroidApp.vue +35 -35
  4. package/src/apply.js +93 -93
  5. package/src/applyAndroid.js +31 -31
  6. package/src/components/android/AppOnetomany.vue +301 -301
  7. package/src/components/android/AppServiceView.vue +566 -566
  8. package/src/components/android/AppSign.vue +142 -142
  9. package/src/components/android/Function/AppInstallFunction.vue +366 -366
  10. package/src/components/android/Process/AppExplorationUser.vue +340 -340
  11. package/src/components/android/Process/AppServiceControl.vue +807 -761
  12. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
  13. package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
  14. package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
  15. package/src/components/product/Function/InstallFunction.vue +132 -132
  16. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  17. package/src/components/product/Material/MaterialDetailed.vue +235 -235
  18. package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
  19. package/src/components/product/OldApply/OldApply.vue +150 -150
  20. package/src/components/product/Onetomany.vue +377 -377
  21. package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
  22. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
  23. package/src/components/product/Process/ExplorationSelect.vue +457 -457
  24. package/src/components/product/Process/ExplorationUser.vue +147 -147
  25. package/src/components/product/Process/Processes/InstallationDetails.vue +596 -592
  26. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  27. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
  28. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -207
  29. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  30. package/src/components/product/Process/Service/ServiceControl.vue +1311 -1265
  31. package/src/components/product/ServiceView.vue +631 -631
  32. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  33. package/src/components/product/Supervisory/SupervisoryList.vue +296 -296
  34. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
  35. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  36. package/src/components/product/VueUtils/HighMeter.vue +208 -208
@@ -1,196 +1,196 @@
1
- <template>
2
- <div style="margin-bottom: 20px" class="form-group select-overspread">
3
- <label class="control-label-justify control-label col-sm-3">打印退费单</label>
4
- <div class="col-sm-10">
5
- <button class="button_search button_spacing" type="button" style="width: max-content;position: absolute" @click="showPrint = !showPrint">预览</button>
6
- </div>
7
- </div>
8
-
9
- <modal :show.sync="showPrint" v-ref:modal :backdrop="false" title="打印预览">
10
- <header slot="modal-header" class="modal-header">
11
- <button type="button" class="close" @click="showPrint = !showPrint"><span>&times;</span></button>
12
- <h4 class="modal-title">打印预览</h4>
13
- </header>
14
- <article slot="modal-body" class="modal-body clearfix">
15
- <style id="printRefundStyle">
16
- td{
17
- height: 30px;
18
- text-align: center;
19
- }
20
- table{
21
- margin: auto;
22
- width: 100%;
23
- border-collapse:collapse;
24
- border: 1px solid black;
25
- }
26
- h1,h2,h3,h4,h5,h6 {
27
- text-align: center;
28
- }
29
- .orgs {
30
- border-bottom: 2px solid;
31
- padding: 5px;
32
- }
33
- .date {
34
- float: left;
35
- padding-left: 10px;
36
- }
37
- .status {
38
- float: right;
39
- padding-right: 10px;
40
- }
41
- </style>
42
- <div id="printRefund">
43
- <h4>
44
- <span class="orgs">
45
- {{selectdata.f_refund_item}}退款收到条
46
- </span>
47
- </h4>
48
- <table border="1">
49
- <tr>
50
- <td colspan="2" style="border: none">
51
- 开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
52
- </td>
53
- <td colspan="2" style="border: none">
54
- 工程编号:{{ selectdata.f_parent_apply_num }}
55
- </td>
56
- <td colspan="2" style="border: none">
57
- 经办人:{{ username }}
58
- </td>
59
- </tr>
60
- <tr>
61
- <td style="width: 17%">用户姓名</td>
62
- <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
63
- <td style="width: 17%">联系方式</td>
64
- <td colspan="2" style="width: 33%">{{ selectdata.f_phone }}</td>
65
- </tr>
66
- <tr>
67
- <td>地址</td>
68
- <td colspan="5">{{ selectdata.f_address }}</td>
69
- </tr>
70
- <tr>
71
- <td>金额</td>
72
- <td colspan="2">{{ selectdata.f_refund_money }}</td>
73
- <td>金额大写</td>
74
- <td colspan="2">{{ smalltoBIG(selectdata.f_refund_money) }}</td>
75
- </tr>
76
- <tr>
77
- <td>收到人</td>
78
- <td colspan="2"></td>
79
- <td>代收人</td>
80
- <td colspan="2"></td>
81
- </tr>
82
- <tr>
83
- <td>备&emsp;&emsp;注</td>
84
- <td colspan="5" style="text-align: left">
85
- <p style="margin: 0 0 5px">1、退款收到人姓名必须为天然气开户姓名。</p>
86
- <p style="margin: 0 0 5px">2、退款收到人办理退款时,必须携带身份证或身份证复印件进行办理,并填写退款收到条方可退款。</p>
87
- <p style="margin: 0 0 5px">3、若退款收到人因特殊原因无法到达现场时需代办人办理退款时,必须现场联系退款用户,核实各项信息确认为代办后,代办人提供退款用户身份证复印件及本人身份证复印件方可办理退款。</p>
88
- </td>
89
- </tr>
90
- </table>
91
- </div>
92
- </article>
93
- <footer slot="modal-footer" class="modal-footer">
94
- <button type="button" class="btn btn-primary" @click="print()">打印</button>
95
- </footer>
96
- </modal>
97
-
98
- <print-element v-show="false" v-ref:print id='printRefund' styleid='printRefundStyle'
99
- top='5' left='30' width='100%' height='100%'>
100
- </print-element>
101
- </template>
102
-
103
- <script>
104
- import { isEmpty } from '../../../../Util'
105
- Date.prototype.Format = function (fmt) {
106
- var o = {
107
- "M+": this.getMonth() + 1, //月份
108
- "d+": this.getDate(), //日
109
- "H+": this.getHours(), //小时
110
- "m+": this.getMinutes(), //分
111
- "s+": this.getSeconds(), //秒
112
- "q+": Math.floor((this.getMonth() + 3) / 3), //季度
113
- "S": this.getMilliseconds() //毫秒
114
- };
115
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
116
- for (var k in o)
117
- if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
118
- return fmt;
119
- }
120
- export default {
121
- title: '打印退费票据',
122
- props: {
123
- selectdata: {
124
- type: Object
125
- },
126
- mark: {
127
- type: Number,
128
- default: 0
129
- }
130
- },
131
- data () {
132
- return {
133
- showPrint: false
134
- }
135
- },
136
- ready () {
137
- },
138
- methods: {
139
- print () {
140
- this.$refs.print.PrintTable()
141
- },
142
- // 金额转大写
143
- smalltoBIG (n) {
144
- let fraction = ['角', '分']
145
- let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
146
- let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']]
147
- let head = n < 0 ? '欠' : ''
148
- n = Math.abs(n)
149
-
150
- let s = ''
151
-
152
- for (var i = 0; i < fraction.length; i++) {
153
- s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '')
154
- }
155
- s = s || '整'
156
- n = Math.floor(n)
157
-
158
- for (var i = 0; i < unit[0].length && n > 0; i++) {
159
- let p = ''
160
- for (var j = 0; j < unit[1].length && n > 0; j++) {
161
- p = digit[n % 10] + unit[1][j] + p
162
- n = Math.floor(n / 10)
163
- }
164
- s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s
165
- }
166
- return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
167
- }
168
- },
169
- computed: {
170
- orgs () {
171
- return this.$login.f.orgs
172
- },
173
- username () {
174
- return this.$login.f.name
175
- }
176
- }
177
- }
178
- </script>
179
-
180
- <style scoped>
181
- .control-label-justify {
182
- display: inline-block;
183
- vertical-align: top;
184
- width: 110px;
185
- text-align: justify;
186
- font-family: PingFang-SC-Bold;
187
- }
188
-
189
- .control-label-justify::after {
190
- content: "";
191
- display: inline-block;
192
- width: 100%;
193
- overflow: hidden;
194
- height: 0;
195
- }
196
- </style>
1
+ <template>
2
+ <div style="margin-bottom: 20px" class="form-group select-overspread">
3
+ <label class="control-label-justify control-label col-sm-3">打印退费单</label>
4
+ <div class="col-sm-10">
5
+ <button class="button_search button_spacing" type="button" style="width: max-content;position: absolute" @click="showPrint = !showPrint">预览</button>
6
+ </div>
7
+ </div>
8
+
9
+ <modal :show.sync="showPrint" v-ref:modal :backdrop="false" title="打印预览">
10
+ <header slot="modal-header" class="modal-header">
11
+ <button type="button" class="close" @click="showPrint = !showPrint"><span>&times;</span></button>
12
+ <h4 class="modal-title">打印预览</h4>
13
+ </header>
14
+ <article slot="modal-body" class="modal-body clearfix">
15
+ <style id="printRefundStyle">
16
+ td{
17
+ height: 30px;
18
+ text-align: center;
19
+ }
20
+ table{
21
+ margin: auto;
22
+ width: 100%;
23
+ border-collapse:collapse;
24
+ border: 1px solid black;
25
+ }
26
+ h1,h2,h3,h4,h5,h6 {
27
+ text-align: center;
28
+ }
29
+ .orgs {
30
+ border-bottom: 2px solid;
31
+ padding: 5px;
32
+ }
33
+ .date {
34
+ float: left;
35
+ padding-left: 10px;
36
+ }
37
+ .status {
38
+ float: right;
39
+ padding-right: 10px;
40
+ }
41
+ </style>
42
+ <div id="printRefund">
43
+ <h4>
44
+ <span class="orgs">
45
+ {{selectdata.f_refund_item}}退款收到条
46
+ </span>
47
+ </h4>
48
+ <table border="1">
49
+ <tr>
50
+ <td colspan="2" style="border: none">
51
+ 开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
52
+ </td>
53
+ <td colspan="2" style="border: none">
54
+ 工程编号:{{ selectdata.f_parent_apply_num }}
55
+ </td>
56
+ <td colspan="2" style="border: none">
57
+ 经办人:{{ username }}
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td style="width: 17%">用户姓名</td>
62
+ <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
63
+ <td style="width: 17%">联系方式</td>
64
+ <td colspan="2" style="width: 33%">{{ selectdata.f_phone }}</td>
65
+ </tr>
66
+ <tr>
67
+ <td>地址</td>
68
+ <td colspan="5">{{ selectdata.f_address }}</td>
69
+ </tr>
70
+ <tr>
71
+ <td>金额</td>
72
+ <td colspan="2">{{ selectdata.f_refund_money }}</td>
73
+ <td>金额大写</td>
74
+ <td colspan="2">{{ smalltoBIG(selectdata.f_refund_money) }}</td>
75
+ </tr>
76
+ <tr>
77
+ <td>收到人</td>
78
+ <td colspan="2"></td>
79
+ <td>代收人</td>
80
+ <td colspan="2"></td>
81
+ </tr>
82
+ <tr>
83
+ <td>备&emsp;&emsp;注</td>
84
+ <td colspan="5" style="text-align: left">
85
+ <p style="margin: 0 0 5px">1、退款收到人姓名必须为天然气开户姓名。</p>
86
+ <p style="margin: 0 0 5px">2、退款收到人办理退款时,必须携带身份证或身份证复印件进行办理,并填写退款收到条方可退款。</p>
87
+ <p style="margin: 0 0 5px">3、若退款收到人因特殊原因无法到达现场时需代办人办理退款时,必须现场联系退款用户,核实各项信息确认为代办后,代办人提供退款用户身份证复印件及本人身份证复印件方可办理退款。</p>
88
+ </td>
89
+ </tr>
90
+ </table>
91
+ </div>
92
+ </article>
93
+ <footer slot="modal-footer" class="modal-footer">
94
+ <button type="button" class="btn btn-primary" @click="print()">打印</button>
95
+ </footer>
96
+ </modal>
97
+
98
+ <print-element v-show="false" v-ref:print id='printRefund' styleid='printRefundStyle'
99
+ top='5' left='30' width='100%' height='100%'>
100
+ </print-element>
101
+ </template>
102
+
103
+ <script>
104
+ import { isEmpty } from '../../../../Util'
105
+ Date.prototype.Format = function (fmt) {
106
+ var o = {
107
+ "M+": this.getMonth() + 1, //月份
108
+ "d+": this.getDate(), //日
109
+ "H+": this.getHours(), //小时
110
+ "m+": this.getMinutes(), //分
111
+ "s+": this.getSeconds(), //秒
112
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
113
+ "S": this.getMilliseconds() //毫秒
114
+ };
115
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
116
+ for (var k in o)
117
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
118
+ return fmt;
119
+ }
120
+ export default {
121
+ title: '打印退费票据',
122
+ props: {
123
+ selectdata: {
124
+ type: Object
125
+ },
126
+ mark: {
127
+ type: Number,
128
+ default: 0
129
+ }
130
+ },
131
+ data () {
132
+ return {
133
+ showPrint: false
134
+ }
135
+ },
136
+ ready () {
137
+ },
138
+ methods: {
139
+ print () {
140
+ this.$refs.print.PrintTable()
141
+ },
142
+ // 金额转大写
143
+ smalltoBIG (n) {
144
+ let fraction = ['角', '分']
145
+ let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
146
+ let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']]
147
+ let head = n < 0 ? '欠' : ''
148
+ n = Math.abs(n)
149
+
150
+ let s = ''
151
+
152
+ for (var i = 0; i < fraction.length; i++) {
153
+ s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '')
154
+ }
155
+ s = s || '整'
156
+ n = Math.floor(n)
157
+
158
+ for (var i = 0; i < unit[0].length && n > 0; i++) {
159
+ let p = ''
160
+ for (var j = 0; j < unit[1].length && n > 0; j++) {
161
+ p = digit[n % 10] + unit[1][j] + p
162
+ n = Math.floor(n / 10)
163
+ }
164
+ s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s
165
+ }
166
+ return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
167
+ }
168
+ },
169
+ computed: {
170
+ orgs () {
171
+ return this.$login.f.orgs
172
+ },
173
+ username () {
174
+ return this.$login.f.name
175
+ }
176
+ }
177
+ }
178
+ </script>
179
+
180
+ <style scoped>
181
+ .control-label-justify {
182
+ display: inline-block;
183
+ vertical-align: top;
184
+ width: 110px;
185
+ text-align: justify;
186
+ font-family: PingFang-SC-Bold;
187
+ }
188
+
189
+ .control-label-justify::after {
190
+ content: "";
191
+ display: inline-block;
192
+ width: 100%;
193
+ overflow: hidden;
194
+ height: 0;
195
+ }
196
+ </style>