manage-client 4.1.85-tcls → 4.1.85
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 +99 -181
- package/package.json +1 -1
- package/src/filiale/jinbin/exportConfig.js +1110 -0
- package/src/filiale/jinbin/sale/businessquery/ChargeQuery.vue +1372 -0
- package/src/filiale/jinbin/sale.js +7 -0
- package/src/filiale/tongchuan/ChangeMeterQuery.vue +702 -730
- package/src/filiale/tongchuan/ChargeQuery.vue +1487 -1514
- package/src/filiale/tongchuan/DisableQuery.vue +523 -550
- package/src/filiale/tongchuan/FillCardQuery.vue +573 -598
- package/src/filiale/tongchuan/FillGasQuery.vue +533 -560
- package/src/filiale/tongchuan/HandplanQuery.vue +1332 -1358
- package/src/filiale/tongchuan/RecordInfoQuery.vue +1493 -1493
- package/src/filiale/tongchuan/ReverseQuery.vue +450 -477
- package/src/filiale/tongchuan/config/exportConfig.js +918 -1102
- package/src/filiale/tongchuan/sale.js +0 -36
- package/src/filiale/tongchuan/sellingChargePrice.vue +714 -754
- package/src/main.js +1 -1
- package/src/filiale/tongchuan/CancellationQuery.vue +0 -455
- package/src/filiale/tongchuan/EnableQuery.vue +0 -489
- package/src/filiale/tongchuan/OtherChargeDetailQuery.vue +0 -74
- package/src/filiale/tongchuan/OtherChargeQuery.vue +0 -751
- package/src/filiale/tongchuan/PrivilegeQuery.vue +0 -420
- package/src/filiale/tongchuan/ResSelectUserGroup.vue +0 -384
- package/src/filiale/tongchuan/TransferQuery.vue +0 -528
- package/src/filiale/tongchuan/TransferRecordQuery.vue +0 -202
- package/src/filiale/tongchuan/overDueQuery.vue +0 -497
- package/src/filiale/tongchuan/priceadjustQuery.vue +0 -560
|
@@ -1,730 +1,702 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="unit" class="flex-row" >
|
|
3
|
-
<div class="basic-main" @keyup.enter="search" >
|
|
4
|
-
<div class="flex" :class="{showbottom:showbottomsum}" v-if="!show">
|
|
5
|
-
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
6
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
-
<div class="row">
|
|
9
|
-
<div class="col-sm-2 form-group">
|
|
10
|
-
<label class="font_normal_body">开始日期</label>
|
|
11
|
-
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
12
|
-
v-model="model.startDate"
|
|
13
|
-
:value.sync="model.startDate"
|
|
14
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
15
|
-
:show-reset-button="true"
|
|
16
|
-
condition="f_operate_date >= '{}'">
|
|
17
|
-
</datepicker>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="col-sm-2 form-group">
|
|
20
|
-
<label class="font_normal_body">结束日期</label>
|
|
21
|
-
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
22
|
-
v-model="model.endDate"
|
|
23
|
-
:value.sync="model.endDate"
|
|
24
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
25
|
-
:show-reset-button="true"
|
|
26
|
-
condition="f_operate_date <= '{}'">
|
|
27
|
-
</datepicker>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="col-sm-2 form-group ">
|
|
30
|
-
<label class="font_normal_body">客户编号</label>
|
|
31
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
32
|
-
condition="f_userinfo_code like '%{}%' " placeholder="客户编号">
|
|
33
|
-
</div>
|
|
34
|
-
<div class="col-sm-2 form-group">
|
|
35
|
-
<label class="font_normal_body" title="旧客户编号">档案编号</label>
|
|
36
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
|
|
37
|
-
condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
|
|
38
|
-
</div>
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<!--
|
|
42
|
-
-->
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
<div class="span" style="float:right;">
|
|
46
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
47
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
48
|
-
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
49
|
-
|
|
50
|
-
<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
|
|
51
|
-
:field="$parent.$parent.getfield" :header="$parent.$parent.other"
|
|
52
|
-
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="changeMeterQuery" template-name='换表查询导出'
|
|
53
|
-
:choose-col="true">
|
|
54
|
-
</export-excel>
|
|
55
|
-
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
56
|
-
:defaultfield="$parent.$parent.defaultfield"
|
|
57
|
-
titletable="换表记录"
|
|
58
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
59
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
63
|
-
<res-select-
|
|
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
|
-
<th>
|
|
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
|
-
<td style="text-align: center;">
|
|
316
|
-
<nobr>{{row.
|
|
317
|
-
</td>
|
|
318
|
-
<td style="text-align: center;">
|
|
319
|
-
<nobr>{{row.
|
|
320
|
-
</td>
|
|
321
|
-
<td style="text-align: center;">
|
|
322
|
-
<nobr>{{row.
|
|
323
|
-
</td>
|
|
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
|
-
<td
|
|
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
|
-
showupload
|
|
512
|
-
selected
|
|
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
|
-
this
|
|
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
|
-
this.
|
|
580
|
-
},
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
this.
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
this.
|
|
611
|
-
},
|
|
612
|
-
|
|
613
|
-
this.
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
this.fields
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
},
|
|
627
|
-
|
|
628
|
-
//
|
|
629
|
-
this.
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
if (
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
}
|
|
682
|
-
},
|
|
683
|
-
|
|
684
|
-
this.
|
|
685
|
-
},
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
return exportConfig.changemeterConfig
|
|
704
|
-
},
|
|
705
|
-
changeTypes() {
|
|
706
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('换表类型')]
|
|
707
|
-
},
|
|
708
|
-
userTypes() {
|
|
709
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
710
|
-
},
|
|
711
|
-
meterClassify() {
|
|
712
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
713
|
-
},
|
|
714
|
-
changePerson() {
|
|
715
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('换表人')]
|
|
716
|
-
},
|
|
717
|
-
charge_state() {
|
|
718
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
719
|
-
},
|
|
720
|
-
payments() {
|
|
721
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
</script>
|
|
726
|
-
<style scoped>
|
|
727
|
-
.showbottom{
|
|
728
|
-
height:95%
|
|
729
|
-
}
|
|
730
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row" >
|
|
3
|
+
<div class="basic-main" @keyup.enter="search" >
|
|
4
|
+
<div class="flex" :class="{showbottom:showbottomsum}" v-if="!show">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-2 form-group">
|
|
10
|
+
<label class="font_normal_body">开始日期</label>
|
|
11
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
12
|
+
v-model="model.startDate"
|
|
13
|
+
:value.sync="model.startDate"
|
|
14
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
15
|
+
:show-reset-button="true"
|
|
16
|
+
condition="f_operate_date >= '{}'">
|
|
17
|
+
</datepicker>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-2 form-group">
|
|
20
|
+
<label class="font_normal_body">结束日期</label>
|
|
21
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
22
|
+
v-model="model.endDate"
|
|
23
|
+
:value.sync="model.endDate"
|
|
24
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
25
|
+
:show-reset-button="true"
|
|
26
|
+
condition="f_operate_date <= '{}'">
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2 form-group ">
|
|
30
|
+
<label class="font_normal_body">客户编号</label>
|
|
31
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
32
|
+
condition="f_userinfo_code like '%{}%' " placeholder="客户编号">
|
|
33
|
+
</div>
|
|
34
|
+
<div class="col-sm-2 form-group">
|
|
35
|
+
<label class="font_normal_body" title="旧客户编号">档案编号</label>
|
|
36
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
|
|
37
|
+
condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
<!--
|
|
42
|
+
-->
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
<div class="span" style="float:right;">
|
|
46
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
47
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
48
|
+
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
49
|
+
|
|
50
|
+
<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
|
|
51
|
+
:field="$parent.$parent.getfield" :header="$parent.$parent.other"
|
|
52
|
+
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="changeMeterQuery" template-name='换表查询导出'
|
|
53
|
+
:choose-col="true">
|
|
54
|
+
</export-excel>
|
|
55
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
56
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
57
|
+
titletable="换表记录"
|
|
58
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
59
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
63
|
+
<res-select-group :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
64
|
+
<div class="col-sm-2 form-group">
|
|
65
|
+
<label class="font_normal_body">客户名称</label>
|
|
66
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
67
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
68
|
+
</div>
|
|
69
|
+
<div class="col-sm-2 form-group">
|
|
70
|
+
<label class="font_normal_body">客户电话</label>
|
|
71
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
72
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
73
|
+
</div>
|
|
74
|
+
<div class="col-sm-2 form-group">
|
|
75
|
+
<label class="font_normal_body">客户地址</label>
|
|
76
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
77
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
78
|
+
</div>
|
|
79
|
+
<div class="col-sm-2 form-group">
|
|
80
|
+
<label class="font_normal_body">用户类型</label>
|
|
81
|
+
<v-select :value.sync="model.f_user_type"
|
|
82
|
+
v-model="model.f_user_type"
|
|
83
|
+
:options='$parent.$parent.userTypes' placeholder='请选择'
|
|
84
|
+
condition="f_user_type = '{}'"
|
|
85
|
+
close-on-select></v-select>
|
|
86
|
+
</div>
|
|
87
|
+
<div class="col-sm-2 form-group">
|
|
88
|
+
<label class="font_normal_body">新表品牌</label>
|
|
89
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
90
|
+
:multiple="true"
|
|
91
|
+
v-model="model.f_meter_brand"
|
|
92
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
93
|
+
condition="f_meter_brand in {}"
|
|
94
|
+
></v-select>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="col-sm-2 form-group">
|
|
97
|
+
<label class="font_normal_body">旧表品牌</label>
|
|
98
|
+
<v-select :value.sync="model.f_meter_brand_old"
|
|
99
|
+
:multiple="true"
|
|
100
|
+
v-model="model.f_meter_brand_old"
|
|
101
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
102
|
+
condition="f_meter_brand_old in {}"
|
|
103
|
+
></v-select>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="col-sm-2 form-group">
|
|
106
|
+
<label class="font_normal_body">换表类型</label>
|
|
107
|
+
<v-select :value.sync="model.f_type"
|
|
108
|
+
v-model="model.f_type"
|
|
109
|
+
:options='$parent.$parent.changeTypes' placeholder='请选择'
|
|
110
|
+
condition="f_type = '{}'"
|
|
111
|
+
close-on-select></v-select>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="col-sm-2 form-group">
|
|
114
|
+
<label class="font_normal_body">换 表 人</label>
|
|
115
|
+
<v-select :value.sync="model.f_change_operator"
|
|
116
|
+
v-model="model.f_change_operator"
|
|
117
|
+
:options='$parent.$parent.changePerson' placeholder='请选择'
|
|
118
|
+
condition="f_change_operator = {}"
|
|
119
|
+
></v-select>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="col-sm-2 form-group">
|
|
122
|
+
<label class="font_normal_body">卡  号</label>
|
|
123
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
|
|
124
|
+
condition="f_card_id = '{}'" placeholder='卡号'>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="col-sm-2 form-group">
|
|
127
|
+
<label class="font_normal_body">换表状态</label>
|
|
128
|
+
<v-select :value.sync="model.f_state"
|
|
129
|
+
v-model="model.f_state"
|
|
130
|
+
:options='$parent.$parent.charge_state' placeholder='请选择'
|
|
131
|
+
condition="f_state = '{}'"
|
|
132
|
+
close-on-select></v-select>
|
|
133
|
+
</div>
|
|
134
|
+
<div class="col-sm-2 form-group">
|
|
135
|
+
<label class="font_normal_body">旧表类型</label>
|
|
136
|
+
<v-select :value.sync="model.f_meter_type_old"
|
|
137
|
+
v-model="model.f_meter_type_old"
|
|
138
|
+
:options='$parent.$parent.meterClassify' placeholder='请选择'
|
|
139
|
+
condition="f_meter_type_old = '{}'"
|
|
140
|
+
close-on-select></v-select>
|
|
141
|
+
</div>
|
|
142
|
+
<div class="col-sm-2 form-group">
|
|
143
|
+
<label class="font_normal_body">新表类型</label>
|
|
144
|
+
<v-select :value.sync="model.f_meter_type"
|
|
145
|
+
v-model="model.f_meter_type"
|
|
146
|
+
:options='$parent.$parent.meterClassify' placeholder='请选择'
|
|
147
|
+
condition="f_meter_type = '{}'"
|
|
148
|
+
close-on-select></v-select>
|
|
149
|
+
</div>
|
|
150
|
+
<div class="col-sm-2 form-group">
|
|
151
|
+
<label class="font_normal_body">是否免费</label>
|
|
152
|
+
<v-select :value.sync="model.f_changemeter_fee"
|
|
153
|
+
v-model="model.f_changemeter_fee"
|
|
154
|
+
:options='$parent.$parent.changemeter_fee' placeholder='请选择'
|
|
155
|
+
condition="f_changemeter_fee {}"
|
|
156
|
+
close-on-select></v-select>
|
|
157
|
+
</div>
|
|
158
|
+
<div class="col-sm-2 form-group">
|
|
159
|
+
<label class="font_normal_body">付款方式</label>
|
|
160
|
+
<v-select id="f_payment"
|
|
161
|
+
v-model="model.f_payment"
|
|
162
|
+
:multiple="true"
|
|
163
|
+
placeholder='请选择'
|
|
164
|
+
condition="f_payment in {}"
|
|
165
|
+
:value.sync="model.f_payment"
|
|
166
|
+
:options='$parent.$parent.payments'
|
|
167
|
+
close-on-select clear-button>
|
|
168
|
+
</v-select>
|
|
169
|
+
</div>
|
|
170
|
+
<div class="col-sm-2 form-group">
|
|
171
|
+
<label class="font_normal_body">表  号</label>
|
|
172
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
173
|
+
condition="f_meternumber = '{}'" placeholder='表号'>
|
|
174
|
+
</div>
|
|
175
|
+
<div class="col-sm-2 form-group">
|
|
176
|
+
<label class="font_normal_body">表 封 号</label>
|
|
177
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_metertitles"
|
|
178
|
+
condition="f_metertitles = '{}'" placeholder='表封号'>
|
|
179
|
+
</div>
|
|
180
|
+
<div class="col-sm-2 form-group">
|
|
181
|
+
<label class="font_normal_body">旧 表 号</label>
|
|
182
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber_old"
|
|
183
|
+
condition="f_meternumber_old = '{}'" placeholder='旧表号'>
|
|
184
|
+
</div>
|
|
185
|
+
<div class="col-sm-2 form-group">
|
|
186
|
+
<label class="font_normal_body">旧 卡 号</label>
|
|
187
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_card_old"
|
|
188
|
+
condition="f_card_old = '{}'" placeholder='旧卡号'>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
</criteria>
|
|
193
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid @dblclick="$parent.$parent.toBusiness">
|
|
194
|
+
<template partial='head'>
|
|
195
|
+
<tr>
|
|
196
|
+
<th>
|
|
197
|
+
<!--<nobr>客户编号</nobr>-->
|
|
198
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
199
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
200
|
+
</th>
|
|
201
|
+
<th>
|
|
202
|
+
<nobr>客户名称</nobr>
|
|
203
|
+
</th>
|
|
204
|
+
<th>
|
|
205
|
+
<nobr>档案编号</nobr>
|
|
206
|
+
</th>
|
|
207
|
+
<th>
|
|
208
|
+
<nobr>付款方式</nobr>
|
|
209
|
+
</th>
|
|
210
|
+
<th>
|
|
211
|
+
<nobr>气表底数</nobr>
|
|
212
|
+
</th>
|
|
213
|
+
<th>
|
|
214
|
+
<nobr>表上余额</nobr>
|
|
215
|
+
</th>
|
|
216
|
+
<th>
|
|
217
|
+
<nobr>累购气量</nobr>
|
|
218
|
+
</th>
|
|
219
|
+
<th>
|
|
220
|
+
<nobr>累购金额</nobr>
|
|
221
|
+
</th>
|
|
222
|
+
<th>
|
|
223
|
+
<!--<nobr>客户地址</nobr>-->
|
|
224
|
+
<data-order field="f_address" name="客户地址"
|
|
225
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
226
|
+
</th>
|
|
227
|
+
<th>
|
|
228
|
+
<nobr>换表类型</nobr>
|
|
229
|
+
</th>
|
|
230
|
+
<th>
|
|
231
|
+
<nobr>换表费</nobr>
|
|
232
|
+
</th>
|
|
233
|
+
<th>
|
|
234
|
+
<nobr>旧表号</nobr>
|
|
235
|
+
</th>
|
|
236
|
+
<th>
|
|
237
|
+
<nobr>新表号</nobr>
|
|
238
|
+
</th>
|
|
239
|
+
<th>
|
|
240
|
+
<nobr>表封号</nobr>
|
|
241
|
+
</th>
|
|
242
|
+
<th>
|
|
243
|
+
<nobr>旧气表品牌</nobr>
|
|
244
|
+
</th>
|
|
245
|
+
<th>
|
|
246
|
+
<nobr>新气表品牌</nobr>
|
|
247
|
+
</th>
|
|
248
|
+
<th>
|
|
249
|
+
<nobr>补气量</nobr>
|
|
250
|
+
</th>
|
|
251
|
+
<th>
|
|
252
|
+
<nobr>补气金额</nobr>
|
|
253
|
+
</th>
|
|
254
|
+
<th>
|
|
255
|
+
<nobr>订单编号</nobr>
|
|
256
|
+
</th>
|
|
257
|
+
<th>
|
|
258
|
+
<nobr>备注</nobr>
|
|
259
|
+
</th>
|
|
260
|
+
<th>
|
|
261
|
+
<nobr>换表人</nobr>
|
|
262
|
+
</th>
|
|
263
|
+
<th>
|
|
264
|
+
<nobr>状态</nobr>
|
|
265
|
+
</th>
|
|
266
|
+
<th>
|
|
267
|
+
<!-- <nobr>换表日期</nobr>-->
|
|
268
|
+
<data-order field="f_operate_date" name="换表日期"
|
|
269
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
270
|
+
</th>
|
|
271
|
+
<th>
|
|
272
|
+
<nobr>人员</nobr>
|
|
273
|
+
</th>
|
|
274
|
+
<th>
|
|
275
|
+
<nobr>部门</nobr>
|
|
276
|
+
</th>
|
|
277
|
+
<th>
|
|
278
|
+
<nobr>公司</nobr>
|
|
279
|
+
</th>
|
|
280
|
+
<th><nobr>旧表类型</nobr></th>
|
|
281
|
+
<th><nobr>新表类型</nobr></th>
|
|
282
|
+
<th><nobr>用户类型</nobr></th>
|
|
283
|
+
<th><nobr>附件</nobr></th>
|
|
284
|
+
</tr>
|
|
285
|
+
</template>
|
|
286
|
+
<template partial='body'>
|
|
287
|
+
<td style="text-align: center;"><nobr>
|
|
288
|
+
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
289
|
+
</nobr> </td>
|
|
290
|
+
<td style="text-align: center;">
|
|
291
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
292
|
+
</td>
|
|
293
|
+
<td style="text-align: center;">
|
|
294
|
+
<nobr>{{row.f_olduserinfo_code}}</nobr>
|
|
295
|
+
</td>
|
|
296
|
+
<td style="text-align: center;">
|
|
297
|
+
<nobr>{{row.f_payment}}</nobr>
|
|
298
|
+
</td>
|
|
299
|
+
<td style="text-align: center;">
|
|
300
|
+
<nobr>{{row.f_meter_base}}</nobr>
|
|
301
|
+
</td>
|
|
302
|
+
<td style="text-align: center;">
|
|
303
|
+
<nobr>{{row.f_balance_amount}}</nobr>
|
|
304
|
+
</td>
|
|
305
|
+
<td style="text-align: center;">
|
|
306
|
+
<nobr>{{row.leigougas}}</nobr>
|
|
307
|
+
</td>
|
|
308
|
+
<td style="text-align: center;">
|
|
309
|
+
<nobr>{{row.leigoumoney}}</nobr>
|
|
310
|
+
</td>
|
|
311
|
+
<td style="text-align: center;">
|
|
312
|
+
<nobr>{{row.f_address}}</nobr>
|
|
313
|
+
</td>
|
|
314
|
+
|
|
315
|
+
<td style="text-align: center;">
|
|
316
|
+
<nobr>{{row.f_type}}</nobr>
|
|
317
|
+
</td>
|
|
318
|
+
<td style="text-align: center;">
|
|
319
|
+
<nobr>{{row.f_changemeter_fee}}</nobr>
|
|
320
|
+
</td>
|
|
321
|
+
<td style="text-align: center;">
|
|
322
|
+
<nobr>{{row.f_meternumber_old}}</nobr>
|
|
323
|
+
</td>
|
|
324
|
+
<td style="text-align: center;">
|
|
325
|
+
<nobr>{{row.f_meternumber}}</nobr>
|
|
326
|
+
</td>
|
|
327
|
+
<td style="text-align: center;">
|
|
328
|
+
<nobr>{{row.f_metertitles}}</nobr>
|
|
329
|
+
</td>
|
|
330
|
+
<td style="text-align: center;">
|
|
331
|
+
<nobr>{{row.f_meter_brand_old}}</nobr>
|
|
332
|
+
</td>
|
|
333
|
+
<td style="text-align: center;">
|
|
334
|
+
<nobr>{{row.f_meter_brand}}</nobr>
|
|
335
|
+
</td>
|
|
336
|
+
<td style="text-align: center;">
|
|
337
|
+
<nobr>{{row.f_remanent_gas}}</nobr>
|
|
338
|
+
</td>
|
|
339
|
+
<td style="text-align: center;">
|
|
340
|
+
<nobr>{{row.f_remanent_money}}</nobr>
|
|
341
|
+
</td>
|
|
342
|
+
<td style="text-align: center;">
|
|
343
|
+
<nobr>{{row.f_serial_number}}</nobr>
|
|
344
|
+
</td>
|
|
345
|
+
<td style="text-align: center;">
|
|
346
|
+
<nobr>{{row.f_comments}}</nobr>
|
|
347
|
+
</td>
|
|
348
|
+
<td style="text-align: center;">
|
|
349
|
+
<nobr>{{row.f_change_operator}}</nobr>
|
|
350
|
+
</td>
|
|
351
|
+
<td style="text-align: center;">
|
|
352
|
+
<nobr>{{row.f_state}}</nobr>
|
|
353
|
+
</td>
|
|
354
|
+
<td style="text-align: center;">
|
|
355
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
356
|
+
</td>
|
|
357
|
+
<td style="text-align: center;">
|
|
358
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
359
|
+
</td>
|
|
360
|
+
<td style="text-align: center;">
|
|
361
|
+
<nobr>{{row.f_depname}}</nobr>
|
|
362
|
+
</td>
|
|
363
|
+
<td style="text-align: center;">
|
|
364
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
365
|
+
</td>
|
|
366
|
+
<td style="text-align: center;">
|
|
367
|
+
<nobr>{{row.f_meter_type_old}}</nobr>
|
|
368
|
+
</td>
|
|
369
|
+
<td style="text-align: center;">
|
|
370
|
+
<nobr>{{row.f_meter_type}}</nobr>
|
|
371
|
+
</td>
|
|
372
|
+
<td style="text-align: center;">
|
|
373
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
374
|
+
</td>
|
|
375
|
+
<td style="text-align: center;"><nobr>
|
|
376
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
377
|
+
</nobr></td>
|
|
378
|
+
</template>
|
|
379
|
+
<template partial='foot'></template>
|
|
380
|
+
</data-grid>
|
|
381
|
+
</criteria-paged>
|
|
382
|
+
<table class="table-hover">
|
|
383
|
+
<tr style="position: relative" class="table-bordered">
|
|
384
|
+
<td
|
|
385
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
386
|
+
汇总信息
|
|
387
|
+
</td>
|
|
388
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
389
|
+
表上余额合计: {{sumsmodel.f_balance_amount}}
|
|
390
|
+
</td>
|
|
391
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
392
|
+
换表费合计: {{sumsmodel.f_changemeter_fee}}
|
|
393
|
+
</td>
|
|
394
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
395
|
+
补气量合计: {{sumsmodel.f_remanent_gas}}
|
|
396
|
+
</td>
|
|
397
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
398
|
+
补气金额合计: {{sumsmodel.f_remanent_money}}
|
|
399
|
+
</td>
|
|
400
|
+
</tr>
|
|
401
|
+
</table>
|
|
402
|
+
<!--<colligate-details :showinfo="showinfo" :businesstype="businesstype" :data="data" @close-info="showinfo=false"></colligate-details>-->
|
|
403
|
+
<!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
|
|
404
|
+
<!--<header slot="modal-header" class="modal-header text-center">-->
|
|
405
|
+
<!--<h4 class="modal-title">打印列选择</h4>-->
|
|
406
|
+
<!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
|
|
407
|
+
<!--<label for="f_generations" class="font-size">全选</label>-->
|
|
408
|
+
<!--</header>-->
|
|
409
|
+
<!--<article slot="modal-body">-->
|
|
410
|
+
<!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
|
|
411
|
+
<!--<div class="col-sm-3" v-for="f in fields">-->
|
|
412
|
+
<!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
|
|
413
|
+
<!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
|
|
414
|
+
<!--</div>-->
|
|
415
|
+
<!--</div>-->
|
|
416
|
+
<!--</article>-->
|
|
417
|
+
<!--<footer slot="modal-footer" class="modal-footer">-->
|
|
418
|
+
<!--<center>-->
|
|
419
|
+
<!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
|
|
420
|
+
<!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
|
|
421
|
+
<!--<print-table :model='model' v-show="false" v-ref:print-->
|
|
422
|
+
<!--:top='40' :left='60' :right='40' :bottom='60'-->
|
|
423
|
+
<!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
|
|
424
|
+
<!--:fields="modelval" :printpage="true">-->
|
|
425
|
+
<!--</print-table>-->
|
|
426
|
+
<!--</center>-->
|
|
427
|
+
<!--</footer>-->
|
|
428
|
+
<!--</modal>-->
|
|
429
|
+
</div>
|
|
430
|
+
<div class="flex" v-if="show">
|
|
431
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
432
|
+
</div>
|
|
433
|
+
</div>
|
|
434
|
+
<modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
|
|
435
|
+
<article slot="modal-body">
|
|
436
|
+
<upload :blodid="selected.f_userinfo_id" v-ref:upload :isremark="false" fusetype="换表&清零" ></upload>
|
|
437
|
+
</article>
|
|
438
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
439
|
+
</footer>
|
|
440
|
+
</modal>
|
|
441
|
+
</div>
|
|
442
|
+
</template>
|
|
443
|
+
<script>
|
|
444
|
+
import {PagedList} from 'vue-client'
|
|
445
|
+
import defaultPrint from '../../components/sale/config/DefaultPrint'
|
|
446
|
+
import exportConfig from '../../components/sale/config/exportConfig'
|
|
447
|
+
let readySomething = async function (self) {
|
|
448
|
+
self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
|
|
449
|
+
self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
|
|
450
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
451
|
+
// self.$refs.paged.$refs.cri.search()
|
|
452
|
+
await self.$MagLoadParams.loadParam()
|
|
453
|
+
self.initParams()
|
|
454
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
455
|
+
}
|
|
456
|
+
export default {
|
|
457
|
+
props:['data'],
|
|
458
|
+
title: '换表查询',
|
|
459
|
+
data() {
|
|
460
|
+
return {
|
|
461
|
+
data: {},
|
|
462
|
+
other:[],
|
|
463
|
+
footer:[],
|
|
464
|
+
meterbrands: [],
|
|
465
|
+
pricenames: [],
|
|
466
|
+
model: new PagedList('api/af-revenue/sql/changeMeterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {f_balance_amount: 0,f_changemeter_fee: 0,f_remanent_money:0,f_remanent_gas:0}),
|
|
467
|
+
criteriaShow: false,
|
|
468
|
+
orgCondtionStr: '',
|
|
469
|
+
modelval: [],
|
|
470
|
+
printshow: false,
|
|
471
|
+
all: false,
|
|
472
|
+
fields: {},
|
|
473
|
+
initres: {
|
|
474
|
+
org:[this.$login.f.orgid],
|
|
475
|
+
dep:[],
|
|
476
|
+
user:[],
|
|
477
|
+
},
|
|
478
|
+
config: {
|
|
479
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_type', 'f_changemeter_fee', 'f_meternumber_old', 'f_meternumber', 'f_change_operator', 'f_state', 'f_operate_date']
|
|
480
|
+
},
|
|
481
|
+
//排序
|
|
482
|
+
orderitem:'f_operate_date desc',
|
|
483
|
+
orderFields: {
|
|
484
|
+
f_operate_date: 'no'
|
|
485
|
+
},
|
|
486
|
+
show:false,
|
|
487
|
+
rowdata:{},
|
|
488
|
+
showupload:false,
|
|
489
|
+
selected:{},
|
|
490
|
+
thead: '',
|
|
491
|
+
tfoot: '',
|
|
492
|
+
defaultfield: [],
|
|
493
|
+
// tablestate: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}],
|
|
494
|
+
//合计数据
|
|
495
|
+
sumsmodel: {},
|
|
496
|
+
changemeter_fee:[
|
|
497
|
+
{label: '全部', value: ''},
|
|
498
|
+
{label: '销售', value: '> 0'},
|
|
499
|
+
{label: '免费', value: '= 0'}
|
|
500
|
+
]
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
},
|
|
504
|
+
ready() {
|
|
505
|
+
this.startDate=this.$parent.startDate
|
|
506
|
+
this.endDate=this.$parent.endDate
|
|
507
|
+
readySomething(this)
|
|
508
|
+
},
|
|
509
|
+
methods: {
|
|
510
|
+
view(row){
|
|
511
|
+
this.showupload = true
|
|
512
|
+
this.selected= row
|
|
513
|
+
console.log("11",row)
|
|
514
|
+
},
|
|
515
|
+
search(){
|
|
516
|
+
this.$refs.paged.$refs.cri.search()
|
|
517
|
+
},
|
|
518
|
+
cancel() {
|
|
519
|
+
this.show = false
|
|
520
|
+
},
|
|
521
|
+
showmsg(obj){
|
|
522
|
+
this.rowdata=obj
|
|
523
|
+
this.show=true
|
|
524
|
+
},
|
|
525
|
+
getotherfooter () {
|
|
526
|
+
this.other = [];
|
|
527
|
+
this.footer = [];
|
|
528
|
+
let exportdata = this.getCondition;
|
|
529
|
+
let otherInData = [];
|
|
530
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
531
|
+
let footerData = [], exportfield = this.getfield;
|
|
532
|
+
footerData.push("合计");
|
|
533
|
+
let self = this;
|
|
534
|
+
for (var field in self.sumsmodel) {
|
|
535
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
536
|
+
}
|
|
537
|
+
this.footer.push(footerData);
|
|
538
|
+
this.other.push(otherInData);
|
|
539
|
+
let date = []
|
|
540
|
+
date.push(`起始时间:${this.$refs.paged.$refs.cri.model.startDate}`)
|
|
541
|
+
date.push(`终止时间:${this.$refs.paged.$refs.cri.model.endDate}`)
|
|
542
|
+
this.other.push(date)
|
|
543
|
+
},
|
|
544
|
+
async initParams() {
|
|
545
|
+
// 初始化气表品牌
|
|
546
|
+
let brandArr = []
|
|
547
|
+
await this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
548
|
+
let temp = {}
|
|
549
|
+
temp.label = item.label
|
|
550
|
+
temp.value = item.value.f_meter_brand
|
|
551
|
+
brandArr.push(temp)
|
|
552
|
+
})
|
|
553
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
554
|
+
},
|
|
555
|
+
async selfSearch(args) {
|
|
556
|
+
if (this.data) {
|
|
557
|
+
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
558
|
+
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
559
|
+
}
|
|
560
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
561
|
+
args.condition = args.condition.replace(/f_zones/, "f_slice_area")
|
|
562
|
+
await this.model.search(args.condition, args.model)
|
|
563
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
564
|
+
|
|
565
|
+
this.sumsmodel.hushu=[...new Set(this.$refs.paged.$refs.grid.model.rows.map(item => item.f_userinfo_code))].length
|
|
566
|
+
|
|
567
|
+
},
|
|
568
|
+
clear() {
|
|
569
|
+
//清空部门和人员
|
|
570
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
571
|
+
//部门和人员变为全选
|
|
572
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
573
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
574
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
575
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
576
|
+
})
|
|
577
|
+
},
|
|
578
|
+
show() {
|
|
579
|
+
this.criteriaShow = true
|
|
580
|
+
},
|
|
581
|
+
hidden() {
|
|
582
|
+
this.criteriaShow = !this.criteriaShow
|
|
583
|
+
},
|
|
584
|
+
getRes(obj) {
|
|
585
|
+
this.orgCondtionStr = obj
|
|
586
|
+
},
|
|
587
|
+
stamp() {
|
|
588
|
+
this.all = false
|
|
589
|
+
//默认选择要打印的列
|
|
590
|
+
this.modelval = defaultPrint.config
|
|
591
|
+
this.fields = this.getfield
|
|
592
|
+
this.printshow = true
|
|
593
|
+
this.put()
|
|
594
|
+
},
|
|
595
|
+
dealmsg(val) {
|
|
596
|
+
val.model = this.model.model
|
|
597
|
+
this.$dispatch('deal-msg', val)
|
|
598
|
+
},
|
|
599
|
+
put() {
|
|
600
|
+
// 对Modelval进行排序
|
|
601
|
+
this.sortModelval()
|
|
602
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>换表查询统计报表</th></tr><tr>`
|
|
603
|
+
for (let key of this.modelval) {
|
|
604
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
605
|
+
}
|
|
606
|
+
this.thead += '</tr>'
|
|
607
|
+
},
|
|
608
|
+
print() {
|
|
609
|
+
this.$refs.print.PrintAsFile()
|
|
610
|
+
this.printshow = false
|
|
611
|
+
},
|
|
612
|
+
close() {
|
|
613
|
+
this.printshow = false
|
|
614
|
+
this.all = false
|
|
615
|
+
},
|
|
616
|
+
// 对选择的列进行排序
|
|
617
|
+
sortModelval() {
|
|
618
|
+
let sortModel = []
|
|
619
|
+
Object.keys(this.fields).forEach((key) => {
|
|
620
|
+
if (this.modelval.includes(key)) {
|
|
621
|
+
sortModel.push(key)
|
|
622
|
+
}
|
|
623
|
+
})
|
|
624
|
+
this.modelval = sortModel
|
|
625
|
+
console.log('选择的打印的字段', this.modelval)
|
|
626
|
+
},
|
|
627
|
+
sort (field, rule) {
|
|
628
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
629
|
+
for (let key in this.orderFields) {
|
|
630
|
+
if (key === field) {
|
|
631
|
+
this.orderFields[key] = rule
|
|
632
|
+
} else {
|
|
633
|
+
this.orderFields[key] = 'no'
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
// 如果新规则不排序,还原为默认排序
|
|
637
|
+
if (rule === 'no') {
|
|
638
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
639
|
+
} else {
|
|
640
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
this.search()
|
|
644
|
+
},
|
|
645
|
+
},
|
|
646
|
+
watch: {
|
|
647
|
+
'all'(val) {
|
|
648
|
+
if (val) {
|
|
649
|
+
this.modelval = this.bodyData
|
|
650
|
+
} else {
|
|
651
|
+
this.modelval = defaultPrint.config
|
|
652
|
+
this.put()
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
'modelval.length'() {
|
|
656
|
+
this.put()
|
|
657
|
+
},
|
|
658
|
+
sumsmodel:{
|
|
659
|
+
handler: function(val) {
|
|
660
|
+
this.getotherfooter();
|
|
661
|
+
},
|
|
662
|
+
deep: true
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
computed: {
|
|
666
|
+
// getstart(){
|
|
667
|
+
// return `开始时间:${this.$refs.paged.$refs.cri.model.startDate} 结束时间:${this.$refs.paged.$refs.cri.model.endDate}`
|
|
668
|
+
// },
|
|
669
|
+
getCondition() {
|
|
670
|
+
return {
|
|
671
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
672
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
|
|
673
|
+
},
|
|
674
|
+
getfield() {
|
|
675
|
+
return exportConfig.changemeterConfig
|
|
676
|
+
},
|
|
677
|
+
changeTypes() {
|
|
678
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('换表类型')]
|
|
679
|
+
},
|
|
680
|
+
userTypes() {
|
|
681
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
682
|
+
},
|
|
683
|
+
meterClassify() {
|
|
684
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
685
|
+
},
|
|
686
|
+
changePerson() {
|
|
687
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('换表人')]
|
|
688
|
+
},
|
|
689
|
+
charge_state() {
|
|
690
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
691
|
+
},
|
|
692
|
+
payments() {
|
|
693
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
</script>
|
|
698
|
+
<style scoped>
|
|
699
|
+
.showbottom{
|
|
700
|
+
height:95%
|
|
701
|
+
}
|
|
702
|
+
</style>
|