manage-client 3.2.195 → 3.2.197
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/sale/businessquery/ArrearsQuery.vue +514 -492
- package/src/components/sale/config/exportConfig.js +6 -6
- package/src/components/sale/filesquery/FmyGasDeviceQuery.vue +132 -3
- package/src/components/sale/filesquery/GasDeviceQuery.vue +174 -32
- package/src/filiale/qianneng/QnOtherReport.vue +3 -0
- package/src/filiale/qianneng/QnTiaojiabuchaTJB.vue +602 -0
- package/src/filiale/qianneng/exportConfig.js +4 -0
- package/src/filiale/qianneng/reportManage.js +4 -0
- package/src/filiale/qingtongxia/ArrearsQuery.vue +441 -438
- package/src/filiale/rongcheng/ArrearsQuery.vue +120 -110
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
5
|
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
7
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
8
|
<div class="row">
|
|
9
9
|
<div class="col-sm-2 form-group">
|
|
10
10
|
|
|
11
|
-
<label for="startDate" class="font_normal_body color-red" style="color: red;"
|
|
11
|
+
<label for="startDate" class="font_normal_body color-red" style="color: red;"
|
|
12
|
+
title="归属日期">开始日期</label>
|
|
12
13
|
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
13
14
|
v-model="model.startDate"
|
|
14
15
|
:value.sync="model.startDate"
|
|
@@ -18,7 +19,8 @@
|
|
|
18
19
|
</datepicker>
|
|
19
20
|
</div>
|
|
20
21
|
<div class="col-sm-2 form-group">
|
|
21
|
-
<label for="endDate" class="font_normal_body color-red" style="color: red;"
|
|
22
|
+
<label for="endDate" class="font_normal_body color-red" style="color: red;"
|
|
23
|
+
title="归属日期">结束日期</label>
|
|
22
24
|
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
23
25
|
v-model="model.endDate"
|
|
24
26
|
:value.sync="model.endDate"
|
|
@@ -51,18 +53,20 @@
|
|
|
51
53
|
template-name='用户欠费查询导出'
|
|
52
54
|
:choose-col="true"></export-excel>
|
|
53
55
|
|
|
54
|
-
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
|
|
55
|
-
|
|
56
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
|
|
57
|
+
:field="$parent.$parent.getfield"
|
|
58
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
56
59
|
titletable="用户欠费查询导出"
|
|
57
60
|
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
58
|
-
<div style="float: right"
|
|
59
|
-
'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
61
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
62
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
60
63
|
|
|
61
64
|
</div>
|
|
62
65
|
</div>
|
|
63
66
|
|
|
64
67
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
65
|
-
<res-select-group :initres="$parent.$parent.initres"
|
|
68
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"
|
|
69
|
+
v-ref:sel></res-select-group>
|
|
66
70
|
|
|
67
71
|
<div class="col-sm-2 form-group">
|
|
68
72
|
<label class="font_normal_body">客户名称</label>
|
|
@@ -81,7 +85,7 @@
|
|
|
81
85
|
</div>
|
|
82
86
|
<div class="col-sm-2 form-group">
|
|
83
87
|
|
|
84
|
-
<label for="inputstartDate" class="font_normal_body color-red"style="color: red;">抄表日期</label>
|
|
88
|
+
<label for="inputstartDate" class="font_normal_body color-red" style="color: red;">抄表日期</label>
|
|
85
89
|
<datepicker id="inputstartDate" placeholder="开始日期" style="width:60%"
|
|
86
90
|
v-model="model.inputstartDate"
|
|
87
91
|
:value.sync="model.inputstartDate"
|
|
@@ -103,9 +107,9 @@
|
|
|
103
107
|
|
|
104
108
|
|
|
105
109
|
<!--<div class="col-sm-2 form-group">-->
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
110
|
+
<!--<label class="font_normal_body">收费编号</label>-->
|
|
111
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
|
|
112
|
+
<!--condition="id = '{}'" placeholder="收费编号">-->
|
|
109
113
|
<!--</div>-->
|
|
110
114
|
<div class="col-sm-2 form-group">
|
|
111
115
|
<label class="font_normal_body">客户电话</label>
|
|
@@ -113,9 +117,9 @@
|
|
|
113
117
|
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
114
118
|
</div>
|
|
115
119
|
<!--<div class="col-sm-2 form-group">-->
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
120
|
+
<!--<label class="font_normal_body">身份证号</label>-->
|
|
121
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
|
|
122
|
+
<!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
|
|
119
123
|
<!--</div>-->
|
|
120
124
|
<div class="col-sm-2 form-group">
|
|
121
125
|
<label class="font_normal_body">客户地址</label>
|
|
@@ -137,7 +141,7 @@
|
|
|
137
141
|
</v-select>
|
|
138
142
|
</div>
|
|
139
143
|
<div class="col-sm-2 form-group">
|
|
140
|
-
<label class="font_normal_body"
|
|
144
|
+
<label class="font_normal_body">缴费类型</label>
|
|
141
145
|
<v-select :value.sync="model.f_payment" multiple
|
|
142
146
|
v-model="model.f_payment"
|
|
143
147
|
:options='$parent.$parent.dypayment' placeholder='请选择'
|
|
@@ -145,25 +149,25 @@
|
|
|
145
149
|
close-on-select></v-select>
|
|
146
150
|
</div>
|
|
147
151
|
<!--<div class="col-sm-2 form-group">-->
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
<!--<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>-->
|
|
153
|
+
<!--<v-select :value.sync="model.f_payment" multiple-->
|
|
154
|
+
<!--v-model="model.f_payment"-->
|
|
155
|
+
<!--:options='$parent.$parent.payment' placeholder='请选择'-->
|
|
156
|
+
<!--condition="f_payment in {}"-->
|
|
157
|
+
<!--close-on-select></v-select>-->
|
|
154
158
|
<!--</div>-->
|
|
155
159
|
<!--<div class="col-sm-2 form-group">-->
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
160
|
+
<!--<label class="font_normal_body">收费类型</label>-->
|
|
161
|
+
<!--<!– <v-select :value.sync="model.f_type"-->
|
|
162
|
+
<!--v-model="model.f_type"-->
|
|
163
|
+
<!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
|
|
164
|
+
<!--condition="f_type = '{}'"-->
|
|
165
|
+
<!--close-on-select></v-select>–>-->
|
|
166
|
+
<!--<v-select :value.sync="model.f_type" multiple-->
|
|
167
|
+
<!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
|
|
168
|
+
<!--close-on-select clear-button-->
|
|
169
|
+
<!--condition="f_type in {}"-->
|
|
170
|
+
<!--v-model="model.f_type"></v-select>-->
|
|
167
171
|
<!--</div>-->
|
|
168
172
|
<div class="col-sm-2 form-group">
|
|
169
173
|
<label class="font_normal_body">客户类型</label>
|
|
@@ -223,7 +227,7 @@
|
|
|
223
227
|
condition="c > '{}'" placeholder='欠费期数大于'>
|
|
224
228
|
</div>
|
|
225
229
|
<div class="col-sm-2 form-group">
|
|
226
|
-
<label class="font_normal_body"
|
|
230
|
+
<label class="font_normal_body">抄 表 员</label>
|
|
227
231
|
<v-select :value.sync="model.f_inputtor"
|
|
228
232
|
v-model="model.f_inputtor"
|
|
229
233
|
:options='$parent.$parent.inputtores' placeholder='请选择'
|
|
@@ -241,7 +245,7 @@
|
|
|
241
245
|
condition="f_meter_book_num = '{}'"></v-select>
|
|
242
246
|
</div>
|
|
243
247
|
<div class="col-sm-2 form-group">
|
|
244
|
-
<label class="font_normal_body"
|
|
248
|
+
<label class="font_normal_body">档案抄表员</label>
|
|
245
249
|
<v-select :value.sync="model.f_dainputtores"
|
|
246
250
|
v-model="model.f_dainputtores"
|
|
247
251
|
:options='$parent.$parent.dainputtores' placeholder='请选择'
|
|
@@ -250,24 +254,24 @@
|
|
|
250
254
|
</v-select>
|
|
251
255
|
</div>
|
|
252
256
|
<!--<div class="col-sm-2 form-group">-->
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
257
|
+
<!--<label class="font_normal_body">气价类型</label>-->
|
|
258
|
+
<!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
|
|
259
|
+
<!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
|
|
260
|
+
<!--close-on-select v-ref:type>-->
|
|
261
|
+
<!--</v-select>-->
|
|
258
262
|
<!--</div>-->
|
|
259
263
|
<!--<div class="col-sm-2 form-group">-->
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
264
|
+
<!--<label class="font_normal_body">气价名称</label>-->
|
|
265
|
+
<!--<v-select :value.sync="model.f_price_name"-->
|
|
266
|
+
<!--v-model="model.f_price_name"-->
|
|
267
|
+
<!--:options="$parent.$parent.getPricenames"-->
|
|
268
|
+
<!--condition="f_price_name = '{}'"-->
|
|
269
|
+
<!--close-on-select></v-select>-->
|
|
266
270
|
<!--</div>-->
|
|
267
271
|
<!--<div class="col-sm-2 form-group">-->
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
272
|
+
<!--<label class="font_normal_body"> 表编号</label>-->
|
|
273
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"-->
|
|
274
|
+
<!--condition="f_user_id = '{}'" placeholder='表编号'>-->
|
|
271
275
|
<!--</div>-->
|
|
272
276
|
</div>
|
|
273
277
|
</div>
|
|
@@ -328,14 +332,14 @@
|
|
|
328
332
|
<th>
|
|
329
333
|
<nobr>用气金额</nobr>
|
|
330
334
|
</th>
|
|
331
|
-
<th
|
|
332
|
-
<nobr>缴费时间</nobr
|
|
333
|
-
</th
|
|
335
|
+
<!-- <th>-->
|
|
336
|
+
<!-- <nobr>缴费时间</nobr>-->
|
|
337
|
+
<!-- </th>-->
|
|
334
338
|
<th>
|
|
335
339
|
<nobr>已交金额</nobr>
|
|
336
340
|
</th>
|
|
337
341
|
<!--<th>-->
|
|
338
|
-
|
|
342
|
+
<!--<nobr>回收率</nobr>-->
|
|
339
343
|
<!--</th>-->
|
|
340
344
|
<th>
|
|
341
345
|
<nobr>应交气费</nobr>
|
|
@@ -346,9 +350,9 @@
|
|
|
346
350
|
<th>
|
|
347
351
|
<nobr>附加费</nobr>
|
|
348
352
|
</th>
|
|
349
|
-
<th
|
|
350
|
-
<nobr>上期余额</nobr
|
|
351
|
-
</th
|
|
353
|
+
<!-- <th>-->
|
|
354
|
+
<!-- <nobr>上期余额</nobr>-->
|
|
355
|
+
<!-- </th>-->
|
|
352
356
|
<th>
|
|
353
357
|
<nobr>合计欠费</nobr>
|
|
354
358
|
</th>
|
|
@@ -380,104 +384,104 @@
|
|
|
380
384
|
</template>
|
|
381
385
|
<template partial='body'>
|
|
382
386
|
<td style="text-align:center">
|
|
383
|
-
<nobr>{{$index+1}}</nobr>
|
|
387
|
+
<nobr>{{ $index + 1 }}</nobr>
|
|
384
388
|
</td>
|
|
385
389
|
<td style="text-align: center;">
|
|
386
|
-
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
390
|
+
<nobr>{{ row.f_userinfo_code }}</nobr>
|
|
387
391
|
</td>
|
|
388
392
|
<td style="text-align: center;">
|
|
389
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
393
|
+
<nobr>{{ row.f_user_name }}</nobr>
|
|
390
394
|
</td>
|
|
391
395
|
<td style="text-align: center;">
|
|
392
|
-
<nobr>{{row.f_olduserinfo_code}}</nobr>
|
|
396
|
+
<nobr>{{ row.f_olduserinfo_code }}</nobr>
|
|
393
397
|
</td>
|
|
394
398
|
<td style="text-align: center;">
|
|
395
|
-
<nobr>{{row.f_book_no}}</nobr>
|
|
399
|
+
<nobr>{{ row.f_book_no }}</nobr>
|
|
396
400
|
</td>
|
|
397
401
|
<td style="text-align: center;">
|
|
398
|
-
<nobr>{{row.f_meter_book_sort}}</nobr>
|
|
402
|
+
<nobr>{{ row.f_meter_book_sort }}</nobr>
|
|
399
403
|
</td>
|
|
400
404
|
<td style="text-align: center;">
|
|
401
|
-
<nobr>{{row.f_residential_area}}</nobr>
|
|
405
|
+
<nobr>{{ row.f_residential_area }}</nobr>
|
|
402
406
|
</td>
|
|
403
407
|
<td style="text-align: center;">
|
|
404
|
-
<nobr>{{row.f_address}}</nobr>
|
|
408
|
+
<nobr>{{ row.f_address }}</nobr>
|
|
405
409
|
</td>
|
|
406
410
|
<td style="text-align: center;">
|
|
407
|
-
<nobr>{{row.f_user_phone}}</nobr>
|
|
411
|
+
<nobr>{{ row.f_user_phone }}</nobr>
|
|
408
412
|
</td>
|
|
409
413
|
<td style="text-align: center;">
|
|
410
|
-
<nobr>{{row.f_rent_phone}}</nobr>
|
|
414
|
+
<nobr>{{ row.f_rent_phone }}</nobr>
|
|
411
415
|
</td>
|
|
412
416
|
<td style="text-align: center;">
|
|
413
|
-
<nobr>{{row.f_meter_classify}}</nobr>
|
|
417
|
+
<nobr>{{ row.f_meter_classify }}</nobr>
|
|
414
418
|
</td>
|
|
415
419
|
|
|
416
420
|
<td style="text-align: center;">
|
|
417
|
-
<nobr>{{row.c}}</nobr>
|
|
421
|
+
<nobr>{{ row.c }}</nobr>
|
|
418
422
|
</td>
|
|
419
423
|
<td style="text-align: center;">
|
|
420
|
-
<nobr>{{row.f_hand_date}}</nobr>
|
|
424
|
+
<nobr>{{ row.f_hand_date }}</nobr>
|
|
421
425
|
</td>
|
|
422
426
|
<td style="text-align: center;">
|
|
423
|
-
<nobr>{{row.f_last_tablebase}}</nobr>
|
|
427
|
+
<nobr>{{ row.f_last_tablebase }}</nobr>
|
|
424
428
|
</td>
|
|
425
429
|
<td style="text-align: center;">
|
|
426
|
-
<nobr>{{row.f_tablebase}}</nobr>
|
|
430
|
+
<nobr>{{ row.f_tablebase }}</nobr>
|
|
427
431
|
</td>
|
|
428
432
|
<td style="text-align: center;">
|
|
429
|
-
<nobr>{{row.f_oughtamount}}</nobr>
|
|
433
|
+
<nobr>{{ row.f_oughtamount }}</nobr>
|
|
430
434
|
</td>
|
|
431
435
|
<td style="text-align: center;">
|
|
432
|
-
<nobr>{{row.f_oughtfee}}</nobr>
|
|
436
|
+
<nobr>{{ row.f_oughtfee }}</nobr>
|
|
433
437
|
</td>
|
|
438
|
+
<!-- <td style="text-align: center;">-->
|
|
439
|
+
<!-- <nobr>{{row.f_operate_date}}</nobr>-->
|
|
440
|
+
<!-- </td>-->
|
|
434
441
|
<td style="text-align: center;">
|
|
435
|
-
<nobr>{{row.
|
|
436
|
-
</td>
|
|
437
|
-
<td style="text-align: center;">
|
|
438
|
-
<nobr>{{row.f_debt_money}}</nobr>
|
|
442
|
+
<nobr>{{ row.f_debt_money }}</nobr>
|
|
439
443
|
</td>
|
|
440
444
|
<!--<td style="text-align: center;">-->
|
|
441
|
-
|
|
445
|
+
<!--<nobr>{{row.f_hand_bv}}</nobr>-->
|
|
442
446
|
<!--</td>-->
|
|
443
447
|
<td style="text-align: center;">
|
|
444
|
-
<nobr>{{row.f_oughtfee_new}}</nobr>
|
|
445
|
-
</td>
|
|
446
|
-
<td style="text-align: center;">
|
|
447
|
-
<nobr>{{row.overdue}}</nobr>
|
|
448
|
+
<nobr>{{ row.f_oughtfee_new }}</nobr>
|
|
448
449
|
</td>
|
|
449
450
|
<td style="text-align: center;">
|
|
450
|
-
<nobr>{{row.
|
|
451
|
+
<nobr>{{ row.overdue }}</nobr>
|
|
451
452
|
</td>
|
|
452
453
|
<td style="text-align: center;">
|
|
453
|
-
<nobr>{{row.
|
|
454
|
+
<nobr>{{ row.f_garbage_fee }}</nobr>
|
|
454
455
|
</td>
|
|
456
|
+
<!-- <td style="text-align: center;">-->
|
|
457
|
+
<!-- <nobr>{{row.f_balance}}</nobr>-->
|
|
458
|
+
<!-- </td>-->
|
|
455
459
|
<td style="text-align: center;">
|
|
456
|
-
<nobr>{{row.f_oughtfee_all}}</nobr>
|
|
460
|
+
<nobr>{{ row.f_oughtfee_all }}</nobr>
|
|
457
461
|
</td>
|
|
458
462
|
<td style="text-align: center;">
|
|
459
|
-
<nobr>{{row.f_oughtfee_col}}</nobr>
|
|
463
|
+
<nobr>{{ row.f_oughtfee_col }}</nobr>
|
|
460
464
|
</td>
|
|
461
465
|
<td style="text-align: center;">
|
|
462
|
-
<nobr>{{row.f_inputtor}}</nobr>
|
|
466
|
+
<nobr>{{ row.f_inputtor }}</nobr>
|
|
463
467
|
</td>
|
|
464
468
|
<td style="text-align: center;">
|
|
465
|
-
<nobr>{{row.f_book_name}}</nobr>
|
|
469
|
+
<nobr>{{ row.f_book_name }}</nobr>
|
|
466
470
|
</td>
|
|
467
471
|
<td style="text-align: center;">
|
|
468
|
-
<nobr>{{row.f_dainputtores}}</nobr>
|
|
472
|
+
<nobr>{{ row.f_dainputtores }}</nobr>
|
|
469
473
|
</td>
|
|
470
474
|
<td style="text-align: center;">
|
|
471
|
-
<nobr>{{row.f_user_type}}</nobr>
|
|
475
|
+
<nobr>{{ row.f_user_type }}</nobr>
|
|
472
476
|
</td>
|
|
473
477
|
<td style="text-align: center;">
|
|
474
|
-
<nobr>{{row.f_gasproperties}}</nobr>
|
|
478
|
+
<nobr>{{ row.f_gasproperties }}</nobr>
|
|
475
479
|
</td>
|
|
476
480
|
<td style="text-align: center;">
|
|
477
|
-
<nobr>{{row.f_cost_type}}</nobr>
|
|
481
|
+
<nobr>{{ row.f_cost_type }}</nobr>
|
|
478
482
|
</td>
|
|
479
483
|
<td style="text-align: center;">
|
|
480
|
-
<nobr>{{row.f_comments}}</nobr>
|
|
484
|
+
<nobr>{{ row.f_comments }}</nobr>
|
|
481
485
|
</td>
|
|
482
486
|
</template>
|
|
483
487
|
<template partial='foot'></template>
|
|
@@ -489,455 +493,473 @@
|
|
|
489
493
|
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
490
494
|
汇总信息
|
|
491
495
|
</td>
|
|
492
|
-
<td
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
496
|
-
用气金额合计: {{sumsmodel.f_oughtfee}}
|
|
496
|
+
<td
|
|
497
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
498
|
+
用气量合计: {{ sumsmodel.f_oughtamount }}
|
|
497
499
|
</td>
|
|
498
|
-
<td
|
|
499
|
-
|
|
500
|
+
<td
|
|
501
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
502
|
+
用气金额合计: {{ sumsmodel.f_oughtfee }}
|
|
500
503
|
</td>
|
|
501
|
-
<td
|
|
502
|
-
|
|
504
|
+
<td
|
|
505
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
506
|
+
已交金额合计: {{ sumsmodel.f_debt_money }}
|
|
503
507
|
</td>
|
|
504
|
-
<td
|
|
505
|
-
|
|
508
|
+
<td
|
|
509
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
510
|
+
气费金额合计: {{ sumsmodel.f_oughtfee_new }}
|
|
506
511
|
</td>
|
|
507
|
-
<td
|
|
508
|
-
|
|
512
|
+
<td
|
|
513
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
514
|
+
违约金合计: {{ sumsmodel.overdue }}
|
|
509
515
|
</td>
|
|
510
|
-
<td
|
|
511
|
-
|
|
516
|
+
<td
|
|
517
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
518
|
+
附加费合计: {{ sumsmodel.f_garbage_fee }}
|
|
512
519
|
</td>
|
|
513
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold"
|
|
514
|
-
|
|
520
|
+
<!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
|
|
521
|
+
<!-- 上期余额合计: {{sumsmodel.f_balance}}-->
|
|
522
|
+
<!-- </td>-->
|
|
523
|
+
<td
|
|
524
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
525
|
+
合计欠费: {{ sumsmodel.f_oughtfee_all }}
|
|
515
526
|
</td>
|
|
516
|
-
<td
|
|
517
|
-
|
|
527
|
+
<td
|
|
528
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
529
|
+
实际欠费: {{ sumsmodel.f_oughtfee_col }}
|
|
518
530
|
</td>
|
|
519
531
|
</tr>
|
|
520
532
|
</table>
|
|
521
533
|
</div>
|
|
522
534
|
<div v-if="show">
|
|
523
|
-
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
|
|
535
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
|
|
536
|
+
@cancel-main="cancel"></user-info-detail-manage-new>
|
|
524
537
|
</div>
|
|
525
538
|
</div>
|
|
526
539
|
</div>
|
|
527
540
|
</template>
|
|
528
541
|
|
|
529
542
|
<script>
|
|
530
|
-
|
|
531
|
-
|
|
543
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
544
|
+
import exportConfig from '../config/exportConfig'
|
|
532
545
|
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
546
|
+
let readySomething = async function (self) {
|
|
547
|
+
self.$MagGetSaleParam.initinputtor();
|
|
548
|
+
self.getinputtores();
|
|
549
|
+
//加载抄表册
|
|
550
|
+
self.initmeterbook();
|
|
551
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0] + ' 00:00:00'
|
|
552
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
540
553
|
|
|
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
|
-
|
|
554
|
+
self.$refs.paged.$refs.cri.model.inputstartDate = self.$login.toStartAndEndDateString()[0] + ' 00:00:00'
|
|
555
|
+
self.$refs.paged.$refs.cri.model.inputendDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
556
|
+
// self.$refs.paged.$refs.cri.search()
|
|
557
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
558
|
+
await self.$MagLoadParams.loadParam()
|
|
559
|
+
self.initParams()
|
|
560
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
561
|
+
}
|
|
562
|
+
export default {
|
|
563
|
+
title: '欠费查询',
|
|
564
|
+
data() {
|
|
565
|
+
return {
|
|
566
|
+
config: {
|
|
567
|
+
defaultPrint: ['f_userinfo_code', 'f_address']
|
|
568
|
+
},
|
|
569
|
+
other: [],
|
|
570
|
+
footer: [],
|
|
571
|
+
//f_price_name:[],
|
|
572
|
+
gasproperties: [],
|
|
573
|
+
showinfo: false,
|
|
574
|
+
data: {},
|
|
575
|
+
show: false,
|
|
576
|
+
rowdata: {},
|
|
577
|
+
initres: {
|
|
578
|
+
org: [this.$login.f.orgid],
|
|
579
|
+
dep: [],
|
|
580
|
+
user: []
|
|
581
|
+
},
|
|
582
|
+
model: new PagedList('rs/sql/arrearsQuery', 20, {
|
|
583
|
+
startDate: 'this.model.inputstartDate',
|
|
584
|
+
endDate: 'this.model.inputendDate',
|
|
585
|
+
startDate1: 'this.model.startDate',
|
|
586
|
+
endDate1: 'this.model.endDate'
|
|
587
|
+
}, {
|
|
588
|
+
f_oughtamount: 0,
|
|
589
|
+
f_oughtfee: 0,
|
|
590
|
+
f_debt_money: 0,
|
|
591
|
+
f_oughtfee_new: 0,
|
|
592
|
+
overdue: 0,
|
|
593
|
+
f_garbage_fee: 0,
|
|
594
|
+
f_oughtfee_all: 0,
|
|
595
|
+
f_oughtfee_col: 0
|
|
596
|
+
}),
|
|
597
|
+
criteriaShow: false,
|
|
598
|
+
orgCondtionStr: '',
|
|
599
|
+
// 下拉框
|
|
600
|
+
meterbrands: [],
|
|
601
|
+
pricenames: [],
|
|
602
|
+
prices: [],
|
|
603
|
+
area: [],
|
|
604
|
+
//合计数据
|
|
605
|
+
defaultfield: [],
|
|
606
|
+
//小区
|
|
607
|
+
residentialArea: [],
|
|
608
|
+
sumsmodel: {},
|
|
609
|
+
f_filialeid: this.$login.f.f_orgid,
|
|
610
|
+
meterbooks: [{label: '全部', value: ''}], //抄表册
|
|
611
|
+
inputtores: [{label: '全部', value: ''}],
|
|
612
|
+
dainputtores: [{label: '全部', value: ''}],
|
|
613
|
+
allorgid: [],
|
|
614
|
+
tempfalg: false,
|
|
615
|
+
lastorgstr: '',
|
|
616
|
+
dypayment: [{label: "全部", value: ""}, {label: "银行代扣", value: "银行代扣",}, {
|
|
617
|
+
label: "现金缴费",
|
|
618
|
+
value: "现金缴费",
|
|
619
|
+
}],
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
ready() {
|
|
623
|
+
this.hqdainputtores()
|
|
624
|
+
this.getaddress()
|
|
625
|
+
readySomething(this).then(() => {
|
|
626
|
+
this.$emit('ready')
|
|
627
|
+
}).catch((error) => {
|
|
628
|
+
this.$emit('error', error)
|
|
629
|
+
})
|
|
630
|
+
},
|
|
631
|
+
methods: {
|
|
632
|
+
|
|
633
|
+
async hqdainputtores() {
|
|
634
|
+
let param = {
|
|
635
|
+
items: 'DISTINCT f_inputtor',
|
|
636
|
+
tablename: 't_userfiles',
|
|
637
|
+
condition: ` f_inputtor is NOT null`,
|
|
638
|
+
}
|
|
639
|
+
let getDainputtores = await new HttpResetClass().load("POST", 'rs/sql/singleTableParam', {data: param}, {
|
|
640
|
+
resolveMsg: null,
|
|
641
|
+
rejectMsg: null
|
|
642
|
+
});
|
|
643
|
+
if (getDainputtores.data.length > 0) {
|
|
644
|
+
let rs = [];
|
|
645
|
+
getDainputtores.data.forEach((item) => {
|
|
646
|
+
if (item.f_inputtor.length > 0) {
|
|
647
|
+
let temp = {
|
|
648
|
+
label: item.f_inputtor,
|
|
649
|
+
value: item.f_inputtor
|
|
650
|
+
};
|
|
651
|
+
rs.push(temp);
|
|
652
|
+
}
|
|
653
|
+
})
|
|
654
|
+
this.dainputtores = [{label: '全部', value: ''}, ...rs];
|
|
655
|
+
} else {
|
|
656
|
+
this.dainputtores = [{label: '全部', value: ''}];
|
|
600
657
|
}
|
|
601
658
|
},
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
},
|
|
611
|
-
methods: {
|
|
612
|
-
|
|
613
|
-
async hqdainputtores() {
|
|
614
|
-
let param = {
|
|
615
|
-
items: 'DISTINCT f_inputtor',
|
|
616
|
-
tablename: 't_userfiles',
|
|
617
|
-
condition: ` f_inputtor is NOT null`,
|
|
618
|
-
}
|
|
619
|
-
let getDainputtores = await new HttpResetClass().load("POST",'rs/sql/singleTableParam', {data: param}, {
|
|
620
|
-
resolveMsg: null,
|
|
621
|
-
rejectMsg: null
|
|
622
|
-
});
|
|
623
|
-
if (getDainputtores.data.length > 0) {
|
|
624
|
-
let rs = [];
|
|
625
|
-
getDainputtores.data.forEach((item) => {
|
|
626
|
-
if (item.f_inputtor.length > 0) {
|
|
627
|
-
let temp = {
|
|
628
|
-
label: item.f_inputtor,
|
|
629
|
-
value: item.f_inputtor
|
|
630
|
-
};
|
|
631
|
-
rs.push(temp);
|
|
632
|
-
}
|
|
633
|
-
})
|
|
634
|
-
this.dainputtores = [{label: '全部', value: ''}, ...rs];
|
|
635
|
-
} else {
|
|
636
|
-
this.dainputtores = [{label: '全部', value: ''}];
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
async inputtorchange(){
|
|
640
|
-
let val = this.$refs.paged.$refs.cri.model.f_inputtor;
|
|
641
|
-
if(val!=null && val !=""){
|
|
642
|
-
let param={
|
|
643
|
-
items:'*',
|
|
644
|
-
tablename:'t_meter_book',
|
|
645
|
-
condition:` 1=1 and f_inputtor = '${val}' and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `,
|
|
646
|
-
orderitem:'id'
|
|
659
|
+
async inputtorchange() {
|
|
660
|
+
let val = this.$refs.paged.$refs.cri.model.f_inputtor;
|
|
661
|
+
if (val != null && val != "") {
|
|
662
|
+
let param = {
|
|
663
|
+
items: '*',
|
|
664
|
+
tablename: 't_meter_book',
|
|
665
|
+
condition: ` 1=1 and f_inputtor = '${val}' and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `,
|
|
666
|
+
orderitem: 'id'
|
|
647
667
|
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
668
|
+
}
|
|
669
|
+
let getMeterBooks = await this.$resetpost('rs/sql/manage_singleTable', {data: param}, {
|
|
670
|
+
resolveMsg: null,
|
|
671
|
+
rejectMsg: '获取营收参数出错!!!'
|
|
672
|
+
})
|
|
673
|
+
if (getMeterBooks.data) {
|
|
674
|
+
if (getMeterBooks.data.length > 0) {
|
|
675
|
+
let rs = [];
|
|
676
|
+
getMeterBooks.data.forEach((item) => {
|
|
677
|
+
let temp = {
|
|
678
|
+
label: item.f_book_name,
|
|
679
|
+
value: item.id
|
|
680
|
+
};
|
|
681
|
+
rs.push(temp);
|
|
659
682
|
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
}
|
|
683
|
+
})
|
|
684
|
+
this.meterbooks = [{label: '全部', value: ''}, ...rs];
|
|
685
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book', [getMeterBooks.data[0].id]);
|
|
686
|
+
} else {
|
|
687
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book', '');
|
|
688
|
+
this.meterbooks = [{label: '全部', value: ''}];
|
|
667
689
|
}
|
|
668
|
-
}else{
|
|
669
|
-
this.$set('$refs.paged.$refs.cri.model.f_meter_book','');
|
|
670
|
-
this.meterbooks = [{label: '全部',value: ''}];
|
|
671
|
-
this.initmeterbook();
|
|
672
690
|
}
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
691
|
+
} else {
|
|
692
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book', '');
|
|
693
|
+
this.meterbooks = [{label: '全部', value: ''}];
|
|
694
|
+
this.initmeterbook();
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
async initmeterbook(orgstr) {
|
|
698
|
+
if (orgstr == null) {
|
|
699
|
+
orgstr = this.f_filialeid;
|
|
700
|
+
}
|
|
701
|
+
//获取新的抄表册,先去清理所有的抄表册
|
|
702
|
+
this.$GetSaleParam.meterbooks = [];
|
|
703
|
+
//开始加载新的抄表册
|
|
704
|
+
await this.$LoadParams.loadMeterBook(orgstr)
|
|
705
|
+
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
706
|
+
},
|
|
707
|
+
getinputtores() {
|
|
708
|
+
// 获取抄表员
|
|
709
|
+
let rs = []
|
|
710
|
+
if (this.$login.f.f_gasman.length > 0) {
|
|
711
|
+
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
712
|
+
let temp = {
|
|
713
|
+
label: this.$login.f.f_gasman[i].name,
|
|
714
|
+
value: this.$login.f.f_gasman[i].name
|
|
694
715
|
}
|
|
716
|
+
rs.push(temp)
|
|
695
717
|
}
|
|
696
|
-
|
|
697
|
-
},
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
},
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
}
|
|
726
|
-
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
727
|
-
console.log('小区',data)
|
|
728
|
-
let house = [{label: '全部', value: ''}]
|
|
729
|
-
for (let row of data.data){
|
|
730
|
-
console.log('开始保存小区')
|
|
731
|
-
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
718
|
+
}
|
|
719
|
+
return [{label: '全部', value: ''}, ...rs]
|
|
720
|
+
},
|
|
721
|
+
//加载抄表册
|
|
722
|
+
loadMeterBooks() {
|
|
723
|
+
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
724
|
+
},
|
|
725
|
+
getotherfooter() {
|
|
726
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
727
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
728
|
+
this.other = [];
|
|
729
|
+
this.footer = [];
|
|
730
|
+
let exportdata = this.getCondition;
|
|
731
|
+
let otherInData = [];
|
|
732
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
733
|
+
let footerData = [], exportfield = this.getfield;
|
|
734
|
+
footerData.push("合计");
|
|
735
|
+
let self = this;
|
|
736
|
+
for (var field in self.sumsmodel) {
|
|
737
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
738
|
+
}
|
|
739
|
+
this.footer.push(footerData);
|
|
740
|
+
this.other.push(otherInData);
|
|
741
|
+
},
|
|
742
|
+
async getaddress() {
|
|
743
|
+
console.log('开始获取小区')
|
|
744
|
+
let HttpReset = new HttpResetClass()
|
|
745
|
+
var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
746
|
+
data: {
|
|
747
|
+
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
732
748
|
}
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
749
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
750
|
+
console.log('小区', data)
|
|
751
|
+
let house = [{label: '全部', value: ''}]
|
|
752
|
+
for (let row of data.data) {
|
|
753
|
+
console.log('开始保存小区')
|
|
754
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
755
|
+
}
|
|
756
|
+
this.residentialArea = house
|
|
757
|
+
},
|
|
758
|
+
//把数据库查询数据转换为下拉数据
|
|
759
|
+
calculate(rows) {
|
|
760
|
+
let data = []
|
|
761
|
+
rows.forEach((row, n) => {
|
|
762
|
+
data[n] = {label: row.f_residential_area, value: row.id}
|
|
763
|
+
})
|
|
764
|
+
return data
|
|
765
|
+
},
|
|
743
766
|
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
767
|
+
search() {
|
|
768
|
+
this.$refs.paged.$refs.cri.search()
|
|
769
|
+
},
|
|
770
|
+
cancel() {
|
|
771
|
+
this.show = false
|
|
772
|
+
},
|
|
773
|
+
showmsg(obj) {
|
|
774
|
+
this.rowdata = obj
|
|
775
|
+
this.show = true
|
|
776
|
+
},
|
|
777
|
+
userTypeChange() {
|
|
778
|
+
this.gasproperties = []
|
|
779
|
+
if (this.$refs.paged.$refs.cri.model !== null) {
|
|
780
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties = ''
|
|
758
781
|
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
782
|
+
console.log("查看客户类型是什么", this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
783
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
784
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
785
|
+
} else {
|
|
786
|
+
this.gasproperties = [{label: '全部', value: ''}]
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
initParams() {
|
|
790
|
+
// 初始化气表品牌
|
|
791
|
+
let brandArr = []
|
|
792
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
793
|
+
let temp = {}
|
|
794
|
+
temp.label = item.label
|
|
795
|
+
temp.value = item.value.f_meter_brand
|
|
796
|
+
brandArr.push(temp)
|
|
797
|
+
})
|
|
798
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
799
|
+
//初始化气表价格
|
|
800
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
801
|
+
},
|
|
802
|
+
selfSearch(args) {
|
|
803
|
+
console.log('开始时间', this.$refs.paged.$refs.cri.model.startDate)
|
|
804
|
+
if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === '') {
|
|
805
|
+
this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
|
|
806
|
+
} else if (this.$refs.paged.$refs.cri.model.inputstartDate === '' || this.$refs.paged.$refs.cri.model.inputendDate === '') {
|
|
807
|
+
this.$showAlert('请先选择抄表开始时间、抄表结束时间,再进行查询操作!', 'warning', 3000)
|
|
808
|
+
} else {
|
|
809
|
+
//小区查询条件
|
|
810
|
+
let f_orgstr = this.orgCondtionStr
|
|
811
|
+
let str = '1=1 '
|
|
812
|
+
if (this.$refs.paged.$refs.cri.model.inputstartDate !== '') {
|
|
813
|
+
str += `and f_input_date>='${this.$refs.paged.$refs.cri.model.inputstartDate}'`
|
|
765
814
|
}
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
// 初始化气表品牌
|
|
769
|
-
let brandArr = []
|
|
770
|
-
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
771
|
-
let temp = {}
|
|
772
|
-
temp.label = item.label
|
|
773
|
-
temp.value = item.value.f_meter_brand
|
|
774
|
-
brandArr.push(temp)
|
|
775
|
-
})
|
|
776
|
-
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
777
|
-
//初始化气表价格
|
|
778
|
-
this.prices = this.$MagGetSaleParam.getPrices();
|
|
779
|
-
},
|
|
780
|
-
selfSearch(args) {
|
|
781
|
-
console.log('开始时间',this.$refs.paged.$refs.cri.model.startDate)
|
|
782
|
-
if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === ''){
|
|
783
|
-
this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
|
|
784
|
-
}else if(this.$refs.paged.$refs.cri.model.inputstartDate === '' || this.$refs.paged.$refs.cri.model.inputendDate === ''){
|
|
785
|
-
this.$showAlert('请先选择抄表开始时间、抄表结束时间,再进行查询操作!', 'warning', 3000)
|
|
786
|
-
}else {
|
|
787
|
-
//小区查询条件
|
|
788
|
-
let f_orgstr = this.orgCondtionStr
|
|
789
|
-
let str='1=1 '
|
|
790
|
-
if(this.$refs.paged.$refs.cri.model.inputstartDate !== ''){
|
|
791
|
-
str += `and f_input_date>='${this.$refs.paged.$refs.cri.model.inputstartDate}'`
|
|
792
|
-
}
|
|
793
|
-
if(this.$refs.paged.$refs.cri.model.inputendDate !== ''){
|
|
794
|
-
str += `and f_input_date<='${this.$refs.paged.$refs.cri.model.inputendDate}'`
|
|
795
|
-
}
|
|
796
|
-
args.condition = `${args.condition} ` + f_orgstr
|
|
797
|
-
this.model.search(args.condition, args.model,str)
|
|
798
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
815
|
+
if (this.$refs.paged.$refs.cri.model.inputendDate !== '') {
|
|
816
|
+
str += `and f_input_date<='${this.$refs.paged.$refs.cri.model.inputendDate}'`
|
|
799
817
|
}
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
818
|
+
args.condition = `${args.condition} ` + f_orgstr
|
|
819
|
+
this.model.search(args.condition, args.model, str)
|
|
820
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
clear() {
|
|
824
|
+
//清空部门和人员
|
|
825
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
826
|
+
//部门和人员变为全选
|
|
827
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
828
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
829
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
830
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
831
|
+
})
|
|
810
832
|
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
833
|
+
},
|
|
834
|
+
dealmsg(val) {
|
|
835
|
+
val.model = this.model.model
|
|
836
|
+
this.$dispatch('deal-msg', val)
|
|
837
|
+
},
|
|
838
|
+
show() {
|
|
839
|
+
this.criteriaShow = true
|
|
840
|
+
},
|
|
841
|
+
hidden() {
|
|
842
|
+
this.criteriaShow = !this.criteriaShow
|
|
843
|
+
},
|
|
844
|
+
async getRes(condition, obj) {
|
|
845
|
+
this.orgCondtionStr = condition
|
|
846
|
+
this.orgname = obj.orgnames[0]
|
|
847
|
+
this.depname = obj.depnames[0]
|
|
826
848
|
|
|
827
|
-
},
|
|
828
|
-
async updateParams() {
|
|
829
|
-
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
830
|
-
this.inputtores = [];
|
|
831
|
-
this.inputtores.push({label: "全部", value: ""})
|
|
832
|
-
if(this.allorgid!=null){
|
|
833
|
-
this.allorgid.forEach((res)=>{
|
|
834
|
-
this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
|
|
835
|
-
})
|
|
836
|
-
}
|
|
837
|
-
this.initParams()
|
|
838
|
-
},
|
|
839
849
|
},
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
850
|
+
async updateParams() {
|
|
851
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
852
|
+
this.inputtores = [];
|
|
853
|
+
this.inputtores.push({label: "全部", value: ""})
|
|
854
|
+
if (this.allorgid != null) {
|
|
855
|
+
this.allorgid.forEach((res) => {
|
|
856
|
+
this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
|
|
857
|
+
})
|
|
843
858
|
}
|
|
859
|
+
this.initParams()
|
|
844
860
|
},
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
861
|
+
},
|
|
862
|
+
events: {
|
|
863
|
+
'getidcard'(IdCard) {
|
|
864
|
+
this.$refs.paged.$refs.cri.model.f_info_idnumber = IdCard.strID
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
watch: {
|
|
868
|
+
'model'(val) {
|
|
869
|
+
},
|
|
870
|
+
async 'orgCondtionStr'(val) {
|
|
871
|
+
this.$refs.paged.$refs.cri.model.f_book_slice_area = []
|
|
872
|
+
this.$refs.paged.$refs.cri.model.f_meter_book = []
|
|
873
|
+
this.meterbooks = [{label: '全部', value: ''}];
|
|
874
|
+
if (this.lastorgstr != val) {
|
|
875
|
+
this.tempfalg = true;
|
|
876
|
+
this.lastorgstr = val;
|
|
877
|
+
}
|
|
878
|
+
if (this.tempfalg && val != null && val != '' && val.indexOf("(") > -1) {
|
|
879
|
+
this.tempfalg = false;
|
|
880
|
+
let a = val.substring(val.indexOf("(") + 2)
|
|
881
|
+
await this.initmeterbook(a.substring(0, a.indexOf(")") - 1));
|
|
882
|
+
}
|
|
883
|
+
let res = val.match(/'(.*?)'/)
|
|
884
|
+
if (res) {
|
|
885
|
+
this.f_filialeid = res[1]
|
|
886
|
+
if (res.input != null) {
|
|
887
|
+
let resorgid = res.input.substring(res.input.indexOf("'"));
|
|
888
|
+
if (resorgid != null && resorgid != '') {
|
|
889
|
+
resorgid = resorgid.substring(0, resorgid.lastIndexOf("'") + 1);
|
|
890
|
+
// resorgid = resorgid.replaceAll("'","");
|
|
891
|
+
resorgid = resorgid.replace(/'/g, "");
|
|
892
|
+
this.allorgid = resorgid.split(",")
|
|
872
893
|
}
|
|
873
|
-
this.updateParams()
|
|
874
894
|
}
|
|
875
|
-
|
|
876
|
-
sumsmodel:{
|
|
877
|
-
handler: function(val) {
|
|
878
|
-
this.getotherfooter();
|
|
879
|
-
},
|
|
880
|
-
deep: true
|
|
895
|
+
this.updateParams()
|
|
881
896
|
}
|
|
882
897
|
},
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
898
|
+
sumsmodel: {
|
|
899
|
+
handler: function (val) {
|
|
900
|
+
this.getotherfooter();
|
|
886
901
|
},
|
|
902
|
+
deep: true
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
computed: {
|
|
906
|
+
pricetypes() {
|
|
907
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
908
|
+
},
|
|
887
909
|
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
}
|
|
903
|
-
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
904
|
-
let temp = {}
|
|
905
|
-
temp.label = item.label
|
|
906
|
-
temp.value = item.value.f_price_name
|
|
907
|
-
priceArr.push(temp)
|
|
908
|
-
})
|
|
909
|
-
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
910
|
-
}
|
|
911
|
-
if (rs.length === 0) {
|
|
912
|
-
this.$refs.paged.model.model.f_price_name = ''
|
|
910
|
+
getPricenames() {
|
|
911
|
+
let f_user_type = this.$refs.paged.model.model.f_user_type;
|
|
912
|
+
let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
|
|
913
|
+
let pricetype = this.$refs.paged.model.model.pricetype;
|
|
914
|
+
if (this.$refs.paged.model.model !== null) {
|
|
915
|
+
let rs = []
|
|
916
|
+
let priceArr = []
|
|
917
|
+
if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length > 0) {
|
|
918
|
+
let params = {
|
|
919
|
+
f_user_type: f_user_type[0],
|
|
920
|
+
f_gasproperties: f_gasproperties[0],
|
|
921
|
+
f_price_type: pricetype[0],
|
|
922
|
+
filter: this.f_filialeid,
|
|
923
|
+
prices: this.prices
|
|
913
924
|
}
|
|
914
|
-
|
|
925
|
+
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
926
|
+
let temp = {}
|
|
927
|
+
temp.label = item.label
|
|
928
|
+
temp.value = item.value.f_price_name
|
|
929
|
+
priceArr.push(temp)
|
|
930
|
+
})
|
|
931
|
+
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
915
932
|
}
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
return {
|
|
919
|
-
startDate: this.$refs.paged.$refs.cri.model.inputstartDate,
|
|
920
|
-
endDate: this.$refs.paged.$refs.cri.model.inputendDate,
|
|
921
|
-
startDate1: this.$refs.paged.$refs.cri.model.startDate,
|
|
922
|
-
endDate1: this.$refs.paged.$refs.cri.model.endDate,
|
|
923
|
-
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
924
|
-
condValue: `${this.model.condValue}`
|
|
933
|
+
if (rs.length === 0) {
|
|
934
|
+
this.$refs.paged.model.model.f_price_name = ''
|
|
925
935
|
}
|
|
926
|
-
|
|
927
|
-
getfield() {
|
|
928
|
-
return exportConfig.arrearsConfig
|
|
929
|
-
},
|
|
930
|
-
usertypes() {
|
|
931
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
932
|
-
},
|
|
933
|
-
metertypes() {
|
|
934
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
935
|
-
},
|
|
936
|
-
chargetype() {
|
|
937
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
|
|
936
|
+
return rs
|
|
938
937
|
}
|
|
938
|
+
},
|
|
939
|
+
getCondition() {
|
|
940
|
+
return {
|
|
941
|
+
startDate: this.$refs.paged.$refs.cri.model.inputstartDate,
|
|
942
|
+
endDate: this.$refs.paged.$refs.cri.model.inputendDate,
|
|
943
|
+
startDate1: this.$refs.paged.$refs.cri.model.startDate,
|
|
944
|
+
endDate1: this.$refs.paged.$refs.cri.model.endDate,
|
|
945
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
946
|
+
condValue: `${this.model.condValue}`
|
|
947
|
+
}
|
|
948
|
+
},
|
|
949
|
+
getfield() {
|
|
950
|
+
return exportConfig.arrearsConfig
|
|
951
|
+
},
|
|
952
|
+
usertypes() {
|
|
953
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
954
|
+
},
|
|
955
|
+
metertypes() {
|
|
956
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
957
|
+
},
|
|
958
|
+
chargetype() {
|
|
959
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
|
|
939
960
|
}
|
|
940
961
|
}
|
|
962
|
+
}
|
|
941
963
|
</script>
|
|
942
964
|
<style lang="less">
|
|
943
965
|
.color-red {
|