apply-clients 3.4.3 → 3.4.4
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.
- package/package.json +1 -1
- package/src/AndroidApp.vue +18 -18
- package/src/android.js +1 -1
- package/src/apply.js +39 -20
- package/src/applyAndroid.js +23 -9
- package/src/components/android/AppOnetomany.vue +47 -5
- package/src/components/android/AppServiceView.vue +745 -566
- package/src/components/android/AppSign.vue +154 -142
- package/src/components/android/AppTakePic.vue +11 -11
- package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
- package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
- package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
- package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
- package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
- package/src/components/android/Function/AppInstallFunction.vue +366 -0
- package/src/components/android/Process/AppExplorationUser.vue +217 -37
- package/src/components/android/Process/AppServiceControl.vue +1708 -757
- package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
- package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
- package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +482 -456
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
- package/src/components/android/Process/Processes/selectApply.vue +250 -0
- package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -121
- package/src/components/common/TabButton.vue +149 -0
- package/src/components/common/Tabs.vue +67 -0
- package/src/components/image/dwg.jpg +0 -0
- package/src/components/image/txt.jpg +0 -0
- package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
- package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
- package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
- package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
- package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
- package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
- package/src/components/product/Function/InstallFunction.vue +3 -2
- package/src/components/product/Function/InstallInfoSelect.vue +41 -21
- package/src/components/product/Function/Service/FunctionServiceControl.vue +96 -71
- package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
- package/src/components/product/Install/InstallProject.vue +194 -0
- package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
- package/src/components/product/OldApply/OldApply.vue +209 -0
- package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
- package/src/components/product/Onetomany.vue +40 -11
- package/src/components/product/Process/ExplorationSelect.vue +495 -417
- package/src/components/product/Process/ExplorationUser.vue +145 -94
- package/src/components/product/Process/Processes/InstallationDetails.vue +610 -592
- package/src/components/product/Process/Processes/Print/printCharge.vue +166 -142
- package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
- package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
- package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +4 -0
- package/src/components/product/Process/Processes/chargeManagement.vue +656 -638
- package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
- package/src/components/product/Process/Processes/selectApply.vue +2 -2
- package/src/components/product/Process/Service/ServiceControl.vue +628 -10
- package/src/components/product/Process/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +981 -631
- package/src/components/product/Stop/StopApply.vue +26 -30
- package/src/components/product/Stop/StopApplyList.vue +27 -25
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +732 -34
- package/src/components/product/Supervisory/SupervisoryControl.vue +38 -1
- package/src/components/product/Supervisory/SupervisoryList.vue +404 -233
- package/src/components/product/Supervisory/SupervisoryhCart.vue +51 -28
- package/src/components/product/VueUtils/ApplyUpload.vue +40 -38
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
- package/src/components/product/VueUtils/ToolsPage.vue +51 -0
- package/src/components/product/VueUtils/Tree.vue +330 -0
- package/src/expandcssAndroid.less +362 -879
- package/src/main.js +3 -0
|
@@ -1,638 +1,656 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
-
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
4
|
-
<template partial='head'>
|
|
5
|
-
<tr>
|
|
6
|
-
<th class="textNoLineBreak">序号</th>
|
|
7
|
-
<th class="textNoLineBreak" v-if="selectdata.f_apply_type !== '开发商集体报建'">地址</th>
|
|
8
|
-
<th class="textNoLineBreak">缴费编号</th>
|
|
9
|
-
<th class="textNoLineBreak">收费金额(退款金额)</th>
|
|
10
|
-
<th class="textNoLineBreak">金额大写</th>
|
|
11
|
-
<th class="textNoLineBreak">收费项目</th>
|
|
12
|
-
<th class="textNoLineBreak">付款方式</th>
|
|
13
|
-
<th class="textNoLineBreak">付款方名称</th>
|
|
14
|
-
<th class="textNoLineBreak">付款方账号</th>
|
|
15
|
-
<th class="textNoLineBreak">付款流水号</th>
|
|
16
|
-
<th class="textNoLineBreak">收费人员</th>
|
|
17
|
-
<th class="textNoLineBreak">收费日期</th>
|
|
18
|
-
<th class="textNoLineBreak"
|
|
19
|
-
<th class="textNoLineBreak"
|
|
20
|
-
<th class="textNoLineBreak"
|
|
21
|
-
<th class="textNoLineBreak"
|
|
22
|
-
<th class="textNoLineBreak"
|
|
23
|
-
<th class="textNoLineBreak">
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
<
|
|
115
|
-
<
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
<
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
},
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
this
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
let
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
this
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
this
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
data = {
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
this.
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
this.
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
+
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
4
|
+
<template partial='head'>
|
|
5
|
+
<tr>
|
|
6
|
+
<th class="textNoLineBreak">序号</th>
|
|
7
|
+
<th class="textNoLineBreak" v-if="selectdata.f_apply_type !== '开发商集体报建'">地址</th>
|
|
8
|
+
<th class="textNoLineBreak">缴费编号</th>
|
|
9
|
+
<th class="textNoLineBreak">收费金额(退款金额)</th>
|
|
10
|
+
<th class="textNoLineBreak">金额大写</th>
|
|
11
|
+
<th class="textNoLineBreak">收费项目</th>
|
|
12
|
+
<th class="textNoLineBreak">付款方式</th>
|
|
13
|
+
<th class="textNoLineBreak">付款方名称</th>
|
|
14
|
+
<th class="textNoLineBreak">付款方账号</th>
|
|
15
|
+
<th class="textNoLineBreak">付款流水号</th>
|
|
16
|
+
<th class="textNoLineBreak">收费人员</th>
|
|
17
|
+
<th class="textNoLineBreak">收费日期</th>
|
|
18
|
+
<th class="textNoLineBreak">实际收费日期</th>
|
|
19
|
+
<th class="textNoLineBreak">备注</th>
|
|
20
|
+
<th class="textNoLineBreak">缴费状态</th>
|
|
21
|
+
<th class="textNoLineBreak">作废人员</th>
|
|
22
|
+
<th class="textNoLineBreak">作废时间</th>
|
|
23
|
+
<th class="textNoLineBreak">作废原因</th>
|
|
24
|
+
<th class="textNoLineBreak">
|
|
25
|
+
<button
|
|
26
|
+
type="button"
|
|
27
|
+
class="btn btn-info head-but"
|
|
28
|
+
@click="$parent.$parent.showChargeModal()"
|
|
29
|
+
:disabled="$parent.$parent.mark === 1 || ($parent.$parent.selectdata.f_cumulative_payment_money >= $parent.$parent.selectdata.f_due_money || $parent.$parent.selectdata.f_surplus_money === 0)"
|
|
30
|
+
>新增收费</button>
|
|
31
|
+
</th>
|
|
32
|
+
</tr>
|
|
33
|
+
</template>
|
|
34
|
+
<template partial='body'>
|
|
35
|
+
<tr>
|
|
36
|
+
<td style="text-align: center;">
|
|
37
|
+
<nobr>{{$index+1}}</nobr>
|
|
38
|
+
</td>
|
|
39
|
+
<td style="text-align: center;" v-if="selectdata.f_apply_type !== '开发商集体报建'">
|
|
40
|
+
<nobr>{{row.f_useraddres}}</nobr>
|
|
41
|
+
</td>
|
|
42
|
+
<td style="text-align: center;">
|
|
43
|
+
<nobr>{{row.f_charge_number}}</nobr>
|
|
44
|
+
</td>
|
|
45
|
+
<td style="text-align: center;">
|
|
46
|
+
<nobr>{{row.f_charge_money}}</nobr>
|
|
47
|
+
</td>
|
|
48
|
+
<td style="text-align: center;">
|
|
49
|
+
<nobr>{{row.f_amount_words}}</nobr>
|
|
50
|
+
</td>
|
|
51
|
+
<td style="text-align: center;">
|
|
52
|
+
<nobr>{{row.f_payment_term}}</nobr>
|
|
53
|
+
</td>
|
|
54
|
+
<td style="text-align: center;">
|
|
55
|
+
<nobr>{{row.f_payment_method}}</nobr>
|
|
56
|
+
</td>
|
|
57
|
+
<td style="text-align: center;">
|
|
58
|
+
<nobr>{{row.f_payer_name}}</nobr>
|
|
59
|
+
</td>
|
|
60
|
+
<td style="text-align: center;">
|
|
61
|
+
<nobr>{{row.f_payer_account}}</nobr>
|
|
62
|
+
</td>
|
|
63
|
+
<td style="text-align: center;">
|
|
64
|
+
<nobr>{{row.f_payer_number}}</nobr>
|
|
65
|
+
</td>
|
|
66
|
+
<td style="text-align: center;">
|
|
67
|
+
<nobr>{{row.f_charge_collectors}}</nobr>
|
|
68
|
+
</td>
|
|
69
|
+
<td style="text-align: center;">
|
|
70
|
+
<nobr>{{row.f_charge_date}}</nobr>
|
|
71
|
+
</td>
|
|
72
|
+
<td style="text-align: center;">
|
|
73
|
+
<nobr>{{row.f_actual_date}}</nobr>
|
|
74
|
+
</td>
|
|
75
|
+
<td style="text-align: center;">
|
|
76
|
+
<nobr>{{row.f_charge_remarks}}</nobr>
|
|
77
|
+
</td>
|
|
78
|
+
<td style="text-align: center;">
|
|
79
|
+
<nobr>{{row.f_charge_status}}</nobr>
|
|
80
|
+
</td>
|
|
81
|
+
<td style="text-align: center;">
|
|
82
|
+
<nobr>{{row.f_void_staff}}</nobr>
|
|
83
|
+
</td>
|
|
84
|
+
<td style="text-align: center;">
|
|
85
|
+
<nobr>{{row.f_void_date}}</nobr>
|
|
86
|
+
</td>
|
|
87
|
+
<td style="text-align: center;">
|
|
88
|
+
<nobr>{{row.f_void_remarks}}</nobr>
|
|
89
|
+
</td>
|
|
90
|
+
<td style="text-align: center;">
|
|
91
|
+
<nobr v-if="row.f_charge_status !== '退款'">
|
|
92
|
+
<button
|
|
93
|
+
type="button"
|
|
94
|
+
name="button"
|
|
95
|
+
class="btn btn-link"
|
|
96
|
+
:disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废'"
|
|
97
|
+
@click="$parent.$parent.showInvalidModal(row)"
|
|
98
|
+
>作废</button>
|
|
99
|
+
|
|
100
|
+
<button
|
|
101
|
+
type="button"
|
|
102
|
+
name="button"
|
|
103
|
+
class="btn btn-link"
|
|
104
|
+
@click="$parent.$parent.showPrintModal(row)"
|
|
105
|
+
>打印预览</button>
|
|
106
|
+
</nobr>
|
|
107
|
+
</td>
|
|
108
|
+
</tr>
|
|
109
|
+
</template>
|
|
110
|
+
</data-grid>
|
|
111
|
+
|
|
112
|
+
<validator name="v">
|
|
113
|
+
<modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
|
|
114
|
+
<header slot="modal-header" class="modal-header">
|
|
115
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
116
|
+
<h4 class="modal-title">收费明细</h4>
|
|
117
|
+
</header>
|
|
118
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
119
|
+
<div class="form-group col-sm-12" v-if="false" :class="[$v.useraddres.required ? 'has-error' : '']">
|
|
120
|
+
<label class="col-sm-2 control-label">缴费地址:</label>
|
|
121
|
+
<div class="col-sm-10">
|
|
122
|
+
<input type="text" v-show="false" v-model="charge.useraddres.id" v-validate:useraddres = "['required']" >
|
|
123
|
+
<input-select width="100%" class="select select_list" placeholder='请选择'
|
|
124
|
+
v-model="charge.useraddres"
|
|
125
|
+
:value.sync="charge.useraddres"
|
|
126
|
+
:options='useraddresList'
|
|
127
|
+
:value-single="true"
|
|
128
|
+
@change="selectAddres()"
|
|
129
|
+
close-on-select ></input-select>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
<div class="form-group col-sm-12" :class="[$v.f_payment_term.required ? 'has-error' : '']">
|
|
133
|
+
<label class="col-sm-2 control-label">收费项目:</label>
|
|
134
|
+
<div class="col-sm-10">
|
|
135
|
+
<input type="text" v-show="false" v-model="charge.f_payment_term" v-validate:f_payment_term = "['required']" >
|
|
136
|
+
<input-select width="100%" class="select select_list" placeholder='请选择'
|
|
137
|
+
v-model="charge.f_payment_term"
|
|
138
|
+
:value.sync="charge.f_payment_term"
|
|
139
|
+
:options='paymentTerm'
|
|
140
|
+
:value-single="true"
|
|
141
|
+
close-on-select ></input-select>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
<div class="form-group col-sm-12" :class="[$v.f_charge_money.required ? 'has-error' : '']">
|
|
145
|
+
<label class="col-sm-2 control-label">收费金额:</label>
|
|
146
|
+
<div class="col-sm-10">
|
|
147
|
+
<input type="text"
|
|
148
|
+
class="form-control input_view"
|
|
149
|
+
style="width: 100%"
|
|
150
|
+
placeholder="0.00"
|
|
151
|
+
@keyup="handleInput"
|
|
152
|
+
@change="moneyChange"
|
|
153
|
+
v-validate:f_charge_money = "['required']"
|
|
154
|
+
v-model="charge.f_charge_money" />
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
<div class="form-group col-sm-12" :class="[$v.f_payment_method.required ? 'has-error' : '']">
|
|
158
|
+
<label class="col-sm-2 control-label">付款方式:</label>
|
|
159
|
+
<div class="col-sm-10">
|
|
160
|
+
<input type="text" v-show="false" v-model="charge.f_payment_method" v-validate:f_payment_method = "['required']" >
|
|
161
|
+
<input-select
|
|
162
|
+
placeholder='请选择' width="100%"
|
|
163
|
+
v-model="charge.f_payment_method"
|
|
164
|
+
:value.sync="charge.f_payment_method"
|
|
165
|
+
:options='paymentMethod'
|
|
166
|
+
class="select select_list"
|
|
167
|
+
:value-single="true"
|
|
168
|
+
@change="changePaymentMethod()"
|
|
169
|
+
close-on-select ></input-select>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
<div class="form-group col-sm-12" v-if="charge.f_payment_method === '银行转账'" :class="[$v.f_payer_name.required ? 'has-error' : '']">
|
|
173
|
+
<label class="col-sm-2 control-label">付款方名称:</label>
|
|
174
|
+
<div class="col-sm-10">
|
|
175
|
+
<input type="text"
|
|
176
|
+
class="form-control input_view"
|
|
177
|
+
style="width: 100%"
|
|
178
|
+
v-validate:f_payer_name = "['required']"
|
|
179
|
+
v-model="charge.f_payer_name" value="" />
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
<div class="form-group col-sm-12" v-if="charge.f_payment_method === '银行转账'" :class="[$v.f_payer_account.required ? 'has-error' : '']">
|
|
183
|
+
<label class="col-sm-2 control-label">付款方账号:</label>
|
|
184
|
+
<div class="col-sm-10">
|
|
185
|
+
<input type="text" style="width: 100%" class="form-control input_view"
|
|
186
|
+
v-validate:f_payer_account = "['required']"
|
|
187
|
+
v-model="charge.f_payer_account" value=""/>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
<div class="form-group col-sm-12" v-if="charge.f_payment_method === '银行转账'" :class="[$v.f_payer_number.required ? 'has-error' : '']">
|
|
191
|
+
<label class="col-sm-2 control-label">付款流水号:</label>
|
|
192
|
+
<div class="col-sm-10">
|
|
193
|
+
<input type="text"
|
|
194
|
+
class="form-control input_view"
|
|
195
|
+
style="width: 100%" @change="payerNumberChange()"
|
|
196
|
+
v-validate:f_payer_number = "['required']"
|
|
197
|
+
v-model="charge.f_payer_number" value="" />
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
<div class="form-group col-sm-12">
|
|
201
|
+
<label class="col-sm-2 control-label">金额大写:</label>
|
|
202
|
+
<div class="col-sm-10">
|
|
203
|
+
<input type="text"
|
|
204
|
+
class="form-control input_view"
|
|
205
|
+
style="width: 100%"
|
|
206
|
+
:value="smalltoBIG(0)"
|
|
207
|
+
readonly
|
|
208
|
+
v-model.sync="charge.f_amount_words" />
|
|
209
|
+
</div>
|
|
210
|
+
</div>
|
|
211
|
+
<div class="form-group col-sm-12"
|
|
212
|
+
v-if="selectdata.f_apply_type === '散户集体报建'"
|
|
213
|
+
>
|
|
214
|
+
<label class="col-sm-2 control-label">单价(户):</label>
|
|
215
|
+
<div class="col-sm-10">
|
|
216
|
+
<input type="text"
|
|
217
|
+
class="form-control input_view"
|
|
218
|
+
style="width: 100%"
|
|
219
|
+
readonly
|
|
220
|
+
v-model="selectdata.f_price" />
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
<div class="form-group col-sm-12"
|
|
224
|
+
v-if="selectdata.f_apply_type === '散户集体报建'"
|
|
225
|
+
>
|
|
226
|
+
<label class="col-sm-2 control-label">累计缴费金额:</label>
|
|
227
|
+
<div class="col-sm-10">
|
|
228
|
+
<input type="text"
|
|
229
|
+
class="form-control input_view"
|
|
230
|
+
style="width: 100%"
|
|
231
|
+
readonly
|
|
232
|
+
v-model="charge.f_cumulative_payment_money"
|
|
233
|
+
:value="charge.f_cumulative_payment_money || 0" />
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
<div class="form-group col-sm-12"
|
|
237
|
+
v-if="selectdata.f_apply_type === '散户集体报建'"
|
|
238
|
+
>
|
|
239
|
+
<label class="col-sm-2 control-label">未结金额:</label>
|
|
240
|
+
<div class="col-sm-10">
|
|
241
|
+
<input type="text"
|
|
242
|
+
class="form-control input_view"
|
|
243
|
+
style="width: 100%"
|
|
244
|
+
readonly
|
|
245
|
+
v-model="charge.f_outstanding_amount"
|
|
246
|
+
:value="charge.f_outstanding_amount || 0" />
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
<div class="form-group col-sm-12">
|
|
250
|
+
<label class="col-sm-2 control-label">应交总金额:</label>
|
|
251
|
+
<div class="col-sm-10">
|
|
252
|
+
<input type="text"
|
|
253
|
+
class="form-control input_view"
|
|
254
|
+
style="width: 100%"
|
|
255
|
+
readonly
|
|
256
|
+
v-model="selectdata.f_due_money" />
|
|
257
|
+
</div>
|
|
258
|
+
</div>
|
|
259
|
+
<div class="form-group col-sm-12">
|
|
260
|
+
<label class="col-sm-2 control-label">累计缴费总金额:</label>
|
|
261
|
+
<div class="col-sm-10">
|
|
262
|
+
<input type="text"
|
|
263
|
+
class="form-control input_view"
|
|
264
|
+
style="width: 100%"
|
|
265
|
+
readonly
|
|
266
|
+
v-model="selectdata.f_cumulative_payment_money" />
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
<div class="form-group col-sm-12">
|
|
270
|
+
<label class="col-sm-2 control-label">未结总金额:</label>
|
|
271
|
+
<div class="col-sm-10">
|
|
272
|
+
<input type="text"
|
|
273
|
+
class="form-control input_view"
|
|
274
|
+
style="width: 100%"
|
|
275
|
+
readonly
|
|
276
|
+
v-model="selectdata.f_surplus_money" />
|
|
277
|
+
</div>
|
|
278
|
+
</div>
|
|
279
|
+
<div class="form-group col-sm-12">
|
|
280
|
+
<label class="col-sm-2 control-label">备注:</label>
|
|
281
|
+
<div class="col-sm-10">
|
|
282
|
+
<input type="text"
|
|
283
|
+
class="form-control input_view"
|
|
284
|
+
style="width: 100%"
|
|
285
|
+
v-model="charge.f_charge_remarks" />
|
|
286
|
+
</div>
|
|
287
|
+
</div>
|
|
288
|
+
<div class="form-group col-sm-12">
|
|
289
|
+
<label class="col-sm-2 control-label">实际收款时间:</label>
|
|
290
|
+
<div class="col-sm-10">
|
|
291
|
+
<datepicker id="startDate" placeholder="实际收款时间"
|
|
292
|
+
style="width: 60%!important;"
|
|
293
|
+
v-model="charge.f_actual_date"
|
|
294
|
+
:value.sync="charge.f_actual_date"
|
|
295
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
296
|
+
:show-reset-button="true"
|
|
297
|
+
>
|
|
298
|
+
</datepicker>
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
</article>
|
|
302
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
303
|
+
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="saveCharge()">新增收费</button>
|
|
304
|
+
</footer>
|
|
305
|
+
</modal>
|
|
306
|
+
</validator>
|
|
307
|
+
|
|
308
|
+
<modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :backdrop="false" title="作废收费">
|
|
309
|
+
<header slot="modal-header" class="modal-header">
|
|
310
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
311
|
+
<h4 class="modal-title">作废收费</h4>
|
|
312
|
+
</header>
|
|
313
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
314
|
+
<div class="form-group col-sm-12" v-if="false">
|
|
315
|
+
<label class="col-sm-2 control-label">缴费地址:</label>
|
|
316
|
+
<div class="col-sm-10">
|
|
317
|
+
<input type="text"
|
|
318
|
+
class="form-control input_view"
|
|
319
|
+
style="width: 100%"
|
|
320
|
+
readonly
|
|
321
|
+
v-model="charge.f_useraddres" />
|
|
322
|
+
</div>
|
|
323
|
+
</div>
|
|
324
|
+
<div class="form-group col-sm-12">
|
|
325
|
+
<label class="col-sm-2 control-label">收费金额:</label>
|
|
326
|
+
<div class="col-sm-10">
|
|
327
|
+
<input type="text"
|
|
328
|
+
class="form-control input_view"
|
|
329
|
+
style="width: 100%"
|
|
330
|
+
readonly
|
|
331
|
+
v-model="charge.f_charge_money" />
|
|
332
|
+
</div>
|
|
333
|
+
</div>
|
|
334
|
+
<div class="form-group col-sm-12">
|
|
335
|
+
<label class="col-sm-2 control-label">付款方式:</label>
|
|
336
|
+
<div class="col-sm-10">
|
|
337
|
+
<input type="text"
|
|
338
|
+
class="form-control input_view"
|
|
339
|
+
style="width: 100%"
|
|
340
|
+
readonly
|
|
341
|
+
v-model="charge.f_payment_method" />
|
|
342
|
+
</div>
|
|
343
|
+
</div>
|
|
344
|
+
<div class="form-group col-sm-12">
|
|
345
|
+
<label class="col-sm-2 control-label">金额大写:</label>
|
|
346
|
+
<div class="col-sm-10">
|
|
347
|
+
<input type="text"
|
|
348
|
+
class="form-control input_view"
|
|
349
|
+
style="width: 100%"
|
|
350
|
+
readonly
|
|
351
|
+
v-model="charge.f_amount_words" />
|
|
352
|
+
</div>
|
|
353
|
+
</div>
|
|
354
|
+
<div class="form-group col-sm-12">
|
|
355
|
+
<label class="col-sm-2 control-label">收费人员:</label>
|
|
356
|
+
<div class="col-sm-10">
|
|
357
|
+
<input type="text"
|
|
358
|
+
class="form-control input_view"
|
|
359
|
+
style="width: 100%"
|
|
360
|
+
readonly
|
|
361
|
+
v-model="charge.f_charge_collectors" />
|
|
362
|
+
</div>
|
|
363
|
+
</div>
|
|
364
|
+
<div class="form-group col-sm-12" :class="charge.f_void_remarks ? '':'has-error'">
|
|
365
|
+
<label class="col-sm-2 control-label">作废原因:</label>
|
|
366
|
+
<div class="col-sm-10">
|
|
367
|
+
<input type="text"
|
|
368
|
+
class="form-control input_view"
|
|
369
|
+
style="width: 100%"
|
|
370
|
+
v-model="charge.f_void_remarks" />
|
|
371
|
+
</div>
|
|
372
|
+
</div>
|
|
373
|
+
</article>
|
|
374
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
375
|
+
<button type="button" class="btn btn-primary" :disabled="!charge.f_void_remarks" @click="invalidApplyCharge()">确认作废</button>
|
|
376
|
+
</footer>
|
|
377
|
+
</modal>
|
|
378
|
+
|
|
379
|
+
<modal v-if="showPrint" :show.sync="showPrint" v-ref:modal :large="true" :backdrop="false" title="打印预览">
|
|
380
|
+
<header slot="modal-header" class="modal-header">
|
|
381
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
382
|
+
<h4 class="modal-title">打印预览</h4>
|
|
383
|
+
</header>
|
|
384
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
385
|
+
<apply-print-chargepc :selectdata="selectdata" :charge="charge" v-ref:print></apply-print-chargepc>
|
|
386
|
+
</article>
|
|
387
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
388
|
+
<button type="button" class="btn btn-primary" @click="print()">打印</button>
|
|
389
|
+
</footer>
|
|
390
|
+
</modal>
|
|
391
|
+
</div>
|
|
392
|
+
</template>
|
|
393
|
+
<script>
|
|
394
|
+
import {getNowDate,isEmpty} from '../../../Util'
|
|
395
|
+
import {PagedList} from 'vue-client'
|
|
396
|
+
import {HttpResetClass} from 'vue-client'
|
|
397
|
+
import Vue from 'vue'
|
|
398
|
+
|
|
399
|
+
export default {
|
|
400
|
+
title: '收费管理',
|
|
401
|
+
props: {
|
|
402
|
+
selectdata: {
|
|
403
|
+
type: Object
|
|
404
|
+
},
|
|
405
|
+
mark: {
|
|
406
|
+
type: Number,
|
|
407
|
+
default: 0
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
data () {
|
|
411
|
+
return {
|
|
412
|
+
showCharge: false, // 收费明细
|
|
413
|
+
showInvalid: false, // 作废
|
|
414
|
+
showPrint: false, // 打印
|
|
415
|
+
model: {
|
|
416
|
+
data: null
|
|
417
|
+
}, // 记录
|
|
418
|
+
useraddresList: [], // 地址列表
|
|
419
|
+
charge: {
|
|
420
|
+
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
ready () {
|
|
425
|
+
this.search()
|
|
426
|
+
},
|
|
427
|
+
methods: {
|
|
428
|
+
async payerNumberChange () {
|
|
429
|
+
if (isEmpty(this.charge.f_payer_number)) {
|
|
430
|
+
return
|
|
431
|
+
}
|
|
432
|
+
let http = new HttpResetClass()
|
|
433
|
+
let data = {
|
|
434
|
+
tablename: 't_charge_record',
|
|
435
|
+
condition: `f_payer_number = '${this.charge.f_payer_number}'`
|
|
436
|
+
}
|
|
437
|
+
let res = await http.load('POST', 'rs/sql/singleTable', {data:data}, {
|
|
438
|
+
resolveMsg: null,
|
|
439
|
+
rejectMsg: '流水号查询失败!!!'
|
|
440
|
+
})
|
|
441
|
+
if (res.data.length > 0) {
|
|
442
|
+
this.$showAlert('该流水号已经使用!!!', 'warning', 3000)
|
|
443
|
+
return
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
print () {
|
|
447
|
+
this.$refs.print.$refs.print.PrintTable()
|
|
448
|
+
},
|
|
449
|
+
showPrintModal(row) {
|
|
450
|
+
this.charge = row
|
|
451
|
+
this.showPrint = true
|
|
452
|
+
},
|
|
453
|
+
selectAddres () {
|
|
454
|
+
if (this.charge.useraddres) {
|
|
455
|
+
this.charge.f_cumulative_payment_money = this.charge.useraddres.f_cumulative_payment_money
|
|
456
|
+
this.charge.f_outstanding_amount = this.selectdata.f_price - this.charge.useraddres.f_cumulative_payment_money
|
|
457
|
+
} else {
|
|
458
|
+
this.charge.f_cumulative_payment_money = 0
|
|
459
|
+
this.charge.f_outstanding_amount = this.selectdata.f_price
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
async invalidApplyCharge() {
|
|
463
|
+
|
|
464
|
+
let http = new HttpResetClass()
|
|
465
|
+
let data = {
|
|
466
|
+
apply: this.selectdata,
|
|
467
|
+
user: this.$login.f,
|
|
468
|
+
charge: this.charge
|
|
469
|
+
}
|
|
470
|
+
let res = await http.load('POST', 'rs/logic/invalidApplyCharge', {data:data}, {
|
|
471
|
+
resolveMsg: null,
|
|
472
|
+
rejectMsg: '作废失败!!!'
|
|
473
|
+
})
|
|
474
|
+
this.selectdata = res.data
|
|
475
|
+
|
|
476
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
477
|
+
},
|
|
478
|
+
|
|
479
|
+
// 打开作废收费
|
|
480
|
+
showInvalidModal(row) {
|
|
481
|
+
this.charge = row
|
|
482
|
+
this.showInvalid = true
|
|
483
|
+
},
|
|
484
|
+
// 新增收费
|
|
485
|
+
async saveCharge() {
|
|
486
|
+
let http = new HttpResetClass()
|
|
487
|
+
let data = {
|
|
488
|
+
apply: this.selectdata,
|
|
489
|
+
user: this.$login.f,
|
|
490
|
+
charge: this.charge
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
let res = await http.load('POST', 'rs/logic/addApplyChargeRecord', {data:data}, {
|
|
494
|
+
resolveMsg: null,
|
|
495
|
+
rejectMsg: '缴费失败!!!'
|
|
496
|
+
})
|
|
497
|
+
this.selectdata = res.data
|
|
498
|
+
|
|
499
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
500
|
+
},
|
|
501
|
+
moneyChange () {
|
|
502
|
+
if (isEmpty(this.charge.f_charge_money) || Number(this.charge.f_charge_money) === 0) {
|
|
503
|
+
this.$showAlert('单笔收费不能为0元!!!', 'warning', 3000)
|
|
504
|
+
this.charge.f_charge_money = null
|
|
505
|
+
return
|
|
506
|
+
}
|
|
507
|
+
if (this.selectdata.f_apply_type === '散户集体报建' && Number(this.charge.f_charge_money) > Number(this.charge.f_outstanding_amount)) {
|
|
508
|
+
this.$showAlert('单笔收费不能超过未交金额!!!', 'warning', 3000)
|
|
509
|
+
this.charge.f_charge_money = null
|
|
510
|
+
return
|
|
511
|
+
}
|
|
512
|
+
if (Number(this.charge.f_charge_money) > Number(this.selectdata.f_surplus_money)) {
|
|
513
|
+
this.$showAlert('单笔收费不能超过未交总金额!!!', 'warning', 3000)
|
|
514
|
+
this.charge.f_charge_money = null
|
|
515
|
+
return
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
// 金额转大写
|
|
519
|
+
handleInput(e) {
|
|
520
|
+
// 通过正则过滤小数点后两位
|
|
521
|
+
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,2})/g)[0]) || null
|
|
522
|
+
this.charge.f_amount_words = this.smalltoBIG(e.target.value)
|
|
523
|
+
},
|
|
524
|
+
// 金额转大写
|
|
525
|
+
smalltoBIG(n) {
|
|
526
|
+
let fraction = ['角', '分'];
|
|
527
|
+
let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
|
|
528
|
+
let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
|
|
529
|
+
let head = n < 0 ? '欠' : '';
|
|
530
|
+
n = Math.abs(n);
|
|
531
|
+
|
|
532
|
+
let s = '';
|
|
533
|
+
|
|
534
|
+
for (var i = 0; i < fraction.length; i++) {
|
|
535
|
+
s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
|
|
536
|
+
}
|
|
537
|
+
s = s || '整';
|
|
538
|
+
n = Math.floor(n);
|
|
539
|
+
|
|
540
|
+
for (var i = 0; i < unit[0].length && n > 0; i++) {
|
|
541
|
+
let p = '';
|
|
542
|
+
for (var j = 0; j < unit[1].length && n > 0; j++) {
|
|
543
|
+
p = digit[n % 10] + unit[1][j] + p;
|
|
544
|
+
n = Math.floor(n / 10);
|
|
545
|
+
}
|
|
546
|
+
s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
|
|
547
|
+
}
|
|
548
|
+
return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
|
|
549
|
+
},
|
|
550
|
+
async changePaymentMethod () {
|
|
551
|
+
if (this.charge.f_payment_method === '银行转账' && this.selectdata.f_apply_type === '团购报建') {
|
|
552
|
+
let http = new HttpResetClass()
|
|
553
|
+
let data = {
|
|
554
|
+
tablename: 't_dev_info',
|
|
555
|
+
condition: `f_orgid = '${this.$login.f.orgid}' and id = '${this.selectdata.f_dev_id}'`
|
|
556
|
+
}
|
|
557
|
+
let res = await http.load('POST', 'rs/sql/singleTable', {data:data}, {
|
|
558
|
+
resolveMsg: null,
|
|
559
|
+
rejectMsg: '开发商档案查询失败!!!'
|
|
560
|
+
})
|
|
561
|
+
|
|
562
|
+
this.charge.f_payer_name = res.data[0].f_dev_name
|
|
563
|
+
this.charge.f_payer_account = res.data[0].f_bank_account
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
async getUserAddress() {
|
|
567
|
+
let http = new HttpResetClass()
|
|
568
|
+
let data = {}
|
|
569
|
+
let url = null
|
|
570
|
+
if (this.selectdata.f_apply_type === '改管报建' || this.selectdata.f_apply_type === '增容报建' || this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建') {
|
|
571
|
+
data = {
|
|
572
|
+
condition: `ui.f_userinfo_id = ${this.selectdata.f_userinfo_id}`
|
|
573
|
+
}
|
|
574
|
+
url = 'rs/sql/applyGetUserinfos'
|
|
575
|
+
} else {
|
|
576
|
+
data = {
|
|
577
|
+
condition: this.selectdata.f_apply_type === '散户集体报建' ? `nvl(cr.f_cumulative_payment_money, 0) < ${this.selectdata.f_price}` : '1=1',
|
|
578
|
+
f_process_id: this.selectdata.f_process_id
|
|
579
|
+
}
|
|
580
|
+
url = 'rs/sql/getAddresAndCumulativePayment'
|
|
581
|
+
}
|
|
582
|
+
let res = await http.load('POST', url, {data:data}, {
|
|
583
|
+
resolveMsg: null,
|
|
584
|
+
rejectMsg: '用户获取失败!!!'
|
|
585
|
+
})
|
|
586
|
+
|
|
587
|
+
if (res.data.length <= 0) {
|
|
588
|
+
this.$showAlert('暂无需要缴费用户!!!', 'warning', 3000)
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
this.useraddresList = res.data.map(item => {
|
|
592
|
+
return {
|
|
593
|
+
// 有用户姓名地址后拼接姓名
|
|
594
|
+
label: `${item.f_address} ${isEmpty(item.f_user_name) ? '' : '--- ' + item.f_user_name}`,
|
|
595
|
+
value: item
|
|
596
|
+
}
|
|
597
|
+
})
|
|
598
|
+
|
|
599
|
+
},
|
|
600
|
+
async showChargeModal() {
|
|
601
|
+
this.getUserAddress()
|
|
602
|
+
|
|
603
|
+
if (this.selectdata.f_apply_type === '团购报建') {
|
|
604
|
+
this.charge.f_dev_info_id = this.selectdata.f_dev_id
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
this.showCharge = true
|
|
608
|
+
},
|
|
609
|
+
async search () {
|
|
610
|
+
let http = new HttpResetClass()
|
|
611
|
+
let data = {
|
|
612
|
+
// condition: `cr.f_charge_status != '退款'`,
|
|
613
|
+
f_process_id: this.selectdata.f_process_id
|
|
614
|
+
}
|
|
615
|
+
let res = await http.load('POST', 'rs/sql/getApplyChargeRecord', {data:data}, {
|
|
616
|
+
resolveMsg: null,
|
|
617
|
+
rejectMsg: '收费记录查询失败!!!'
|
|
618
|
+
})
|
|
619
|
+
this.model.data = res.data
|
|
620
|
+
},
|
|
621
|
+
// 关闭对话框
|
|
622
|
+
closeModal() {
|
|
623
|
+
this.showCharge = false
|
|
624
|
+
this.showInvalid = false
|
|
625
|
+
this.showPrint = false
|
|
626
|
+
this.charge = {}
|
|
627
|
+
this.search()
|
|
628
|
+
}
|
|
629
|
+
},
|
|
630
|
+
events: {
|
|
631
|
+
},
|
|
632
|
+
computed: {
|
|
633
|
+
paymentMethod() {
|
|
634
|
+
return this.$appdata.getParam("付款方式")
|
|
635
|
+
},
|
|
636
|
+
paymentTerm() {
|
|
637
|
+
return this.$appdata.getParam("收费项目")
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
watch: {
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
</script>
|
|
644
|
+
<style scoped>
|
|
645
|
+
.textNoLineBreak {
|
|
646
|
+
white-space: nowrap;
|
|
647
|
+
}
|
|
648
|
+
.head-but{
|
|
649
|
+
margin-left: 5px;
|
|
650
|
+
height: 34px;
|
|
651
|
+
/*background-color: #6aa6e2;*/
|
|
652
|
+
border-radius: 4px;
|
|
653
|
+
font-family: PingFang;
|
|
654
|
+
color: #ffffff;
|
|
655
|
+
}
|
|
656
|
+
</style>
|