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,10 +3,11 @@
|
|
|
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
|
-
<res-select-group :initres="$parent.$parent.initres"
|
|
9
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"
|
|
10
|
+
v-ref:sel></res-select-group>
|
|
10
11
|
|
|
11
12
|
<div class="span" style="float:right;">
|
|
12
13
|
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
@@ -21,12 +22,13 @@
|
|
|
21
22
|
template-name='用户欠费查询导出'
|
|
22
23
|
:choose-col="true"></export-excel>
|
|
23
24
|
|
|
24
|
-
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
|
|
25
|
-
|
|
25
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
|
|
26
|
+
:field="$parent.$parent.getfield"
|
|
27
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
26
28
|
titletable="用户欠费查询导出"
|
|
27
29
|
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
28
|
-
<div style="float: right"
|
|
29
|
-
'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
30
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
31
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
30
32
|
|
|
31
33
|
</div>
|
|
32
34
|
</div>
|
|
@@ -88,9 +90,9 @@
|
|
|
88
90
|
</div>
|
|
89
91
|
|
|
90
92
|
<!--<div class="col-sm-2 form-group">-->
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
93
|
+
<!--<label class="font_normal_body">收费编号</label>-->
|
|
94
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
|
|
95
|
+
<!--condition="id = '{}'" placeholder="收费编号">-->
|
|
94
96
|
<!--</div>-->
|
|
95
97
|
<div class="col-sm-2 form-group">
|
|
96
98
|
<label class="font_normal_body">客户电话</label>
|
|
@@ -98,9 +100,9 @@
|
|
|
98
100
|
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
99
101
|
</div>
|
|
100
102
|
<!--<div class="col-sm-2 form-group">-->
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
<!--<label class="font_normal_body">身份证号</label>-->
|
|
104
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
|
|
105
|
+
<!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
|
|
104
106
|
<!--</div>-->
|
|
105
107
|
<div class="col-sm-2 form-group">
|
|
106
108
|
<label class="font_normal_body">客户地址</label>
|
|
@@ -122,7 +124,7 @@
|
|
|
122
124
|
</v-select>
|
|
123
125
|
</div>
|
|
124
126
|
<div class="col-sm-2 form-group">
|
|
125
|
-
<label class="font_normal_body"
|
|
127
|
+
<label class="font_normal_body">缴费类型</label>
|
|
126
128
|
<v-select :value.sync="model.f_payment" multiple
|
|
127
129
|
v-model="model.f_payment"
|
|
128
130
|
:options='$parent.$parent.dypayment' placeholder='请选择'
|
|
@@ -130,25 +132,25 @@
|
|
|
130
132
|
close-on-select></v-select>
|
|
131
133
|
</div>
|
|
132
134
|
<!--<div class="col-sm-2 form-group">-->
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
135
|
+
<!--<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>-->
|
|
136
|
+
<!--<v-select :value.sync="model.f_payment" multiple-->
|
|
137
|
+
<!--v-model="model.f_payment"-->
|
|
138
|
+
<!--:options='$parent.$parent.payment' placeholder='请选择'-->
|
|
139
|
+
<!--condition="f_payment in {}"-->
|
|
140
|
+
<!--close-on-select></v-select>-->
|
|
139
141
|
<!--</div>-->
|
|
140
142
|
<!--<div class="col-sm-2 form-group">-->
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
143
|
+
<!--<label class="font_normal_body">收费类型</label>-->
|
|
144
|
+
<!--<!– <v-select :value.sync="model.f_type"-->
|
|
145
|
+
<!--v-model="model.f_type"-->
|
|
146
|
+
<!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
|
|
147
|
+
<!--condition="f_type = '{}'"-->
|
|
148
|
+
<!--close-on-select></v-select>–>-->
|
|
149
|
+
<!--<v-select :value.sync="model.f_type" multiple-->
|
|
150
|
+
<!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
|
|
151
|
+
<!--close-on-select clear-button-->
|
|
152
|
+
<!--condition="f_type in {}"-->
|
|
153
|
+
<!--v-model="model.f_type"></v-select>-->
|
|
152
154
|
<!--</div>-->
|
|
153
155
|
<div class="col-sm-2 form-group">
|
|
154
156
|
<label class="font_normal_body">客户类型</label>
|
|
@@ -201,7 +203,7 @@
|
|
|
201
203
|
condition="c > '{}'" placeholder='欠费期数大于'>
|
|
202
204
|
</div>
|
|
203
205
|
<div class="col-sm-2 form-group">
|
|
204
|
-
<label class="font_normal_body"
|
|
206
|
+
<label class="font_normal_body">抄 表 员</label>
|
|
205
207
|
<v-select :value.sync="model.f_inputtor"
|
|
206
208
|
v-model="model.f_inputtor"
|
|
207
209
|
:options='$parent.$parent.inputtores' placeholder='请选择'
|
|
@@ -219,24 +221,24 @@
|
|
|
219
221
|
condition="f_meter_book_num = '{}'"></v-select>
|
|
220
222
|
</div>
|
|
221
223
|
<!--<div class="col-sm-2 form-group">-->
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
224
|
+
<!--<label class="font_normal_body">气价类型</label>-->
|
|
225
|
+
<!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
|
|
226
|
+
<!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
|
|
227
|
+
<!--close-on-select v-ref:type>-->
|
|
228
|
+
<!--</v-select>-->
|
|
227
229
|
<!--</div>-->
|
|
228
230
|
<!--<div class="col-sm-2 form-group">-->
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
231
|
+
<!--<label class="font_normal_body">气价名称</label>-->
|
|
232
|
+
<!--<v-select :value.sync="model.f_price_name"-->
|
|
233
|
+
<!--v-model="model.f_price_name"-->
|
|
234
|
+
<!--:options="$parent.$parent.getPricenames"-->
|
|
235
|
+
<!--condition="f_price_name = '{}'"-->
|
|
236
|
+
<!--close-on-select></v-select>-->
|
|
235
237
|
<!--</div>-->
|
|
236
238
|
<!--<div class="col-sm-2 form-group">-->
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
239
|
+
<!--<label class="font_normal_body"> 表编号</label>-->
|
|
240
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"-->
|
|
241
|
+
<!--condition="f_user_id = '{}'" placeholder='表编号'>-->
|
|
240
242
|
<!--</div>-->
|
|
241
243
|
</div>
|
|
242
244
|
</div>
|
|
@@ -286,14 +288,11 @@
|
|
|
286
288
|
<th>
|
|
287
289
|
<nobr>用气金额</nobr>
|
|
288
290
|
</th>
|
|
289
|
-
<th>
|
|
290
|
-
<nobr>缴费时间</nobr>
|
|
291
|
-
</th>
|
|
292
291
|
<th>
|
|
293
292
|
<nobr>已交金额</nobr>
|
|
294
293
|
</th>
|
|
295
294
|
<!--<th>-->
|
|
296
|
-
|
|
295
|
+
<!--<nobr>回收率</nobr>-->
|
|
297
296
|
<!--</th>-->
|
|
298
297
|
<th>
|
|
299
298
|
<nobr>应交气费</nobr>
|
|
@@ -304,9 +303,6 @@
|
|
|
304
303
|
<th>
|
|
305
304
|
<nobr>附加费</nobr>
|
|
306
305
|
</th>
|
|
307
|
-
<th>
|
|
308
|
-
<nobr>上期余额</nobr>
|
|
309
|
-
</th>
|
|
310
306
|
<th>
|
|
311
307
|
<nobr>合计欠费</nobr>
|
|
312
308
|
</th>
|
|
@@ -332,86 +328,80 @@
|
|
|
332
328
|
</template>
|
|
333
329
|
<template partial='body'>
|
|
334
330
|
<td style="text-align:center">
|
|
335
|
-
<nobr>{{$index+1}}</nobr>
|
|
331
|
+
<nobr>{{ $index + 1 }}</nobr>
|
|
336
332
|
</td>
|
|
337
333
|
<td style="text-align: center;">
|
|
338
|
-
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
334
|
+
<nobr>{{ row.f_userinfo_code }}</nobr>
|
|
339
335
|
</td>
|
|
340
336
|
<td style="text-align: center;">
|
|
341
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
337
|
+
<nobr>{{ row.f_user_name }}</nobr>
|
|
342
338
|
</td>
|
|
343
339
|
<td style="text-align: center;">
|
|
344
|
-
<nobr>{{row.f_residential_area}}</nobr>
|
|
340
|
+
<nobr>{{ row.f_residential_area }}</nobr>
|
|
345
341
|
</td>
|
|
346
342
|
<td style="text-align: center;">
|
|
347
|
-
<nobr>{{row.f_address}}</nobr>
|
|
343
|
+
<nobr>{{ row.f_address }}</nobr>
|
|
348
344
|
</td>
|
|
349
345
|
<td style="text-align: center;">
|
|
350
|
-
<nobr>{{row.f_user_phone}}</nobr>
|
|
346
|
+
<nobr>{{ row.f_user_phone }}</nobr>
|
|
351
347
|
</td>
|
|
352
348
|
<td style="text-align: center;">
|
|
353
|
-
<nobr>{{row.f_rent_phone}}</nobr>
|
|
349
|
+
<nobr>{{ row.f_rent_phone }}</nobr>
|
|
354
350
|
</td>
|
|
355
351
|
|
|
356
352
|
<td style="text-align: center;">
|
|
357
|
-
<nobr>{{row.c}}</nobr>
|
|
353
|
+
<nobr>{{ row.c }}</nobr>
|
|
358
354
|
</td>
|
|
359
355
|
<td style="text-align: center;">
|
|
360
|
-
<nobr>{{row.f_hand_date}}</nobr>
|
|
356
|
+
<nobr>{{ row.f_hand_date }}</nobr>
|
|
361
357
|
</td>
|
|
362
358
|
<td style="text-align: center;">
|
|
363
|
-
<nobr>{{row.f_last_tablebase}}</nobr>
|
|
359
|
+
<nobr>{{ row.f_last_tablebase }}</nobr>
|
|
364
360
|
</td>
|
|
365
361
|
<td style="text-align: center;">
|
|
366
|
-
<nobr>{{row.f_tablebase}}</nobr>
|
|
362
|
+
<nobr>{{ row.f_tablebase }}</nobr>
|
|
367
363
|
</td>
|
|
368
364
|
<td style="text-align: center;">
|
|
369
|
-
<nobr>{{row.f_oughtamount}}</nobr>
|
|
365
|
+
<nobr>{{ row.f_oughtamount }}</nobr>
|
|
370
366
|
</td>
|
|
371
367
|
<td style="text-align: center;">
|
|
372
|
-
<nobr>{{row.f_oughtfee}}</nobr>
|
|
368
|
+
<nobr>{{ row.f_oughtfee }}</nobr>
|
|
373
369
|
</td>
|
|
374
370
|
<td style="text-align: center;">
|
|
375
|
-
<nobr>{{row.
|
|
376
|
-
</td>
|
|
377
|
-
<td style="text-align: center;">
|
|
378
|
-
<nobr>{{row.f_debt_money}}</nobr>
|
|
371
|
+
<nobr>{{ row.f_debt_money }}</nobr>
|
|
379
372
|
</td>
|
|
380
373
|
<!--<td style="text-align: center;">-->
|
|
381
|
-
|
|
374
|
+
<!--<nobr>{{row.f_hand_bv}}</nobr>-->
|
|
382
375
|
<!--</td>-->
|
|
383
376
|
<td style="text-align: center;">
|
|
384
|
-
<nobr>{{row.f_oughtfee_new}}</nobr>
|
|
385
|
-
</td>
|
|
386
|
-
<td style="text-align: center;">
|
|
387
|
-
<nobr>{{row.overdue}}</nobr>
|
|
377
|
+
<nobr>{{ row.f_oughtfee_new }}</nobr>
|
|
388
378
|
</td>
|
|
389
379
|
<td style="text-align: center;">
|
|
390
|
-
<nobr>{{row.
|
|
380
|
+
<nobr>{{ row.overdue }}</nobr>
|
|
391
381
|
</td>
|
|
392
382
|
<td style="text-align: center;">
|
|
393
|
-
<nobr>{{row.
|
|
383
|
+
<nobr>{{ row.f_garbage_fee }}</nobr>
|
|
394
384
|
</td>
|
|
395
385
|
<td style="text-align: center;">
|
|
396
|
-
<nobr>{{row.f_oughtfee_all}}</nobr>
|
|
386
|
+
<nobr>{{ row.f_oughtfee_all }}</nobr>
|
|
397
387
|
</td>
|
|
398
388
|
<td style="text-align: center;">
|
|
399
|
-
<nobr>{{row.f_inputtor}}</nobr>
|
|
389
|
+
<nobr>{{ row.f_inputtor }}</nobr>
|
|
400
390
|
</td>
|
|
401
391
|
<td style="text-align: center;">
|
|
402
|
-
<nobr>{{row.f_book_name}}</nobr>
|
|
392
|
+
<nobr>{{ row.f_book_name }}</nobr>
|
|
403
393
|
</td>
|
|
404
394
|
<td style="text-align: center;">
|
|
405
|
-
<nobr>{{row.f_user_type}}</nobr>
|
|
395
|
+
<nobr>{{ row.f_user_type }}</nobr>
|
|
406
396
|
</td>
|
|
407
397
|
<td style="text-align: center;">
|
|
408
|
-
<nobr>{{row.f_gasproperties}}</nobr>
|
|
398
|
+
<nobr>{{ row.f_gasproperties }}</nobr>
|
|
409
399
|
</td>
|
|
410
400
|
<td style="text-align: center;">
|
|
411
|
-
<nobr>{{row.f_cost_type}}</nobr>
|
|
401
|
+
<nobr>{{ row.f_cost_type }}</nobr>
|
|
412
402
|
</td>
|
|
413
403
|
<td style="text-align: center;">
|
|
414
|
-
<nobr>{{row.f_comments}}</nobr>
|
|
404
|
+
<nobr>{{ row.f_comments }}</nobr>
|
|
415
405
|
</td>
|
|
416
406
|
</template>
|
|
417
407
|
<template partial='foot'></template>
|
|
@@ -423,403 +413,416 @@
|
|
|
423
413
|
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
424
414
|
汇总信息
|
|
425
415
|
</td>
|
|
426
|
-
<td
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
430
|
-
用气金额合计: {{sumsmodel.f_oughtfee}}
|
|
416
|
+
<td
|
|
417
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
418
|
+
用气量合计: {{ sumsmodel.f_oughtamount }}
|
|
431
419
|
</td>
|
|
432
|
-
<td
|
|
433
|
-
|
|
420
|
+
<td
|
|
421
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
422
|
+
用气金额合计: {{ sumsmodel.f_oughtfee }}
|
|
434
423
|
</td>
|
|
435
|
-
<td
|
|
436
|
-
|
|
424
|
+
<td
|
|
425
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
426
|
+
已交金额合计: {{ sumsmodel.f_debt_money }}
|
|
437
427
|
</td>
|
|
438
|
-
<td
|
|
439
|
-
|
|
428
|
+
<td
|
|
429
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
430
|
+
气费金额合计: {{ sumsmodel.f_oughtfee_new }}
|
|
440
431
|
</td>
|
|
441
|
-
<td
|
|
442
|
-
|
|
432
|
+
<td
|
|
433
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
434
|
+
滞纳金合计: {{ sumsmodel.overdue }}
|
|
443
435
|
</td>
|
|
444
|
-
<td
|
|
445
|
-
|
|
436
|
+
<td
|
|
437
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
438
|
+
附加费合计: {{ sumsmodel.f_garbage_fee }}
|
|
446
439
|
</td>
|
|
447
|
-
<td
|
|
448
|
-
|
|
440
|
+
<td
|
|
441
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
442
|
+
合计欠费: {{ sumsmodel.f_oughtfee_all }}
|
|
449
443
|
</td>
|
|
450
444
|
</tr>
|
|
451
445
|
</table>
|
|
452
446
|
</div>
|
|
453
447
|
<div v-if="show">
|
|
454
|
-
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
|
|
448
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
|
|
449
|
+
@cancel-main="cancel"></user-info-detail-manage-new>
|
|
455
450
|
</div>
|
|
456
451
|
</div>
|
|
457
452
|
</div>
|
|
458
453
|
</template>
|
|
459
454
|
|
|
460
455
|
<script>
|
|
461
|
-
|
|
462
|
-
|
|
456
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
457
|
+
import exportConfig from './config/exportConfig'
|
|
463
458
|
|
|
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
|
-
|
|
459
|
+
let readySomething = async function (self) {
|
|
460
|
+
self.$MagGetSaleParam.initinputtor();
|
|
461
|
+
self.getinputtores();
|
|
462
|
+
//加载抄表册
|
|
463
|
+
self.initmeterbook();
|
|
464
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
465
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
466
|
+
// self.$refs.paged.$refs.cri.search()
|
|
467
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
468
|
+
await self.$MagLoadParams.loadParam()
|
|
469
|
+
self.initParams()
|
|
470
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
471
|
+
}
|
|
472
|
+
export default {
|
|
473
|
+
title: '欠费查询',
|
|
474
|
+
data() {
|
|
475
|
+
return {
|
|
476
|
+
config: {
|
|
477
|
+
defaultPrint: ['f_userinfo_code', 'f_address']
|
|
478
|
+
},
|
|
479
|
+
other: [],
|
|
480
|
+
footer: [],
|
|
481
|
+
//f_price_name:[],
|
|
482
|
+
gasproperties: [],
|
|
483
|
+
showinfo: false,
|
|
484
|
+
data: {},
|
|
485
|
+
show: false,
|
|
486
|
+
rowdata: {},
|
|
487
|
+
initres: {
|
|
488
|
+
org: [this.$login.f.orgid],
|
|
489
|
+
dep: [],
|
|
490
|
+
user: []
|
|
491
|
+
},
|
|
492
|
+
model: new PagedList('rs/sql/arrearsQuery', 20, {
|
|
493
|
+
startDate: 'this.model.startDate',
|
|
494
|
+
endDate: 'this.model.endDate'
|
|
495
|
+
}, {
|
|
496
|
+
f_oughtamount: 0,
|
|
497
|
+
f_oughtfee: 0,
|
|
498
|
+
f_debt_money: 0,
|
|
499
|
+
f_oughtfee_new: 0,
|
|
500
|
+
overdue: 0,
|
|
501
|
+
f_garbage_fee: 0,
|
|
502
|
+
f_oughtfee_all: 0
|
|
503
|
+
}),
|
|
504
|
+
criteriaShow: false,
|
|
505
|
+
orgCondtionStr: '',
|
|
506
|
+
// 下拉框
|
|
507
|
+
meterbrands: [],
|
|
508
|
+
pricenames: [],
|
|
509
|
+
prices: [],
|
|
510
|
+
area: [],
|
|
511
|
+
//合计数据
|
|
512
|
+
defaultfield: [],
|
|
513
|
+
//小区
|
|
514
|
+
residentialArea: [],
|
|
515
|
+
sumsmodel: {},
|
|
516
|
+
f_filialeid: this.$login.f.f_orgid,
|
|
517
|
+
meterbooks: [{label: '全部', value: ''}], //抄表册
|
|
518
|
+
inputtores: [{label: '全部', value: ''}],
|
|
519
|
+
allorgid: [],
|
|
520
|
+
tempfalg: false,
|
|
521
|
+
lastorgstr: '',
|
|
522
|
+
dypayment: [{label: "全部", value: ""}, {label: "银行代扣", value: "银行代扣",}, {
|
|
523
|
+
label: "现金缴费",
|
|
524
|
+
value: "现金缴费",
|
|
525
|
+
}],
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
ready() {
|
|
529
|
+
this.getaddress()
|
|
530
|
+
readySomething(this).then(() => {
|
|
531
|
+
this.$emit('ready')
|
|
532
|
+
}).catch((error) => {
|
|
533
|
+
this.$emit('error', error)
|
|
534
|
+
})
|
|
535
|
+
},
|
|
536
|
+
methods: {
|
|
537
|
+
async inputtorchange() {
|
|
538
|
+
let val = this.$refs.paged.$refs.cri.model.f_inputtor;
|
|
539
|
+
if (val != null && val != "") {
|
|
540
|
+
let param = {
|
|
541
|
+
items: '*',
|
|
542
|
+
tablename: 't_meter_book',
|
|
543
|
+
condition: ` 1=1 and f_inputtor = '${val}' and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `,
|
|
544
|
+
orderitem: 'id'
|
|
545
545
|
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
546
|
+
}
|
|
547
|
+
let getMeterBooks = await this.$resetpost('rs/sql/manage_singleTable', {data: param}, {
|
|
548
|
+
resolveMsg: null,
|
|
549
|
+
rejectMsg: '获取营收参数出错!!!'
|
|
550
|
+
})
|
|
551
|
+
if (getMeterBooks.data) {
|
|
552
|
+
if (getMeterBooks.data.length > 0) {
|
|
553
|
+
let rs = [];
|
|
554
|
+
getMeterBooks.data.forEach((item) => {
|
|
555
|
+
let temp = {
|
|
556
|
+
label: item.f_book_name,
|
|
557
|
+
value: item.id
|
|
558
|
+
};
|
|
559
|
+
rs.push(temp);
|
|
557
560
|
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
}
|
|
561
|
+
})
|
|
562
|
+
this.meterbooks = [{label: '全部', value: ''}, ...rs];
|
|
563
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book', [getMeterBooks.data[0].id]);
|
|
564
|
+
} else {
|
|
565
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book', '');
|
|
566
|
+
this.meterbooks = [{label: '全部', value: ''}];
|
|
565
567
|
}
|
|
566
|
-
}else{
|
|
567
|
-
this.$set('$refs.paged.$refs.cri.model.f_meter_book','');
|
|
568
|
-
this.meterbooks = [{label: '全部',value: ''}];
|
|
569
|
-
this.initmeterbook();
|
|
570
568
|
}
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
569
|
+
} else {
|
|
570
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book', '');
|
|
571
|
+
this.meterbooks = [{label: '全部', value: ''}];
|
|
572
|
+
this.initmeterbook();
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
async initmeterbook(orgstr) {
|
|
576
|
+
if (orgstr == null) {
|
|
577
|
+
orgstr = this.f_filialeid;
|
|
578
|
+
}
|
|
579
|
+
//获取新的抄表册,先去清理所有的抄表册
|
|
580
|
+
this.$GetSaleParam.meterbooks = [];
|
|
581
|
+
//开始加载新的抄表册
|
|
582
|
+
await this.$LoadParams.loadMeterBook(orgstr)
|
|
583
|
+
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
584
|
+
},
|
|
585
|
+
getinputtores() {
|
|
586
|
+
// 获取抄表员
|
|
587
|
+
let rs = []
|
|
588
|
+
if (this.$login.f.f_gasman.length > 0) {
|
|
589
|
+
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
590
|
+
let temp = {
|
|
591
|
+
label: this.$login.f.f_gasman[i].name,
|
|
592
|
+
value: this.$login.f.f_gasman[i].name
|
|
592
593
|
}
|
|
594
|
+
rs.push(temp)
|
|
593
595
|
}
|
|
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
|
-
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
625
|
-
console.log('小区',data)
|
|
626
|
-
let house = [{label: '全部', value: ''}]
|
|
627
|
-
for (let row of data.data){
|
|
628
|
-
console.log('开始保存小区')
|
|
629
|
-
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
596
|
+
}
|
|
597
|
+
return [{label: '全部', value: ''}, ...rs]
|
|
598
|
+
},
|
|
599
|
+
//加载抄表册
|
|
600
|
+
loadMeterBooks() {
|
|
601
|
+
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
602
|
+
},
|
|
603
|
+
getotherfooter() {
|
|
604
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
605
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
606
|
+
this.other = [];
|
|
607
|
+
this.footer = [];
|
|
608
|
+
let exportdata = this.getCondition;
|
|
609
|
+
let otherInData = [];
|
|
610
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
611
|
+
let footerData = [], exportfield = this.getfield;
|
|
612
|
+
footerData.push("合计");
|
|
613
|
+
let self = this;
|
|
614
|
+
for (var field in self.sumsmodel) {
|
|
615
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
616
|
+
}
|
|
617
|
+
this.footer.push(footerData);
|
|
618
|
+
this.other.push(otherInData);
|
|
619
|
+
},
|
|
620
|
+
async getaddress() {
|
|
621
|
+
console.log('开始获取小区')
|
|
622
|
+
let HttpReset = new HttpResetClass()
|
|
623
|
+
var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
624
|
+
data: {
|
|
625
|
+
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
630
626
|
}
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
627
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
628
|
+
console.log('小区', data)
|
|
629
|
+
let house = [{label: '全部', value: ''}]
|
|
630
|
+
for (let row of data.data) {
|
|
631
|
+
console.log('开始保存小区')
|
|
632
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
633
|
+
}
|
|
634
|
+
this.residentialArea = house
|
|
635
|
+
},
|
|
636
|
+
//把数据库查询数据转换为下拉数据
|
|
637
|
+
calculate(rows) {
|
|
638
|
+
let data = []
|
|
639
|
+
rows.forEach((row, n) => {
|
|
640
|
+
data[n] = {label: row.f_residential_area, value: row.id}
|
|
641
|
+
})
|
|
642
|
+
return data
|
|
643
|
+
},
|
|
641
644
|
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
645
|
+
search() {
|
|
646
|
+
this.$refs.paged.$refs.cri.search()
|
|
647
|
+
},
|
|
648
|
+
cancel() {
|
|
649
|
+
this.show = false
|
|
650
|
+
},
|
|
651
|
+
showmsg(obj) {
|
|
652
|
+
this.rowdata = obj
|
|
653
|
+
this.show = true
|
|
654
|
+
},
|
|
655
|
+
userTypeChange() {
|
|
656
|
+
this.gasproperties = []
|
|
657
|
+
if (this.$refs.paged.$refs.cri.model !== null) {
|
|
658
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties = ''
|
|
656
659
|
|
|
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
|
-
//小区查询条件
|
|
660
|
+
console.log("查看客户类型是什么", this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
661
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
662
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
663
|
+
} else {
|
|
664
|
+
this.gasproperties = [{label: '全部', value: ''}]
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
initParams() {
|
|
668
|
+
// 初始化气表品牌
|
|
669
|
+
let brandArr = []
|
|
670
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
671
|
+
let temp = {}
|
|
672
|
+
temp.label = item.label
|
|
673
|
+
temp.value = item.value.f_meter_brand
|
|
674
|
+
brandArr.push(temp)
|
|
675
|
+
})
|
|
676
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
677
|
+
//初始化气表价格
|
|
678
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
679
|
+
},
|
|
680
|
+
selfSearch(args) {
|
|
681
|
+
console.log('开始时间', this.$refs.paged.$refs.cri.model.startDate)
|
|
682
|
+
if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === '') {
|
|
683
|
+
this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
|
|
684
|
+
} else {
|
|
685
|
+
//小区查询条件
|
|
684
686
|
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
687
|
+
let f_orgstr = this.orgCondtionStr
|
|
688
|
+
args.condition = `${args.condition} ` + f_orgstr
|
|
689
|
+
this.model.search(args.condition, args.model)
|
|
690
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
clear() {
|
|
694
|
+
//清空部门和人员
|
|
695
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
696
|
+
//部门和人员变为全选
|
|
697
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
698
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
699
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
700
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
701
|
+
})
|
|
700
702
|
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
703
|
+
},
|
|
704
|
+
dealmsg(val) {
|
|
705
|
+
val.model = this.model.model
|
|
706
|
+
this.$dispatch('deal-msg', val)
|
|
707
|
+
},
|
|
708
|
+
show() {
|
|
709
|
+
this.criteriaShow = true
|
|
710
|
+
},
|
|
711
|
+
hidden() {
|
|
712
|
+
this.criteriaShow = !this.criteriaShow
|
|
713
|
+
},
|
|
714
|
+
async getRes(condition, obj) {
|
|
715
|
+
this.orgCondtionStr = condition
|
|
716
|
+
this.orgname = obj.orgnames[0]
|
|
717
|
+
this.depname = obj.depnames[0]
|
|
716
718
|
|
|
717
|
-
},
|
|
718
|
-
async updateParams() {
|
|
719
|
-
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
720
|
-
this.inputtores = [];
|
|
721
|
-
this.inputtores.push({label: "全部", value: ""})
|
|
722
|
-
if(this.allorgid!=null){
|
|
723
|
-
this.allorgid.forEach((res)=>{
|
|
724
|
-
this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
|
|
725
|
-
})
|
|
726
|
-
}
|
|
727
|
-
this.initParams()
|
|
728
|
-
},
|
|
729
719
|
},
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
720
|
+
async updateParams() {
|
|
721
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
722
|
+
this.inputtores = [];
|
|
723
|
+
this.inputtores.push({label: "全部", value: ""})
|
|
724
|
+
if (this.allorgid != null) {
|
|
725
|
+
this.allorgid.forEach((res) => {
|
|
726
|
+
this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
|
|
727
|
+
})
|
|
733
728
|
}
|
|
729
|
+
this.initParams()
|
|
734
730
|
},
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
731
|
+
},
|
|
732
|
+
events: {
|
|
733
|
+
'getidcard'(IdCard) {
|
|
734
|
+
this.$refs.paged.$refs.cri.model.f_info_idnumber = IdCard.strID
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
watch: {
|
|
738
|
+
'model'(val) {
|
|
739
|
+
},
|
|
740
|
+
async 'orgCondtionStr'(val) {
|
|
741
|
+
this.meterbooks = [{label: '全部', value: ''}];
|
|
742
|
+
if (this.lastorgstr != val) {
|
|
743
|
+
this.tempfalg = true;
|
|
744
|
+
this.lastorgstr = val;
|
|
745
|
+
}
|
|
746
|
+
if (this.tempfalg && val != null && val != '' && val.indexOf("(") > -1) {
|
|
747
|
+
this.tempfalg = false;
|
|
748
|
+
let a = val.substring(val.indexOf("(") + 2)
|
|
749
|
+
await this.initmeterbook(a.substring(0, a.indexOf(")") - 1));
|
|
750
|
+
}
|
|
751
|
+
let res = val.match(/'(.*?)'/)
|
|
752
|
+
if (res) {
|
|
753
|
+
this.f_filialeid = res[1]
|
|
754
|
+
if (res.input != null) {
|
|
755
|
+
let resorgid = res.input.substring(res.input.indexOf("'"));
|
|
756
|
+
if (resorgid != null && resorgid != '') {
|
|
757
|
+
resorgid = resorgid.substring(0, resorgid.lastIndexOf("'") + 1);
|
|
758
|
+
// resorgid = resorgid.replaceAll("'","");
|
|
759
|
+
resorgid = resorgid.replace(/'/g, "");
|
|
760
|
+
this.allorgid = resorgid.split(",")
|
|
760
761
|
}
|
|
761
|
-
this.updateParams()
|
|
762
762
|
}
|
|
763
|
-
|
|
764
|
-
sumsmodel:{
|
|
765
|
-
handler: function(val) {
|
|
766
|
-
this.getotherfooter();
|
|
767
|
-
},
|
|
768
|
-
deep: true
|
|
763
|
+
this.updateParams()
|
|
769
764
|
}
|
|
770
765
|
},
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
766
|
+
sumsmodel: {
|
|
767
|
+
handler: function (val) {
|
|
768
|
+
this.getotherfooter();
|
|
774
769
|
},
|
|
770
|
+
deep: true
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
computed: {
|
|
774
|
+
pricetypes() {
|
|
775
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
776
|
+
},
|
|
775
777
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
}
|
|
791
|
-
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
792
|
-
let temp = {}
|
|
793
|
-
temp.label = item.label
|
|
794
|
-
temp.value = item.value.f_price_name
|
|
795
|
-
priceArr.push(temp)
|
|
796
|
-
})
|
|
797
|
-
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
798
|
-
}
|
|
799
|
-
if (rs.length === 0) {
|
|
800
|
-
this.$refs.paged.model.model.f_price_name = ''
|
|
778
|
+
getPricenames() {
|
|
779
|
+
let f_user_type = this.$refs.paged.model.model.f_user_type;
|
|
780
|
+
let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
|
|
781
|
+
let pricetype = this.$refs.paged.model.model.pricetype;
|
|
782
|
+
if (this.$refs.paged.model.model !== null) {
|
|
783
|
+
let rs = []
|
|
784
|
+
let priceArr = []
|
|
785
|
+
if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length > 0) {
|
|
786
|
+
let params = {
|
|
787
|
+
f_user_type: f_user_type[0],
|
|
788
|
+
f_gasproperties: f_gasproperties[0],
|
|
789
|
+
f_price_type: pricetype[0],
|
|
790
|
+
filter: this.f_filialeid,
|
|
791
|
+
prices: this.prices
|
|
801
792
|
}
|
|
802
|
-
|
|
793
|
+
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
794
|
+
let temp = {}
|
|
795
|
+
temp.label = item.label
|
|
796
|
+
temp.value = item.value.f_price_name
|
|
797
|
+
priceArr.push(temp)
|
|
798
|
+
})
|
|
799
|
+
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
803
800
|
}
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
809
|
-
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
810
|
-
},
|
|
811
|
-
getfield() {
|
|
812
|
-
return exportConfig.arrearsConfig
|
|
813
|
-
},
|
|
814
|
-
usertypes() {
|
|
815
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
816
|
-
},
|
|
817
|
-
metertypes() {
|
|
818
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
819
|
-
},
|
|
820
|
-
chargetype() {
|
|
821
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
|
|
801
|
+
if (rs.length === 0) {
|
|
802
|
+
this.$refs.paged.model.model.f_price_name = ''
|
|
803
|
+
}
|
|
804
|
+
return rs
|
|
822
805
|
}
|
|
806
|
+
},
|
|
807
|
+
getCondition() {
|
|
808
|
+
return {
|
|
809
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
810
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
811
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
getfield() {
|
|
815
|
+
return exportConfig.arrearsConfig
|
|
816
|
+
},
|
|
817
|
+
usertypes() {
|
|
818
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
819
|
+
},
|
|
820
|
+
metertypes() {
|
|
821
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
822
|
+
},
|
|
823
|
+
chargetype() {
|
|
824
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
|
|
823
825
|
}
|
|
824
826
|
}
|
|
827
|
+
}
|
|
825
828
|
</script>
|