manage-client 3.1.53 → 3.1.54

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.
Files changed (37) hide show
  1. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  2. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  3. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  4. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  5. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  6. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  7. package/.gradle/{6.1 → configuration-cache}/gc.properties +0 -0
  8. package/build/dev-server.js +6 -6
  9. package/package.json +1 -1
  10. package/src/components/SellReport/OperatorCheckoutReport.vue +237 -237
  11. package/src/components/SellReport/OperatorCheckoutTwo.vue +237 -237
  12. package/src/components/SellReport/ReportItems.vue +241 -241
  13. package/src/components/sale/businessquery/FillGasQuery.vue +491 -491
  14. package/src/components/sale/filesquery/DeviceQuery.vue +524 -524
  15. package/src/filiale/jingwei/ChargeQuery.vue +1241 -1241
  16. package/src/filiale/liaoyuan/ChargeQuery.vue +1284 -1284
  17. package/src/filiale/liaoyuan/exportConfig.js +718 -718
  18. package/src/filiale/meihekou/CardHandplanQuery.vue +541 -541
  19. package/src/filiale/meihekou/config/exportConfig.js +804 -804
  20. package/src/filiale/shaoguan/ChargeQuery.vue +1034 -1034
  21. package/src/filiale/shaoguan/OtherChargeQuery.vue +596 -596
  22. package/src/filiale/shaoguan/sale/businessquery/oldList.vue +41 -41
  23. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +290 -290
  24. package/src/filiale/shaoguan/sale.js +35 -35
  25. package/src/main.js +66 -66
  26. package/src/reportManage.js +478 -478
  27. package/.gradle/4.4/fileChanges/last-build.bin +0 -0
  28. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  29. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  30. package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
  31. package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  32. package/.gradle/6.1/fileChanges/last-build.bin +0 -0
  33. package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
  34. package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
  35. package/.gradle/6.1.1/fileContent/fileContent.lock +0 -0
  36. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  37. package/build/tmp/jar/MANIFEST.MF +0 -2
@@ -1,596 +1,596 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex" v-if="!show">
5
-
6
- <criteria-paged :model="model" v-ref:paged>
7
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
- <div class="row">
10
- <div class="col-sm-2 form-group">
11
- <label for="startDate" class="font_normal_body">开始日期</label>
12
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
- v-model="model.startDate"
14
- :value.sync="model.startDate"
15
- :format="'yyyy-MM-dd HH:mm:ss'"
16
- :show-reset-button="true"
17
- condition="f_operate_date >= '{}'">
18
- </datepicker>
19
- </div>
20
- <div class="col-sm-2 form-group">
21
- <label for="endDate" class="font_normal_body">结束日期</label>
22
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
- v-model="model.endDate"
24
- :value.sync="model.endDate"
25
- :format="'yyyy-MM-dd HH:mm:ss'"
26
- :show-reset-button="true"
27
- condition="f_operate_date <= '{}'">
28
- </datepicker>
29
- </div>
30
- <div class="col-sm-2 form-group">
31
- <label class="font_normal_body">客户编号</label>
32
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
33
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
34
- </div>
35
- <div class="col-sm-2 form-group">
36
- <label class="font_normal_body">客户名称</label>
37
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
38
- condition="f_user_name like '%{}%'" placeholder="客户名称">
39
- </div>
40
-
41
- <div class="span" style="float:right;">
42
- <button class="button_search button_spacing" @click="search()">查询</button>
43
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
44
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
45
-
46
- <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
47
- :field="$parent.$parent.getfield" :header="$parent.$parent.other"
48
- sqlurl="rs/logic/exportfile" sql-name="otherChargeQuery" template-name='其他收费查询导出'
49
- :choose-col="true"></export-excel>
50
- <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>
51
- </div>
52
- </div>
53
-
54
- <div class="row" v-show="$parent.$parent.criteriaShow">
55
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
56
- <div class="col-sm-2 form-group">
57
- <label class="font_normal_body">客户地址</label>
58
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
59
- condition="f_address like '%{}%'" placeholder='客户地址'>
60
- </div>
61
- <div class="col-sm-2 form-group">
62
- <label class="font_normal_body">气表类型</label>
63
- <v-select :value.sync="model.f_meter_classify" multiple
64
- :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_classify"
65
- condition="f_meter_classify in {}"
66
- close-on-select></v-select>
67
- </div>
68
- <div class="col-sm-2 form-group">
69
- <label class="font_normal_body">气表品牌</label>
70
- <v-select :value.sync="model.f_meter_brand" multiple
71
- v-model="model.f_meter_brand"
72
- :options='$parent.$parent.meterbrands' placeholder='请选择'
73
- condition="f_meter_brand in {}"
74
- close-on-select></v-select>
75
- </div>
76
- <div class="col-sm-2 form-group">
77
- <label class="font_normal_body">收费类型</label>
78
- <v-select v-model="model.f_brand_spec"
79
- placeholder='请选择'
80
- condition="f_brand_spec = '{}'"
81
- :value.sync="model.f_brand_spec"
82
- :options='$parent.$parent.chargetype'
83
- @change="$parent.$parent.setTypename"
84
- close-on-select clear-button></v-select>
85
- </div>
86
- <div class="col-sm-2 form-group">
87
- <label class="font_normal_body">品名规格</label>
88
- <v-select v-model="model.f_typename"
89
- placeholder='请选择'
90
- condition="f_typename = '{}'"
91
- :value.sync="model.f_typename"
92
- :options='$parent.$parent.typeNameList'
93
- @change="$parent.$parent.setTypenumber"
94
- close-on-select clear-button>
95
- </v-select>
96
- </div>
97
- <div class="col-sm-2 form-group">
98
- <label class="font_normal_body">型&emsp;&emsp;号</label>
99
- <v-select v-model="model.f_typenumber"
100
- placeholder='请选择'
101
- condition="f_typenumber = '{}'"
102
- :value.sync="model.f_typenumber"
103
- :options='$parent.$parent.typenumberList'
104
- close-on-select clear-button>
105
- </v-select>
106
- </div>
107
- <div class="col-sm-2 form-group">
108
- <label class="font_normal_body">用户类型</label>
109
- <v-select id="f_user_type"
110
- v-model="model.f_user_type"
111
- placeholder='请选择'
112
- condition="f_user_type ='{}'"
113
- :value.sync="model.f_user_type"
114
- @change="$parent.$parent.userTypeChange(model.f_user_type)"
115
- :options='$parent.$parent.userTypes'
116
- close-on-select clear-button></v-select>
117
- </div>
118
- <div class="col-sm-2 form-group">
119
- <label class="font_normal_body">用气性质</label>
120
- <v-select id="f_gasproperties"
121
- v-model="model.f_gasproperties"
122
- placeholder='请选择'
123
- condition="f_gasproperties ='{}'"
124
- :value.sync="model.f_gasproperties"
125
- :options='$parent.$parent.gasproperties'
126
- close-on-select clear-button></v-select>
127
- </div>
128
- <div class="col-sm-2 form-group">
129
- <label class="font_normal_body">收费状态</label>
130
- <v-select id="f_state"
131
- v-model="model.f_state"
132
- placeholder='请选择'
133
- condition="f_state ='{}'"
134
- :value.sync="model.f_state"
135
- :options='$parent.$parent.chargeState'
136
- close-on-select clear-button>
137
- </v-select>
138
- </div>
139
-
140
- <div class="col-sm-2 form-group">
141
- <label class="font_normal_body">付款方式</label>
142
- <v-select id="f_payment"
143
- v-model="model.f_payment"
144
- placeholder='请选择'
145
- condition="f_payment ='{}'"
146
- :value.sync="model.f_payment"
147
- :options='$parent.$parent.payments'
148
- close-on-select clear-button>
149
- </v-select>
150
- </div>
151
- <div class="col-sm-2 form-group">
152
- <label class="font_normal_body">服务人员</label>
153
- <v-select id="f_service_person"
154
- v-model="model.f_service_person"
155
- placeholder='请选择'
156
- condition="f_service_person ='{}'"
157
- :value.sync="model.f_service_person"
158
- :options='$parent.$parent.service_person'
159
- close-on-select clear-button>
160
- </v-select>
161
- </div>
162
- <div class="col-sm-2 form-group">
163
- <label class="font_normal_body">业务单号</label>
164
- <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_number"
165
- condition="f_serial_number = '{}'" placeholder="业务单号">
166
- </div>
167
-
168
- </div>
169
- </div>
170
- </criteria>
171
-
172
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
173
- <template partial='head'>
174
- <tr>
175
- <th>
176
- <nobr>客户编号</nobr>
177
- </th>
178
- <th>
179
- <nobr>收费编号</nobr>
180
- </th>
181
- <th>
182
- <nobr>客户名称</nobr>
183
- </th>
184
- <th>
185
- <nobr>客户地址</nobr>
186
- </th>
187
- <th>
188
- <nobr>气表品牌</nobr>
189
- </th>
190
- <th>
191
- <nobr>卡号</nobr>
192
- </th>
193
- <th>
194
- <nobr>收费类型</nobr>
195
- </th>
196
- <th>
197
- <nobr>品名规格</nobr>
198
- </th>
199
- <th>
200
- <nobr>型号</nobr>
201
- </th>
202
- <th>
203
- <nobr>单价</nobr>
204
- </th>
205
- <th>
206
- <nobr>数量</nobr>
207
- </th>
208
- <th>
209
- <nobr>收款</nobr>
210
- </th>
211
- <th>
212
- <nobr>付款方式</nobr>
213
- </th>
214
- <th>
215
- <nobr>状态</nobr>
216
- </th>
217
- <th>
218
- <nobr>收费日期</nobr>
219
- </th>
220
- <th>
221
- <nobr>服务人员</nobr>
222
- </th>
223
- <th>
224
- <nobr>业务单号</nobr>
225
- </th>
226
- <th>
227
- <nobr>备注</nobr>
228
- </th>
229
- <th>
230
- <nobr>人员</nobr>
231
- </th>
232
- <th>
233
- <nobr>部门</nobr>
234
- </th>
235
- <th>
236
- <nobr>公司</nobr>
237
- </th>
238
- <th><nobr>附件</nobr></th>
239
- <!--<th><nobr>查看详情</nobr></th>-->
240
- </tr>
241
- </template>
242
- <template partial='body'>
243
- <td style="text-align: center;">
244
- <nobr>
245
- <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
246
- </td>
247
- <td style="text-align: center;">
248
- <nobr>{{row.id}}</nobr>
249
- </td>
250
- <td style="text-align: center;">
251
- <nobr>{{row.f_user_name}}</nobr>
252
- </td>
253
- <td style="text-align: center;">
254
- <nobr>{{row.f_address}}</nobr>
255
- </td>
256
- <td style="text-align: center;">
257
- <nobr>{{row.f_meter_brand}}</nobr>
258
- </td>
259
- <td style="text-align: center;">
260
- <nobr>{{row.f_card_id}}</nobr>
261
- </td>
262
- <td style="text-align: center;">
263
- <nobr>{{row.f_brand_spec}}</nobr>
264
- </td>
265
- <td style="text-align: center;">
266
- <nobr>{{row.f_typename}}</nobr>
267
- </td>
268
- <td style="text-align: center;">
269
- <nobr>{{row.f_typenumber}}</nobr>
270
- </td>
271
- <td style="text-align: center;">
272
- <nobr>{{row.f_unitprice}}</nobr>
273
- </td>
274
- <td style="text-align: center;">
275
- <nobr>{{row.f_number}}</nobr>
276
- </td>
277
- <td style="text-align: center;">
278
- <nobr>{{row.f_money}}</nobr>
279
- </td>
280
- <td style="text-align: center;">
281
- <nobr>{{row.f_payment}}</nobr>
282
- </td>
283
- <td style="text-align: center;">
284
- <nobr>{{row.f_state}}</nobr>
285
- </td>
286
- <td style="text-align: center;">
287
- <nobr>{{row.f_operate_date}}</nobr>
288
- </td>
289
- <td style="text-align: center;">
290
- <nobr>{{row.f_service_person}}</nobr>
291
- </td>
292
- <td style="text-align: center;">
293
- <nobr>{{row.f_serial_number}}</nobr>
294
- </td>
295
- <td style="text-align: center;">
296
- <nobr>{{row.f_comments}}</nobr>
297
- </td>
298
- <td style="text-align: center;">
299
- <nobr>{{row.f_operator}}</nobr>
300
- </td>
301
- <td style="text-align: center;">
302
- <nobr>{{row.f_depname}}</nobr>
303
- </td>
304
- <td style="text-align: center;">
305
- <nobr>{{row.f_orgname}}</nobr>
306
- </td>
307
- <td style="text-align: center;"><nobr>
308
- <button class="btn btn-link" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
309
- </nobr></td>
310
- <!--<td style="text-align: center;">-->
311
- <!--<button class="btn btn-link" @click.stop="$parent.$parent.$parent.showchargedetail(row)">查看</button>-->
312
- <!--</td>-->
313
- </template>
314
- <template partial='foot'></template>
315
- </data-grid>
316
-
317
- </criteria-paged>
318
-
319
- <table class="table-hover">
320
- <tr style="position: relative" class="table-bordered">
321
- <td
322
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
323
- 汇总信息
324
- </td>
325
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
326
- 收款合计:&emsp;{{sumsmodel.f_money}}
327
- </td>
328
- </tr>
329
- </table>
330
-
331
- </div>
332
- <div v-if="show">
333
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
334
- </div>
335
- </div>
336
- <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
337
- <article slot="modal-body">
338
- <upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="收费" :isremark="false" style="width:auto" ></upload>
339
- </article>
340
- <footer slot="modal-footer" class="modal-footer">
341
- </footer>
342
- </modal>
343
- </div>
344
-
345
- <modal v-if="showdetail" :show.sync="showdetail" title="详细记录" v-ref:modal large backdrop="false">
346
- <article slot="modal-body" class="modal-body">
347
- <other-charge-detail-query :otherchargeid="otherchargeid" ></other-charge-detail-query>
348
- </article>
349
- <footer slot="modal-footer" class="modal-footer">
350
- </footer>
351
- </modal>
352
-
353
- </template>
354
-
355
- <script>
356
- import {PagedList} from 'vue-client'
357
- import defaultPrint from './config/DefaultPrint'
358
- import exportConfig from './config/exportConfig'
359
- import OtherChargeDetailQuery from "./OtherChargeDetailQuery";
360
-
361
- let readySomething = async function (self) {
362
-
363
- // self.$refs.paged.$refs.cri.model.startDate = self.data.startDate
364
- // self.$refs.paged.$refs.cri.model.endDate = self.data.endDate
365
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
366
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
367
- // await self.$refs.paged.$refs.cri.search()
368
- await self.$MagLoadParams.loadParam()
369
- self.initParams()
370
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
371
- }
372
- export default {
373
- components: {
374
- OtherChargeDetailQuery
375
- },
376
- props:['data'],
377
- data() {
378
- return {
379
- data: {},
380
- other:[],
381
- footer:[],
382
- model: new PagedList('rs/sql/otherChargeQuery', 20, {}, {f_money: 0}),
383
- criteriaShow: false,
384
- orgCondtionStr: '',
385
- modelval: [],
386
- printshow: false,
387
- all: false,
388
- fields: {},
389
- thead: '',
390
- tfoot: '',
391
- initres: {
392
- org:[this.$login.f.orgid],
393
- dep:[],
394
- user:[],
395
- },
396
- meterbrands: [],
397
- show:false,
398
- showdetail:false,
399
- otherchargeid:'',
400
- rowdata:{},
401
- //合计数据
402
- sumsmodel: {},
403
- showupload:false,
404
- selected:{},
405
- // 用气性质
406
- gasproperties: [],
407
- // 品名规格
408
- typeNameList: [],
409
- // 型号
410
- typenumberList: []
411
- }
412
- },
413
- ready() {
414
- readySomething(this).then(() => {
415
- this.$emit('ready')
416
- }).catch((error) => {
417
- this.$emit('error', error)
418
- })
419
- },
420
- methods: {
421
- view(row){
422
- this.showupload = true
423
- this.selected= row
424
- },
425
- initParams() {
426
- // 初始化气表品牌
427
- let brandArr = []
428
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
429
- let temp = {}
430
- temp.label = item.label
431
- temp.value = item.value.f_meter_brand
432
- brandArr.push(temp)
433
- })
434
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
435
- },
436
- getotherfooter(){
437
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
438
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
439
- this.other=[];
440
- this.footer=[];
441
- let exportdata = this.getCondition;
442
- let otherInData=[];
443
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
444
- let footerData=[],exportfield=this.getfield;
445
- footerData.push("合计");
446
- let self = this;
447
- for(var field in self.sumsmodel){
448
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
449
- }
450
- this.footer.push(footerData);
451
- this.other.push(otherInData);
452
- },
453
- search(){
454
- this.$refs.paged.$refs.cri.search()
455
- },
456
- selfSearch(args) {
457
- this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
458
- this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
459
- args.condition = `${args.condition}` + this.orgCondtionStr
460
- this.model.search(args.condition, args.model)
461
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
462
- },
463
- clear() {
464
- //清空部门和人员
465
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
466
- //部门和人员变为全选
467
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
468
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
469
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
470
- this.$refs.paged.$refs.cri.model[key] = []
471
- })
472
- },
473
- show() {
474
- this.criteriaShow = true
475
- },
476
- hidden() {
477
- this.criteriaShow = !this.criteriaShow
478
- },
479
- getRes(obj) {
480
- this.orgCondtionStr = obj
481
- },
482
- cancel() {
483
- this.show = false
484
- },
485
- dealmsg(val) {
486
- console.log('---------------dealmsg')
487
- this.rowdata=val
488
- this.show=true
489
- val.model = this.model.model
490
- this.$dispatch('deal-msg', val)
491
- },
492
- stamp() {
493
- this.all = false
494
- //默认选择要打印的列
495
- this.modelval = defaultPrint.config
496
- this.fields = this.getfield
497
- console.log('所有打印字段', this.fields)
498
- this.printshow = true
499
- this.put()
500
- },
501
- put() {
502
- // 对Modelval进行排序
503
- this.sortModelval()
504
- this.thead = `<tr><th colspan=${this.modelval.length}>其他收费查询统计报表</th></tr><tr>`
505
- for (let key of this.modelval) {
506
- this.thead += '<th>' + this.fields[key] + '</th>'
507
- }
508
- this.thead += '</tr>'
509
- },
510
- print() {
511
- this.$refs.print.PrintAsFile()
512
- this.printshow = false
513
- },
514
- close() {
515
- this.printshow = false
516
- this.all = false
517
- },
518
- // 对选择的列进行排序
519
- sortModelval() {
520
- let sortModel = []
521
- Object.keys(this.fields).forEach((key) => {
522
- if (this.modelval.includes(key)) {
523
- sortModel.push(key)
524
- }
525
- })
526
- this.modelval = sortModel
527
- console.log('选择的打印的字段', this.modelval)
528
- },
529
- showchargedetail(row){
530
- this.showdetail=true
531
- this.otherchargeid=row.id
532
- },
533
- userTypeChange (f_user_type) {
534
- this.gasproperties = []
535
- if (f_user_type) {
536
- this.$refs.paged.$refs.cri.model.f_gasproperties = ''
537
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
538
- } else {
539
- this.gasproperties = [{label: '全部', value: ''}]
540
- }
541
- },
542
- setTypename (val) {
543
- this.typenumberList = []
544
- this.typeNameList = this.$appdata.getParam(val)
545
- },
546
- setTypenumber (val) {
547
- this.typenumberList = this.$appdata.getParam(val)
548
- }
549
- },
550
- watch: {
551
- 'all'(val) {
552
- if (val) {
553
- this.modelval = this.bodyData
554
- } else {
555
- this.modelval = defaultPrint.config
556
- this.put()
557
- }
558
- },
559
- 'modelval.length'() {
560
- this.put()
561
- },
562
- sumsmodel:{
563
- handler: function(val) {
564
- this.getotherfooter();
565
- },
566
- deep: true
567
- }
568
- },
569
- computed: {
570
- getCondition() {
571
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
572
- },
573
- service_person() {
574
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('服务人员')]
575
- },
576
- getfield() {
577
- return exportConfig.otherchargeConfig
578
- },
579
- chargetype() {
580
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('品名及规格')]
581
- },
582
- userTypes() {
583
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
584
- },
585
- chargeState() {
586
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
587
- },
588
- metertypes() {
589
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
590
- },
591
- payments() {
592
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
593
- }
594
- }
595
- }
596
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
5
+
6
+ <criteria-paged :model="model" v-ref:paged>
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label for="startDate" class="font_normal_body">开始日期</label>
12
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
+ v-model="model.startDate"
14
+ :value.sync="model.startDate"
15
+ :format="'yyyy-MM-dd HH:mm:ss'"
16
+ :show-reset-button="true"
17
+ condition="f_operate_date >= '{}'">
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label for="endDate" class="font_normal_body">结束日期</label>
22
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
+ v-model="model.endDate"
24
+ :value.sync="model.endDate"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="true"
27
+ condition="f_operate_date <= '{}'">
28
+ </datepicker>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body">客户编号</label>
32
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
33
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
34
+ </div>
35
+ <div class="col-sm-2 form-group">
36
+ <label class="font_normal_body">客户名称</label>
37
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
38
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
39
+ </div>
40
+
41
+ <div class="span" style="float:right;">
42
+ <button class="button_search button_spacing" @click="search()">查询</button>
43
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
44
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
45
+
46
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
47
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
48
+ sqlurl="rs/logic/exportfile" sql-name="otherChargeQuery" template-name='其他收费查询导出'
49
+ :choose-col="true"></export-excel>
50
+ <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>
51
+ </div>
52
+ </div>
53
+
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
56
+ <div class="col-sm-2 form-group">
57
+ <label class="font_normal_body">客户地址</label>
58
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
59
+ condition="f_address like '%{}%'" placeholder='客户地址'>
60
+ </div>
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body">气表类型</label>
63
+ <v-select :value.sync="model.f_meter_classify" multiple
64
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_classify"
65
+ condition="f_meter_classify in {}"
66
+ close-on-select></v-select>
67
+ </div>
68
+ <div class="col-sm-2 form-group">
69
+ <label class="font_normal_body">气表品牌</label>
70
+ <v-select :value.sync="model.f_meter_brand" multiple
71
+ v-model="model.f_meter_brand"
72
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
73
+ condition="f_meter_brand in {}"
74
+ close-on-select></v-select>
75
+ </div>
76
+ <div class="col-sm-2 form-group">
77
+ <label class="font_normal_body">收费类型</label>
78
+ <v-select v-model="model.f_brand_spec"
79
+ placeholder='请选择'
80
+ condition="f_brand_spec = '{}'"
81
+ :value.sync="model.f_brand_spec"
82
+ :options='$parent.$parent.chargetype'
83
+ @change="$parent.$parent.setTypename"
84
+ close-on-select clear-button></v-select>
85
+ </div>
86
+ <div class="col-sm-2 form-group">
87
+ <label class="font_normal_body">品名规格</label>
88
+ <v-select v-model="model.f_typename"
89
+ placeholder='请选择'
90
+ condition="f_typename = '{}'"
91
+ :value.sync="model.f_typename"
92
+ :options='$parent.$parent.typeNameList'
93
+ @change="$parent.$parent.setTypenumber"
94
+ close-on-select clear-button>
95
+ </v-select>
96
+ </div>
97
+ <div class="col-sm-2 form-group">
98
+ <label class="font_normal_body">型&emsp;&emsp;号</label>
99
+ <v-select v-model="model.f_typenumber"
100
+ placeholder='请选择'
101
+ condition="f_typenumber = '{}'"
102
+ :value.sync="model.f_typenumber"
103
+ :options='$parent.$parent.typenumberList'
104
+ close-on-select clear-button>
105
+ </v-select>
106
+ </div>
107
+ <div class="col-sm-2 form-group">
108
+ <label class="font_normal_body">用户类型</label>
109
+ <v-select id="f_user_type"
110
+ v-model="model.f_user_type"
111
+ placeholder='请选择'
112
+ condition="f_user_type ='{}'"
113
+ :value.sync="model.f_user_type"
114
+ @change="$parent.$parent.userTypeChange(model.f_user_type)"
115
+ :options='$parent.$parent.userTypes'
116
+ close-on-select clear-button></v-select>
117
+ </div>
118
+ <div class="col-sm-2 form-group">
119
+ <label class="font_normal_body">用气性质</label>
120
+ <v-select id="f_gasproperties"
121
+ v-model="model.f_gasproperties"
122
+ placeholder='请选择'
123
+ condition="f_gasproperties ='{}'"
124
+ :value.sync="model.f_gasproperties"
125
+ :options='$parent.$parent.gasproperties'
126
+ close-on-select clear-button></v-select>
127
+ </div>
128
+ <div class="col-sm-2 form-group">
129
+ <label class="font_normal_body">收费状态</label>
130
+ <v-select id="f_state"
131
+ v-model="model.f_state"
132
+ placeholder='请选择'
133
+ condition="f_state ='{}'"
134
+ :value.sync="model.f_state"
135
+ :options='$parent.$parent.chargeState'
136
+ close-on-select clear-button>
137
+ </v-select>
138
+ </div>
139
+
140
+ <div class="col-sm-2 form-group">
141
+ <label class="font_normal_body">付款方式</label>
142
+ <v-select id="f_payment"
143
+ v-model="model.f_payment"
144
+ placeholder='请选择'
145
+ condition="f_payment ='{}'"
146
+ :value.sync="model.f_payment"
147
+ :options='$parent.$parent.payments'
148
+ close-on-select clear-button>
149
+ </v-select>
150
+ </div>
151
+ <div class="col-sm-2 form-group">
152
+ <label class="font_normal_body">服务人员</label>
153
+ <v-select id="f_service_person"
154
+ v-model="model.f_service_person"
155
+ placeholder='请选择'
156
+ condition="f_service_person ='{}'"
157
+ :value.sync="model.f_service_person"
158
+ :options='$parent.$parent.service_person'
159
+ close-on-select clear-button>
160
+ </v-select>
161
+ </div>
162
+ <div class="col-sm-2 form-group">
163
+ <label class="font_normal_body">业务单号</label>
164
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_number"
165
+ condition="f_serial_number = '{}'" placeholder="业务单号">
166
+ </div>
167
+
168
+ </div>
169
+ </div>
170
+ </criteria>
171
+
172
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
173
+ <template partial='head'>
174
+ <tr>
175
+ <th>
176
+ <nobr>客户编号</nobr>
177
+ </th>
178
+ <th>
179
+ <nobr>收费编号</nobr>
180
+ </th>
181
+ <th>
182
+ <nobr>客户名称</nobr>
183
+ </th>
184
+ <th>
185
+ <nobr>客户地址</nobr>
186
+ </th>
187
+ <th>
188
+ <nobr>气表品牌</nobr>
189
+ </th>
190
+ <th>
191
+ <nobr>卡号</nobr>
192
+ </th>
193
+ <th>
194
+ <nobr>收费类型</nobr>
195
+ </th>
196
+ <th>
197
+ <nobr>品名规格</nobr>
198
+ </th>
199
+ <th>
200
+ <nobr>型号</nobr>
201
+ </th>
202
+ <th>
203
+ <nobr>单价</nobr>
204
+ </th>
205
+ <th>
206
+ <nobr>数量</nobr>
207
+ </th>
208
+ <th>
209
+ <nobr>收款</nobr>
210
+ </th>
211
+ <th>
212
+ <nobr>付款方式</nobr>
213
+ </th>
214
+ <th>
215
+ <nobr>状态</nobr>
216
+ </th>
217
+ <th>
218
+ <nobr>收费日期</nobr>
219
+ </th>
220
+ <th>
221
+ <nobr>服务人员</nobr>
222
+ </th>
223
+ <th>
224
+ <nobr>业务单号</nobr>
225
+ </th>
226
+ <th>
227
+ <nobr>备注</nobr>
228
+ </th>
229
+ <th>
230
+ <nobr>人员</nobr>
231
+ </th>
232
+ <th>
233
+ <nobr>部门</nobr>
234
+ </th>
235
+ <th>
236
+ <nobr>公司</nobr>
237
+ </th>
238
+ <th><nobr>附件</nobr></th>
239
+ <!--<th><nobr>查看详情</nobr></th>-->
240
+ </tr>
241
+ </template>
242
+ <template partial='body'>
243
+ <td style="text-align: center;">
244
+ <nobr>
245
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
246
+ </td>
247
+ <td style="text-align: center;">
248
+ <nobr>{{row.id}}</nobr>
249
+ </td>
250
+ <td style="text-align: center;">
251
+ <nobr>{{row.f_user_name}}</nobr>
252
+ </td>
253
+ <td style="text-align: center;">
254
+ <nobr>{{row.f_address}}</nobr>
255
+ </td>
256
+ <td style="text-align: center;">
257
+ <nobr>{{row.f_meter_brand}}</nobr>
258
+ </td>
259
+ <td style="text-align: center;">
260
+ <nobr>{{row.f_card_id}}</nobr>
261
+ </td>
262
+ <td style="text-align: center;">
263
+ <nobr>{{row.f_brand_spec}}</nobr>
264
+ </td>
265
+ <td style="text-align: center;">
266
+ <nobr>{{row.f_typename}}</nobr>
267
+ </td>
268
+ <td style="text-align: center;">
269
+ <nobr>{{row.f_typenumber}}</nobr>
270
+ </td>
271
+ <td style="text-align: center;">
272
+ <nobr>{{row.f_unitprice}}</nobr>
273
+ </td>
274
+ <td style="text-align: center;">
275
+ <nobr>{{row.f_number}}</nobr>
276
+ </td>
277
+ <td style="text-align: center;">
278
+ <nobr>{{row.f_money}}</nobr>
279
+ </td>
280
+ <td style="text-align: center;">
281
+ <nobr>{{row.f_payment}}</nobr>
282
+ </td>
283
+ <td style="text-align: center;">
284
+ <nobr>{{row.f_state}}</nobr>
285
+ </td>
286
+ <td style="text-align: center;">
287
+ <nobr>{{row.f_operate_date}}</nobr>
288
+ </td>
289
+ <td style="text-align: center;">
290
+ <nobr>{{row.f_service_person}}</nobr>
291
+ </td>
292
+ <td style="text-align: center;">
293
+ <nobr>{{row.f_serial_number}}</nobr>
294
+ </td>
295
+ <td style="text-align: center;">
296
+ <nobr>{{row.f_comments}}</nobr>
297
+ </td>
298
+ <td style="text-align: center;">
299
+ <nobr>{{row.f_operator}}</nobr>
300
+ </td>
301
+ <td style="text-align: center;">
302
+ <nobr>{{row.f_depname}}</nobr>
303
+ </td>
304
+ <td style="text-align: center;">
305
+ <nobr>{{row.f_orgname}}</nobr>
306
+ </td>
307
+ <td style="text-align: center;"><nobr>
308
+ <button class="btn btn-link" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
309
+ </nobr></td>
310
+ <!--<td style="text-align: center;">-->
311
+ <!--<button class="btn btn-link" @click.stop="$parent.$parent.$parent.showchargedetail(row)">查看</button>-->
312
+ <!--</td>-->
313
+ </template>
314
+ <template partial='foot'></template>
315
+ </data-grid>
316
+
317
+ </criteria-paged>
318
+
319
+ <table class="table-hover">
320
+ <tr style="position: relative" class="table-bordered">
321
+ <td
322
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
323
+ 汇总信息
324
+ </td>
325
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
326
+ 收款合计:&emsp;{{sumsmodel.f_money}}
327
+ </td>
328
+ </tr>
329
+ </table>
330
+
331
+ </div>
332
+ <div v-if="show">
333
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
334
+ </div>
335
+ </div>
336
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
337
+ <article slot="modal-body">
338
+ <upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="收费" :isremark="false" style="width:auto" ></upload>
339
+ </article>
340
+ <footer slot="modal-footer" class="modal-footer">
341
+ </footer>
342
+ </modal>
343
+ </div>
344
+
345
+ <modal v-if="showdetail" :show.sync="showdetail" title="详细记录" v-ref:modal large backdrop="false">
346
+ <article slot="modal-body" class="modal-body">
347
+ <other-charge-detail-query :otherchargeid="otherchargeid" ></other-charge-detail-query>
348
+ </article>
349
+ <footer slot="modal-footer" class="modal-footer">
350
+ </footer>
351
+ </modal>
352
+
353
+ </template>
354
+
355
+ <script>
356
+ import {PagedList} from 'vue-client'
357
+ import defaultPrint from './config/DefaultPrint'
358
+ import exportConfig from './config/exportConfig'
359
+ import OtherChargeDetailQuery from "./OtherChargeDetailQuery";
360
+
361
+ let readySomething = async function (self) {
362
+
363
+ // self.$refs.paged.$refs.cri.model.startDate = self.data.startDate
364
+ // self.$refs.paged.$refs.cri.model.endDate = self.data.endDate
365
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
366
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
367
+ // await self.$refs.paged.$refs.cri.search()
368
+ await self.$MagLoadParams.loadParam()
369
+ self.initParams()
370
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
371
+ }
372
+ export default {
373
+ components: {
374
+ OtherChargeDetailQuery
375
+ },
376
+ props:['data'],
377
+ data() {
378
+ return {
379
+ data: {},
380
+ other:[],
381
+ footer:[],
382
+ model: new PagedList('rs/sql/otherChargeQuery', 20, {}, {f_money: 0}),
383
+ criteriaShow: false,
384
+ orgCondtionStr: '',
385
+ modelval: [],
386
+ printshow: false,
387
+ all: false,
388
+ fields: {},
389
+ thead: '',
390
+ tfoot: '',
391
+ initres: {
392
+ org:[this.$login.f.orgid],
393
+ dep:[],
394
+ user:[],
395
+ },
396
+ meterbrands: [],
397
+ show:false,
398
+ showdetail:false,
399
+ otherchargeid:'',
400
+ rowdata:{},
401
+ //合计数据
402
+ sumsmodel: {},
403
+ showupload:false,
404
+ selected:{},
405
+ // 用气性质
406
+ gasproperties: [],
407
+ // 品名规格
408
+ typeNameList: [],
409
+ // 型号
410
+ typenumberList: []
411
+ }
412
+ },
413
+ ready() {
414
+ readySomething(this).then(() => {
415
+ this.$emit('ready')
416
+ }).catch((error) => {
417
+ this.$emit('error', error)
418
+ })
419
+ },
420
+ methods: {
421
+ view(row){
422
+ this.showupload = true
423
+ this.selected= row
424
+ },
425
+ initParams() {
426
+ // 初始化气表品牌
427
+ let brandArr = []
428
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
429
+ let temp = {}
430
+ temp.label = item.label
431
+ temp.value = item.value.f_meter_brand
432
+ brandArr.push(temp)
433
+ })
434
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
435
+ },
436
+ getotherfooter(){
437
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
438
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
439
+ this.other=[];
440
+ this.footer=[];
441
+ let exportdata = this.getCondition;
442
+ let otherInData=[];
443
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
444
+ let footerData=[],exportfield=this.getfield;
445
+ footerData.push("合计");
446
+ let self = this;
447
+ for(var field in self.sumsmodel){
448
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
449
+ }
450
+ this.footer.push(footerData);
451
+ this.other.push(otherInData);
452
+ },
453
+ search(){
454
+ this.$refs.paged.$refs.cri.search()
455
+ },
456
+ selfSearch(args) {
457
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
458
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
459
+ args.condition = `${args.condition}` + this.orgCondtionStr
460
+ this.model.search(args.condition, args.model)
461
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
462
+ },
463
+ clear() {
464
+ //清空部门和人员
465
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
466
+ //部门和人员变为全选
467
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
468
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
469
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
470
+ this.$refs.paged.$refs.cri.model[key] = []
471
+ })
472
+ },
473
+ show() {
474
+ this.criteriaShow = true
475
+ },
476
+ hidden() {
477
+ this.criteriaShow = !this.criteriaShow
478
+ },
479
+ getRes(obj) {
480
+ this.orgCondtionStr = obj
481
+ },
482
+ cancel() {
483
+ this.show = false
484
+ },
485
+ dealmsg(val) {
486
+ console.log('---------------dealmsg')
487
+ this.rowdata=val
488
+ this.show=true
489
+ val.model = this.model.model
490
+ this.$dispatch('deal-msg', val)
491
+ },
492
+ stamp() {
493
+ this.all = false
494
+ //默认选择要打印的列
495
+ this.modelval = defaultPrint.config
496
+ this.fields = this.getfield
497
+ console.log('所有打印字段', this.fields)
498
+ this.printshow = true
499
+ this.put()
500
+ },
501
+ put() {
502
+ // 对Modelval进行排序
503
+ this.sortModelval()
504
+ this.thead = `<tr><th colspan=${this.modelval.length}>其他收费查询统计报表</th></tr><tr>`
505
+ for (let key of this.modelval) {
506
+ this.thead += '<th>' + this.fields[key] + '</th>'
507
+ }
508
+ this.thead += '</tr>'
509
+ },
510
+ print() {
511
+ this.$refs.print.PrintAsFile()
512
+ this.printshow = false
513
+ },
514
+ close() {
515
+ this.printshow = false
516
+ this.all = false
517
+ },
518
+ // 对选择的列进行排序
519
+ sortModelval() {
520
+ let sortModel = []
521
+ Object.keys(this.fields).forEach((key) => {
522
+ if (this.modelval.includes(key)) {
523
+ sortModel.push(key)
524
+ }
525
+ })
526
+ this.modelval = sortModel
527
+ console.log('选择的打印的字段', this.modelval)
528
+ },
529
+ showchargedetail(row){
530
+ this.showdetail=true
531
+ this.otherchargeid=row.id
532
+ },
533
+ userTypeChange (f_user_type) {
534
+ this.gasproperties = []
535
+ if (f_user_type) {
536
+ this.$refs.paged.$refs.cri.model.f_gasproperties = ''
537
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
538
+ } else {
539
+ this.gasproperties = [{label: '全部', value: ''}]
540
+ }
541
+ },
542
+ setTypename (val) {
543
+ this.typenumberList = []
544
+ this.typeNameList = this.$appdata.getParam(val)
545
+ },
546
+ setTypenumber (val) {
547
+ this.typenumberList = this.$appdata.getParam(val)
548
+ }
549
+ },
550
+ watch: {
551
+ 'all'(val) {
552
+ if (val) {
553
+ this.modelval = this.bodyData
554
+ } else {
555
+ this.modelval = defaultPrint.config
556
+ this.put()
557
+ }
558
+ },
559
+ 'modelval.length'() {
560
+ this.put()
561
+ },
562
+ sumsmodel:{
563
+ handler: function(val) {
564
+ this.getotherfooter();
565
+ },
566
+ deep: true
567
+ }
568
+ },
569
+ computed: {
570
+ getCondition() {
571
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
572
+ },
573
+ service_person() {
574
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('服务人员')]
575
+ },
576
+ getfield() {
577
+ return exportConfig.otherchargeConfig
578
+ },
579
+ chargetype() {
580
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('品名及规格')]
581
+ },
582
+ userTypes() {
583
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
584
+ },
585
+ chargeState() {
586
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
587
+ },
588
+ metertypes() {
589
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
590
+ },
591
+ payments() {
592
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
593
+ }
594
+ }
595
+ }
596
+ </script>