manage-client 3.1.45 → 3.1.46

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