manage-client 3.1.52 → 3.1.56

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 (42) hide show
  1. package/.gradle/6.1.1/fileContent/fileContent.lock +0 -0
  2. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/{5.4.1 → 7.1/dependencies-accessors}/gc.properties +0 -0
  4. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/{5.4.1 → 7.1}/fileChanges/last-build.bin +0 -0
  7. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/7.1/gc.properties +0 -0
  10. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  11. package/build/dev-server.js +6 -20
  12. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  13. package/build/tmp/jar/MANIFEST.MF +2 -0
  14. package/package.json +1 -1
  15. package/src/components/SellReport/OperatorCheckoutReport.vue +237 -237
  16. package/src/components/SellReport/OperatorCheckoutTwo.vue +263 -237
  17. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  18. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  19. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  20. package/src/filiale/WEINAN/ChargeQuery.vue +848 -849
  21. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  22. package/src/filiale/WEINAN/ReportDataQuery.vue +249 -249
  23. package/src/filiale/WEINAN/config/tableConfig.js +36 -36
  24. package/src/filiale/WEINAN/sale.js +29 -29
  25. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  26. package/src/filiale/pingxiang/sale.js +9 -9
  27. package/src/filiale/qingtongxia/sale.js +13 -13
  28. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  29. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  30. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  31. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  32. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  33. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  34. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  35. package/src/main.js +66 -66
  36. package/src/reportManage.js +478 -478
  37. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  38. package/src/.idea/misc.xml +0 -9
  39. package/src/.idea/modules.xml +0 -8
  40. package/src/.idea/src.iml +0 -9
  41. package/src/.idea/vcs.xml +0 -6
  42. package/src/.idea/workspace.xml +0 -93
@@ -1,849 +1,848 @@
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="start_Date" 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="end_Date" 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
- :chooserow="$parent.$parent.chooserow"
49
- sqlurl="rs/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'
50
- :choose-col="true">
51
- </export-excel>
52
-
53
- <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
54
- :defaultfield="$parent.$parent.defaultfield" print-name="收费查询"
55
- :chooserow="$parent.$parent.chooserow"
56
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
57
- <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>
58
-
59
- </div>
60
- </div>
61
- <div class="row" v-show="$parent.$parent.criteriaShow">
62
- <div v-if="!this.$login.r.includes('收费查询选择权限')">
63
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :show-component="$parent.$parent.showCom" v-ref:sel></res-select-group>
64
- <div class="col-sm-2 form-group">
65
- <label class="font_normal_body">客户类型</label>
66
- <v-select :value.sync="model.f_user_type"
67
- @change="$parent.$parent.userTypeChange()"
68
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
69
- condition="f_user_type = '{}'"
70
- close-on-select></v-select>
71
- </div>
72
- <div class="col-sm-2 form-group">
73
- <label class="font_normal_body">收费状态</label>
74
- <v-select :value.sync="model.f_state" multiple
75
- v-model="model.f_state"
76
- :options='$parent.$parent.charge_state' placeholder='请选择'
77
- condition="f_state in {}"
78
- close-on-select></v-select>
79
- </div>
80
- <div class="col-sm-2 form-group">
81
- <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
82
- <v-select :value.sync="model.f_payment" multiple
83
- v-model="model.f_payment"
84
- :options='$parent.$parent.payment' placeholder='请选择'
85
- condition="f_payment in {}"
86
- close-on-select></v-select>
87
- </div>
88
- </div>
89
- <div v-if="this.$login.r.includes('收费查询选择权限')">
90
- <res-select-group :show-component="$parent.$parent.resshow" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
91
- <div class="col-sm-2 form-group">
92
- <label class="font_normal_body">收费编号</label>
93
- <input type="text" style="width:60%" class="input_search" v-model="model.id"
94
- condition="id = '{}'" placeholder="收费编号">
95
- </div>
96
- <div class="col-sm-2 form-group">
97
- <label class="font_normal_body">客户电话</label>
98
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
99
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
100
- </div>
101
- <div class="col-sm-2 form-group">
102
- <label class="font_normal_body">身份证号</label>
103
- <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
104
- condition="f_idnumber like '%{}%'" placeholder="身份证号">
105
- </div>
106
- <div class="col-sm-2 form-group">
107
- <label class="font_normal_body">客户地址</label>
108
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
109
- condition="f_address like '%{}%'" placeholder='客户地址'>
110
- </div>
111
- <div class="col-sm-2 form-group">
112
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
113
- <v-select :value.sync="model.f_residential_area"
114
- class="select_list select"
115
- enter-push
116
- multiple = "true"
117
- v-model="model.f_residential_area"
118
- style="width: 60%"
119
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
120
- close-on-select>
121
-
122
- </v-select>
123
- </div>
124
- <div class="col-sm-2 form-group">
125
- <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
126
- <v-select :value.sync="model.f_payment" multiple
127
- v-model="model.f_payment"
128
- :options='$parent.$parent.payment' placeholder='请选择'
129
- condition="f_payment in {}"
130
- close-on-select></v-select>
131
- </div>
132
- <div class="col-sm-2 form-group">
133
- <label class="font_normal_body" title="参数:支付渠道查询">支付渠道</label>
134
- <v-select :value.sync="model.f_bank_type" multiple
135
- v-model="model.f_bank_type"
136
- :options='$parent.$parent.banktype' placeholder='请选择'
137
- condition="f_bank_type in {}"
138
- close-on-select></v-select>
139
- </div>
140
- <div class="col-sm-2 form-group">
141
- <label class="font_normal_body">收费类型</label>
142
- <!-- <v-select :value.sync="model.f_type"
143
- v-model="model.f_type"
144
- :options='$parent.$parent.chargetype' placeholder='请选择'
145
- condition="f_type = '{}'"
146
- close-on-select></v-select>-->
147
- <v-select :value.sync="model.f_type" multiple
148
- :options='$parent.$parent.chargetype' placeholder='请选择'
149
- close-on-select clear-button
150
- condition="f_type in {}"
151
- v-model="model.f_type"></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_user_type"
156
- @change="$parent.$parent.userTypeChange()"
157
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
158
- condition="f_user_type = '{}'"
159
- close-on-select></v-select>
160
- </div>
161
- <div class="col-sm-2 form-group">
162
- <label class="font_normal_body">用气性质</label>
163
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
164
- :options='$parent.$parent.gasproperties' placeholder='请选择'
165
- condition="f_gasproperties = '{}'"
166
- close-on-select></v-select>
167
- </div>
168
- <div class="col-sm-2 form-group">
169
- <label class="font_normal_body">气价类型</label>
170
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
171
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
172
- close-on-select v-ref:type>
173
- </v-select>
174
- </div>
175
- <div class="col-sm-2 form-group">
176
- <label class="font_normal_body">气价名称</label>
177
- <v-select :value.sync="model.f_price_name"
178
- v-model="model.f_price_name"
179
- :options="$parent.$parent.getPricenames"
180
- condition="f_price_name = '{}'"
181
- close-on-select></v-select>
182
- </div>
183
- <div class="col-sm-2 form-group">
184
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>
185
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"
186
- condition="f_user_id = '{}'" placeholder='表编号'>
187
- </div>
188
- <div class="col-sm-2 form-group">
189
- <label class="font_normal_body">气表类型</label>
190
- <v-select :value.sync="model.f_meter_type" multiple
191
- :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
192
- condition="f_meter_type in {}"
193
- close-on-select></v-select>
194
- </div>
195
- <div class="col-sm-2 form-group">
196
- <label class="font_normal_body">气表品牌</label>
197
- <v-select :value.sync="model.f_meter_brand" multiple
198
- v-model="model.f_meter_brand"
199
- :options='$parent.$parent.meterbrands' placeholder='请选择'
200
- condition="f_meter_brand in {}"
201
- close-on-select></v-select>
202
- </div>
203
-
204
- <div class="col-sm-2 form-group">
205
- <label class="font_normal_body">收费状态</label>
206
- <v-select :value.sync="model.f_state" multiple
207
- v-model="model.f_state"
208
- :options='$parent.$parent.charge_state' placeholder='请选择'
209
- condition="f_state in {}"
210
- close-on-select></v-select>
211
- </div>
212
- <!-- <div class="col-sm-2 form-group">-->
213
- <!-- <label class="font_normal_body">银行名称</label>-->
214
- <!-- <v-select :value.sync="model.f_bank_name"-->
215
- <!-- v-model="model.f_bank_name"-->
216
- <!-- :options='$parent.$parent.bank' placeholder='请选择'-->
217
- <!-- condition="f_bank_name = '{}'"-->
218
- <!-- close-on-select></v-select>-->
219
- <!-- </div>-->
220
- <!-- <div class="col-sm-2 form-group">-->
221
- <!-- <label class="font_normal_body">是否优惠</label>-->
222
- <!-- <v-select :value.sync="model.f_privilege_money"-->
223
- <!-- v-model="model.f_privilege_money"-->
224
- <!-- :options='$parent.$parent.privilege_money' placeholder='请选择'-->
225
- <!-- condition="f_privilege_money {}"-->
226
- <!-- close-on-select></v-select>-->
227
- <!-- </div>-->
228
- <!-- <div class="col-sm-2 form-group">-->
229
- <!-- <label class="font_normal_body">收&ensp;据&ensp;号</label>-->
230
- <!-- <input type="text" style="width:30%" class="input_search" title="大于等于"-->
231
- <!-- v-model="model.f_bill_number_big" condition="f_bill_number >= {}" placeholder='大于等于'>-->
232
- <!-- <input type="text" style="width:30%" class="input_search" title="小于等于"-->
233
- <!-- v-model="model.f_bill_number_small" condition="f_bill_number <= {}" placeholder='小于等于'>-->
234
- <!-- </div>-->
235
- <div class="col-sm-2 form-group">
236
- <label class="font_normal_body">发票号码</label>
237
- <input type="text" style="width:60%" class="input_search" v-model="model.f_invoice_num"
238
- condition="f_invoice_num = '{}'" placeholder='发票号码'>
239
- </div>
240
- <div class="col-sm-2 form-group">
241
- <label class="font_normal_body" title="发票类型查询">发票类型</label>
242
- <v-select :value.sync="model.f_invoice_type"
243
- v-model="model.f_invoice_type"
244
- :options='$parent.$parent.invoiceType' placeholder='请选择'
245
- condition="f_invoice_type = '{}'"
246
- close-on-select :value-single="true" :search="false">
247
- </v-select>
248
- </div>
249
- <div class="col-sm-2 form-group">
250
- <label class="font_normal_body">开&ensp;票&ensp;人</label>
251
- <input type="text" style="width:60%" class="input_search" v-model="model.f_invoiceuse_operator"
252
- condition="f_invoiceuse_operator like '%{}%'" placeholder='开票人'>
253
- </div>
254
- <div class="col-sm-2 form-group">
255
- <label for="startDate" class="font_normal_body">开票时间</label>
256
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
257
- v-model="model.invoice_startDate"
258
- :value.sync="model.invoice_startDate"
259
- :format="'yyyy-MM-dd'"
260
- :show-reset-button="true"
261
- condition="f_invoice_date >= '{}'">
262
- </datepicker>
263
- </div>
264
- <div class="col-sm-2 form-group">
265
- <label for="endDate" class="font_normal_body">开票时间</label>
266
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
267
- v-model="model.invoice_endDate"
268
- :value.sync="model.invoice_endDate"
269
- :format="'yyyy-MM-dd'"
270
- :show-reset-button="true"
271
- condition="f_invoice_date <= '{}'">
272
- </datepicker>
273
- </div>
274
- <div class="col-sm-2 form-group">
275
- <label for="endDate" class="font_normal_body">终端设备</label>
276
- <v-select :value.sync="model.equip"
277
- v-model="model.equip"
278
- :options='$parent.$parent.equip' placeholder='请选择'
279
- condition="f_terminal_num = '{}'"
280
- close-on-select :value-single="true" :search="false">
281
- </v-select>
282
- </div>
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
- <data-order field="f_userinfo_code" name="客户编号"
305
- :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
306
- </th>
307
- <th>
308
- <nobr>客户名称</nobr>
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
- <data-order field="f_operate_date" name="收费日期"
330
- :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
331
- </th>
332
- <th>
333
- <nobr>状态</nobr>
334
- </th>
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
- </tr>
363
- </template>
364
- <template partial='body'>
365
- <td style="text-align: center;">
366
- <nobr>{{row.f_type}}</nobr>
367
- </td>
368
- <td style="text-align: center;">
369
- <nobr>{{row.f_state}}</nobr>
370
- </td>
371
- <td style="text-align: center;">
372
- <nobr>{{row.f_comments}}</nobr>
373
- </td>
374
- <td style="text-align: center;">
375
- <nobr>{{row.filltimes}}</nobr>
376
- </td>
377
- <td style="text-align: center;"><nobr>
378
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
379
- </nobr> </td>
380
- <td style="text-align: center;">
381
- <nobr>{{row.f_user_name}}</nobr>
382
- </td>
383
- <td style="text-align: center;">
384
- <nobr>{{row.f_meternumber}}</nobr>
385
- </td>
386
- <td style="text-align: center;">
387
- <nobr>{{row.f_card_id}}</nobr>
388
- </td>
389
- <td style="text-align: center;">
390
- <nobr>{{row.f_address}}</nobr>
391
- </td>
392
- <td style="text-align: center;">
393
- <nobr>{{row.f_pregas.toFixed(0)}}</nobr>
394
- </td>
395
- <td style="text-align: center;">
396
- <nobr>{{row.f_collection}}</nobr>
397
- </td>
398
- <td style="text-align: center;">
399
- <nobr>{{row.f_payment}}</nobr>
400
- </td>
401
- <td style="text-align: center;">
402
- <nobr>{{row.f_operate_date}}</nobr>
403
- </td>
404
- <td style="text-align: center;">
405
- <nobr>{{row.f_state}}</nobr>
406
- </td>
407
- <td style="text-align: center;">
408
- <nobr> {{row.f_depname}}</nobr>
409
- </td>
410
- <td style="text-align: center;">
411
- <nobr>{{row.f_operator}}</nobr>
412
- </td>
413
- <td style="text-align: center;">
414
- <nobr>{{row.f_bill_code}}</nobr>
415
- </td>
416
- <td style="text-align: center;">
417
- <nobr>{{row.f_stairamount1}}</nobr>
418
- </td>
419
- <td style="text-align: center;">
420
- <nobr>{{(row.f_stair1fee - 0).toFixed(0)}}</nobr>
421
- </td>
422
- <td style="text-align: center;">
423
- <nobr>{{row.f_stair2amount}}</nobr>
424
- </td>
425
- <td style="text-align: center;">
426
- <nobr>{{(row.f_stair2fee - 0).toFixed(0)}}</nobr>
427
- </td>
428
- <td style="text-align: center;">
429
- <nobr>{{row.f_stair3amount}}</nobr>
430
- </td>
431
- <td style="text-align: center;">
432
- <nobr>{{(row.f_stair3fee - 0).toFixed(0)}}</nobr>
433
- </td>
434
- </template>
435
- <template partial='foot'></template>
436
- </data-grid>
437
- </criteria-paged>
438
- <table class="table-hover">
439
- <tr style="position: relative" class="table-bordered">
440
- <td
441
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
442
- 汇总信息
443
- </td>
444
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
445
- 气量合计:&emsp;{{sumsmodel.f_pregas.toFixed(0)}}
446
- </td>
447
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
448
- 收费金额合计:&emsp;{{sumsmodel.f_collection}}
449
- </td>
450
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
451
- 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1.toFixed(0)}}
452
- </td>
453
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
454
- 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
455
- </td>
456
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
457
- 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount.toFixed(0)}}
458
- </td>
459
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
460
- 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
461
- </td>
462
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
463
- 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount.toFixed(0)}}
464
- </td>
465
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
466
- 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
467
- </td>
468
- </tr>
469
- </table>
470
- </div>
471
- <div v-if="show">
472
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
473
- </div>
474
- </div>
475
- <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
476
- <article slot="modal-body">
477
- <upload :blodid="selected.f_userinfo_id" :businessid="selected.id" v-ref:upload isupload="false" takeimg="false" fusetype="%收费" :isremark="false" style="width:auto" ></upload>
478
- </article>
479
- <footer slot="modal-footer" class="modal-footer">
480
- </footer>
481
- </modal>
482
- </div>
483
- </template>
484
-
485
- <script>
486
- import {HttpResetClass, PagedList} from 'vue-client'
487
- import exportConfig from '../../components/sale/config/exportConfig'
488
-
489
- let readySomething = async function (self) {
490
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
491
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
492
- // self.$refs.paged.$refs.cri.search()
493
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
494
- await self.$MagLoadParams.loadParam()
495
- self.initParams()
496
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
497
- }
498
- export default {
499
- data() {
500
- return {
501
- resshow:['company','department','operator','slicearea'],
502
- other:[],
503
- footer:[],
504
- config: {
505
- defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_pregas', 'f_collection', 'f_stairamount1', 'f_stair2amount', 'f_stair3amount']
506
- },
507
- //排序
508
- orderitem:'f_userinfo_code',
509
- orderFields: {
510
- f_userinfo_id: 'no'
511
- },
512
- //f_price_name:[],
513
- gasproperties:[],
514
- showinfo: false,
515
- data: {},
516
- show:false,
517
- rowdata:{},
518
- showCom:['operator'],
519
- initres: {
520
- org:[this.$login.f.orgid],
521
- dep:[],
522
- user:[]
523
- },
524
- model: new PagedList('rs/sql/chargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code'`},{
525
- f_pregas: 0,
526
- f_preamount: 0,
527
- f_stairamount1: 0,
528
- f_stair1fee: 0,
529
- f_collection: 0,
530
- f_stair2amount: 0,
531
- f_stair2fee: 0,
532
- f_stair3amount: 0,
533
- f_stair3fee: 0
534
- }),
535
- criteriaShow: false,
536
- orgCondtionStr: '',
537
- // 下拉框
538
- meterbrands: [],
539
- pricenames: [],
540
- prices: [],
541
- area: [],
542
- //合计数据
543
- defaultfield: [],
544
- //小区
545
- residentialArea: [],
546
- sumsmodel: {},
547
- f_filialeid: this.$login.f.f_orgid,
548
- wxstate:[
549
- {label: '全部', value: ''},
550
- {label: '已退款', value: `= '3'`},
551
- {label: '未退款', value: `!= '3'`}
552
- ],
553
- privilege_money:[
554
- {label: '全部', value: ''},
555
- {label: '已优惠', value: '> 0'},
556
- {label: '未优惠', value: '= 0'}
557
- ],
558
- showupload:false,
559
- selected:{},
560
- equip:[]
561
-
562
- }
563
- },
564
- async ready() {
565
- await this.equipment()
566
- this.getaddress()
567
- console.log('this.$login.f:',this.$login.f)
568
- if(!this.$login.r.includes('收费查询选择权限')){
569
- this.initres.dep.push(this.$login.f.depids)
570
- this.initres.user.push(this.$login.f.id)
571
- // this.$refs.paged.$refs.cri.$refs.sel.$refs.
572
- }
573
- readySomething(this).then(() => {
574
- this.$emit('ready')
575
- }).catch((error) => {
576
- this.$emit('error', error)
577
- })
578
-
579
- },
580
- methods: {
581
-
582
- async equipment(){
583
- console.log('=========123123214124=============')
584
- let condition = `f_orgid = '${this.$login.f.orgid}'`
585
- let res = await this.$resetpost('rs/sql/getequipment', {data :{condition:condition}},{resolveMsg: null, rejectMsg: null})
586
- let array = []
587
- for(let row of res.data){
588
- array.push ({label: row.f_terminal_name,value : row.f_terminal_number})
589
- }
590
- this.equip = array
591
- },
592
- //显示附件
593
- view(row){
594
- this.showupload = true
595
- this.selected= row
596
- },
597
- getotherfooter () {
598
- // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
599
- // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
600
- this.other = [];
601
- this.footer = [];
602
- let exportdata = this.getCondition;
603
- let otherInData = [];
604
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
605
- let footerData = [], exportfield = this.getfield;
606
- footerData.push("合计");
607
- let self = this;
608
- for (var field in self.sumsmodel) {
609
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
610
- }
611
- this.footer.push(footerData);
612
- this.other.push(otherInData);
613
- },
614
- async getaddress(){
615
- let HttpReset = new HttpResetClass()
616
- var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
617
- data: {
618
- condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
619
- }
620
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
621
- console.log('小区',data)
622
- let house = [{label: '全部', value: ''}]
623
- for (let row of data.data){
624
- house.push({label: row.f_residential_area, value: row.f_residential_area})
625
- }
626
- this.residentialArea = house
627
- },
628
- //把数据库查询数据转换为下拉数据
629
- calculate(rows){
630
- let data = []
631
- rows.forEach((row, n) => {
632
- data[n] = {label: row.f_residential_area, value: row.id}
633
- })
634
- return data
635
- },
636
-
637
- search(){
638
- this.$refs.paged.$refs.cri.search()
639
- },
640
- cancel() {
641
- this.show = false
642
- },
643
- showmsg(obj){
644
- this.rowdata=obj
645
- this.show=true
646
- },
647
- userTypeChange () {
648
- this.gasproperties=[]
649
- if(this.$refs.paged.$refs.cri.model !==null) {
650
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
651
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
652
- }
653
- else{
654
- this.gasproperties =[{label: '全部', value: ''}]
655
- }
656
- },
657
- initParams() {
658
- // 初始化气表品牌
659
- let brandArr = []
660
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
661
- let temp = {}
662
- temp.label = item.label
663
- temp.value = item.value.f_meter_brand
664
- brandArr.push(temp)
665
- })
666
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
667
- //初始化气表价格
668
- this.prices = this.$MagGetSaleParam.getPrices();
669
- },
670
- selfSearch(args) {
671
- //小区查询条件
672
- this.area = this.$refs.paged.$refs.cri.model.f_residential_area
673
- if(this.area.length !== 0){
674
- let str = JSON.stringify(this.area)
675
- str = str.replace(/"/g,`'`)
676
- str = str.replace(/\[/g,``)
677
- str = str.replace(/\]/g,``)
678
- //查询多个小区时条件
679
- args.condition += ` and f_residential_area in ( ${str} )`
680
- }
681
- let f_orgstr = this.orgCondtionStr
682
- args.condition = `${args.condition} ` + f_orgstr
683
- this.model.search(args.condition, args.model)
684
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
685
-
686
- },
687
- clear() {
688
- //清空部门和人员
689
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
690
- //部门和人员变为全选
691
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
692
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
693
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
694
- this.$refs.paged.$refs.cri.model[key] = []
695
- })
696
-
697
- },
698
- dealmsg(val) {
699
- val.model = this.model.model
700
- this.$dispatch('deal-msg', val)
701
- },
702
- show() {
703
- this.criteriaShow = true
704
- },
705
- hidden() {
706
- this.criteriaShow = !this.criteriaShow
707
- },
708
- getRes(condition,obj) {
709
- this.orgCondtionStr = condition
710
- this.orgname = obj.orgnames[0]
711
- this.depname = obj.depnames[0]
712
- },
713
- async updateParams() {
714
- await this.$MagLoadParams.loadParam(this.f_filialeid)
715
- this.initParams()
716
- },
717
- sort (field, rule) {
718
- // 将所有排序方式设为不排序,实现相互排斥
719
- for (let key in this.orderFields) {
720
- if (key === field) {
721
- this.orderFields[key] = rule
722
- } else {
723
- this.orderFields[key] = 'no'
724
- }
725
- }
726
- // 如果新规则不排序,还原为默认排序
727
- if (rule === 'no') {
728
- this.model.paramSource.orderitem = `'${this.orderitem}'`
729
- } else {
730
- this.model.paramSource.orderitem = `'${field} ${rule}'`
731
- }
732
-
733
- this.search()
734
- }
735
-
736
- },
737
- events:{
738
- 'getidcard'(IdCard){
739
- // console.log(param)
740
- this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
741
- }
742
- },
743
- watch: {
744
- 'model.rows'(val) {
745
- if(val.length === 0){
746
- this.sumsmodel = {}
747
- }
748
- },
749
- 'orgCondtionStr'(val) {
750
- let res = val.match(/'(.*?)'/)
751
- console.log('正则提取:',res && res[1])
752
- if (res) {
753
- this.f_filialeid = res[1]
754
- this.updateParams()
755
- }
756
- },
757
- sumsmodel:{
758
- handler: function(val) {
759
- this.getotherfooter();
760
- },
761
- deep: true
762
- }
763
- },
764
- computed: {
765
- chooserow(){
766
- let aaa= true
767
- if(this.$login.r && this.$login.r.includes('打印项选择')){
768
- aaa = false
769
- }
770
- return aaa
771
- },
772
- getPricenames() {
773
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
774
- let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
775
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
776
- console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
777
- if(this.$refs.paged.$refs.cri.model !==null) {
778
- let rs = []
779
- let priceArr = []
780
- if ( pricetype.length >0) {
781
- let params = {
782
- f_price_type: pricetype[0],
783
- filter: this.f_filialeid,
784
- prices: this.prices
785
- }
786
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
787
- let temp = {}
788
- temp.label = item.label
789
- temp.value = item.value.f_price_name
790
- priceArr.push(temp)
791
- })
792
- rs = [{label: '全部', value: ''}, ...priceArr]
793
- }
794
- if (rs.length === 0) {
795
- console.log('rs读出来是空')
796
- this.$refs.paged.$refs.cri.model.f_price_name = ''
797
- }
798
- return rs
799
- }
800
- },
801
- getCondition() {
802
- return {
803
- startDate: this.$refs.paged.$refs.cri.model.startDate,
804
- endDate: this.$refs.paged.$refs.cri.model.endDate,
805
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
806
- orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code'`
807
- }
808
- },
809
- getfield() {
810
- return exportConfig.chargeConfig
811
- },
812
- defaultexport() {
813
- return exportConfig.chargeexportConfig
814
- },
815
- pricetypes() {
816
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
817
- },
818
-
819
- invoiceType() {
820
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('发票类型查询')]
821
- },
822
- usertypes() {
823
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
824
- },
825
- metertypes() {
826
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
827
- },
828
-
829
- tablestate() {
830
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表状态')]
831
- },
832
- chargetype() {
833
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
834
- },
835
- payment() {
836
- return [...this.$appdata.getParam('付款方式查询')]
837
- },
838
- banktype() {
839
- return [...this.$appdata.getParam('支付渠道查询')]
840
- },
841
- charge_state() {
842
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
843
- },
844
- bank(){
845
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行名称')]
846
- }
847
- }
848
- }
849
- </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="start_Date" 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="end_Date" 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
+ :chooserow="$parent.$parent.chooserow"
49
+ sqlurl="rs/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'
50
+ :choose-col="true">
51
+ </export-excel>
52
+
53
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
54
+ :defaultfield="$parent.$parent.defaultfield" print-name="收费查询"
55
+ :chooserow="$parent.$parent.chooserow"
56
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
57
+ <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>
58
+
59
+ </div>
60
+ </div>
61
+ <div class="row" v-show="$parent.$parent.criteriaShow">
62
+ <div v-if="!this.$login.r.includes('收费查询选择权限')">
63
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :show-component="$parent.$parent.showCom" v-ref:sel></res-select-group>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body">客户类型</label>
66
+ <v-select :value.sync="model.f_user_type"
67
+ @change="$parent.$parent.userTypeChange()"
68
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
69
+ condition="f_user_type = '{}'"
70
+ close-on-select></v-select>
71
+ </div>
72
+ <div class="col-sm-2 form-group">
73
+ <label class="font_normal_body">收费状态</label>
74
+ <v-select :value.sync="model.f_state" multiple
75
+ v-model="model.f_state"
76
+ :options='$parent.$parent.charge_state' placeholder='请选择'
77
+ condition="f_state in {}"
78
+ close-on-select></v-select>
79
+ </div>
80
+ <div class="col-sm-2 form-group">
81
+ <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
82
+ <v-select :value.sync="model.f_payment" multiple
83
+ v-model="model.f_payment"
84
+ :options='$parent.$parent.payment' placeholder='请选择'
85
+ condition="f_payment in {}"
86
+ close-on-select></v-select>
87
+ </div>
88
+ </div>
89
+ <div v-if="this.$login.r.includes('收费查询选择权限')">
90
+ <res-select-group :show-component="$parent.$parent.resshow" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
91
+ <div class="col-sm-2 form-group">
92
+ <label class="font_normal_body">收费编号</label>
93
+ <input type="text" style="width:60%" class="input_search" v-model="model.id"
94
+ condition="id = '{}'" placeholder="收费编号">
95
+ </div>
96
+ <div class="col-sm-2 form-group">
97
+ <label class="font_normal_body">客户电话</label>
98
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
99
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
100
+ </div>
101
+ <div class="col-sm-2 form-group">
102
+ <label class="font_normal_body">身份证号</label>
103
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
104
+ condition="f_idnumber like '%{}%'" placeholder="身份证号">
105
+ </div>
106
+ <div class="col-sm-2 form-group">
107
+ <label class="font_normal_body">客户地址</label>
108
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
109
+ condition="f_address like '%{}%'" placeholder='客户地址'>
110
+ </div>
111
+ <div class="col-sm-2 form-group">
112
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
113
+ <v-select :value.sync="model.f_residential_area"
114
+ class="select_list select"
115
+ enter-push
116
+ multiple = "true"
117
+ v-model="model.f_residential_area"
118
+ style="width: 60%"
119
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
120
+ close-on-select>
121
+
122
+ </v-select>
123
+ </div>
124
+ <div class="col-sm-2 form-group">
125
+ <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
126
+ <v-select :value.sync="model.f_payment" multiple
127
+ v-model="model.f_payment"
128
+ :options='$parent.$parent.payment' placeholder='请选择'
129
+ condition="f_payment in {}"
130
+ close-on-select></v-select>
131
+ </div>
132
+ <div class="col-sm-2 form-group">
133
+ <label class="font_normal_body" title="参数:支付渠道查询">支付渠道</label>
134
+ <v-select :value.sync="model.f_bank_type" multiple
135
+ v-model="model.f_bank_type"
136
+ :options='$parent.$parent.banktype' placeholder='请选择'
137
+ condition="f_bank_type in {}"
138
+ close-on-select></v-select>
139
+ </div>
140
+ <div class="col-sm-2 form-group">
141
+ <label class="font_normal_body">收费类型</label>
142
+ <!-- <v-select :value.sync="model.f_type"
143
+ v-model="model.f_type"
144
+ :options='$parent.$parent.chargetype' placeholder='请选择'
145
+ condition="f_type = '{}'"
146
+ close-on-select></v-select>-->
147
+ <v-select :value.sync="model.f_type" multiple
148
+ :options='$parent.$parent.chargetype' placeholder='请选择'
149
+ close-on-select clear-button
150
+ condition="f_type in {}"
151
+ v-model="model.f_type"></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_user_type"
156
+ @change="$parent.$parent.userTypeChange()"
157
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
158
+ condition="f_user_type = '{}'"
159
+ close-on-select></v-select>
160
+ </div>
161
+ <div class="col-sm-2 form-group">
162
+ <label class="font_normal_body">用气性质</label>
163
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
164
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
165
+ condition="f_gasproperties = '{}'"
166
+ close-on-select></v-select>
167
+ </div>
168
+ <div class="col-sm-2 form-group">
169
+ <label class="font_normal_body">气价类型</label>
170
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
171
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
172
+ close-on-select v-ref:type>
173
+ </v-select>
174
+ </div>
175
+ <div class="col-sm-2 form-group">
176
+ <label class="font_normal_body">气价名称</label>
177
+ <v-select :value.sync="model.f_price_name"
178
+ v-model="model.f_price_name"
179
+ :options="$parent.$parent.getPricenames"
180
+ condition="f_price_name = '{}'"
181
+ close-on-select></v-select>
182
+ </div>
183
+ <div class="col-sm-2 form-group">
184
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>
185
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"
186
+ condition="f_user_id = '{}'" placeholder='表编号'>
187
+ </div>
188
+ <div class="col-sm-2 form-group">
189
+ <label class="font_normal_body">气表类型</label>
190
+ <v-select :value.sync="model.f_meter_type" multiple
191
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
192
+ condition="f_meter_type in {}"
193
+ close-on-select></v-select>
194
+ </div>
195
+ <div class="col-sm-2 form-group">
196
+ <label class="font_normal_body">气表品牌</label>
197
+ <v-select :value.sync="model.f_meter_brand" multiple
198
+ v-model="model.f_meter_brand"
199
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
200
+ condition="f_meter_brand in {}"
201
+ close-on-select></v-select>
202
+ </div>
203
+
204
+ <div class="col-sm-2 form-group">
205
+ <label class="font_normal_body">收费状态</label>
206
+ <v-select :value.sync="model.f_state" multiple
207
+ v-model="model.f_state"
208
+ :options='$parent.$parent.charge_state' placeholder='请选择'
209
+ condition="f_state in {}"
210
+ close-on-select></v-select>
211
+ </div>
212
+ <!-- <div class="col-sm-2 form-group">-->
213
+ <!-- <label class="font_normal_body">银行名称</label>-->
214
+ <!-- <v-select :value.sync="model.f_bank_name"-->
215
+ <!-- v-model="model.f_bank_name"-->
216
+ <!-- :options='$parent.$parent.bank' placeholder='请选择'-->
217
+ <!-- condition="f_bank_name = '{}'"-->
218
+ <!-- close-on-select></v-select>-->
219
+ <!-- </div>-->
220
+ <!-- <div class="col-sm-2 form-group">-->
221
+ <!-- <label class="font_normal_body">是否优惠</label>-->
222
+ <!-- <v-select :value.sync="model.f_privilege_money"-->
223
+ <!-- v-model="model.f_privilege_money"-->
224
+ <!-- :options='$parent.$parent.privilege_money' placeholder='请选择'-->
225
+ <!-- condition="f_privilege_money {}"-->
226
+ <!-- close-on-select></v-select>-->
227
+ <!-- </div>-->
228
+ <!-- <div class="col-sm-2 form-group">-->
229
+ <!-- <label class="font_normal_body">收&ensp;据&ensp;号</label>-->
230
+ <!-- <input type="text" style="width:30%" class="input_search" title="大于等于"-->
231
+ <!-- v-model="model.f_bill_number_big" condition="f_bill_number >= {}" placeholder='大于等于'>-->
232
+ <!-- <input type="text" style="width:30%" class="input_search" title="小于等于"-->
233
+ <!-- v-model="model.f_bill_number_small" condition="f_bill_number <= {}" placeholder='小于等于'>-->
234
+ <!-- </div>-->
235
+ <div class="col-sm-2 form-group">
236
+ <label class="font_normal_body">发票号码</label>
237
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_invoice_num"
238
+ condition="f_invoice_num = '{}'" placeholder='发票号码'>
239
+ </div>
240
+ <div class="col-sm-2 form-group">
241
+ <label class="font_normal_body" title="发票类型查询">发票类型</label>
242
+ <v-select :value.sync="model.f_invoice_type"
243
+ v-model="model.f_invoice_type"
244
+ :options='$parent.$parent.invoiceType' placeholder='请选择'
245
+ condition="f_invoice_type = '{}'"
246
+ close-on-select :value-single="true" :search="false">
247
+ </v-select>
248
+ </div>
249
+ <div class="col-sm-2 form-group">
250
+ <label class="font_normal_body">开&ensp;票&ensp;人</label>
251
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_invoiceuse_operator"
252
+ condition="f_invoiceuse_operator like '%{}%'" placeholder='开票人'>
253
+ </div>
254
+ <div class="col-sm-2 form-group">
255
+ <label for="startDate" class="font_normal_body">开票时间</label>
256
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
257
+ v-model="model.invoice_startDate"
258
+ :value.sync="model.invoice_startDate"
259
+ :format="'yyyy-MM-dd'"
260
+ :show-reset-button="true"
261
+ condition="f_invoice_date >= '{}'">
262
+ </datepicker>
263
+ </div>
264
+ <div class="col-sm-2 form-group">
265
+ <label for="endDate" class="font_normal_body">开票时间</label>
266
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
267
+ v-model="model.invoice_endDate"
268
+ :value.sync="model.invoice_endDate"
269
+ :format="'yyyy-MM-dd'"
270
+ :show-reset-button="true"
271
+ condition="f_invoice_date <= '{}'">
272
+ </datepicker>
273
+ </div>
274
+ <div class="col-sm-2 form-group">
275
+ <label for="endDate" class="font_normal_body">终端设备</label>
276
+ <v-select :value.sync="model.equip"
277
+ v-model="model.equip"
278
+ :options='$parent.$parent.equip' placeholder='请选择'
279
+ condition="f_terminal_num = '{}'"
280
+ close-on-select :value-single="true" :search="false">
281
+ </v-select>
282
+ </div>
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
+ <data-order field="f_userinfo_code" name="客户编号"
305
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
306
+ </th>
307
+ <th>
308
+ <nobr>客户名称</nobr>
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
+ <data-order field="f_operate_date" name="收费日期"
330
+ :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
331
+ </th>
332
+ <th>
333
+ <nobr>状态</nobr>
334
+ </th>
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
+ </tr>
363
+ </template>
364
+ <template partial='body'>
365
+ <td style="text-align: center;">
366
+ <nobr>{{row.f_type}}</nobr>
367
+ </td>
368
+ <td style="text-align: center;">
369
+ <nobr>{{row.f_state}}</nobr>
370
+ </td>
371
+ <td style="text-align: center;">
372
+ <nobr>{{row.f_comments}}</nobr>
373
+ </td>
374
+ <td style="text-align: center;">
375
+ <nobr>{{row.filltimes}}</nobr>
376
+ </td>
377
+ <td style="text-align: center;"><nobr>
378
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
379
+ </nobr> </td>
380
+ <td style="text-align: center;">
381
+ <nobr>{{row.f_user_name}}</nobr>
382
+ </td>
383
+ <td style="text-align: center;">
384
+ <nobr>{{row.f_meternumber}}</nobr>
385
+ </td>
386
+ <td style="text-align: center;">
387
+ <nobr>{{row.f_card_id}}</nobr>
388
+ </td>
389
+ <td style="text-align: center;">
390
+ <nobr>{{row.f_address}}</nobr>
391
+ </td>
392
+ <td style="text-align: center;">
393
+ <nobr>{{row.f_pregas.toFixed(0)}}</nobr>
394
+ </td>
395
+ <td style="text-align: center;">
396
+ <nobr>{{row.f_collection}}</nobr>
397
+ </td>
398
+ <td style="text-align: center;">
399
+ <nobr>{{row.f_payment}}</nobr>
400
+ </td>
401
+ <td style="text-align: center;">
402
+ <nobr>{{row.f_operate_date}}</nobr>
403
+ </td>
404
+ <td style="text-align: center;">
405
+ <nobr>{{row.f_state}}</nobr>
406
+ </td>
407
+ <td style="text-align: center;">
408
+ <nobr> {{row.f_depname}}</nobr>
409
+ </td>
410
+ <td style="text-align: center;">
411
+ <nobr>{{row.f_operator}}</nobr>
412
+ </td>
413
+ <td style="text-align: center;">
414
+ <nobr>{{row.f_bill_code}}</nobr>
415
+ </td>
416
+ <td style="text-align: center;">
417
+ <nobr>{{row.f_stairamount1}}</nobr>
418
+ </td>
419
+ <td style="text-align: center;">
420
+ <nobr>{{(row.f_stair1fee - 0).toFixed(0)}}</nobr>
421
+ </td>
422
+ <td style="text-align: center;">
423
+ <nobr>{{row.f_stair2amount}}</nobr>
424
+ </td>
425
+ <td style="text-align: center;">
426
+ <nobr>{{(row.f_stair2fee - 0).toFixed(0)}}</nobr>
427
+ </td>
428
+ <td style="text-align: center;">
429
+ <nobr>{{row.f_stair3amount}}</nobr>
430
+ </td>
431
+ <td style="text-align: center;">
432
+ <nobr>{{(row.f_stair3fee - 0).toFixed(0)}}</nobr>
433
+ </td>
434
+ </template>
435
+ <template partial='foot'></template>
436
+ </data-grid>
437
+ </criteria-paged>
438
+ <table class="table-hover">
439
+ <tr style="position: relative" class="table-bordered">
440
+ <td
441
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
442
+ 汇总信息
443
+ </td>
444
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
445
+ 气量合计:&emsp;{{sumsmodel.f_pregas.toFixed(0)}}
446
+ </td>
447
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
448
+ 收费金额合计:&emsp;{{sumsmodel.f_collection}}
449
+ </td>
450
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
451
+ 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1.toFixed(0)}}
452
+ </td>
453
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
454
+ 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
455
+ </td>
456
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
457
+ 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount.toFixed(0)}}
458
+ </td>
459
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
460
+ 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
461
+ </td>
462
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
463
+ 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount.toFixed(0)}}
464
+ </td>
465
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
466
+ 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
467
+ </td>
468
+ </tr>
469
+ </table>
470
+ </div>
471
+ <div v-if="show">
472
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
473
+ </div>
474
+ </div>
475
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
476
+ <article slot="modal-body">
477
+ <upload :blodid="selected.f_userinfo_id" :businessid="selected.id" v-ref:upload isupload="false" takeimg="false" fusetype="%收费" :isremark="false" style="width:auto" ></upload>
478
+ </article>
479
+ <footer slot="modal-footer" class="modal-footer">
480
+ </footer>
481
+ </modal>
482
+ </div>
483
+ </template>
484
+
485
+ <script>
486
+ import {HttpResetClass, PagedList} from 'vue-client'
487
+ import exportConfig from '../../components/sale/config/exportConfig'
488
+
489
+ let readySomething = async function (self) {
490
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
491
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
492
+ // self.$refs.paged.$refs.cri.search()
493
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
494
+ await self.$MagLoadParams.loadParam()
495
+ self.initParams()
496
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
497
+ }
498
+ export default {
499
+ data() {
500
+ return {
501
+ resshow:['company','department','operator','slicearea'],
502
+ other:[],
503
+ footer:[],
504
+ config: {
505
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_pregas', 'f_collection', 'f_stairamount1', 'f_stair2amount', 'f_stair3amount']
506
+ },
507
+ //排序
508
+ orderitem:'f_userinfo_code',
509
+ orderFields: {
510
+ f_userinfo_id: 'no'
511
+ },
512
+ //f_price_name:[],
513
+ gasproperties:[],
514
+ showinfo: false,
515
+ data: {},
516
+ show:false,
517
+ rowdata:{},
518
+ showCom:['operator'],
519
+ initres: {
520
+ org:[this.$login.f.orgid],
521
+ dep:[],
522
+ user:[]
523
+ },
524
+ model: new PagedList('rs/sql/chargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code'`},{
525
+ f_pregas: 0,
526
+ f_preamount: 0,
527
+ f_stairamount1: 0,
528
+ f_stair1fee: 0,
529
+ f_collection: 0,
530
+ f_stair2amount: 0,
531
+ f_stair2fee: 0,
532
+ f_stair3amount: 0,
533
+ f_stair3fee: 0
534
+ }),
535
+ criteriaShow: false,
536
+ orgCondtionStr: '',
537
+ // 下拉框
538
+ meterbrands: [],
539
+ pricenames: [],
540
+ prices: [],
541
+ area: [],
542
+ //合计数据
543
+ defaultfield: [],
544
+ //小区
545
+ residentialArea: [],
546
+ sumsmodel: {},
547
+ f_filialeid: this.$login.f.f_orgid,
548
+ wxstate:[
549
+ {label: '全部', value: ''},
550
+ {label: '已退款', value: `= '3'`},
551
+ {label: '未退款', value: `!= '3'`}
552
+ ],
553
+ privilege_money:[
554
+ {label: '全部', value: ''},
555
+ {label: '已优惠', value: '> 0'},
556
+ {label: '未优惠', value: '= 0'}
557
+ ],
558
+ showupload:false,
559
+ selected:{},
560
+ equip:[]
561
+ }
562
+ },
563
+ async ready() {
564
+ await this.equipment()
565
+ this.getaddress()
566
+ console.log('this.$login.f:',this.$login.f)
567
+ if(!this.$login.r.includes('收费查询选择权限')){
568
+ this.initres.dep.push(this.$login.f.depids)
569
+ this.initres.user.push(this.$login.f.id)
570
+ // this.$refs.paged.$refs.cri.$refs.sel.$refs.
571
+ }
572
+ readySomething(this).then(() => {
573
+ this.$emit('ready')
574
+ }).catch((error) => {
575
+ this.$emit('error', error)
576
+ })
577
+
578
+ },
579
+ methods: {
580
+
581
+ async equipment(){
582
+ console.log('=========123123214124=============')
583
+ let condition = `f_orgid = '${this.$login.f.orgid}'`
584
+ let res = await this.$resetpost('rs/sql/getequipment', {data :{condition:condition}},{resolveMsg: null, rejectMsg: null})
585
+ let array = []
586
+ for(let row of res.data){
587
+ array.push ({label: row.f_terminal_name,value : row.f_terminal_number})
588
+ }
589
+ this.equip = array
590
+ },
591
+ //显示附件
592
+ view(row){
593
+ this.showupload = true
594
+ this.selected= row
595
+ },
596
+ getotherfooter () {
597
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
598
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
599
+ this.other = [];
600
+ this.footer = [];
601
+ let exportdata = this.getCondition;
602
+ let otherInData = [];
603
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
604
+ let footerData = [], exportfield = this.getfield;
605
+ footerData.push("合计");
606
+ let self = this;
607
+ for (var field in self.sumsmodel) {
608
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
609
+ }
610
+ this.footer.push(footerData);
611
+ this.other.push(otherInData);
612
+ },
613
+ async getaddress(){
614
+ let HttpReset = new HttpResetClass()
615
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
616
+ data: {
617
+ condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
618
+ }
619
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
620
+ console.log('小区',data)
621
+ let house = [{label: '全部', value: ''}]
622
+ for (let row of data.data){
623
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
624
+ }
625
+ this.residentialArea = house
626
+ },
627
+ //把数据库查询数据转换为下拉数据
628
+ calculate(rows){
629
+ let data = []
630
+ rows.forEach((row, n) => {
631
+ data[n] = {label: row.f_residential_area, value: row.id}
632
+ })
633
+ return data
634
+ },
635
+
636
+ search(){
637
+ this.$refs.paged.$refs.cri.search()
638
+ },
639
+ cancel() {
640
+ this.show = false
641
+ },
642
+ showmsg(obj){
643
+ this.rowdata=obj
644
+ this.show=true
645
+ },
646
+ userTypeChange () {
647
+ this.gasproperties=[]
648
+ if(this.$refs.paged.$refs.cri.model !==null) {
649
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
650
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
651
+ }
652
+ else{
653
+ this.gasproperties =[{label: '全部', value: ''}]
654
+ }
655
+ },
656
+ initParams() {
657
+ // 初始化气表品牌
658
+ let brandArr = []
659
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
660
+ let temp = {}
661
+ temp.label = item.label
662
+ temp.value = item.value.f_meter_brand
663
+ brandArr.push(temp)
664
+ })
665
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
666
+ //初始化气表价格
667
+ this.prices = this.$MagGetSaleParam.getPrices();
668
+ },
669
+ selfSearch(args) {
670
+ //小区查询条件
671
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
672
+ if(this.area.length !== 0){
673
+ let str = JSON.stringify(this.area)
674
+ str = str.replace(/"/g,`'`)
675
+ str = str.replace(/\[/g,``)
676
+ str = str.replace(/\]/g,``)
677
+ //查询多个小区时条件
678
+ args.condition += ` and f_residential_area in ( ${str} )`
679
+ }
680
+ let f_orgstr = this.orgCondtionStr
681
+ args.condition = `${args.condition} ` + f_orgstr
682
+ this.model.search(args.condition, args.model)
683
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
684
+
685
+ },
686
+ clear() {
687
+ //清空部门和人员
688
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
689
+ //部门和人员变为全选
690
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
691
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
692
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
693
+ this.$refs.paged.$refs.cri.model[key] = []
694
+ })
695
+
696
+ },
697
+ dealmsg(val) {
698
+ val.model = this.model.model
699
+ this.$dispatch('deal-msg', val)
700
+ },
701
+ show() {
702
+ this.criteriaShow = true
703
+ },
704
+ hidden() {
705
+ this.criteriaShow = !this.criteriaShow
706
+ },
707
+ getRes(condition,obj) {
708
+ this.orgCondtionStr = condition
709
+ this.orgname = obj.orgnames[0]
710
+ this.depname = obj.depnames[0]
711
+ },
712
+ async updateParams() {
713
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
714
+ this.initParams()
715
+ },
716
+ sort (field, rule) {
717
+ // 将所有排序方式设为不排序,实现相互排斥
718
+ for (let key in this.orderFields) {
719
+ if (key === field) {
720
+ this.orderFields[key] = rule
721
+ } else {
722
+ this.orderFields[key] = 'no'
723
+ }
724
+ }
725
+ // 如果新规则不排序,还原为默认排序
726
+ if (rule === 'no') {
727
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
728
+ } else {
729
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
730
+ }
731
+
732
+ this.search()
733
+ }
734
+
735
+ },
736
+ events:{
737
+ 'getidcard'(IdCard){
738
+ // console.log(param)
739
+ this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
740
+ }
741
+ },
742
+ watch: {
743
+ 'model.rows'(val) {
744
+ if(val.length === 0){
745
+ this.sumsmodel = {}
746
+ }
747
+ },
748
+ 'orgCondtionStr'(val) {
749
+ let res = val.match(/'(.*?)'/)
750
+ console.log('正则提取:',res && res[1])
751
+ if (res) {
752
+ this.f_filialeid = res[1]
753
+ this.updateParams()
754
+ }
755
+ },
756
+ sumsmodel:{
757
+ handler: function(val) {
758
+ this.getotherfooter();
759
+ },
760
+ deep: true
761
+ }
762
+ },
763
+ computed: {
764
+ chooserow(){
765
+ let aaa= true
766
+ if(this.$login.r && this.$login.r.includes('打印项选择')){
767
+ aaa = false
768
+ }
769
+ return aaa
770
+ },
771
+ getPricenames() {
772
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
773
+ let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
774
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
775
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
776
+ if(this.$refs.paged.$refs.cri.model !==null) {
777
+ let rs = []
778
+ let priceArr = []
779
+ if ( pricetype.length >0) {
780
+ let params = {
781
+ f_price_type: pricetype[0],
782
+ filter: this.f_filialeid,
783
+ prices: this.prices
784
+ }
785
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
786
+ let temp = {}
787
+ temp.label = item.label
788
+ temp.value = item.value.f_price_name
789
+ priceArr.push(temp)
790
+ })
791
+ rs = [{label: '全部', value: ''}, ...priceArr]
792
+ }
793
+ if (rs.length === 0) {
794
+ console.log('rs读出来是空')
795
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
796
+ }
797
+ return rs
798
+ }
799
+ },
800
+ getCondition() {
801
+ return {
802
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
803
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
804
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
805
+ orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code'`
806
+ }
807
+ },
808
+ getfield() {
809
+ return exportConfig.chargeConfig
810
+ },
811
+ defaultexport() {
812
+ return exportConfig.chargeexportConfig
813
+ },
814
+ pricetypes() {
815
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
816
+ },
817
+
818
+ invoiceType() {
819
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('发票类型查询')]
820
+ },
821
+ usertypes() {
822
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
823
+ },
824
+ metertypes() {
825
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
826
+ },
827
+
828
+ tablestate() {
829
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表状态')]
830
+ },
831
+ chargetype() {
832
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
833
+ },
834
+ payment() {
835
+ return [...this.$appdata.getParam('付款方式查询')]
836
+ },
837
+ banktype() {
838
+ return [...this.$appdata.getParam('支付渠道查询')]
839
+ },
840
+ charge_state() {
841
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
842
+ },
843
+ bank(){
844
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行名称')]
845
+ }
846
+ }
847
+ }
848
+ </script>