manage-client-xy 3.2.28 → 3.2.30

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 (31) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/components/SellReport/FinancialStatement.vue +30 -0
  4. package/src/components/SellReport/ManageBusSummary.vue +241 -241
  5. package/src/components/SellReport/SmartKitchenSummary.vue +275 -275
  6. package/src/components/SellReport/UserNumber.vue +30 -0
  7. package/src/components/SellReport/XianYangNewCharge.vue +355 -355
  8. package/src/components/sale/businessquery/AreaGeneralQuery.vue +715 -700
  9. package/src/components/sale/businessquery/CMHGasQuery.vue +441 -411
  10. package/src/components/sale/businessquery/ChangeMeterQuery.vue +659 -630
  11. package/src/components/sale/businessquery/ChangeUserQuery.vue +403 -373
  12. package/src/components/sale/businessquery/ChargeQuery.vue +1027 -997
  13. package/src/components/sale/businessquery/DisableQuery.vue +433 -403
  14. package/src/components/sale/businessquery/EnableQuery.vue +422 -392
  15. package/src/components/sale/businessquery/FMYGasQuery.vue +440 -410
  16. package/src/components/sale/businessquery/FillCardQuery.vue +522 -492
  17. package/src/components/sale/businessquery/FillGasQuery.vue +506 -476
  18. package/src/components/sale/businessquery/HandplanQuery.vue +728 -698
  19. package/src/components/sale/businessquery/LogQuery.vue +301 -269
  20. package/src/components/sale/businessquery/NewAccountQuery.vue +518 -488
  21. package/src/components/sale/businessquery/OtherChargeQuery.vue +432 -402
  22. package/src/components/sale/businessquery/RecordQuery.vue +399 -369
  23. package/src/components/sale/businessquery/ResidentialQuery.vue +417 -387
  24. package/src/components/sale/businessquery/ReverseQuery.vue +459 -429
  25. package/src/components/sale/businessquery/SellingHand.vue +408 -378
  26. package/src/components/sale/businessquery/TransferQuery.vue +589 -559
  27. package/src/components/sale/businessquery/cancelAccountQuery.vue +518 -488
  28. package/src/components/sale/filesquery/DeviceQuery.vue +30 -0
  29. package/src/components/sale/filesquery/MeterQuery.vue +30 -0
  30. package/src/components/sale/filesquery/UserQuery.vue +796 -764
  31. package/src/components/webmeter/DrillData/UserGasAll.vue +30 -1
@@ -1,997 +1,1027 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex" v-if="!show" style="height: 95%">
5
- <criteria-paged :model="model" v-ref:paged >
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row">
9
- <div class="col-sm-2 form-group">
10
- <label class="font_normal_body">客户编号</label>
11
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
12
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
13
- </div>
14
- <div class="col-sm-2 form-group">
15
- <label class="font_normal_body">客户名称</label>
16
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
17
- condition="f_user_name like '%{}%'" placeholder="客户名称">
18
- </div>
19
- <div class="col-sm-2 form-group">
20
- <label for="startDate" class="font_normal_body">开始日期</label>
21
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
22
- v-model="model.startDate"
23
- :value.sync="model.startDate"
24
- :format="'yyyy-MM-dd HH:mm:ss'"
25
- :show-reset-button="true">
26
- <!-- condition="f_operate_date >= to_date('{}','yyyy-mm-dd hh24:mi:ss')">-->
27
- </datepicker>
28
- </div>
29
- <div class="col-sm-2 form-group">
30
- <label for="endDate" class="font_normal_body">结束日期</label>
31
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
32
- v-model="model.endDate"
33
- :value.sync="model.endDate"
34
- :format="'yyyy-MM-dd HH:mm:ss'"
35
- :show-reset-button="true">
36
- <!-- condition="f_operate_date <= to_date('{}','yyyy-mm-dd hh24:mi:ss')">-->
37
- </datepicker>
38
- </div>
39
- <div class="span" style="float:right;">
40
- <read-idcard></read-idcard>
41
- <button class="button_search button_spacing" @click="search()">查询</button>
42
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
-
44
- <export-excel :data="$parent.$parent.getCondition"
45
- :field="$parent.$parent.getfield"
46
- sqlurl="rs/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'
47
- v-if ="$parent.$parent.jurisdiction.includes('excel导出')"
48
- :choose-col="true"></export-excel>
49
-
50
- <print-data :model="$parent.model" :field="$parent.$parent.getfield"
51
- :defaultfield="$parent.$parent.defaultfield" print-name="收费查询"
52
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
53
- <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>
54
-
55
- </div>
56
- </div>
57
- <div class="row">
58
- <res-select-group style="col-sm-2 form-group" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
59
- <div class="col-sm-2 form-group">
60
- <label class="font_normal_body">客户电话</label>
61
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
62
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
63
- </div>
64
- <div class="col-sm-2 form-group">
65
- <label class="font_normal_body" style="text-align: center">用户<br/>所属公司</label>
66
- <res-select restype='organization'
67
- :search="false"
68
- :is-mul="true"
69
- @res-select="$parent.$parent.getRess">
70
- </res-select>
71
- </div>
72
- </div>
73
- <div class="row" v-show="$parent.$parent.criteriaShow">
74
- <div class="col-sm-2 form-group">
75
- <label class="font_normal_body">身份证号</label>
76
- <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
77
- condition="f_idnumber like '%{}%'" placeholder="身份证号">
78
- </div>
79
- <div class="col-sm-2 form-group">
80
- <label class="font_normal_body">客户地址</label>
81
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
82
- condition="f_address like '%{}%'" placeholder='客户地址'>
83
- </div>
84
- <div class="col-sm-2 form-group">
85
- <label class="font_normal_body">累购气量</label>
86
- <input type="text" style="width:60%" class="input_search" v-model="model.f_total_gas"
87
- condition="f_total_gas like '%{}%'" placeholder='累购气量'>
88
- </div>
89
- <div class="col-sm-2 form-group">
90
- <label for="f_area_id" class="font_normal_body">小区编码</label>
91
- <input id="f_area_id" type="text" style="width:60%" class="input_search" v-model="model.f_area_id"
92
- condition="f_area_id = '{}'" placeholder='小区编码'>
93
- </div>
94
- <div class="col-sm-2 form-group">
95
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
96
- <v-select :value.sync="model.f_residential_area"
97
- class="select_list select"
98
- enter-push
99
- multiple = "true"
100
- v-model="model.f_residential_area"
101
- style="width: 60%"
102
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
103
- close-on-select>
104
- </v-select>
105
- </div>
106
- <div class="col-sm-2 form-group">
107
- <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
108
- <v-select :value.sync="model.f_payment" multiple
109
- v-model="model.f_payment"
110
- :options='$parent.$parent.payment' placeholder='请选择'
111
- condition="f_payment in {}"
112
- close-on-select></v-select>
113
- </div>
114
- <div class="col-sm-2 form-group">
115
- <label class="font_normal_body">收费类型</label>
116
- <!-- <v-select :value.sync="model.f_type"
117
- v-model="model.f_type"
118
- :options='$parent.$parent.chargetype' placeholder='请选择'
119
- condition="f_type = '{}'"
120
- close-on-select></v-select>-->
121
- <v-select :value.sync="model.f_type" multiple
122
- :options='$parent.$parent.chargetype' placeholder='请选择'
123
- close-on-select clear-button
124
- condition="f_type in {}"
125
- v-model="model.f_type"></v-select>
126
- </div>
127
- <div class="col-sm-2 form-group">
128
- <label class="font_normal_body">用户分类</label>
129
- <v-select :value.sync="model.f_user_type"
130
- @change="$parent.$parent.userTypeChange"
131
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
132
- condition="f_user_type = '{}'"
133
- close-on-select></v-select>
134
- </div>
135
- <div class="col-sm-2 form-group">
136
- <label class="font_normal_body">用户类型</label>
137
- <v-select :value.sync="model.f_user_mold"
138
- @change="$parent.$parent.userMoldChange"
139
- :options='$parent.$parent.usermold' placeholder='请选择' v-model="model.f_user_mold"
140
- condition="f_user_mold = '{}'"
141
- close-on-select></v-select>
142
- </div>
143
- <div class="col-sm-2 form-group">
144
- <label class="font_normal_body">用气性质</label>
145
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
146
- :options='$parent.$parent.gasproperties' placeholder='请选择'
147
- condition="f_gasproperties = '{}'"
148
- close-on-select></v-select>
149
- </div>
150
- <div class="col-sm-2 form-group">
151
- <label class="font_normal_body">气价类型</label>
152
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
153
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
154
- close-on-select v-ref:type>
155
- </v-select>
156
- </div>
157
- <div class="col-sm-2 form-group">
158
- <label class="font_normal_body">气价名称</label>
159
- <v-select :value.sync="model.f_price_name"
160
- v-model="model.f_price_name"
161
- :options="$parent.$parent.getPricenames"
162
- condition="f_price_name = '{}'"
163
- close-on-select></v-select>
164
- </div>
165
- <div class="col-sm-2 form-group">
166
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>
167
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"
168
- condition="f_user_id = '{}'" placeholder='表编号'>
169
- </div>
170
- <div class="col-sm-2 form-group">
171
- <label class="font_normal_body">气表类型</label>
172
- <v-select :value.sync="model.f_meter_type" multiple
173
- :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
174
- condition="f_meter_type in {}"
175
- close-on-select></v-select>
176
- </div>
177
- <div class="col-sm-2 form-group">
178
- <label class="font_normal_body">气表品牌</label>
179
- <v-select :value.sync="model.f_meter_brand" multiple
180
- v-model="model.f_meter_brand"
181
- :options='$parent.$parent.meterbrands' placeholder='请选择'
182
- condition="f_meter_brand in {}"
183
- close-on-select></v-select>
184
- </div>
185
-
186
- <div class="col-sm-2 form-group">
187
- <label class="font_normal_body">收费状态</label>
188
- <v-select :value.sync="model.f_state" multiple
189
- v-model="model.f_state"
190
- :options='$parent.$parent.charge_state' placeholder='请选择'
191
- condition="f_state in {}"
192
- close-on-select></v-select>
193
- </div>
194
- <div class="col-sm-2 form-group">
195
- <label class="font_normal_body">银行名称</label>
196
- <v-select :value.sync="model.f_bank_name"
197
- v-model="model.f_bank_name"
198
- :options='$parent.$parent.bank' placeholder='请选择'
199
- condition="f_bank_name = '{}'"
200
- close-on-select></v-select>
201
- </div>
202
- <div class="col-sm-2 form-group">
203
- <label class="font_normal_body">是否优惠</label>
204
- <v-select :value.sync="model.f_privilege_money"
205
- v-model="model.f_privilege_money"
206
- :options='$parent.$parent.privilege_money' placeholder='请选择'
207
- condition="f_privilege_money {}"
208
- close-on-select></v-select>
209
- </div>
210
- <div class="col-sm-2 form-group">
211
- <label class="font_normal_body">下账状态</label>
212
- <v-select :value.sync="$parent.$parent.accounts"
213
- :options='$parent.$parent.accountsState'
214
- :value-single = 'true'
215
- placeholder='请选择' v-model="$parent.$parent.accounts"
216
- close-on-select>
217
- </v-select>
218
- </div>
219
- <div class="col-sm-2 form-group">
220
- <label class="font_normal_body">建档<br/>开始日期</label>
221
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
222
- v-model="model.create_startDate"
223
- :value.sync="model.create_startDate"
224
- :format="'yyyy-MM-dd'"
225
- :show-reset-button="true"
226
- condition="f_createfile_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')">
227
- </datepicker>
228
- </div>
229
- <div class="col-sm-2 form-group">
230
- <label class="font_normal_body">建档<br/>结束日期</label>
231
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
232
- v-model="model.create_endDate"
233
- :value.sync="model.create_endDate"
234
- :format="'yyyy-MM-dd'"
235
- :show-reset-button="true"
236
- condition="f_createfile_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')">
237
- </datepicker>
238
- </div>
239
-
240
- <div class="col-sm-2 form-group">
241
- <label class="font_normal_body">通气<br/>开始日期</label>
242
- <datepicker placeholder="通气开始时间" style="width:60%"
243
- v-model="model.f_gas_date"
244
- :value.sync="model.f_gas_date"
245
- :format="'yyyy-MM-dd'"
246
- :show-reset-button="true"
247
- condition="F_GAS_DATE >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')">
248
- </datepicker>
249
- </div>
250
- <div class="col-sm-2 form-group">
251
- <label class="font_normal_body">通气<br/>结束日期</label>
252
- <datepicker placeholder="通气结束时间" style="width:60%"
253
- v-model="model.f_gas_dateend"
254
- :value.sync="model.f_gas_dateend"
255
- :format="'yyyy-MM-dd'"
256
- :show-reset-button="true"
257
- condition="F_GAS_DATE <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')">
258
- </datepicker>
259
- </div>
260
- <div class="col-sm-2 form-group" v-if="$parent.$parent.jurisdiction.includes('0气量物联网')">
261
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;0气量<br/>&nbsp;&nbsp;&nbsp;物联网</label>
262
- <v-select :value.sync="$parent.$parent.debaohan"
263
- v-model="$parent.$parent.debaohan"
264
- :options='$parent.$parent.baohan' placeholder='请选择'
265
- condition=" {} "
266
- :search="false"
267
- close-on-select></v-select>
268
- </div>
269
- <div class="col-sm-2 form-group">
270
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;流水号</label>
271
- <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
272
- condition=" f_serial_id like '%{}%'" placeholder='表编号'>
273
- </div>
274
-
275
- <div class="col-sm-2 form-group">
276
- <label class="font_normal_body">是否<br/>手持设备</label>
277
- <v-select :value.sync="$parent.$parent.f_outlets"
278
- :options="$parent.$parent.isPos"
279
- :search="false"
280
- placeholder='请选择'
281
- condition="{}"
282
- close-on-select></v-select>
283
- </div>
284
- </div>
285
- </div>
286
- </criteria>
287
-
288
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
289
- <template partial='head'>
290
- <tr>
291
- <th>
292
- <nobr>收费日期</nobr>
293
- </th>
294
- <th>
295
- <nobr>客户编号</nobr>
296
- </th>
297
- <th>
298
- <nobr>客户名称</nobr>
299
- </th>
300
- <th>
301
- <nobr>客户地址</nobr>
302
- </th>
303
- <th>
304
- <nobr>用户分类</nobr>
305
- </th>
306
- <th>
307
- <nobr>用户类型</nobr>
308
- </th>
309
- <th>
310
- <nobr>用气性质</nobr>
311
- </th>
312
- <th>
313
- <nobr>表号</nobr>
314
- </th>
315
- <th>
316
- <nobr>购气次数</nobr>
317
- </th>
318
- <th>
319
- <nobr>累购气量</nobr>
320
- </th>
321
- <th>
322
- <nobr>气量</nobr>
323
- </th>
324
- <th>
325
- <nobr>金额</nobr>
326
- </th>
327
- <th>
328
- <nobr>滞纳金</nobr>
329
- </th>
330
- <th>
331
- <nobr>清缴金额</nobr>
332
- </th>
333
- <th>
334
- <nobr>预存金额</nobr>
335
- </th>
336
- <th>
337
- <nobr>上期结余</nobr>
338
- </th>
339
- <th>
340
- <nobr>收款</nobr>
341
- </th>
342
- <th>
343
- <nobr>优惠金额</nobr>
344
- </th>
345
- <th>
346
- <nobr>本期结余</nobr>
347
- </th>
348
- <th>
349
- <nobr>付款方式</nobr>
350
- </th>
351
- <th>
352
- <nobr>流水号</nobr>
353
- </th>
354
- <th>
355
- <nobr>是否退款</nobr>
356
- </th>
357
- <th>
358
- <nobr>银行名称</nobr>
359
- </th>
360
- <th>
361
- <nobr>收费类型</nobr>
362
- </th>
363
- <th>
364
- <nobr>状态</nobr>
365
- </th>
366
- <th>
367
- <nobr>收费编号</nobr>
368
- </th>
369
- <th>
370
- <nobr>备注</nobr>
371
- </th>
372
- <th>
373
- <nobr>操作描述</nobr>
374
- </th>
375
- <th>
376
- <nobr>补打次数</nobr>
377
- </th>
378
- <th>
379
- <nobr>人员</nobr>
380
- </th>
381
- <th>
382
- <nobr>部门</nobr>
383
- </th>
384
- <th>
385
- <nobr>网点</nobr>
386
- </th>
387
- <th>
388
- <nobr>公司</nobr>
389
- </th>
390
- <th>
391
- <nobr>气价名称</nobr>
392
- </th>
393
- <th>
394
- <nobr>一阶气量</nobr>
395
- </th>
396
- <th>
397
- <nobr>一阶单价</nobr>
398
- </th>
399
- <th>
400
- <nobr>一阶气费</nobr>
401
- </th>
402
- <th>
403
- <nobr>二阶气量</nobr>
404
- </th>
405
- <th>
406
- <nobr>二阶单价</nobr>
407
- </th>
408
- <th>
409
- <nobr>二阶气费</nobr>
410
- </th>
411
- <th>
412
- <nobr>三阶气量</nobr>
413
- </th>
414
- <th>
415
- <nobr>三阶单价</nobr>
416
- </th>
417
- <th>
418
- <nobr>三阶气费</nobr>
419
- </th>
420
- </tr>
421
- </template>
422
- <template partial='body'>
423
- <td style="text-align: center;">
424
- <nobr>{{row.f_operate_date}}</nobr>
425
- </td>
426
- <td style="text-align: center;"><nobr>
427
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
428
- </nobr> </td>
429
- <td style="text-align: center;">
430
- <nobr>{{row.f_user_name}}</nobr>
431
- </td>
432
- <td style="text-align: center;">
433
- <nobr>{{row.f_address}}</nobr>
434
- </td>
435
- <td style="text-align: center;">
436
- <nobr>{{row.f_user_type}}</nobr>
437
- </td>
438
- <td style="text-align: center;">
439
- <nobr>{{row.f_user_mold}}</nobr>
440
- </td>
441
- <td style="text-align: center;">
442
- <nobr>{{row.f_gasproperties}}</nobr>
443
- </td>
444
- <td style="text-align: center;">
445
- <nobr>{{row.f_meternumber}}</nobr>
446
- </td>
447
- <td style="text-align: center;">
448
- <nobr>{{row.f_times}}</nobr>
449
- </td>
450
- <td style="text-align: center;">
451
- <nobr>{{row.f_total_gas}}</nobr>
452
- </td>
453
- <td style="text-align: center;">
454
- <nobr>{{row.f_pregas}}</nobr>
455
- </td>
456
- <td style="text-align: center;">
457
- <nobr>{{row.f_preamount}}</nobr>
458
- </td>
459
- <td style="text-align: center;">
460
- <nobr>{{row.f_delaypay}}</nobr>
461
- </td>
462
- <td style="text-align: center;">
463
- <nobr>{{row.f_charge_money}}</nobr>
464
- </td>
465
- <td style="text-align: center;">
466
- <nobr>{{row.f_yucun}}</nobr>
467
- </td>
468
- <td style="text-align: center;">
469
- <nobr>{{row.f_balance}}</nobr>
470
- </td>
471
- <td style="text-align: center;">
472
- <nobr>{{row.f_collection}}</nobr>
473
- </td>
474
- <td style="text-align: center;">
475
- <nobr>{{row.f_privilege_money}}</nobr>
476
- </td>
477
-
478
-
479
- <td style="text-align: center;">
480
- <nobr>{{row.f_curbalance}}</nobr>
481
- </td>
482
- <td style="text-align: center;">
483
- <nobr>{{row.f_payment}}</nobr>
484
- </td>
485
- <td style="text-align: center;">
486
- <nobr>{{row.f_serial_id}}</nobr>
487
- </td>
488
- <td style="text-align: center;">
489
- <nobr>{{row.wxstate}}</nobr>
490
- </td>
491
- <td style="text-align: center;">
492
- <nobr>{{row.f_bank_name}}</nobr>
493
- </td>
494
- <td style="text-align: center;">
495
- <nobr>{{row.f_type}}</nobr>
496
- </td>
497
- <td style="text-align: center;">
498
- <nobr>{{row.f_state}}</nobr>
499
- </td>
500
- <td style="text-align: center;">
501
- <nobr>{{row.id}}</nobr>
502
- </td>
503
- <td style="text-align: center;">
504
- <nobr>{{row.f_comments}}</nobr>
505
- </td>
506
- <td style="text-align: center;">
507
- <nobr>{{row.f_describe}}</nobr>
508
- </td>
509
- <td style="text-align: center;">
510
- <nobr>{{row.filltimes}}</nobr>
511
- </td>
512
- <td style="text-align: center;">
513
- <nobr>{{row.f_operator}}</nobr>
514
- </td>
515
- <td style="text-align: center;">
516
- <nobr>{{row.f_depname}}</nobr>
517
- </td>
518
- <td style="text-align: center;">
519
- <nobr>{{row.f_outlets}}</nobr>
520
- </td>
521
- <td style="text-align: center;">
522
- <nobr>{{row.f_orgname}}</nobr>
523
- </td>
524
- <td style="text-align: center;">
525
- <nobr>{{$parent.$parent.$parent.checkPriceName(row)}}</nobr>
526
- </td>
527
- <td style="text-align: center;">
528
- <nobr>{{row.f_stairamount1}}</nobr>
529
- </td>
530
- <td style="text-align: center;">
531
- <nobr>{{row.f_stair1price}}</nobr>
532
- </td>
533
- <td style="text-align: center;">
534
- <nobr>{{row.f_stair1fee}}</nobr>
535
- </td>
536
- <td style="text-align: center;">
537
- <nobr>{{row.f_stair2amount}}</nobr>
538
- </td>
539
- <td style="text-align: center;">
540
- <nobr>{{row.f_stair2price}}</nobr>
541
- </td>
542
- <td style="text-align: center;">
543
- <nobr>{{row.f_stair2fee}}</nobr>
544
- </td>
545
- <td style="text-align: center;">
546
- <nobr>{{row.f_stair3amount}}</nobr>
547
- </td>
548
- <td style="text-align: center;">
549
- <nobr>{{row.f_stair3price}}</nobr>
550
- </td>
551
- <td style="text-align: center;">
552
- <nobr>{{row.f_stair3fee}}</nobr>
553
- </td>
554
- </template>
555
- <template partial='foot'></template>
556
- </data-grid>
557
- </criteria-paged>
558
- </div>
559
- <table class="table-hover" style="height: auto">
560
- <tr style="position: relative" class="table-bordered">
561
- <td
562
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
563
- 汇总信息
564
- </td>
565
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
566
- 气量合计:&emsp;{{sumsmodel.f_pregas}}
567
- </td>
568
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
569
- 应交金额合计:&emsp;{{sumsmodel.f_preamount}}
570
- </td>
571
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
572
- 机表清缴合计:&emsp;{{sumsmodel.f_charge_money}}
573
- </td>
574
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
575
- 超用气量合计:&emsp;{{sumsmodel.overgas}}
576
- </td>
577
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
578
- 超用气量金额合计:&emsp;{{sumsmodel.overgasprice}}
579
- </td>
580
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
581
- 非民用气量合计:&emsp;{{sumsmodel.overount}}
582
- </td>
583
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
584
- 非民用气量金额合计:&emsp;{{sumsmodel.overountprice}}
585
- </td>
586
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
587
- 滞纳金合计:&emsp;{{sumsmodel.f_delaypay}}
588
- </td>
589
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
590
- 预存金额合计:&emsp;{{sumsmodel.f_yucun}}
591
- </td>
592
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
593
- 收款合计:&emsp;{{sumsmodel.f_collection}}
594
- </td>
595
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
596
- 优惠合计:&emsp;{{sumsmodel.f_privilege_money}}
597
- </td>
598
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
599
- 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1}}
600
- </td>
601
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
602
- 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
603
- </td>
604
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
605
- 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
606
- </td>
607
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
608
- 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
609
- </td>
610
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
611
- 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
612
- </td>
613
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
614
- 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
615
- </td>
616
- </tr>
617
- </table>
618
- <div v-if="show">
619
- <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
620
- </div>
621
- <div v-if="showAttachment">
622
- <attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_sellinggas" @close="closeAttachment"></attachment-viewer>
623
- </div>
624
- </div>
625
- </div>
626
- </template>
627
-
628
- <script>
629
- import {HttpResetClass, PagedList} from 'vue-client'
630
- import exportConfig from '../config/exportConfig'
631
- import * as Util from '../../../Util'
632
- import AttachmentViewer from './AttachmentViewer.vue'
633
-
634
- let readySomething = async function (self) {
635
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
636
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
637
- // self.$refs.paged.$refs.cri.search()
638
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
639
- await self.$MagLoadParams.loadParam()
640
- self.initParams()
641
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
642
- }
643
- export default {
644
- components: {
645
- AttachmentViewer
646
- },
647
- data() {
648
- return {
649
-
650
- config: {
651
- defaultPrint: ['f_userinfo_code', 'f_address', 'f_pregas', 'f_preamount']
652
- },
653
- //f_price_name:[],
654
- gasproperties:[],
655
- usermold:[],
656
- showinfo: false,
657
- jurisdiction:this.$login.r,
658
- data: {},
659
- show:false,
660
- showAttachment: false,
661
- currentRow: null,
662
- rowdata:{},
663
- initres: {
664
- org:[this.$login.f.orgid],
665
- dep:[],
666
- user:[]
667
- },
668
- initress: {
669
- org:[this.$login.f.orgid],
670
- },
671
- showComponent:['company'],
672
- filialeid:'',
673
- accounts:'非自动下账',
674
- accountsState:[{label:'全部',value:''},{label:'非自动下账',value:'非自动下账'},{label: '自动下账',value:'自动下账'}],
675
- model: new PagedList('rs/sql/chargeQuery', 20, {
676
- startDate: 'this.model.startDate',
677
- endDate: 'this.model.endDate'
678
- }, {
679
- f_pregas: 0,
680
- f_preamount: 0,
681
- overgas:0,
682
- overgasprice:0,
683
- overount:0,
684
- overountprice:0,
685
- f_charge_money:0,
686
- f_delaypay: 0,
687
- f_yucun :0,
688
- f_privilege_money: 0,
689
- f_collection: 0,
690
- f_stairamount1:0,
691
- f_stair1price:0,
692
- f_stair1fee:0,
693
- f_stair2amount:0,
694
- f_stair2price:0,
695
- f_stair2fee:0,
696
- f_stair3amount:0,
697
- f_stair3price:0,
698
- f_stair3fee:0,
699
- }),
700
- criteriaShow: false,
701
- orgCondtionStr: '',
702
- // 下拉框
703
- meterbrands: [],
704
- pricenames: [],
705
- prices: [],
706
- area: [],
707
- //合计数据
708
- defaultfield: [],
709
- condition:'',
710
- //小区
711
- residentialArea: [],
712
- sumsmodel: {},
713
- f_filialeid: this.$login.f.f_orgid,
714
- wxstate:[
715
- {label: '全部', value: ''},
716
- {label: '已退款', value: `= '3'`},
717
- {label: '未退款', value: `!= '3'`}
718
- ],
719
- privilege_money:[
720
- {label: '全部', value: ''},
721
- {label: '已优惠', value: '> 0'},
722
- {label: '未优惠', value: '= 0'}
723
- ],baohan:[
724
- {label: '全部', value: ''},
725
- {label: '是', value: '是'},
726
- {label: '否', value: '否'},
727
- ],
728
- f_outlets: '',
729
- isPos: [
730
- {label: '全部', value: ''},
731
- {label: '', value: '是'},
732
- {label: '否', value: '否'},
733
- ]
734
- }
735
- },
736
- ready() {
737
- console.log("this.$login.r===>",this.$login.r)
738
- this.getaddress()
739
-
740
-
741
- readySomething(this).then(() => {
742
- this.$emit('ready')
743
- }).catch((error) => {
744
- this.$emit('error', error)
745
- })
746
- },
747
- methods: {
748
-
749
- async getaddress(){
750
- console.log('开始获取小区')
751
- let HttpReset = new HttpResetClass()
752
- var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
753
- data: {
754
- condition: '1=1'
755
- }
756
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
757
- console.log('小区',data)
758
- let house = []
759
- for (let row of data.data){
760
- console.log('开始保存小区')
761
- house.push({label: row.f_residential_area, value: row.f_residential_area})
762
- }
763
- this.residentialArea = house
764
- },
765
- checkPriceName(row){
766
- return row.f_price_name.indexOf('.')<0 && row.f_price_type==='固定气价'?row.f_price_name+(row.f_stairprice?row.f_stairprice:''):row.f_price_name
767
- },
768
- //把数据库查询数据转换为下拉数据
769
- calculate(rows){
770
- let data = []
771
- rows.forEach((row, n) => {
772
- data[n] = {label: row.f_residential_area, value: row.id}
773
- })
774
- return data
775
- },
776
-
777
- search(){
778
- this.$refs.paged.$refs.cri.search()
779
- },
780
- cancel() {
781
- this.show = false
782
- },
783
- showmsg(obj){
784
- this.rowdata=obj
785
- this.show=true
786
- },
787
- userTypeChange () {
788
- this.usermold=[]
789
- this.f_gasproperties=[]
790
- if(this.$refs.paged.$refs.cri.model !== null) {
791
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
792
- this.$refs.paged.$refs.cri.model.f_user_mold=''
793
- this.usermold = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
794
- }
795
- else{
796
- this.usermold =[{label: '全部', value: ''}]
797
- }
798
- },
799
- userMoldChange () {
800
- this.gasproperties=[]
801
- if(this.$refs.paged.$refs.cri.model !==null) {
802
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
803
- if (this.$refs.paged.$refs.cri.model.f_user_mold[0] ==='居民'){
804
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0] + this.$refs.paged.$refs.cri.model.f_user_mold[0])
805
- return
806
- }
807
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_mold[0])
808
- }
809
- else{
810
- this.gasproperties =[{label: '全部', value: ''}]
811
- }
812
- },
813
- initParams() {
814
- // 初始化气表品牌
815
- let brandArr = []
816
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
817
- let temp = {}
818
- temp.label = item.label
819
- temp.value = item.value.f_meter_brand
820
- brandArr.push(temp)
821
- })
822
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
823
- //初始化气表价格
824
- this.prices = this.$MagGetSaleParam.getPrices();
825
- },
826
- selfSearch(args) {
827
- //小区查询条件
828
- this.area = this.$refs.paged.$refs.cri.model.f_residential_area
829
- console.log("=====小区model绑定====",this.area)
830
- if(this.area.length !== 0){
831
- let str = JSON.stringify(this.area)
832
- str = str.replace(/"/g,`'`)
833
- str = str.replace(/\[/g,``)
834
- str = str.replace(/\]/g,``)
835
- console.log("=====小区model22222222222绑定====",str)
836
- //查询多个小区时条件
837
- args.condition += ` and f_residential_area in ( ${str} )`
838
- }
839
- if(this.filialeid.length!==0){
840
- args.condition += ` and f_filialeid in ${this.filialeid}`
841
- }
842
-
843
- let f_orgstr = this.orgCondtionStr
844
- args.condition = `${args.condition} ` + f_orgstr
845
- if(this.accounts === '自动下账'){
846
- args.condition+= " and f_type = '自动下账'"
847
- }else if (this.accounts === '非自动下账'){
848
- args.condition+= " and f_type != '自动下账'"
849
- }
850
- if(this.jurisdiction.includes('0气量物联网')){
851
- if (this.debaohan[0] === '否'){
852
- args.condition+=' and (F_PREGAS is not null and F_PREGAS != 0)'
853
- }else if (this.debaohan[0] === '是'){
854
- args.condition+=' and (F_PREGAS is null or F_PREGAS = 0)'
855
- }
856
- }
857
- if(this.f_outlets[0] === '是'){
858
- args.condition+= ` and f_outlets = '手持设备'`
859
- } else if (this.f_outlets[0] === '否'){
860
- args.condition+= ` and f_outlets is null`
861
- }
862
- this.condition = args.condition
863
- this.model.search(args.condition, args.model)
864
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
865
- },
866
- clear() {
867
- //清空部门和人员
868
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
869
- //部门和人员变为全选
870
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
871
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
872
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
873
- this.$refs.paged.$refs.cri.model[key] = []
874
- })
875
-
876
- },
877
- dealmsg(val) {
878
- val.model = this.model.model
879
- this.$dispatch('deal-msg', val)
880
- },
881
- show() {
882
- this.criteriaShow = true
883
- },
884
- hidden() {
885
- this.criteriaShow = !this.criteriaShow
886
- },
887
- getRes(condition,obj) {
888
- this.orgCondtionStr = condition
889
- this.orgname = obj.orgnames[0]
890
- this.depname = obj.depnames[0]
891
- },
892
- getRess(obj,text) {
893
- this.filialeid = Util.convertToIn(obj);
894
- },
895
-
896
- async updateParams() {
897
- await this.$MagLoadParams.loadParam(this.f_filialeid)
898
- this.initParams()
899
- },
900
- view(row) {
901
- this.currentRow = row;
902
- this.showAttachment = true;
903
- },
904
- closeAttachment() {
905
- this.showAttachment = false;
906
- },
907
- },
908
- events:{
909
- 'getidcard'(IdCard){
910
- console.log("IdCard-===")
911
- console.log(IdCard)
912
- // console.log(param)
913
- this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
914
- }
915
- },
916
- watch: {
917
- 'model'(val) {
918
- },
919
- 'orgCondtionStr'(val) {
920
- let res = val.match(/'(.*?)'/)
921
- console.log('正则提取:',res && res[1])
922
- if (res) {
923
- this.f_filialeid = res[1]
924
- this.updateParams()
925
- }
926
- }
927
- },
928
- computed: {
929
- getPricenames() {
930
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
931
- let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
932
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
933
- console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
934
- console.log("打印二下:",this.$refs.paged.$refs.cri.model)
935
- if(this.$refs.paged.$refs.cri.model !==null) {
936
- let rs = []
937
- let priceArr = []
938
- if ( pricetype.length >0) {
939
- let params = {
940
- f_price_type: pricetype[0],
941
- filter: this.f_filialeid,
942
- prices: this.prices
943
- }
944
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
945
- let temp = {}
946
- temp.label = item.label
947
- temp.value = item.value.f_price_name
948
- priceArr.push(temp)
949
- })
950
- rs = [{label: '全部', value: ''}, ...priceArr]
951
- }
952
- if (rs.length === 0) {
953
- console.log('rs读出来是空')
954
- this.$refs.paged.$refs.cri.model.f_price_name = ''
955
- }
956
- return rs
957
- }
958
- },
959
- getCondition() {
960
- return {condition: `${this.condition}`, startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
961
- endDate: `${this.$refs.paged.$refs.cri.model.endDate}`}
962
- },
963
- getfield() {
964
- return exportConfig.chargeConfig
965
- },
966
- pricetypes() {
967
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
968
- },
969
-
970
- usertypes() {
971
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
972
- },
973
- metertypes() {
974
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
975
- },
976
-
977
- tablestate() {
978
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表状态')]
979
- },
980
- chargetype() {
981
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
982
- },
983
- payment() {
984
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('付款方式查询')]
985
- },
986
- charge_state() {
987
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
988
- },
989
- bank(){
990
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行名称')]
991
- }
992
- }
993
- }
994
- </script>
995
-
996
- <style scoped>
997
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show" style="height: 95%">
5
+ <criteria-paged :model="model" v-ref:paged >
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <div class="col-sm-2 form-group">
10
+ <label class="font_normal_body">客户编号</label>
11
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
12
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
13
+ </div>
14
+ <div class="col-sm-2 form-group">
15
+ <label class="font_normal_body">客户名称</label>
16
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
17
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label for="startDate" class="font_normal_body">开始日期</label>
21
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
22
+ v-model="model.startDate"
23
+ :value.sync="model.startDate"
24
+ :format="'yyyy-MM-dd HH:mm:ss'"
25
+ :show-reset-button="true">
26
+ <!-- condition="f_operate_date >= to_date('{}','yyyy-mm-dd hh24:mi:ss')">-->
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label for="endDate" class="font_normal_body">结束日期</label>
31
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
32
+ v-model="model.endDate"
33
+ :value.sync="model.endDate"
34
+ :format="'yyyy-MM-dd HH:mm:ss'"
35
+ :show-reset-button="true">
36
+ <!-- condition="f_operate_date <= to_date('{}','yyyy-mm-dd hh24:mi:ss')">-->
37
+ </datepicker>
38
+ </div>
39
+ <div class="span" style="float:right;">
40
+ <read-idcard></read-idcard>
41
+ <button class="button_search button_spacing" @click="search()">查询</button>
42
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
+
44
+ <export-excel :data="$parent.$parent.getCondition"
45
+ :field="$parent.$parent.getfield"
46
+ sqlurl="rs/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'
47
+ v-if ="$parent.$parent.jurisdiction.includes('excel导出')"
48
+ :choose-col="true"></export-excel>
49
+
50
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield"
51
+ :defaultfield="$parent.$parent.defaultfield" print-name="收费查询"
52
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
53
+ <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>
54
+
55
+ </div>
56
+ </div>
57
+ <div class="row">
58
+ <res-select-group style="col-sm-2 form-group" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
59
+ <div class="col-sm-2 form-group">
60
+ <label class="font_normal_body">客户电话</label>
61
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
62
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
63
+ </div>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body" style="text-align: center">用户<br/>所属公司</label>
66
+ <res-select restype='organization'
67
+ :search="false"
68
+ :is-mul="true"
69
+ @res-select="$parent.$parent.getRess">
70
+ </res-select>
71
+ </div>
72
+ </div>
73
+ <div class="row" v-show="$parent.$parent.criteriaShow">
74
+ <div class="col-sm-2 form-group">
75
+ <label class="font_normal_body">身份证号</label>
76
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
77
+ condition="f_idnumber like '%{}%'" placeholder="身份证号">
78
+ </div>
79
+ <div class="col-sm-2 form-group">
80
+ <label class="font_normal_body">客户地址</label>
81
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
82
+ condition="f_address like '%{}%'" placeholder='客户地址'>
83
+ </div>
84
+ <div class="col-sm-2 form-group">
85
+ <label class="font_normal_body">累购气量</label>
86
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_total_gas"
87
+ condition="f_total_gas like '%{}%'" placeholder='累购气量'>
88
+ </div>
89
+ <div class="col-sm-2 form-group">
90
+ <label for="f_area_id" class="font_normal_body">小区编码</label>
91
+ <input id="f_area_id" type="text" style="width:60%" class="input_search" v-model="model.f_area_id"
92
+ condition="f_area_id = '{}'" placeholder='小区编码'>
93
+ </div>
94
+ <div class="col-sm-2 form-group">
95
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
96
+ <v-select :value.sync="model.f_residential_area"
97
+ class="select_list select"
98
+ enter-push
99
+ multiple = "true"
100
+ v-model="model.f_residential_area"
101
+ style="width: 60%"
102
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
103
+ close-on-select>
104
+ </v-select>
105
+ </div>
106
+ <div class="col-sm-2 form-group">
107
+ <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
108
+ <v-select :value.sync="model.f_payment" multiple
109
+ v-model="model.f_payment"
110
+ :options='$parent.$parent.payment' placeholder='请选择'
111
+ condition="f_payment in {}"
112
+ close-on-select></v-select>
113
+ </div>
114
+ <div class="col-sm-2 form-group">
115
+ <label class="font_normal_body">收费类型</label>
116
+ <!-- <v-select :value.sync="model.f_type"
117
+ v-model="model.f_type"
118
+ :options='$parent.$parent.chargetype' placeholder='请选择'
119
+ condition="f_type = '{}'"
120
+ close-on-select></v-select>-->
121
+ <v-select :value.sync="model.f_type" multiple
122
+ :options='$parent.$parent.chargetype' placeholder='请选择'
123
+ close-on-select clear-button
124
+ condition="f_type in {}"
125
+ v-model="model.f_type"></v-select>
126
+ </div>
127
+ <div class="col-sm-2 form-group">
128
+ <label class="font_normal_body">用户分类</label>
129
+ <v-select :value.sync="model.f_user_type"
130
+ @change="$parent.$parent.userTypeChange"
131
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
132
+ condition="f_user_type = '{}'"
133
+ close-on-select></v-select>
134
+ </div>
135
+ <div class="col-sm-2 form-group">
136
+ <label class="font_normal_body">用户类型</label>
137
+ <v-select :value.sync="model.f_user_mold"
138
+ @change="$parent.$parent.userMoldChange"
139
+ :options='$parent.$parent.usermold' placeholder='请选择' v-model="model.f_user_mold"
140
+ condition="f_user_mold = '{}'"
141
+ close-on-select></v-select>
142
+ </div>
143
+ <div class="col-sm-2 form-group">
144
+ <label class="font_normal_body">用气性质</label>
145
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
146
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
147
+ condition="f_gasproperties = '{}'"
148
+ close-on-select></v-select>
149
+ </div>
150
+ <div class="col-sm-2 form-group">
151
+ <label class="font_normal_body">气价类型</label>
152
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
153
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
154
+ close-on-select v-ref:type>
155
+ </v-select>
156
+ </div>
157
+ <div class="col-sm-2 form-group">
158
+ <label class="font_normal_body">气价名称</label>
159
+ <v-select :value.sync="model.f_price_name"
160
+ v-model="model.f_price_name"
161
+ :options="$parent.$parent.getPricenames"
162
+ condition="f_price_name = '{}'"
163
+ close-on-select></v-select>
164
+ </div>
165
+ <div class="col-sm-2 form-group">
166
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>
167
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"
168
+ condition="f_user_id = '{}'" placeholder='表编号'>
169
+ </div>
170
+ <div class="col-sm-2 form-group">
171
+ <label class="font_normal_body">气表类型</label>
172
+ <v-select :value.sync="model.f_meter_type" multiple
173
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
174
+ condition="f_meter_type in {}"
175
+ close-on-select></v-select>
176
+ </div>
177
+ <div class="col-sm-2 form-group">
178
+ <label class="font_normal_body">气表品牌</label>
179
+ <v-select :value.sync="model.f_meter_brand" multiple
180
+ v-model="model.f_meter_brand"
181
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
182
+ condition="f_meter_brand in {}"
183
+ close-on-select></v-select>
184
+ </div>
185
+
186
+ <div class="col-sm-2 form-group">
187
+ <label class="font_normal_body">收费状态</label>
188
+ <v-select :value.sync="model.f_state" multiple
189
+ v-model="model.f_state"
190
+ :options='$parent.$parent.charge_state' placeholder='请选择'
191
+ condition="f_state in {}"
192
+ close-on-select></v-select>
193
+ </div>
194
+ <div class="col-sm-2 form-group">
195
+ <label class="font_normal_body">银行名称</label>
196
+ <v-select :value.sync="model.f_bank_name"
197
+ v-model="model.f_bank_name"
198
+ :options='$parent.$parent.bank' placeholder='请选择'
199
+ condition="f_bank_name = '{}'"
200
+ close-on-select></v-select>
201
+ </div>
202
+ <div class="col-sm-2 form-group">
203
+ <label class="font_normal_body">是否优惠</label>
204
+ <v-select :value.sync="model.f_privilege_money"
205
+ v-model="model.f_privilege_money"
206
+ :options='$parent.$parent.privilege_money' placeholder='请选择'
207
+ condition="f_privilege_money {}"
208
+ close-on-select></v-select>
209
+ </div>
210
+ <div class="col-sm-2 form-group">
211
+ <label class="font_normal_body">下账状态</label>
212
+ <v-select :value.sync="$parent.$parent.accounts"
213
+ :options='$parent.$parent.accountsState'
214
+ :value-single = 'true'
215
+ placeholder='请选择' v-model="$parent.$parent.accounts"
216
+ close-on-select>
217
+ </v-select>
218
+ </div>
219
+ <div class="col-sm-2 form-group">
220
+ <label class="font_normal_body">建档<br/>开始日期</label>
221
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
222
+ v-model="model.create_startDate"
223
+ :value.sync="model.create_startDate"
224
+ :format="'yyyy-MM-dd'"
225
+ :show-reset-button="true"
226
+ condition="f_createfile_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')">
227
+ </datepicker>
228
+ </div>
229
+ <div class="col-sm-2 form-group">
230
+ <label class="font_normal_body">建档<br/>结束日期</label>
231
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
232
+ v-model="model.create_endDate"
233
+ :value.sync="model.create_endDate"
234
+ :format="'yyyy-MM-dd'"
235
+ :show-reset-button="true"
236
+ condition="f_createfile_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')">
237
+ </datepicker>
238
+ </div>
239
+
240
+ <div class="col-sm-2 form-group">
241
+ <label class="font_normal_body">通气<br/>开始日期</label>
242
+ <datepicker placeholder="通气开始时间" style="width:60%"
243
+ v-model="model.f_gas_date"
244
+ :value.sync="model.f_gas_date"
245
+ :format="'yyyy-MM-dd'"
246
+ :show-reset-button="true"
247
+ condition="F_GAS_DATE >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')">
248
+ </datepicker>
249
+ </div>
250
+ <div class="col-sm-2 form-group">
251
+ <label class="font_normal_body">通气<br/>结束日期</label>
252
+ <datepicker placeholder="通气结束时间" style="width:60%"
253
+ v-model="model.f_gas_dateend"
254
+ :value.sync="model.f_gas_dateend"
255
+ :format="'yyyy-MM-dd'"
256
+ :show-reset-button="true"
257
+ condition="F_GAS_DATE <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')">
258
+ </datepicker>
259
+ </div>
260
+ <div class="col-sm-2 form-group" v-if="$parent.$parent.jurisdiction.includes('0气量物联网')">
261
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;0气量<br/>&nbsp;&nbsp;&nbsp;物联网</label>
262
+ <v-select :value.sync="$parent.$parent.debaohan"
263
+ v-model="$parent.$parent.debaohan"
264
+ :options='$parent.$parent.baohan' placeholder='请选择'
265
+ condition=" {} "
266
+ :search="false"
267
+ close-on-select></v-select>
268
+ </div>
269
+ <div class="col-sm-2 form-group">
270
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;流水号</label>
271
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
272
+ condition=" f_serial_id like '%{}%'" placeholder='表编号'>
273
+ </div>
274
+
275
+ <div class="col-sm-2 form-group">
276
+ <label class="font_normal_body">是否<br/>手持设备</label>
277
+ <v-select :value.sync="$parent.$parent.f_outlets"
278
+ :options="$parent.$parent.isPos"
279
+ :search="false"
280
+ placeholder='请选择'
281
+ condition="{}"
282
+ close-on-select></v-select>
283
+ </div>
284
+ <div class="col-sm-2 form-group">
285
+ <label class="font_normal_body">房产地址</label>
286
+ <input class="input_search" condition="f_house_address = '{}'"
287
+ placeholder='房产地址'
288
+ style="width:60%" type="text" v-model="model.f_house_address">
289
+ </div>
290
+ <div class="col-sm-2 form-group">
291
+ <label class="font_normal_body">用途</label>
292
+ <input class="input_search" condition="f_property_usage = '{}'"
293
+ placeholder='用途'
294
+ style="width:60%" type="text" v-model="model.f_property_usage">
295
+ </div>
296
+ <div class="col-sm-2 form-group">
297
+ <label class="font_normal_body">房型</label>
298
+ <input class="input_search" condition="f_house_type = '{}'"
299
+ placeholder='房型'
300
+ style="width:60%" type="text" v-model="model.f_house_type">
301
+ </div>
302
+ <div class="col-sm-2 form-group">
303
+ <label class="font_normal_body">是否一户多表</label>
304
+ <input class="input_search" condition="f_is_multi_meter = '{}'"
305
+ placeholder='是否一户多表'
306
+ style="width:60%" type="text" v-model="model.f_is_multi_meter">
307
+ </div>
308
+ <div class="col-sm-2 form-group">
309
+ <label class="font_normal_body">关联ID</label>
310
+ <input class="input_search" condition="f_house_id = '{}'"
311
+ placeholder='关联ID'
312
+ style="width:60%" type="text" v-model="model.f_house_id">
313
+ </div>
314
+ </div>
315
+ </div>
316
+ </criteria>
317
+
318
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
319
+ <template partial='head'>
320
+ <tr>
321
+ <th>
322
+ <nobr>收费日期</nobr>
323
+ </th>
324
+ <th>
325
+ <nobr>客户编号</nobr>
326
+ </th>
327
+ <th>
328
+ <nobr>客户名称</nobr>
329
+ </th>
330
+ <th>
331
+ <nobr>客户地址</nobr>
332
+ </th>
333
+ <th>
334
+ <nobr>用户分类</nobr>
335
+ </th>
336
+ <th>
337
+ <nobr>用户类型</nobr>
338
+ </th>
339
+ <th>
340
+ <nobr>用气性质</nobr>
341
+ </th>
342
+ <th>
343
+ <nobr>表号</nobr>
344
+ </th>
345
+ <th>
346
+ <nobr>购气次数</nobr>
347
+ </th>
348
+ <th>
349
+ <nobr>累购气量</nobr>
350
+ </th>
351
+ <th>
352
+ <nobr>气量</nobr>
353
+ </th>
354
+ <th>
355
+ <nobr>金额</nobr>
356
+ </th>
357
+ <th>
358
+ <nobr>滞纳金</nobr>
359
+ </th>
360
+ <th>
361
+ <nobr>清缴金额</nobr>
362
+ </th>
363
+ <th>
364
+ <nobr>预存金额</nobr>
365
+ </th>
366
+ <th>
367
+ <nobr>上期结余</nobr>
368
+ </th>
369
+ <th>
370
+ <nobr>收款</nobr>
371
+ </th>
372
+ <th>
373
+ <nobr>优惠金额</nobr>
374
+ </th>
375
+ <th>
376
+ <nobr>本期结余</nobr>
377
+ </th>
378
+ <th>
379
+ <nobr>付款方式</nobr>
380
+ </th>
381
+ <th>
382
+ <nobr>流水号</nobr>
383
+ </th>
384
+ <th>
385
+ <nobr>是否退款</nobr>
386
+ </th>
387
+ <th>
388
+ <nobr>银行名称</nobr>
389
+ </th>
390
+ <th>
391
+ <nobr>收费类型</nobr>
392
+ </th>
393
+ <th>
394
+ <nobr>状态</nobr>
395
+ </th>
396
+ <th>
397
+ <nobr>收费编号</nobr>
398
+ </th>
399
+ <th>
400
+ <nobr>备注</nobr>
401
+ </th>
402
+ <th>
403
+ <nobr>操作描述</nobr>
404
+ </th>
405
+ <th>
406
+ <nobr>补打次数</nobr>
407
+ </th>
408
+ <th>
409
+ <nobr>人员</nobr>
410
+ </th>
411
+ <th>
412
+ <nobr>部门</nobr>
413
+ </th>
414
+ <th>
415
+ <nobr>网点</nobr>
416
+ </th>
417
+ <th>
418
+ <nobr>公司</nobr>
419
+ </th>
420
+ <th>
421
+ <nobr>气价名称</nobr>
422
+ </th>
423
+ <th>
424
+ <nobr>一阶气量</nobr>
425
+ </th>
426
+ <th>
427
+ <nobr>一阶单价</nobr>
428
+ </th>
429
+ <th>
430
+ <nobr>一阶气费</nobr>
431
+ </th>
432
+ <th>
433
+ <nobr>二阶气量</nobr>
434
+ </th>
435
+ <th>
436
+ <nobr>二阶单价</nobr>
437
+ </th>
438
+ <th>
439
+ <nobr>二阶气费</nobr>
440
+ </th>
441
+ <th>
442
+ <nobr>三阶气量</nobr>
443
+ </th>
444
+ <th>
445
+ <nobr>三阶单价</nobr>
446
+ </th>
447
+ <th>
448
+ <nobr>三阶气费</nobr>
449
+ </th>
450
+ </tr>
451
+ </template>
452
+ <template partial='body'>
453
+ <td style="text-align: center;">
454
+ <nobr>{{row.f_operate_date}}</nobr>
455
+ </td>
456
+ <td style="text-align: center;"><nobr>
457
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
458
+ </nobr> </td>
459
+ <td style="text-align: center;">
460
+ <nobr>{{row.f_user_name}}</nobr>
461
+ </td>
462
+ <td style="text-align: center;">
463
+ <nobr>{{row.f_address}}</nobr>
464
+ </td>
465
+ <td style="text-align: center;">
466
+ <nobr>{{row.f_user_type}}</nobr>
467
+ </td>
468
+ <td style="text-align: center;">
469
+ <nobr>{{row.f_user_mold}}</nobr>
470
+ </td>
471
+ <td style="text-align: center;">
472
+ <nobr>{{row.f_gasproperties}}</nobr>
473
+ </td>
474
+ <td style="text-align: center;">
475
+ <nobr>{{row.f_meternumber}}</nobr>
476
+ </td>
477
+ <td style="text-align: center;">
478
+ <nobr>{{row.f_times}}</nobr>
479
+ </td>
480
+ <td style="text-align: center;">
481
+ <nobr>{{row.f_total_gas}}</nobr>
482
+ </td>
483
+ <td style="text-align: center;">
484
+ <nobr>{{row.f_pregas}}</nobr>
485
+ </td>
486
+ <td style="text-align: center;">
487
+ <nobr>{{row.f_preamount}}</nobr>
488
+ </td>
489
+ <td style="text-align: center;">
490
+ <nobr>{{row.f_delaypay}}</nobr>
491
+ </td>
492
+ <td style="text-align: center;">
493
+ <nobr>{{row.f_charge_money}}</nobr>
494
+ </td>
495
+ <td style="text-align: center;">
496
+ <nobr>{{row.f_yucun}}</nobr>
497
+ </td>
498
+ <td style="text-align: center;">
499
+ <nobr>{{row.f_balance}}</nobr>
500
+ </td>
501
+ <td style="text-align: center;">
502
+ <nobr>{{row.f_collection}}</nobr>
503
+ </td>
504
+ <td style="text-align: center;">
505
+ <nobr>{{row.f_privilege_money}}</nobr>
506
+ </td>
507
+
508
+
509
+ <td style="text-align: center;">
510
+ <nobr>{{row.f_curbalance}}</nobr>
511
+ </td>
512
+ <td style="text-align: center;">
513
+ <nobr>{{row.f_payment}}</nobr>
514
+ </td>
515
+ <td style="text-align: center;">
516
+ <nobr>{{row.f_serial_id}}</nobr>
517
+ </td>
518
+ <td style="text-align: center;">
519
+ <nobr>{{row.wxstate}}</nobr>
520
+ </td>
521
+ <td style="text-align: center;">
522
+ <nobr>{{row.f_bank_name}}</nobr>
523
+ </td>
524
+ <td style="text-align: center;">
525
+ <nobr>{{row.f_type}}</nobr>
526
+ </td>
527
+ <td style="text-align: center;">
528
+ <nobr>{{row.f_state}}</nobr>
529
+ </td>
530
+ <td style="text-align: center;">
531
+ <nobr>{{row.id}}</nobr>
532
+ </td>
533
+ <td style="text-align: center;">
534
+ <nobr>{{row.f_comments}}</nobr>
535
+ </td>
536
+ <td style="text-align: center;">
537
+ <nobr>{{row.f_describe}}</nobr>
538
+ </td>
539
+ <td style="text-align: center;">
540
+ <nobr>{{row.filltimes}}</nobr>
541
+ </td>
542
+ <td style="text-align: center;">
543
+ <nobr>{{row.f_operator}}</nobr>
544
+ </td>
545
+ <td style="text-align: center;">
546
+ <nobr>{{row.f_depname}}</nobr>
547
+ </td>
548
+ <td style="text-align: center;">
549
+ <nobr>{{row.f_outlets}}</nobr>
550
+ </td>
551
+ <td style="text-align: center;">
552
+ <nobr>{{row.f_orgname}}</nobr>
553
+ </td>
554
+ <td style="text-align: center;">
555
+ <nobr>{{$parent.$parent.$parent.checkPriceName(row)}}</nobr>
556
+ </td>
557
+ <td style="text-align: center;">
558
+ <nobr>{{row.f_stairamount1}}</nobr>
559
+ </td>
560
+ <td style="text-align: center;">
561
+ <nobr>{{row.f_stair1price}}</nobr>
562
+ </td>
563
+ <td style="text-align: center;">
564
+ <nobr>{{row.f_stair1fee}}</nobr>
565
+ </td>
566
+ <td style="text-align: center;">
567
+ <nobr>{{row.f_stair2amount}}</nobr>
568
+ </td>
569
+ <td style="text-align: center;">
570
+ <nobr>{{row.f_stair2price}}</nobr>
571
+ </td>
572
+ <td style="text-align: center;">
573
+ <nobr>{{row.f_stair2fee}}</nobr>
574
+ </td>
575
+ <td style="text-align: center;">
576
+ <nobr>{{row.f_stair3amount}}</nobr>
577
+ </td>
578
+ <td style="text-align: center;">
579
+ <nobr>{{row.f_stair3price}}</nobr>
580
+ </td>
581
+ <td style="text-align: center;">
582
+ <nobr>{{row.f_stair3fee}}</nobr>
583
+ </td>
584
+ </template>
585
+ <template partial='foot'></template>
586
+ </data-grid>
587
+ </criteria-paged>
588
+ </div>
589
+ <table class="table-hover" style="height: auto">
590
+ <tr style="position: relative" class="table-bordered">
591
+ <td
592
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
593
+ 汇总信息
594
+ </td>
595
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
596
+ 气量合计:&emsp;{{sumsmodel.f_pregas}}
597
+ </td>
598
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
599
+ 应交金额合计:&emsp;{{sumsmodel.f_preamount}}
600
+ </td>
601
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
602
+ 机表清缴合计:&emsp;{{sumsmodel.f_charge_money}}
603
+ </td>
604
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
605
+ 超用气量合计:&emsp;{{sumsmodel.overgas}}
606
+ </td>
607
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
608
+ 超用气量金额合计:&emsp;{{sumsmodel.overgasprice}}
609
+ </td>
610
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
611
+ 非民用气量合计:&emsp;{{sumsmodel.overount}}
612
+ </td>
613
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
614
+ 非民用气量金额合计:&emsp;{{sumsmodel.overountprice}}
615
+ </td>
616
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
617
+ 滞纳金合计:&emsp;{{sumsmodel.f_delaypay}}
618
+ </td>
619
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
620
+ 预存金额合计:&emsp;{{sumsmodel.f_yucun}}
621
+ </td>
622
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
623
+ 收款合计:&emsp;{{sumsmodel.f_collection}}
624
+ </td>
625
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
626
+ 优惠合计:&emsp;{{sumsmodel.f_privilege_money}}
627
+ </td>
628
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
629
+ 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1}}
630
+ </td>
631
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
632
+ 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
633
+ </td>
634
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
635
+ 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
636
+ </td>
637
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
638
+ 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
639
+ </td>
640
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
641
+ 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
642
+ </td>
643
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
644
+ 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
645
+ </td>
646
+ </tr>
647
+ </table>
648
+ <div v-if="show">
649
+ <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
650
+ </div>
651
+ <div v-if="showAttachment">
652
+ <attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_sellinggas" @close="closeAttachment"></attachment-viewer>
653
+ </div>
654
+ </div>
655
+ </div>
656
+ </template>
657
+
658
+ <script>
659
+ import {HttpResetClass, PagedList} from 'vue-client'
660
+ import exportConfig from '../config/exportConfig'
661
+ import * as Util from '../../../Util'
662
+ import AttachmentViewer from './AttachmentViewer.vue'
663
+
664
+ let readySomething = async function (self) {
665
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
666
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
667
+ // self.$refs.paged.$refs.cri.search()
668
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
669
+ await self.$MagLoadParams.loadParam()
670
+ self.initParams()
671
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
672
+ }
673
+ export default {
674
+ components: {
675
+ AttachmentViewer
676
+ },
677
+ data() {
678
+ return {
679
+
680
+ config: {
681
+ defaultPrint: ['f_userinfo_code', 'f_address', 'f_pregas', 'f_preamount']
682
+ },
683
+ //f_price_name:[],
684
+ gasproperties:[],
685
+ usermold:[],
686
+ showinfo: false,
687
+ jurisdiction:this.$login.r,
688
+ data: {},
689
+ show:false,
690
+ showAttachment: false,
691
+ currentRow: null,
692
+ rowdata:{},
693
+ initres: {
694
+ org:[this.$login.f.orgid],
695
+ dep:[],
696
+ user:[]
697
+ },
698
+ initress: {
699
+ org:[this.$login.f.orgid],
700
+ },
701
+ showComponent:['company'],
702
+ filialeid:'',
703
+ accounts:'非自动下账',
704
+ accountsState:[{label:'全部',value:''},{label:'非自动下账',value:'非自动下账'},{label: '自动下账',value:'自动下账'}],
705
+ model: new PagedList('rs/sql/chargeQuery', 20, {
706
+ startDate: 'this.model.startDate',
707
+ endDate: 'this.model.endDate'
708
+ }, {
709
+ f_pregas: 0,
710
+ f_preamount: 0,
711
+ overgas:0,
712
+ overgasprice:0,
713
+ overount:0,
714
+ overountprice:0,
715
+ f_charge_money:0,
716
+ f_delaypay: 0,
717
+ f_yucun :0,
718
+ f_privilege_money: 0,
719
+ f_collection: 0,
720
+ f_stairamount1:0,
721
+ f_stair1price:0,
722
+ f_stair1fee:0,
723
+ f_stair2amount:0,
724
+ f_stair2price:0,
725
+ f_stair2fee:0,
726
+ f_stair3amount:0,
727
+ f_stair3price:0,
728
+ f_stair3fee:0,
729
+ }),
730
+ criteriaShow: false,
731
+ orgCondtionStr: '',
732
+ // 下拉框
733
+ meterbrands: [],
734
+ pricenames: [],
735
+ prices: [],
736
+ area: [],
737
+ //合计数据
738
+ defaultfield: [],
739
+ condition:'',
740
+ //小区
741
+ residentialArea: [],
742
+ sumsmodel: {},
743
+ f_filialeid: this.$login.f.f_orgid,
744
+ wxstate:[
745
+ {label: '全部', value: ''},
746
+ {label: '已退款', value: `= '3'`},
747
+ {label: '未退款', value: `!= '3'`}
748
+ ],
749
+ privilege_money:[
750
+ {label: '全部', value: ''},
751
+ {label: '已优惠', value: '> 0'},
752
+ {label: '未优惠', value: '= 0'}
753
+ ],baohan:[
754
+ {label: '全部', value: ''},
755
+ {label: '是', value: '是'},
756
+ {label: '否', value: ''},
757
+ ],
758
+ f_outlets: '',
759
+ isPos: [
760
+ {label: '全部', value: ''},
761
+ {label: '是', value: '是'},
762
+ {label: '否', value: '否'},
763
+ ]
764
+ }
765
+ },
766
+ ready() {
767
+ console.log("this.$login.r===>",this.$login.r)
768
+ this.getaddress()
769
+
770
+
771
+ readySomething(this).then(() => {
772
+ this.$emit('ready')
773
+ }).catch((error) => {
774
+ this.$emit('error', error)
775
+ })
776
+ },
777
+ methods: {
778
+
779
+ async getaddress(){
780
+ console.log('开始获取小区')
781
+ let HttpReset = new HttpResetClass()
782
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
783
+ data: {
784
+ condition: '1=1'
785
+ }
786
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
787
+ console.log('小区',data)
788
+ let house = []
789
+ for (let row of data.data){
790
+ console.log('开始保存小区')
791
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
792
+ }
793
+ this.residentialArea = house
794
+ },
795
+ checkPriceName(row){
796
+ return row.f_price_name.indexOf('.')<0 && row.f_price_type==='固定气价'?row.f_price_name+(row.f_stairprice?row.f_stairprice:''):row.f_price_name
797
+ },
798
+ //把数据库查询数据转换为下拉数据
799
+ calculate(rows){
800
+ let data = []
801
+ rows.forEach((row, n) => {
802
+ data[n] = {label: row.f_residential_area, value: row.id}
803
+ })
804
+ return data
805
+ },
806
+
807
+ search(){
808
+ this.$refs.paged.$refs.cri.search()
809
+ },
810
+ cancel() {
811
+ this.show = false
812
+ },
813
+ showmsg(obj){
814
+ this.rowdata=obj
815
+ this.show=true
816
+ },
817
+ userTypeChange () {
818
+ this.usermold=[]
819
+ this.f_gasproperties=[]
820
+ if(this.$refs.paged.$refs.cri.model !== null) {
821
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
822
+ this.$refs.paged.$refs.cri.model.f_user_mold=''
823
+ this.usermold = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
824
+ }
825
+ else{
826
+ this.usermold =[{label: '全部', value: ''}]
827
+ }
828
+ },
829
+ userMoldChange () {
830
+ this.gasproperties=[]
831
+ if(this.$refs.paged.$refs.cri.model !==null) {
832
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
833
+ if (this.$refs.paged.$refs.cri.model.f_user_mold[0] ==='居民'){
834
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0] + this.$refs.paged.$refs.cri.model.f_user_mold[0])
835
+ return
836
+ }
837
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_mold[0])
838
+ }
839
+ else{
840
+ this.gasproperties =[{label: '全部', value: ''}]
841
+ }
842
+ },
843
+ initParams() {
844
+ // 初始化气表品牌
845
+ let brandArr = []
846
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
847
+ let temp = {}
848
+ temp.label = item.label
849
+ temp.value = item.value.f_meter_brand
850
+ brandArr.push(temp)
851
+ })
852
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
853
+ //初始化气表价格
854
+ this.prices = this.$MagGetSaleParam.getPrices();
855
+ },
856
+ selfSearch(args) {
857
+ //小区查询条件
858
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
859
+ console.log("=====小区model绑定====",this.area)
860
+ if(this.area.length !== 0){
861
+ let str = JSON.stringify(this.area)
862
+ str = str.replace(/"/g,`'`)
863
+ str = str.replace(/\[/g,``)
864
+ str = str.replace(/\]/g,``)
865
+ console.log("=====小区model22222222222绑定====",str)
866
+ //查询多个小区时条件
867
+ args.condition += ` and f_residential_area in ( ${str} )`
868
+ }
869
+ if(this.filialeid.length!==0){
870
+ args.condition += ` and f_filialeid in ${this.filialeid}`
871
+ }
872
+
873
+ let f_orgstr = this.orgCondtionStr
874
+ args.condition = `${args.condition} ` + f_orgstr
875
+ if(this.accounts === '自动下账'){
876
+ args.condition+= " and f_type = '自动下账'"
877
+ }else if (this.accounts === '非自动下账'){
878
+ args.condition+= " and f_type != '自动下账'"
879
+ }
880
+ if(this.jurisdiction.includes('0气量物联网')){
881
+ if (this.debaohan[0] === '否'){
882
+ args.condition+=' and (F_PREGAS is not null and F_PREGAS != 0)'
883
+ }else if (this.debaohan[0] === '是'){
884
+ args.condition+=' and (F_PREGAS is null or F_PREGAS = 0)'
885
+ }
886
+ }
887
+ if(this.f_outlets[0] === '是'){
888
+ args.condition+= ` and f_outlets = '手持设备'`
889
+ } else if (this.f_outlets[0] === '否'){
890
+ args.condition+= ` and f_outlets is null`
891
+ }
892
+ this.condition = args.condition
893
+ this.model.search(args.condition, args.model)
894
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
895
+ },
896
+ clear() {
897
+ //清空部门和人员
898
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
899
+ //部门和人员变为全选
900
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
901
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
902
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
903
+ this.$refs.paged.$refs.cri.model[key] = []
904
+ })
905
+
906
+ },
907
+ dealmsg(val) {
908
+ val.model = this.model.model
909
+ this.$dispatch('deal-msg', val)
910
+ },
911
+ show() {
912
+ this.criteriaShow = true
913
+ },
914
+ hidden() {
915
+ this.criteriaShow = !this.criteriaShow
916
+ },
917
+ getRes(condition,obj) {
918
+ this.orgCondtionStr = condition
919
+ this.orgname = obj.orgnames[0]
920
+ this.depname = obj.depnames[0]
921
+ },
922
+ getRess(obj,text) {
923
+ this.filialeid = Util.convertToIn(obj);
924
+ },
925
+
926
+ async updateParams() {
927
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
928
+ this.initParams()
929
+ },
930
+ view(row) {
931
+ this.currentRow = row;
932
+ this.showAttachment = true;
933
+ },
934
+ closeAttachment() {
935
+ this.showAttachment = false;
936
+ },
937
+ },
938
+ events:{
939
+ 'getidcard'(IdCard){
940
+ console.log("IdCard-===")
941
+ console.log(IdCard)
942
+ // console.log(param)
943
+ this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
944
+ }
945
+ },
946
+ watch: {
947
+ 'model'(val) {
948
+ },
949
+ 'orgCondtionStr'(val) {
950
+ let res = val.match(/'(.*?)'/)
951
+ console.log('正则提取:',res && res[1])
952
+ if (res) {
953
+ this.f_filialeid = res[1]
954
+ this.updateParams()
955
+ }
956
+ }
957
+ },
958
+ computed: {
959
+ getPricenames() {
960
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
961
+ let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
962
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
963
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
964
+ console.log("打印二下:",this.$refs.paged.$refs.cri.model)
965
+ if(this.$refs.paged.$refs.cri.model !==null) {
966
+ let rs = []
967
+ let priceArr = []
968
+ if ( pricetype.length >0) {
969
+ let params = {
970
+ f_price_type: pricetype[0],
971
+ filter: this.f_filialeid,
972
+ prices: this.prices
973
+ }
974
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
975
+ let temp = {}
976
+ temp.label = item.label
977
+ temp.value = item.value.f_price_name
978
+ priceArr.push(temp)
979
+ })
980
+ rs = [{label: '全部', value: ''}, ...priceArr]
981
+ }
982
+ if (rs.length === 0) {
983
+ console.log('rs读出来是空')
984
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
985
+ }
986
+ return rs
987
+ }
988
+ },
989
+ getCondition() {
990
+ return {condition: `${this.condition}`, startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
991
+ endDate: `${this.$refs.paged.$refs.cri.model.endDate}`}
992
+ },
993
+ getfield() {
994
+ return exportConfig.chargeConfig
995
+ },
996
+ pricetypes() {
997
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
998
+ },
999
+
1000
+ usertypes() {
1001
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
1002
+ },
1003
+ metertypes() {
1004
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
1005
+ },
1006
+
1007
+ tablestate() {
1008
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表状态')]
1009
+ },
1010
+ chargetype() {
1011
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
1012
+ },
1013
+ payment() {
1014
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('付款方式查询')]
1015
+ },
1016
+ charge_state() {
1017
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
1018
+ },
1019
+ bank(){
1020
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行名称')]
1021
+ }
1022
+ }
1023
+ }
1024
+ </script>
1025
+
1026
+ <style scoped>
1027
+ </style>