apply-clients 3.5.5-2 → 3.5.5-20
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/build/dev-server.js +0 -8
- package/package.json +3 -2
- package/src/apply.js +2 -0
- package/src/components/android/AppTakePic.vue +182 -182
- package/src/components/product/Material/MaterialDetailed.vue +268 -268
- package/src/components/product/Process/Processes/contractModel.vue +424 -0
- package/src/components/product/ServiceView.vue +1028 -1028
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -440
- package/src/filiale/fugou/android/AppDevicesManagement.vue +521 -519
- package/src/filiale/fugou/android/AppInstallationDetails.vue +542 -541
- package/src/filiale/fugou/android/AppServiceControl.vue +1836 -1836
- package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
- package/src/filiale/fugou/android/printCharge.vue +162 -162
- package/src/filiale/fugou/android.js +16 -16
- package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
- package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
- package/src/filiale/fugou/pc/ServiceView.vue +941 -941
- package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
- package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -0
- package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
- package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
- package/src/filiale/fugou/pc/printChargepc.vue +148 -148
- package/src/filiale/fugou/pc.js +3 -1
- package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
- package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +634 -0
- package/src/filiale/jinhuang/android.js +6 -0
- package/src/filiale/jinhuang/pc/addMaterialScience.vue +632 -0
- package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +39 -1
- package/src/filiale/jinhuang/pc.js +1 -0
- package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
- package/src/filiale/qianneng/android.js +15 -15
- package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
- package/src/filiale/qianneng/pc/Applydetail.vue +417 -417
- package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
- package/src/filiale/qianneng/pc.js +29 -29
- package/src/filiale/ruihua/pc/ServiceControl.vue +1967 -1966
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
- package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1115 -1087
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1703 -1706
- package/src/filiale/yangchunboneng/android/MaterIialOne.vue +176 -156
- package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +644 -617
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +30 -0
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1 -4
- package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
- package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +1 -0
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1053 -1052
- package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
|
@@ -1,1052 +1,1053 @@
|
|
|
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">
|
|
7
|
-
<button
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<th class="textNoLineBreak"
|
|
16
|
-
<th class="textNoLineBreak"
|
|
17
|
-
<th class="textNoLineBreak"
|
|
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
|
-
<th class="textNoLineBreak"
|
|
25
|
-
<th class="textNoLineBreak"
|
|
26
|
-
<th class="textNoLineBreak"
|
|
27
|
-
<th class="textNoLineBreak"
|
|
28
|
-
<th class="textNoLineBreak"
|
|
29
|
-
<th class="textNoLineBreak"
|
|
30
|
-
<th class="textNoLineBreak"
|
|
31
|
-
<th class="textNoLineBreak"
|
|
32
|
-
<th class="textNoLineBreak"
|
|
33
|
-
<th class="textNoLineBreak"
|
|
34
|
-
<th class="textNoLineBreak"
|
|
35
|
-
<th class="textNoLineBreak"
|
|
36
|
-
<th class="textNoLineBreak"
|
|
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
|
-
<input
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
:
|
|
162
|
-
:
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
<div class="col-sm-6 text-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
<
|
|
179
|
-
|
|
180
|
-
<input
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
:
|
|
184
|
-
:
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
<
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
v-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
<
|
|
203
|
-
|
|
204
|
-
<input-
|
|
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
|
-
<button type="button" class="btn btn-primary"
|
|
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
|
-
:
|
|
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
|
-
<
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
<
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
<
|
|
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
|
-
|
|
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
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
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
|
-
|
|
639
|
-
|
|
640
|
-
<
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
<
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
</
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
import {
|
|
667
|
-
import {
|
|
668
|
-
import
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
let
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
this.
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
this.charge.
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
this.charge.
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
let
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
this
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
let
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
let
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
this.
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
(this.selectdata.defname == '
|
|
798
|
-
(this.selectdata.defname == '
|
|
799
|
-
(this.selectdata.defname == '
|
|
800
|
-
(this.selectdata.defname == '
|
|
801
|
-
(this.selectdata.defname == '
|
|
802
|
-
(this.selectdata.defname == '
|
|
803
|
-
(this.selectdata.defname == '
|
|
804
|
-
(this.selectdata.defname == '
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
let
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
let
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
{
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
show_data
|
|
831
|
-
show_data.
|
|
832
|
-
show_data.
|
|
833
|
-
show_data.
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
{
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
this.
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
this.
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
this.
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
this.
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
let
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
this
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
this
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
this
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
this.charge.charges[i].
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
let
|
|
914
|
-
let
|
|
915
|
-
let
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
let
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
this.charge.
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
let
|
|
955
|
-
let
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
let
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
this.
|
|
1016
|
-
this.
|
|
1017
|
-
this.
|
|
1018
|
-
this.
|
|
1019
|
-
this.
|
|
1020
|
-
this.
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
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">
|
|
7
|
+
<button
|
|
8
|
+
v-show="$parent.$parent.$login.f.f_role_name.includes('报建收费')"
|
|
9
|
+
type="button"
|
|
10
|
+
class="btn btn-info head-but"
|
|
11
|
+
@click="$parent.$parent.showChargeModal()"
|
|
12
|
+
v-show="$parent.$parent.selectdata.f_apply_type !== '启封通气'"
|
|
13
|
+
>新增收费</button>
|
|
14
|
+
</th>
|
|
15
|
+
<th class="textNoLineBreak">序号</th>
|
|
16
|
+
<th class="textNoLineBreak" v-if="selectdata.f_apply_type !== '开发商集体报建'">地址</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">付款方账号</th>
|
|
25
|
+
<th class="textNoLineBreak">付款流水号</th>
|
|
26
|
+
<th class="textNoLineBreak">收费人员</th>
|
|
27
|
+
<th class="textNoLineBreak">收费日期</th>
|
|
28
|
+
<th class="textNoLineBreak">实际收费日期</th>
|
|
29
|
+
<th class="textNoLineBreak">备注</th>
|
|
30
|
+
<th class="textNoLineBreak">缴费状态</th>
|
|
31
|
+
<th class="textNoLineBreak">作废人员</th>
|
|
32
|
+
<th class="textNoLineBreak">作废时间</th>
|
|
33
|
+
<th class="textNoLineBreak">作废原因</th>
|
|
34
|
+
<th class="textNoLineBreak">确认人</th>
|
|
35
|
+
<th class="textNoLineBreak">确认时间</th>
|
|
36
|
+
<th class="textNoLineBreak">审核人</th>
|
|
37
|
+
<th class="textNoLineBreak">审核时间</th>
|
|
38
|
+
</tr>
|
|
39
|
+
</template>
|
|
40
|
+
<template partial='body'>
|
|
41
|
+
<tr>
|
|
42
|
+
<td style="text-align: center;">
|
|
43
|
+
<nobr v-if="row.f_charge_status !== '退款'&& row.f_charge_status !== '作废' && row.f_confirm_person==null && $parent.$parent.$login.f.f_role_name.includes('确认收款')">
|
|
44
|
+
<button
|
|
45
|
+
type="button"
|
|
46
|
+
name="button"
|
|
47
|
+
class="btn btn-link"
|
|
48
|
+
:disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废' || row.f_back_state==='已退费' "
|
|
49
|
+
@click="$parent.$parent.showConfirmModal(row,'确认收款')"
|
|
50
|
+
>确认收款</button>
|
|
51
|
+
</nobr>
|
|
52
|
+
<nobr v-if="row.f_charge_status !== '退款'">
|
|
53
|
+
<button v-show="$parent.$parent.$login.f.f_role_name.includes('报建作废')"
|
|
54
|
+
type="button"
|
|
55
|
+
name="button"
|
|
56
|
+
class="btn btn-link"
|
|
57
|
+
:disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废' || row.f_back_state==='已退费'"
|
|
58
|
+
@click="$parent.$parent.showInvalidModal(row)"
|
|
59
|
+
>作废</button>
|
|
60
|
+
<button v-show="$parent.$parent.$login.f.f_role_name.includes('报建退费')"
|
|
61
|
+
type="button"
|
|
62
|
+
name="button"
|
|
63
|
+
class="btn btn-link"
|
|
64
|
+
:disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废' || row.f_back_state==='已退费'"
|
|
65
|
+
@click="$parent.$parent.showBackdModal(row)"
|
|
66
|
+
>退费</button>
|
|
67
|
+
<button
|
|
68
|
+
type="button"
|
|
69
|
+
name="button"
|
|
70
|
+
class="btn btn-link"
|
|
71
|
+
@click="$parent.$parent.showPrintModal(row)"
|
|
72
|
+
>打印预览</button>
|
|
73
|
+
</nobr>
|
|
74
|
+
</td>
|
|
75
|
+
<td style="text-align: center;">
|
|
76
|
+
<nobr>{{$index+1}}</nobr>
|
|
77
|
+
</td>
|
|
78
|
+
<td style="text-align: center;" v-if="selectdata.f_apply_type !== '开发商集体报建'">
|
|
79
|
+
<nobr>{{row.f_useraddres}}</nobr>
|
|
80
|
+
</td>
|
|
81
|
+
<td style="text-align: center;">
|
|
82
|
+
<nobr>{{row.f_charge_number}}</nobr>
|
|
83
|
+
</td>
|
|
84
|
+
<td style="text-align: center;">
|
|
85
|
+
<nobr>{{row.defname}}</nobr>
|
|
86
|
+
</td>
|
|
87
|
+
<td style="text-align: center;">
|
|
88
|
+
<nobr>{{row.f_charge_money}}</nobr>
|
|
89
|
+
</td>
|
|
90
|
+
<td style="text-align: center;">
|
|
91
|
+
<nobr>{{row.f_amount_words}}</nobr>
|
|
92
|
+
</td>
|
|
93
|
+
<td style="text-align: center;">
|
|
94
|
+
<nobr>{{row.f_payment_term}}</nobr>
|
|
95
|
+
</td>
|
|
96
|
+
<td style="text-align: center;">
|
|
97
|
+
<nobr>{{row.f_payment_method}}</nobr>
|
|
98
|
+
</td>
|
|
99
|
+
<td style="text-align: center;">
|
|
100
|
+
<nobr>{{row.f_payer_name}}</nobr>
|
|
101
|
+
</td>
|
|
102
|
+
<td style="text-align: center;">
|
|
103
|
+
<nobr>{{row.f_payer_account}}</nobr>
|
|
104
|
+
</td>
|
|
105
|
+
<td style="text-align: center;">
|
|
106
|
+
<nobr>{{row.f_payer_number}}</nobr>
|
|
107
|
+
</td>
|
|
108
|
+
<td style="text-align: center;">
|
|
109
|
+
<nobr>{{row.f_charge_collectors}}</nobr>
|
|
110
|
+
</td>
|
|
111
|
+
<td style="text-align: center;">
|
|
112
|
+
<nobr>{{row.f_charge_date}}</nobr>
|
|
113
|
+
</td>
|
|
114
|
+
<td style="text-align: center;">
|
|
115
|
+
<nobr>{{row.f_actual_date}}</nobr>
|
|
116
|
+
</td>
|
|
117
|
+
<td style="text-align: center;">
|
|
118
|
+
<nobr>{{row.f_charge_remarks}}</nobr>
|
|
119
|
+
</td>
|
|
120
|
+
<td style="text-align: center;">
|
|
121
|
+
<nobr>{{row.f_charge_status}}</nobr>
|
|
122
|
+
</td>
|
|
123
|
+
<td style="text-align: center;">
|
|
124
|
+
<nobr>{{row.f_void_staff}}</nobr>
|
|
125
|
+
</td>
|
|
126
|
+
<td style="text-align: center;">
|
|
127
|
+
<nobr>{{row.f_void_date}}</nobr>
|
|
128
|
+
</td>
|
|
129
|
+
<td style="text-align: center;">
|
|
130
|
+
<nobr>{{row.f_void_remarks}}</nobr>
|
|
131
|
+
</td>
|
|
132
|
+
<td style="text-align: center;">
|
|
133
|
+
<nobr>{{row.f_confirm_person}}</nobr>
|
|
134
|
+
</td>
|
|
135
|
+
<td style="text-align: center;">
|
|
136
|
+
<nobr>{{row.f_confirm_date}}</nobr>
|
|
137
|
+
</td>
|
|
138
|
+
<td style="text-align: center;">
|
|
139
|
+
<nobr>{{row.f_auditor_person}}</nobr>
|
|
140
|
+
</td>
|
|
141
|
+
<td style="text-align: center;">
|
|
142
|
+
<nobr>{{row.f_auditor_date}}</nobr>
|
|
143
|
+
</td>
|
|
144
|
+
</tr>
|
|
145
|
+
</template>
|
|
146
|
+
</data-grid>
|
|
147
|
+
|
|
148
|
+
<validator name="v">
|
|
149
|
+
<modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
|
|
150
|
+
<header slot="modal-header" class="modal-header">
|
|
151
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
152
|
+
<h4 class="modal-title">收费明细</h4>
|
|
153
|
+
</header>
|
|
154
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
155
|
+
<div class="form-group col-sm-12" v-if="false" :class="[$v.useraddres.required ? 'has-error' : '']">
|
|
156
|
+
<label class="col-sm-2 control-label">缴费地址:</label>
|
|
157
|
+
<div class="col-sm-10">
|
|
158
|
+
<input type="text" v-show="false" v-model="charge.useraddres.id" v-validate:useraddres = "['required']" >
|
|
159
|
+
<input-select width="100%" class="select select_list" placeholder='请选择'
|
|
160
|
+
v-model="charge.useraddres"
|
|
161
|
+
:value.sync="charge.useraddres"
|
|
162
|
+
:options='useraddresList'
|
|
163
|
+
:value-single="true"
|
|
164
|
+
@change="selectAddres()"
|
|
165
|
+
close-on-select ></input-select>
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
<div v-for="(i, item) in charge.charges" class="form-group col-sm-12 panel panel-info">
|
|
169
|
+
<div class="panel-heading head col-sm-12" style="background-color: #e8f4ff;margin-bottom: 10px">
|
|
170
|
+
<div class="col-sm-6 text-left">收费项目{{$index+1}}信息</div>
|
|
171
|
+
<div class="col-sm-6 text-right"><button
|
|
172
|
+
class="button_delete button_spacing"
|
|
173
|
+
v-if="!item.f_userfiles_id"
|
|
174
|
+
@click.prevent="deleteUserFile(i)"
|
|
175
|
+
>删除</button></div>
|
|
176
|
+
</div>
|
|
177
|
+
<div class="form-group col-sm-12" :class="[$v.item.f_payment_term.required ? 'has-error' : '']">
|
|
178
|
+
<label class="col-sm-2 control-label">收费项目:</label>
|
|
179
|
+
<div class="col-sm-10">
|
|
180
|
+
<input type="text" v-show="false" v-model="item.f_payment_term" v-validate:f_payment_term = "['required']" >
|
|
181
|
+
<input-select width="100%" class="select select_list" placeholder='请选择'
|
|
182
|
+
v-model="item.f_payment_term"
|
|
183
|
+
:value.sync="item.f_payment_term"
|
|
184
|
+
:options='paymentTerm'
|
|
185
|
+
:value-single="true"
|
|
186
|
+
close-on-select ></input-select>
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
189
|
+
<div class="form-group col-sm-12" :class="[$v.item.f_charge_money.required ? 'has-error' : '']">
|
|
190
|
+
<label class="col-sm-2 control-label">收费金额:</label>
|
|
191
|
+
<div class="col-sm-10">
|
|
192
|
+
<input type="text"
|
|
193
|
+
class="form-control input_view"
|
|
194
|
+
style="width: 100%"
|
|
195
|
+
placeholder="0.00"
|
|
196
|
+
@change="moneyChange(i)"
|
|
197
|
+
v-validate:f_charge_money = "['required']"
|
|
198
|
+
v-model="item.f_charge_money" />
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
<div class="form-group col-sm-12" :class="[$v.item.f_payment_method.required ? 'has-error' : '']">
|
|
202
|
+
<label class="col-sm-2 control-label">付款方式:</label>
|
|
203
|
+
<div class="col-sm-10">
|
|
204
|
+
<input type="text" v-show="false" v-model="item.f_payment_method" v-validate:f_payment_method = "['required']" >
|
|
205
|
+
<input-select
|
|
206
|
+
placeholder='请选择' width="100%"
|
|
207
|
+
v-model="item.f_payment_method"
|
|
208
|
+
:value.sync="item.f_payment_method"
|
|
209
|
+
:options='paymentMethod'
|
|
210
|
+
class="select select_list"
|
|
211
|
+
:value-single="true"
|
|
212
|
+
@change="changePaymentMethod()"
|
|
213
|
+
close-on-select ></input-select>
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
<div class="form-group col-sm-12">
|
|
217
|
+
<label class="col-sm-2 control-label">金额大写:</label>
|
|
218
|
+
<div class="col-sm-10">
|
|
219
|
+
<input type="text"
|
|
220
|
+
class="form-control input_view"
|
|
221
|
+
style="width: 100%"
|
|
222
|
+
:value="smalltoBIG(0)"
|
|
223
|
+
readonly
|
|
224
|
+
v-model.sync="item.f_amount_words" />
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
<div class="form-group col-sm-12">
|
|
228
|
+
<label class="col-sm-2 control-label">备注:</label>
|
|
229
|
+
<div class="col-sm-10">
|
|
230
|
+
<input type="text"
|
|
231
|
+
class="form-control input_view"
|
|
232
|
+
style="width: 100%"
|
|
233
|
+
v-model="item.f_charge_remarks" />
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
<div class="form-group col-sm-12">
|
|
237
|
+
<label class="col-sm-2 control-label">实际收款时间:</label>
|
|
238
|
+
<div class="col-sm-10">
|
|
239
|
+
<datepicker id="startDate" placeholder="实际收款时间"
|
|
240
|
+
style="width: 60%!important;"
|
|
241
|
+
v-model="item.f_actual_date"
|
|
242
|
+
:value.sync="item.f_actual_date"
|
|
243
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
244
|
+
:show-reset-button="true"
|
|
245
|
+
>
|
|
246
|
+
</datepicker>
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
</div>
|
|
250
|
+
<div class="form-group col-sm-12">
|
|
251
|
+
<label class="col-sm-2 control-label">应交总金额:</label>
|
|
252
|
+
<div class="col-sm-10">
|
|
253
|
+
<input type="text"
|
|
254
|
+
class="form-control input_view"
|
|
255
|
+
style="width: 100%"
|
|
256
|
+
readonly
|
|
257
|
+
v-model="selectdata.f_due_money" />
|
|
258
|
+
</div>
|
|
259
|
+
</div>
|
|
260
|
+
<div class="form-group col-sm-12">
|
|
261
|
+
<label class="col-sm-2 control-label">累计缴费总金额:</label>
|
|
262
|
+
<div class="col-sm-10">
|
|
263
|
+
<input type="text"
|
|
264
|
+
class="form-control input_view"
|
|
265
|
+
style="width: 100%"
|
|
266
|
+
readonly
|
|
267
|
+
v-model="selectdata.f_cumulative_payment_money" />
|
|
268
|
+
</div>
|
|
269
|
+
</div>
|
|
270
|
+
<div class="form-group col-sm-12">
|
|
271
|
+
<label class="col-sm-2 control-label">未结总金额:</label>
|
|
272
|
+
<div class="col-sm-10">
|
|
273
|
+
<input type="text"
|
|
274
|
+
class="form-control input_view"
|
|
275
|
+
style="width: 100%"
|
|
276
|
+
readonly
|
|
277
|
+
v-model="selectdata.f_surplus_money" />
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
<div class="form-group col-sm-12">
|
|
281
|
+
<label class="col-sm-2 control-label">收费环节:</label>
|
|
282
|
+
<div class="col-sm-10">
|
|
283
|
+
<input-select width="100%" class="select select_list" placeholder='请选择'
|
|
284
|
+
v-model="charge.defname"
|
|
285
|
+
:value.sync="charge.defname"
|
|
286
|
+
:options='defnames'
|
|
287
|
+
:value-single="true"
|
|
288
|
+
close-on-select ></input-select>
|
|
289
|
+
</div>
|
|
290
|
+
</div>
|
|
291
|
+
|
|
292
|
+
</article>
|
|
293
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
294
|
+
<button type="button" class="btn btn-primary" @click="addcharges" >添加收费项目</button>
|
|
295
|
+
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="saveCharge()">新增收费</button>
|
|
296
|
+
</footer>
|
|
297
|
+
</modal>
|
|
298
|
+
</validator>
|
|
299
|
+
|
|
300
|
+
<modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :backdrop="false" title="作废收费">
|
|
301
|
+
<header slot="modal-header" class="modal-header">
|
|
302
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
303
|
+
<h4 class="modal-title">作废收费</h4>
|
|
304
|
+
</header>
|
|
305
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
306
|
+
<div class="form-group col-sm-12" v-if="false">
|
|
307
|
+
<label class="col-sm-2 control-label">缴费地址:</label>
|
|
308
|
+
<div class="col-sm-10">
|
|
309
|
+
<input type="text"
|
|
310
|
+
class="form-control input_view"
|
|
311
|
+
style="width: 100%"
|
|
312
|
+
readonly
|
|
313
|
+
v-model="charge.f_useraddres" />
|
|
314
|
+
</div>
|
|
315
|
+
</div>
|
|
316
|
+
<div class="form-group col-sm-12">
|
|
317
|
+
<label class="col-sm-2 control-label">收费金额:</label>
|
|
318
|
+
<div class="col-sm-10">
|
|
319
|
+
<input type="text"
|
|
320
|
+
class="form-control input_view"
|
|
321
|
+
style="width: 100%"
|
|
322
|
+
readonly
|
|
323
|
+
v-model="charge.f_charge_money" />
|
|
324
|
+
</div>
|
|
325
|
+
</div>
|
|
326
|
+
<div class="form-group col-sm-12">
|
|
327
|
+
<label class="col-sm-2 control-label">付款方式:</label>
|
|
328
|
+
<div class="col-sm-10">
|
|
329
|
+
<input type="text"
|
|
330
|
+
class="form-control input_view"
|
|
331
|
+
style="width: 100%"
|
|
332
|
+
readonly
|
|
333
|
+
v-model="charge.f_payment_method" />
|
|
334
|
+
</div>
|
|
335
|
+
</div>
|
|
336
|
+
<div class="form-group col-sm-12">
|
|
337
|
+
<label class="col-sm-2 control-label">金额大写:</label>
|
|
338
|
+
<div class="col-sm-10">
|
|
339
|
+
<input type="text"
|
|
340
|
+
class="form-control input_view"
|
|
341
|
+
style="width: 100%"
|
|
342
|
+
readonly
|
|
343
|
+
v-model="charge.f_amount_words" />
|
|
344
|
+
</div>
|
|
345
|
+
</div>
|
|
346
|
+
<div class="form-group col-sm-12">
|
|
347
|
+
<label class="col-sm-2 control-label">收费人员:</label>
|
|
348
|
+
<div class="col-sm-10">
|
|
349
|
+
<input type="text"
|
|
350
|
+
class="form-control input_view"
|
|
351
|
+
style="width: 100%"
|
|
352
|
+
readonly
|
|
353
|
+
v-model="charge.f_charge_collectors" />
|
|
354
|
+
</div>
|
|
355
|
+
</div>
|
|
356
|
+
<div class="form-group col-sm-12" :class="charge.f_void_remarks ? '':'has-error'">
|
|
357
|
+
<label class="col-sm-2 control-label">作废原因:</label>
|
|
358
|
+
<div class="col-sm-10">
|
|
359
|
+
<input type="text"
|
|
360
|
+
class="form-control input_view"
|
|
361
|
+
style="width: 100%"
|
|
362
|
+
v-model="charge.f_void_remarks" />
|
|
363
|
+
</div>
|
|
364
|
+
</div>
|
|
365
|
+
</article>
|
|
366
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
367
|
+
<button type="button" class="btn btn-primary" :disabled="!charge.f_void_remarks" @click="invalidApplyCharge()">确认作废</button>
|
|
368
|
+
</footer>
|
|
369
|
+
</modal>
|
|
370
|
+
<modal v-if="showConfirm" :show.sync="showConfirm" v-ref:modal :backdrop="false" title="确认收款">
|
|
371
|
+
<header slot="modal-header" class="modal-header">
|
|
372
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
373
|
+
<h4 class="modal-title">确认收款</h4>
|
|
374
|
+
</header>
|
|
375
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
376
|
+
<div class="form-group col-sm-12" v-if="false">
|
|
377
|
+
<label class="col-sm-2 control-label">缴费地址:</label>
|
|
378
|
+
<div class="col-sm-10">
|
|
379
|
+
<input type="text"
|
|
380
|
+
class="form-control input_view"
|
|
381
|
+
style="width: 100%"
|
|
382
|
+
readonly
|
|
383
|
+
v-model="charge.f_useraddres" />
|
|
384
|
+
</div>
|
|
385
|
+
</div>
|
|
386
|
+
<div class="form-group col-sm-12">
|
|
387
|
+
<label class="col-sm-2 control-label">收费金额:</label>
|
|
388
|
+
<div class="col-sm-10">
|
|
389
|
+
<input type="text"
|
|
390
|
+
class="form-control input_view"
|
|
391
|
+
style="width: 100%"
|
|
392
|
+
readonly
|
|
393
|
+
v-model="charge.f_charge_money" />
|
|
394
|
+
</div>
|
|
395
|
+
</div>
|
|
396
|
+
<div class="form-group col-sm-12">
|
|
397
|
+
<label class="col-sm-2 control-label">付款方式:</label>
|
|
398
|
+
<div class="col-sm-10">
|
|
399
|
+
<input type="text"
|
|
400
|
+
class="form-control input_view"
|
|
401
|
+
style="width: 100%"
|
|
402
|
+
readonly
|
|
403
|
+
v-model="charge.f_payment_method" />
|
|
404
|
+
</div>
|
|
405
|
+
</div>
|
|
406
|
+
<div class="form-group col-sm-12">
|
|
407
|
+
<label class="col-sm-2 control-label">金额大写:</label>
|
|
408
|
+
<div class="col-sm-10">
|
|
409
|
+
<input type="text"
|
|
410
|
+
class="form-control input_view"
|
|
411
|
+
style="width: 100%"
|
|
412
|
+
readonly
|
|
413
|
+
v-model="charge.f_amount_words" />
|
|
414
|
+
</div>
|
|
415
|
+
</div>
|
|
416
|
+
<div class="form-group col-sm-12">
|
|
417
|
+
<label class="col-sm-2 control-label">收费人员:</label>
|
|
418
|
+
<div class="col-sm-10">
|
|
419
|
+
<input type="text"
|
|
420
|
+
class="form-control input_view"
|
|
421
|
+
style="width: 100%"
|
|
422
|
+
readonly
|
|
423
|
+
v-model="charge.f_charge_collectors" />
|
|
424
|
+
</div>
|
|
425
|
+
</div>
|
|
426
|
+
<div class="form-group col-sm-12">
|
|
427
|
+
<label class="col-sm-2 control-label">确认人:</label>
|
|
428
|
+
<div class="col-sm-10">
|
|
429
|
+
<input type="text"
|
|
430
|
+
class="form-control input_view"
|
|
431
|
+
style="width: 100%"
|
|
432
|
+
v-model="charge.f_confirm_person" />
|
|
433
|
+
</div>
|
|
434
|
+
</div>
|
|
435
|
+
<div class="form-group col-sm-12">
|
|
436
|
+
<label class="col-sm-2 control-label">确认时间:</label>
|
|
437
|
+
<div class="col-sm-10">
|
|
438
|
+
<datepicker id="startDate" placeholder="确认时间"
|
|
439
|
+
style="width: 60%!important;"
|
|
440
|
+
v-model="charge.f_confirm_date"
|
|
441
|
+
:value.sync="charge.f_confirm_date"
|
|
442
|
+
:default="true"
|
|
443
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
444
|
+
:show-reset-button="true"
|
|
445
|
+
>
|
|
446
|
+
</datepicker>
|
|
447
|
+
</div>
|
|
448
|
+
</div>
|
|
449
|
+
<div class="form-group col-sm-12">
|
|
450
|
+
<label class="col-sm-2 control-label">备注:</label>
|
|
451
|
+
<div class="col-sm-10">
|
|
452
|
+
<input type="text"
|
|
453
|
+
class="form-control input_view"
|
|
454
|
+
style="width: 100%"
|
|
455
|
+
v-model="charge.f_charge_remarks" />
|
|
456
|
+
</div>
|
|
457
|
+
</div>
|
|
458
|
+
</article>
|
|
459
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
460
|
+
<button type="button" class="btn btn-primary" @click="ConfirmPayment()">确认收款</button>
|
|
461
|
+
</footer>
|
|
462
|
+
</modal>
|
|
463
|
+
<!-- <modal v-if="showauditor" :show.sync="showauditor" v-ref:modal :backdrop="false" title="确认审核">
|
|
464
|
+
<header slot="modal-header" class="modal-header">
|
|
465
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
466
|
+
<h4 class="modal-title">确认审核</h4>
|
|
467
|
+
</header>
|
|
468
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
469
|
+
<div class="form-group col-sm-12" v-if="false">
|
|
470
|
+
<label class="col-sm-2 control-label">缴费地址:</label>
|
|
471
|
+
<div class="col-sm-10">
|
|
472
|
+
<input type="text"
|
|
473
|
+
class="form-control input_view"
|
|
474
|
+
style="width: 100%"
|
|
475
|
+
readonly
|
|
476
|
+
v-model="charge.f_useraddres" />
|
|
477
|
+
</div>
|
|
478
|
+
</div>
|
|
479
|
+
<div class="form-group col-sm-12">
|
|
480
|
+
<label class="col-sm-2 control-label">收费金额:</label>
|
|
481
|
+
<div class="col-sm-10">
|
|
482
|
+
<input type="text"
|
|
483
|
+
class="form-control input_view"
|
|
484
|
+
style="width: 100%"
|
|
485
|
+
readonly
|
|
486
|
+
v-model="charge.f_charge_money" />
|
|
487
|
+
</div>
|
|
488
|
+
</div>
|
|
489
|
+
<div class="form-group col-sm-12">
|
|
490
|
+
<label class="col-sm-2 control-label">付款方式:</label>
|
|
491
|
+
<div class="col-sm-10">
|
|
492
|
+
<input type="text"
|
|
493
|
+
class="form-control input_view"
|
|
494
|
+
style="width: 100%"
|
|
495
|
+
readonly
|
|
496
|
+
v-model="charge.f_payment_method" />
|
|
497
|
+
</div>
|
|
498
|
+
</div>
|
|
499
|
+
<div class="form-group col-sm-12">
|
|
500
|
+
<label class="col-sm-2 control-label">金额大写:</label>
|
|
501
|
+
<div class="col-sm-10">
|
|
502
|
+
<input type="text"
|
|
503
|
+
class="form-control input_view"
|
|
504
|
+
style="width: 100%"
|
|
505
|
+
readonly
|
|
506
|
+
v-model="charge.f_amount_words" />
|
|
507
|
+
</div>
|
|
508
|
+
</div>
|
|
509
|
+
<div class="form-group col-sm-12">
|
|
510
|
+
<label class="col-sm-2 control-label">收费人员:</label>
|
|
511
|
+
<div class="col-sm-10">
|
|
512
|
+
<input type="text"
|
|
513
|
+
class="form-control input_view"
|
|
514
|
+
style="width: 100%"
|
|
515
|
+
readonly
|
|
516
|
+
v-model="charge.f_charge_collectors" />
|
|
517
|
+
</div>
|
|
518
|
+
</div>
|
|
519
|
+
<div class="form-group col-sm-12">
|
|
520
|
+
<label class="col-sm-2 control-label">确认人:</label>
|
|
521
|
+
<div class="col-sm-10">
|
|
522
|
+
<input type="text"
|
|
523
|
+
class="form-control input_view"
|
|
524
|
+
style="width: 100%"
|
|
525
|
+
readonly
|
|
526
|
+
v-model="charge.f_confirm_person" />
|
|
527
|
+
</div>
|
|
528
|
+
</div>
|
|
529
|
+
<div class="form-group col-sm-12">
|
|
530
|
+
<label class="col-sm-2 control-label">确认时间:</label>
|
|
531
|
+
<div class="col-sm-10">
|
|
532
|
+
<datepicker id="startDate" placeholder="确认时间"
|
|
533
|
+
style="width: 60%!important;"
|
|
534
|
+
v-model="charge.f_confirm_date"
|
|
535
|
+
:value.sync="charge.f_confirm_date"
|
|
536
|
+
readonly
|
|
537
|
+
disabled
|
|
538
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
539
|
+
:show-reset-button="true"
|
|
540
|
+
>
|
|
541
|
+
</datepicker>
|
|
542
|
+
</div>
|
|
543
|
+
</div>
|
|
544
|
+
<div class="form-group col-sm-12">
|
|
545
|
+
<label class="col-sm-2 control-label">审核人:</label>
|
|
546
|
+
<div class="col-sm-10">
|
|
547
|
+
<input type="text"
|
|
548
|
+
class="form-control input_view"
|
|
549
|
+
style="width: 100%"
|
|
550
|
+
v-model="charge.f_auditor_person" />
|
|
551
|
+
</div>
|
|
552
|
+
</div>
|
|
553
|
+
<div class="form-group col-sm-12">
|
|
554
|
+
<label class="col-sm-2 control-label">审核时间:</label>
|
|
555
|
+
<div class="col-sm-10">
|
|
556
|
+
<datepicker id="startDate" placeholder="确认时间"
|
|
557
|
+
style="width: 60%!important;"
|
|
558
|
+
v-model="charge.f_auditor_date"
|
|
559
|
+
:value.sync="charge.f_auditor_date"
|
|
560
|
+
:default="true"
|
|
561
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
562
|
+
:show-reset-button="true"
|
|
563
|
+
>
|
|
564
|
+
</datepicker>
|
|
565
|
+
</div>
|
|
566
|
+
</div>
|
|
567
|
+
<div class="form-group col-sm-12">
|
|
568
|
+
<label class="col-sm-2 control-label">备注:</label>
|
|
569
|
+
<div class="col-sm-10">
|
|
570
|
+
<input type="text"
|
|
571
|
+
class="form-control input_view"
|
|
572
|
+
style="width: 100%"
|
|
573
|
+
v-model="charge.f_charge_remarks" />
|
|
574
|
+
</div>
|
|
575
|
+
</div>
|
|
576
|
+
</article>
|
|
577
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
578
|
+
<button type="button" class="btn btn-primary" @click="ConfirmPayment()">确认收款</button>
|
|
579
|
+
</footer>
|
|
580
|
+
</modal>-->
|
|
581
|
+
<modal v-if="showPrint" :show.sync="showPrint" v-ref:modal :large="true" :backdrop="false" title="打印预览">
|
|
582
|
+
<header slot="modal-header" class="modal-header">
|
|
583
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
584
|
+
<h4 class="modal-title">打印预览</h4>
|
|
585
|
+
</header>
|
|
586
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
587
|
+
<apply-print-chargepc :selectdata="selectdata" :charge="charge" v-ref:print></apply-print-chargepc>
|
|
588
|
+
</article>
|
|
589
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
590
|
+
<button type="button" class="btn btn-primary" @click="print()">打印</button>
|
|
591
|
+
</footer>
|
|
592
|
+
</modal>
|
|
593
|
+
<modal v-if="showback" :show.sync="showback" v-ref:modal :backdrop="false" title="收费退费">
|
|
594
|
+
<header slot="modal-header" class="modal-header">
|
|
595
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
596
|
+
<h4 class="modal-title">收费退费</h4>
|
|
597
|
+
</header>
|
|
598
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
599
|
+
<div class="form-group col-sm-12" v-if="false">
|
|
600
|
+
<label class="col-sm-2 control-label">缴费地址:</label>
|
|
601
|
+
<div class="col-sm-10">
|
|
602
|
+
<input type="text"
|
|
603
|
+
class="form-control input_view"
|
|
604
|
+
style="width: 100%"
|
|
605
|
+
readonly
|
|
606
|
+
v-model="charge.f_useraddres" />
|
|
607
|
+
</div>
|
|
608
|
+
</div>
|
|
609
|
+
<div class="form-group col-sm-12">
|
|
610
|
+
<label class="col-sm-2 control-label">收费金额:</label>
|
|
611
|
+
<div class="col-sm-10">
|
|
612
|
+
<input type="text"
|
|
613
|
+
class="form-control input_view"
|
|
614
|
+
style="width: 100%"
|
|
615
|
+
readonly
|
|
616
|
+
v-model="charge.f_charge_money" />
|
|
617
|
+
</div>
|
|
618
|
+
</div>
|
|
619
|
+
<div class="form-group col-sm-12">
|
|
620
|
+
<label class="col-sm-2 control-label">付款方式:</label>
|
|
621
|
+
<div class="col-sm-10">
|
|
622
|
+
<input type="text"
|
|
623
|
+
class="form-control input_view"
|
|
624
|
+
style="width: 100%"
|
|
625
|
+
readonly
|
|
626
|
+
v-model="charge.f_payment_method" />
|
|
627
|
+
</div>
|
|
628
|
+
</div>
|
|
629
|
+
<div class="form-group col-sm-12">
|
|
630
|
+
<label class="col-sm-2 control-label">金额大写:</label>
|
|
631
|
+
<div class="col-sm-10">
|
|
632
|
+
<input type="text"
|
|
633
|
+
class="form-control input_view"
|
|
634
|
+
style="width: 100%"
|
|
635
|
+
readonly
|
|
636
|
+
v-model="charge.f_amount_words" />
|
|
637
|
+
</div>
|
|
638
|
+
</div>
|
|
639
|
+
<div class="form-group col-sm-12">
|
|
640
|
+
<label class="col-sm-2 control-label">收费人员:</label>
|
|
641
|
+
<div class="col-sm-10">
|
|
642
|
+
<input type="text"
|
|
643
|
+
class="form-control input_view"
|
|
644
|
+
style="width: 100%"
|
|
645
|
+
readonly
|
|
646
|
+
v-model="charge.f_charge_collectors" />
|
|
647
|
+
</div>
|
|
648
|
+
</div>
|
|
649
|
+
<div class="form-group col-sm-12" :class="charge.f_void_remarks ? '':'has-error'">
|
|
650
|
+
<label class="col-sm-2 control-label">退费原因:</label>
|
|
651
|
+
<div class="col-sm-10">
|
|
652
|
+
<input type="text"
|
|
653
|
+
class="form-control input_view"
|
|
654
|
+
style="width: 100%"
|
|
655
|
+
v-model="charge.f_void_remarks" />
|
|
656
|
+
</div>
|
|
657
|
+
</div>
|
|
658
|
+
</article>
|
|
659
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
660
|
+
<button type="button" class="btn btn-primary" :disabled="!charge.f_void_remarks" @click="backApplyCharge()">确认退费</button>
|
|
661
|
+
</footer>
|
|
662
|
+
</modal>
|
|
663
|
+
</div>
|
|
664
|
+
</template>
|
|
665
|
+
<script>
|
|
666
|
+
import {getNowDate,isEmpty} from '../../../components/Util'
|
|
667
|
+
import {PagedList} from 'vue-client'
|
|
668
|
+
import {HttpResetClass} from 'vue-client'
|
|
669
|
+
import Vue from 'vue'
|
|
670
|
+
|
|
671
|
+
export default {
|
|
672
|
+
title: '收费管理',
|
|
673
|
+
props: {
|
|
674
|
+
selectdata: {
|
|
675
|
+
type: Object
|
|
676
|
+
},
|
|
677
|
+
mark: {
|
|
678
|
+
type: Number,
|
|
679
|
+
default: 0
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
data () {
|
|
683
|
+
return {
|
|
684
|
+
showback: false,
|
|
685
|
+
showCharge: false, // 收费明细
|
|
686
|
+
showInvalid: false, // 作废
|
|
687
|
+
showPrint: false, // 打印
|
|
688
|
+
showConfirm: false, // 确认收款
|
|
689
|
+
showauditor: false, // 确认审核
|
|
690
|
+
person:this.$login.f.name,
|
|
691
|
+
model: {
|
|
692
|
+
data: null
|
|
693
|
+
}, // 记录
|
|
694
|
+
useraddresList: [], // 地址列表
|
|
695
|
+
charge: {
|
|
696
|
+
charges:[]
|
|
697
|
+
},
|
|
698
|
+
defnames: this.$appdata.getParam(this.selectdata.f_apply_type + '付款预设')
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
ready () {
|
|
702
|
+
this.search()
|
|
703
|
+
},
|
|
704
|
+
methods: {
|
|
705
|
+
addcharges(){
|
|
706
|
+
this.charge.charges.push({})
|
|
707
|
+
},
|
|
708
|
+
deleteUserFile (index) {
|
|
709
|
+
this.charge.charges.splice(index, 1)
|
|
710
|
+
},
|
|
711
|
+
async payerNumberChange () {
|
|
712
|
+
if (isEmpty(this.charge.f_payer_number)) {
|
|
713
|
+
return
|
|
714
|
+
}
|
|
715
|
+
let http = new HttpResetClass()
|
|
716
|
+
let data = {
|
|
717
|
+
tablename: 't_charge_record',
|
|
718
|
+
condition: `f_payer_number = '${this.charge.f_payer_number}'`
|
|
719
|
+
}
|
|
720
|
+
let res = await http.load('POST', 'rs/sql/apply_singleTable', {data:data}, {
|
|
721
|
+
resolveMsg: null,
|
|
722
|
+
rejectMsg: '流水号查询失败!!!'
|
|
723
|
+
})
|
|
724
|
+
if (res.data.length > 0) {
|
|
725
|
+
this.$showAlert('该流水号已经使用!!!', 'warning', 3000)
|
|
726
|
+
return
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
print () {
|
|
730
|
+
this.$refs.print.$refs.print.PrintTable()
|
|
731
|
+
},
|
|
732
|
+
showPrintModal(row) {
|
|
733
|
+
this.charge = row
|
|
734
|
+
this.showPrint = true
|
|
735
|
+
},
|
|
736
|
+
selectAddres () {
|
|
737
|
+
if (this.charge.useraddres) {
|
|
738
|
+
this.charge.f_cumulative_payment_money = this.charge.useraddres.f_cumulative_payment_money
|
|
739
|
+
this.charge.f_outstanding_amount = this.selectdata.f_price - this.charge.useraddres.f_cumulative_payment_money
|
|
740
|
+
} else {
|
|
741
|
+
this.charge.f_cumulative_payment_money = 0
|
|
742
|
+
this.charge.f_outstanding_amount = this.selectdata.f_price
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
async backApplyCharge() {
|
|
746
|
+
let http = new HttpResetClass()
|
|
747
|
+
let data = {
|
|
748
|
+
apply: this.selectdata,
|
|
749
|
+
user: this.$login.f,
|
|
750
|
+
charge: this.charge
|
|
751
|
+
}
|
|
752
|
+
let res = await http.load('POST', 'rs/logic/backApplyCharge', {data: data}, {
|
|
753
|
+
resolveMsg: null,
|
|
754
|
+
rejectMsg: '退费失败!!!'
|
|
755
|
+
})
|
|
756
|
+
this.selectdata = res.data
|
|
757
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
758
|
+
},
|
|
759
|
+
async invalidApplyCharge() {
|
|
760
|
+
|
|
761
|
+
let http = new HttpResetClass()
|
|
762
|
+
let data = {
|
|
763
|
+
apply: this.selectdata,
|
|
764
|
+
user: this.$login.f,
|
|
765
|
+
charge: this.charge
|
|
766
|
+
}
|
|
767
|
+
let res = await http.load('POST', 'rs/logic/invalidApplyCharge', {data:data}, {
|
|
768
|
+
resolveMsg: null,
|
|
769
|
+
rejectMsg: '作废失败!!!'
|
|
770
|
+
})
|
|
771
|
+
this.selectdata = res.data
|
|
772
|
+
|
|
773
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
774
|
+
},
|
|
775
|
+
async ConfirmPayment() {
|
|
776
|
+
let http = new HttpResetClass()
|
|
777
|
+
let data = {
|
|
778
|
+
apply: this.selectdata,
|
|
779
|
+
user: this.$login.f,
|
|
780
|
+
charge: this.charge
|
|
781
|
+
}
|
|
782
|
+
let res = await http.load('POST', 'rs/logic/confirmCharge', {data: data}, {
|
|
783
|
+
resolveMsg: null,
|
|
784
|
+
rejectMsg: '提交失败!!!'
|
|
785
|
+
})
|
|
786
|
+
if(res.data==200){
|
|
787
|
+
this.$showAlert('提交成功!!!', 'success', 3000)
|
|
788
|
+
//延时1s
|
|
789
|
+
setTimeout(() => {
|
|
790
|
+
this.showConfirm= false
|
|
791
|
+
this.showauditor= false
|
|
792
|
+
}, 1000)
|
|
793
|
+
}
|
|
794
|
+
//重新查询
|
|
795
|
+
this.search()
|
|
796
|
+
if (
|
|
797
|
+
(this.selectdata.defname == '合同审批' && !isEmpty(this.selectdata.f_is_have) ) ||
|
|
798
|
+
(this.selectdata.defname == '方案设计' && !isEmpty(this.selectdata.f_designer_people) ) ||
|
|
799
|
+
(this.selectdata.defname == '方案审批' && !isEmpty(this.selectdata.f_position)) ||
|
|
800
|
+
(this.selectdata.defname == '工程审批' && !isEmpty(this.selectdata.f_survey_opinion)) ||
|
|
801
|
+
(this.selectdata.defname == '工程派工' && !isEmpty(this.selectdata.f_budget_peoples)) ||
|
|
802
|
+
(this.selectdata.defname == '工程验收' && !isEmpty(this.selectdata.f_acceptor)) ||
|
|
803
|
+
(this.selectdata.defname == '验收审批' && !isEmpty(this.selectdata.f_prospecting_result)) ||
|
|
804
|
+
(this.selectdata.defname == '工程决算' && !isEmpty(this.selectdata.f_price_other)) ||
|
|
805
|
+
(this.selectdata.defname == '收费确认' )
|
|
806
|
+
){
|
|
807
|
+
this.getbutton()
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
async getbutton(){
|
|
811
|
+
if (this.selectdata.f_payment_ratio == "100%") {
|
|
812
|
+
let http = new HttpResetClass()
|
|
813
|
+
let data = {
|
|
814
|
+
tablename: 't_charge_record',
|
|
815
|
+
condition: `f_process_id = '${this.selectdata.f_process_id}' and f_charge_status = '有效'`
|
|
816
|
+
}
|
|
817
|
+
let flag = true
|
|
818
|
+
let res1 = await http.load(
|
|
819
|
+
'POST',
|
|
820
|
+
`rs/sql/apply_singleTable`,
|
|
821
|
+
{data: data},
|
|
822
|
+
{resolveMsg: null, rejectMsg: '查询失败!!!'}
|
|
823
|
+
)
|
|
824
|
+
for (let i =0;i<res1.data.length;i++){
|
|
825
|
+
if (isEmpty(res1.data[i].f_confirm_person)){
|
|
826
|
+
flag = false
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
if (flag){
|
|
830
|
+
let show_data = this.selectdata
|
|
831
|
+
show_data.user = this.$login.f
|
|
832
|
+
show_data.start_activity ='报装申请'
|
|
833
|
+
show_data.xmlfilename =this.selectdata.f_apply_type
|
|
834
|
+
show_data.button = {button_name:'提交'}
|
|
835
|
+
await this.$resetpost(
|
|
836
|
+
`rs/logic/ApplyProductService`,
|
|
837
|
+
{data: show_data},
|
|
838
|
+
{resolveMsg: null, rejectMsg: '数据保存失败'}
|
|
839
|
+
)
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
// 打开作废收费
|
|
844
|
+
showInvalidModal(row) {
|
|
845
|
+
this.charge = row
|
|
846
|
+
this.showInvalid = true
|
|
847
|
+
},
|
|
848
|
+
showBackdModal(row) {
|
|
849
|
+
this.charge = row
|
|
850
|
+
this.showback= true
|
|
851
|
+
},
|
|
852
|
+
showConfirmModal(row,type){
|
|
853
|
+
this.charge = row
|
|
854
|
+
if (type == '确认收款'){
|
|
855
|
+
this.charge.f_confirm_person=this.person
|
|
856
|
+
this.showConfirm= true
|
|
857
|
+
}
|
|
858
|
+
if (type == '确认审核'){
|
|
859
|
+
this.charge.f_auditor_person=this.person
|
|
860
|
+
this.showauditor= true
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
// 新增收费
|
|
864
|
+
async saveCharge() {
|
|
865
|
+
if(this.charge.charges.length <= 0){
|
|
866
|
+
return this.$showMessage('收费项目不能为空,请添加收费项目!!')
|
|
867
|
+
}
|
|
868
|
+
if(isEmpty(this.charge.defname )){
|
|
869
|
+
return this.$showMessage('收费环节不能为空!!')
|
|
870
|
+
}
|
|
871
|
+
let http = new HttpResetClass()
|
|
872
|
+
let data = {
|
|
873
|
+
apply: this.selectdata,
|
|
874
|
+
user: this.$login.f,
|
|
875
|
+
charge: this.charge
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
let res = await http.load('POST', 'rs/logic/addApplyChargeRecord', {data:data}, {
|
|
879
|
+
resolveMsg: null,
|
|
880
|
+
rejectMsg: '缴费失败!!!'
|
|
881
|
+
})
|
|
882
|
+
this.selectdata = res.data
|
|
883
|
+
|
|
884
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
885
|
+
},
|
|
886
|
+
moneyChange (i) {
|
|
887
|
+
if (isEmpty(this.charge.charges[i].f_charge_money) || Number(this.charge.charges[i].f_charge_money) === 0) {
|
|
888
|
+
this.$showAlert('单笔收费不能为0元!!!', 'warning', 3000)
|
|
889
|
+
this.charge.charges[i].f_charge_money = null
|
|
890
|
+
return
|
|
891
|
+
}
|
|
892
|
+
if (this.selectdata.f_apply_type === '散户集体报建' && Number(this.charge.charges[i].f_charge_money) > Number(this.charge.charges[i].f_outstanding_amount)) {
|
|
893
|
+
this.$showAlert('单笔收费不能超过未交金额!!!', 'warning', 3000)
|
|
894
|
+
this.charge.charges[i].f_charge_money = null
|
|
895
|
+
return
|
|
896
|
+
}
|
|
897
|
+
if (Number(this.charge.charges[i].f_charge_money) > Number(this.selectdata.f_surplus_money)) {
|
|
898
|
+
this.$showAlert('单笔收费不能超过未交总金额!!!', 'warning', 3000)
|
|
899
|
+
this.charge.charges[i].f_charge_money = null
|
|
900
|
+
return
|
|
901
|
+
}
|
|
902
|
+
this.charge.charges[i].f_charge_money = (this.charge.charges[i].f_charge_money.match(/^\d*(\.?\d{0,2})/g)[0]) || null
|
|
903
|
+
this.charge.charges[i].f_amount_words = this.smalltoBIG(this.charge.charges[i].f_charge_money)
|
|
904
|
+
},
|
|
905
|
+
// 金额转大写
|
|
906
|
+
handleInput(e) {
|
|
907
|
+
// 通过正则过滤小数点后两位
|
|
908
|
+
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,2})/g)[0]) || null
|
|
909
|
+
this.charge.f_amount_words = this.smalltoBIG(e.target.value)
|
|
910
|
+
},
|
|
911
|
+
// 金额转大写
|
|
912
|
+
smalltoBIG(n) {
|
|
913
|
+
let fraction = ['角', '分'];
|
|
914
|
+
let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
|
|
915
|
+
let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
|
|
916
|
+
let head = n < 0 ? '欠' : '';
|
|
917
|
+
n = Math.abs(n);
|
|
918
|
+
|
|
919
|
+
let s = '';
|
|
920
|
+
|
|
921
|
+
for (var i = 0; i < fraction.length; i++) {
|
|
922
|
+
s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
|
|
923
|
+
}
|
|
924
|
+
s = s || '整';
|
|
925
|
+
n = Math.floor(n);
|
|
926
|
+
|
|
927
|
+
for (var i = 0; i < unit[0].length && n > 0; i++) {
|
|
928
|
+
let p = '';
|
|
929
|
+
for (var j = 0; j < unit[1].length && n > 0; j++) {
|
|
930
|
+
p = digit[n % 10] + unit[1][j] + p;
|
|
931
|
+
n = Math.floor(n / 10);
|
|
932
|
+
}
|
|
933
|
+
s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
|
|
934
|
+
}
|
|
935
|
+
return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
|
|
936
|
+
},
|
|
937
|
+
async changePaymentMethod () {
|
|
938
|
+
if (this.charge.f_payment_method === '银行转账' && this.selectdata.f_apply_type === '团购报建') {
|
|
939
|
+
let http = new HttpResetClass()
|
|
940
|
+
let data = {
|
|
941
|
+
tablename: 't_dev_info',
|
|
942
|
+
condition: `f_orgid = '${this.$login.f.orgid}' and id = '${this.selectdata.f_dev_id}'`
|
|
943
|
+
}
|
|
944
|
+
let res = await http.load('POST', 'rs/sql/apply_singleTable', {data:data}, {
|
|
945
|
+
resolveMsg: null,
|
|
946
|
+
rejectMsg: '开发商档案查询失败!!!'
|
|
947
|
+
})
|
|
948
|
+
|
|
949
|
+
this.charge.f_payer_name = res.data[0].f_dev_name
|
|
950
|
+
this.charge.f_payer_account = res.data[0].f_bank_account
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
async getUserAddress() {
|
|
954
|
+
let http = new HttpResetClass()
|
|
955
|
+
let data = {}
|
|
956
|
+
let url = null
|
|
957
|
+
if (this.selectdata.f_apply_type === '改管报建' || this.selectdata.f_apply_type === '增容报建' || this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建') {
|
|
958
|
+
data = {
|
|
959
|
+
condition: `ui.f_userinfo_id = ${this.selectdata.f_userinfo_id}`
|
|
960
|
+
}
|
|
961
|
+
url = 'rs/sql/applyGetUserinfos'
|
|
962
|
+
} else {
|
|
963
|
+
data = {
|
|
964
|
+
condition: this.selectdata.f_apply_type === '散户集体报建' ? `nvl(cr.f_cumulative_payment_money, 0) < ${this.selectdata.f_price}` : '1=1',
|
|
965
|
+
f_process_id: this.selectdata.f_process_id
|
|
966
|
+
}
|
|
967
|
+
url = 'rs/sql/getAddresAndCumulativePayment'
|
|
968
|
+
}
|
|
969
|
+
let res = await http.load('POST', url, {data:data}, {
|
|
970
|
+
resolveMsg: null,
|
|
971
|
+
rejectMsg: '用户获取失败!!!'
|
|
972
|
+
})
|
|
973
|
+
|
|
974
|
+
if (res.data.length <= 0) {
|
|
975
|
+
this.$showAlert('暂无需要缴费用户!!!', 'warning', 3000)
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
this.useraddresList = res.data.map(item => {
|
|
979
|
+
return {
|
|
980
|
+
// 有用户姓名地址后拼接姓名
|
|
981
|
+
label: `${item.f_address} ${isEmpty(item.f_user_name) ? '' : '--- ' + item.f_user_name}`,
|
|
982
|
+
value: item
|
|
983
|
+
}
|
|
984
|
+
})
|
|
985
|
+
|
|
986
|
+
},
|
|
987
|
+
async showChargeModal() {
|
|
988
|
+
// this.getUserAddress()
|
|
989
|
+
|
|
990
|
+
if (this.selectdata.f_apply_type === '团购报建') {
|
|
991
|
+
this.charge.f_dev_info_id = this.selectdata.f_dev_id
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
this.showCharge = true
|
|
995
|
+
},
|
|
996
|
+
async search () {
|
|
997
|
+
let http = new HttpResetClass()
|
|
998
|
+
let data = {
|
|
999
|
+
// condition: `cr.f_charge_status != '退款'`,
|
|
1000
|
+
f_process_id: this.selectdata.f_process_id
|
|
1001
|
+
}
|
|
1002
|
+
if (this.selectdata.f_apply_type === '启封通气' && this.selectdata.f_apply_type !== '线下发起'){
|
|
1003
|
+
data = {
|
|
1004
|
+
f_process_id: this.selectdata.f_parent_process_id
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
let res = await http.load('POST', 'rs/sql/getApplyChargeRecord', {data:data}, {
|
|
1008
|
+
resolveMsg: null,
|
|
1009
|
+
rejectMsg: '收费记录查询失败!!!'
|
|
1010
|
+
})
|
|
1011
|
+
this.model.data = res.data
|
|
1012
|
+
},
|
|
1013
|
+
// 关闭对话框
|
|
1014
|
+
closeModal() {
|
|
1015
|
+
this.showback = false
|
|
1016
|
+
this.showCharge = false
|
|
1017
|
+
this.showInvalid = false
|
|
1018
|
+
this.showPrint = false
|
|
1019
|
+
this.showConfirm = false
|
|
1020
|
+
this.showauditor = false
|
|
1021
|
+
this.charge = {
|
|
1022
|
+
charges:[]
|
|
1023
|
+
}
|
|
1024
|
+
this.search()
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
events: {
|
|
1028
|
+
},
|
|
1029
|
+
computed: {
|
|
1030
|
+
paymentMethod() {
|
|
1031
|
+
return this.$appdata.getParam("付款方式")
|
|
1032
|
+
},
|
|
1033
|
+
paymentTerm() {
|
|
1034
|
+
return this.$appdata.getParam("收费项目")
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
watch: {
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
</script>
|
|
1041
|
+
<style scoped>
|
|
1042
|
+
.textNoLineBreak {
|
|
1043
|
+
white-space: nowrap;
|
|
1044
|
+
}
|
|
1045
|
+
.head-but{
|
|
1046
|
+
margin-left: 5px;
|
|
1047
|
+
height: 34px;
|
|
1048
|
+
/*background-color: #6aa6e2;*/
|
|
1049
|
+
border-radius: 4px;
|
|
1050
|
+
font-family: PingFang;
|
|
1051
|
+
color: #ffffff;
|
|
1052
|
+
}
|
|
1053
|
+
</style>
|