apply-clients 3.3.16 → 3.3.17

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 (57) hide show
  1. package/index.html +33 -33
  2. package/package.json +1 -1
  3. package/src/AndroidApp.vue +30 -30
  4. package/src/android.js +21 -21
  5. package/src/apply.js +3 -6
  6. package/src/applyAndroid.js +35 -35
  7. package/src/components/android/AppOnetomany.vue +285 -285
  8. package/src/components/android/AppServiceView.vue +570 -570
  9. package/src/components/android/AppTakePic.vue +143 -143
  10. package/src/components/android/Function/AppFunctionServiceControl.vue +329 -329
  11. package/src/components/android/Function/AppInstallFunction.vue +327 -327
  12. package/src/components/android/Process/AppExplorationUser.vue +268 -268
  13. package/src/components/android/Process/AppServiceControl.vue +711 -686
  14. package/src/components/android/Process/Processes/AppChargeManagement.vue +468 -468
  15. package/src/components/android/Process/Processes/AppDevicesManagement.vue +490 -490
  16. package/src/components/android/Process/Processes/AppInstallationDetails.vue +466 -466
  17. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +297 -297
  18. package/src/components/android/Supervisory/AppProcessSupervisory.vue +261 -261
  19. package/src/components/android/Supervisory/AppSupervisoryCart.vue +115 -115
  20. package/src/components/product/ApplyCharge/ApplyChargeList.vue +265 -265
  21. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
  22. package/src/components/product/Function/InstallFunction.vue +122 -122
  23. package/src/components/product/Function/InstallInfoSelect.vue +289 -289
  24. package/src/components/product/Function/Service/FunctionServiceControl.vue +254 -254
  25. package/src/components/product/Onetomany.vue +296 -296
  26. package/src/components/product/Order/OrderApply.vue +47 -47
  27. package/src/components/product/Order/OrderApplyList.vue +62 -62
  28. package/src/components/product/Order/OrderMessage.vue +237 -237
  29. package/src/components/product/Process/ExplorationSelect.vue +145 -143
  30. package/src/components/product/Process/ExplorationUser.vue +128 -128
  31. package/src/components/product/Process/Processes/InstallationDetails.vue +421 -352
  32. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  33. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  34. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  35. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  36. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  37. package/src/components/product/Process/Processes/{printCharge.vue → Print/printCharge.vue} +139 -121
  38. package/src/components/product/Process/Processes/Print/printRefund.vue +193 -0
  39. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +181 -181
  40. package/src/components/product/Process/Processes/chargeManagement.vue +639 -639
  41. package/src/components/product/Process/Processes/devicesManagement.vue +458 -458
  42. package/src/components/product/Process/Processes/selectApply.vue +250 -250
  43. package/src/components/product/Process/Processes/selectUserinfo.vue +182 -182
  44. package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
  45. package/src/components/product/Process/Service/ServiceControl.vue +916 -810
  46. package/src/components/product/Process/ShowBackReason.vue +33 -33
  47. package/src/components/product/ServiceView.vue +301 -307
  48. package/src/components/product/Stop/StopApplyList.vue +254 -254
  49. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +512 -517
  50. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
  51. package/src/components/product/Supervisory/SupervisoryList.vue +226 -226
  52. package/src/components/product/Supervisory/SupervisoryhCart.vue +124 -124
  53. package/src/components/product/VueUtils/ApplyUpload.vue +262 -262
  54. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -1090
  55. package/src/main.js +23 -23
  56. package/src/components/product/Function/Inform.vue +0 -74
  57. package/src/components/product/Function/MarketSurvey.vue +0 -80
@@ -1,121 +1,139 @@
1
- <template>
2
- <style id="style">
3
- td{
4
- height: 50px;
5
- width: 40px;
6
- text-align: center;
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
- .date{
18
- float: left;
19
- padding-left: 30px;
20
- }
21
- .number{
22
- float: right;
23
- padding-right: 30px;
24
- }
25
- .rescue{
26
- float: left;
27
- padding: 0 30px 0 40px;
28
- }
29
- .service{
30
- float: left;
31
- }
32
- .payee{
33
- float: right;
34
- padding-right: 30px;
35
- }
36
- </style>
37
- <div id="print">
38
- <h4>{{orgs}}统一收据</h4>
39
- <table border="1">
40
- <tr>
41
- <td colspan="6">
42
- <span>开票日期:{{ new Date().Format('yyyy年MM月dd日') }}</span>
43
- <span>收据编码:{{ charge.f_charge_number }}</span>
44
- <span>状态:{{ charge.f_charge_status }}</span>
45
- </td>
46
- </tr>
47
- <tr>
48
- <td>用户姓名</td>
49
- <td colspan="2">{{ charge.f_user_name }}</td>
50
- <td>用户编号</td>
51
- <td colspan="2">{{ selectdata.f_userinfo_code }}</td>
52
- </tr>
53
- <tr>
54
- <td>用户地址</td>
55
- <td colspan="5">{{ selectdata.f_address }}</td>
56
- </tr>
57
- <tr>
58
- <td>收款项目</td>
59
- <td colspan="2">{{ charge.f_payment_term }}</td>
60
- <td>收款方式</td>
61
- <td colspan="2">{{ charge.f_payment_method }}</td>
62
- </tr>
63
- <tr>
64
- <td>金额</td>
65
- <td>{{ charge.f_charge_money }}</td>
66
- <td>金额大写</td>
67
- <td colspan="3">{{ charge.f_amount_words }}</td>
68
- </tr>
69
- <tr>
70
- <td>备&emsp;&emsp;注</td>
71
- <td colspan="5">{{ selectdata.f_entry_name }}</td>
72
- </tr>
73
- </table>
74
- <span>
75
- <p class="rescue">抢险电话:5835588</p>
76
- <p class="service">服务电话:3718002</p>
77
- <p class="payee">收款人:{{ charge.f_charge_collectors }}</p>
78
- </span>
79
- </div>
80
-
81
- <print-element v-show="false" v-ref:print id='print' styleid='style'
82
- top='40' left='60' width='100%' height='100%'>
83
- </print-element>
84
- </template>
85
-
86
- <script>
87
- import { isEmpty } from '../../../Util'
88
- Date.prototype.Format = function (fmt) {
89
- var o = {
90
- "M+": this.getMonth() + 1, //月份
91
- "d+": this.getDate(), //日
92
- "H+": this.getHours(), //小时
93
- "m+": this.getMinutes(), //分
94
- "s+": this.getSeconds(), //秒
95
- "q+": Math.floor((this.getMonth() + 3) / 3), //季度
96
- "S": this.getMilliseconds() //毫秒
97
- };
98
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
99
- for (var k in o)
100
- if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
101
- return fmt;
102
- }
103
- export default {
104
- title: '打印收费票据',
105
- props: ['selectdata', 'charge'],
106
- data () {
107
- return {}
108
- },
109
- ready () {
110
- },
111
- computed: {
112
- orgs () {
113
- return this.$login.f.orgs
114
- }
115
- }
116
- }
117
- </script>
118
-
119
- <style scoped>
120
-
121
- </style>
1
+ <template>
2
+ <style id="style">
3
+ td{
4
+ height: 30px;
5
+ width: 100px;
6
+ text-align: center;
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
+ .orgs {
18
+ border-bottom: 2px solid;
19
+ padding: 5px;
20
+ }
21
+ .date {
22
+ float: left;
23
+ padding-left: 10px;
24
+ }
25
+ .status {
26
+ float: right;
27
+ padding-right: 10px;
28
+ }
29
+ .seal {
30
+ position: absolute;
31
+ right: 100px;
32
+ top: 120px;
33
+ width: 150px;
34
+ height: 150px;
35
+ /*opacity: 0.5;*/
36
+ /*z-index: -1;*/
37
+ }
38
+ </style>
39
+ <div id="print">
40
+ <h4>
41
+ <span class="orgs">
42
+ {{orgs}}统一收据
43
+ </span>
44
+ </h4>
45
+ <table border="1">
46
+ <tr>
47
+ <td colspan="6">
48
+ <span class="date">开票日期:{{ new Date().Format('yyyy年MM月dd日') }}</span>
49
+ <span>收据编码:{{ charge.f_charge_number }}</span>
50
+ <span class="status">状态:{{ charge.f_charge_status }}</span>
51
+ </td>
52
+ </tr>
53
+ <tr>
54
+ <td style="width: 17%">用户姓名</td>
55
+ <td colspan="2" style="width: 33%">{{ charge.f_user_name }}</td>
56
+ <td style="width: 17%">用户编号</td>
57
+ <td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
58
+ </tr>
59
+ <tr>
60
+ <td>用户地址</td>
61
+ <td colspan="5">{{ selectdata.f_address }}</td>
62
+ </tr>
63
+ <tr>
64
+ <td>收款项目</td>
65
+ <td colspan="2">{{ charge.f_payment_term }}</td>
66
+ <td>收款方式</td>
67
+ <td colspan="2">{{ charge.f_payment_method }}</td>
68
+ </tr>
69
+ <tr>
70
+ <td>金额</td>
71
+ <td colspan="2">{{ charge.f_charge_money }}</td>
72
+ <td>金额大写</td>
73
+ <td colspan="2">{{ charge.f_amount_words }}</td>
74
+ </tr>
75
+ <tr>
76
+ <td>收款人</td>
77
+ <td colspan="2">{{ charge.f_charge_collectors }}</td>
78
+ <td>销售方(章)</td>
79
+ <td colspan="2"></td>
80
+ </tr>
81
+ <tr>
82
+ <td>备&emsp;&emsp;注</td>
83
+ <td colspan="5">{{ selectdata.f_entry_name }}</td>
84
+ </tr>
85
+ <tr>
86
+ <td colspan="6">
87
+ 请持此收据到{{orgs}}营业厅换取发票
88
+ </td>
89
+ </tr>
90
+ </table>
91
+ <img class="seal" border="0" :src="src" transcolor="#FFFFFF" alt="">
92
+ </div>
93
+
94
+ <print-element v-show="false" v-ref:print id='print' styleid='style'
95
+ top='40' left='60' width='100%' height='100%'>
96
+ </print-element>
97
+ </template>
98
+
99
+ <script>
100
+ import { isEmpty } from '../../../../Util'
101
+ Date.prototype.Format = function (fmt) {
102
+ var o = {
103
+ "M+": this.getMonth() + 1, //月份
104
+ "d+": this.getDate(), //日
105
+ "H+": this.getHours(), //小时
106
+ "m+": this.getMinutes(), //分
107
+ "s+": this.getSeconds(), //秒
108
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
109
+ "S": this.getMilliseconds() //毫秒
110
+ };
111
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
112
+ for (var k in o)
113
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
114
+ return fmt;
115
+ }
116
+ export default {
117
+ title: '打印收费票据',
118
+ props: ['selectdata', 'charge'],
119
+ data () {
120
+ return {}
121
+ },
122
+ ready () {
123
+ },
124
+ methods: {
125
+ },
126
+ computed: {
127
+ orgs () {
128
+ return this.$login.f.orgs
129
+ },
130
+ src () {
131
+ return require(`./img/${this.$login.f.number}.png`)
132
+ }
133
+ }
134
+ }
135
+ </script>
136
+
137
+ <style scoped>
138
+
139
+ </style>
@@ -0,0 +1,193 @@
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 :large="true" :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="style">
16
+ td{
17
+ height: 30px;
18
+ width: 100px;
19
+ text-align: center;
20
+ }
21
+ table{
22
+ margin: auto;
23
+ width: 100%;
24
+ border-collapse:collapse;
25
+ border: 1px solid black;
26
+ }
27
+ h1,h2,h3,h4,h5,h6 {
28
+ text-align: center;
29
+ }
30
+ .orgs {
31
+ border-bottom: 2px solid;
32
+ padding: 5px;
33
+ }
34
+ .date {
35
+ float: left;
36
+ padding-left: 10px;
37
+ }
38
+ .status {
39
+ float: right;
40
+ padding-right: 10px;
41
+ }
42
+ </style>
43
+ <div id="print">
44
+ <h4>
45
+ <span class="orgs">
46
+ {{selectdata.f_refund_item}}退款收到条
47
+ </span>
48
+ </h4>
49
+ <table border="1">
50
+ <tr>
51
+ <td colspan="6">
52
+ <span class="date">开票日期:{{ new Date().Format('yyyy年MM月dd日') }}</span>
53
+ <span>工程编号:{{ selectdata.f_parent_apply_num }}</span>
54
+ <span class="status">经办人:{{ username }}</span>
55
+ </td>
56
+ </tr>
57
+ <tr>
58
+ <td style="width: 17%">用户姓名</td>
59
+ <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
60
+ <td style="width: 17%">联系方式</td>
61
+ <td colspan="2" style="width: 33%">{{ selectdata.f_phone }}</td>
62
+ </tr>
63
+ <tr>
64
+ <td>地址</td>
65
+ <td colspan="5">{{ selectdata.f_address }}</td>
66
+ </tr>
67
+ <tr>
68
+ <td>金额</td>
69
+ <td colspan="2">{{ selectdata.f_refund_money }}</td>
70
+ <td>金额大写</td>
71
+ <td colspan="2">{{ smalltoBIG(selectdata.f_refund_money) }}</td>
72
+ </tr>
73
+ <tr>
74
+ <td>收到人</td>
75
+ <td colspan="2"></td>
76
+ <td>代收人</td>
77
+ <td colspan="2"></td>
78
+ </tr>
79
+ <tr>
80
+ <td>备&emsp;&emsp;注</td>
81
+ <td colspan="5" style="text-align: left">
82
+ <p>1、退款收到人姓名必须为天然气开户姓名。</p>
83
+ <p>2、退款收到人办理退款时,必须携带身份证或身份证复印件进行办理,并填写退款收到条方可退款。</p>
84
+ <p>3、若退款收到人因特殊原因无法到达现场时需代办人办理退款时,必须现场联系退款用户,核实各项信息确认为代办后,代办人提供退款用户身份证复印件及本人身份证复印件方可办理退款。</p>
85
+ </td>
86
+ </tr>
87
+ </table>
88
+ </div>
89
+ </article>
90
+ <footer slot="modal-footer" class="modal-footer">
91
+ <button type="button" class="btn btn-primary" @click="print()">打印</button>
92
+ </footer>
93
+ </modal>
94
+
95
+ <print-element v-show="false" v-ref:print id='print' styleid='style'
96
+ top='40' left='60' width='100%' height='100%'>
97
+ </print-element>
98
+ </template>
99
+
100
+ <script>
101
+ import { isEmpty } from '../../../../Util'
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: {
120
+ selectdata: {
121
+ type: Object
122
+ },
123
+ mark: {
124
+ type: Number,
125
+ default: 0
126
+ }
127
+ },
128
+ data () {
129
+ return {
130
+ showPrint: false
131
+ }
132
+ },
133
+ ready () {
134
+ },
135
+ methods: {
136
+ print () {
137
+ this.$refs.print.PrintTable()
138
+ },
139
+ // 金额转大写
140
+ smalltoBIG (n) {
141
+ let fraction = ['角', '分']
142
+ let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
143
+ let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']]
144
+ let head = n < 0 ? '欠' : ''
145
+ n = Math.abs(n)
146
+
147
+ let s = ''
148
+
149
+ for (var i = 0; i < fraction.length; i++) {
150
+ s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '')
151
+ }
152
+ s = s || '整'
153
+ n = Math.floor(n)
154
+
155
+ for (var i = 0; i < unit[0].length && n > 0; i++) {
156
+ let p = ''
157
+ for (var j = 0; j < unit[1].length && n > 0; j++) {
158
+ p = digit[n % 10] + unit[1][j] + p
159
+ n = Math.floor(n / 10)
160
+ }
161
+ s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s
162
+ }
163
+ return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
164
+ }
165
+ },
166
+ computed: {
167
+ orgs () {
168
+ return this.$login.f.orgs
169
+ },
170
+ username () {
171
+ return this.$login.f.name
172
+ }
173
+ }
174
+ }
175
+ </script>
176
+
177
+ <style scoped>
178
+ .control-label-justify {
179
+ display: inline-block;
180
+ vertical-align: top;
181
+ width: 110px;
182
+ text-align: justify;
183
+ font-family: PingFang-SC-Bold;
184
+ }
185
+
186
+ .control-label-justify::after {
187
+ content: "";
188
+ display: inline-block;
189
+ width: 100%;
190
+ overflow: hidden;
191
+ height: 0;
192
+ }
193
+ </style>