sale-client 4.3.21 → 4.3.23

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.
@@ -0,0 +1,592 @@
1
+ <template>
2
+ <div class="flex" style="justify-content: space-between;">
3
+ <div @keyup.enter="search" style="">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
6
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
+ <div class="row" width="100%">
8
+ <div class="col-sm-2 form-group">
9
+ <label class="font_normal_body">开始时间</label>
10
+ <datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_start_date"
11
+ class="datepicker"
12
+ condition="s.f_operate_date >= '{} 00:00:00' "
13
+ placeholder="起始时间"
14
+ style="width:60%"
15
+ v-model="model.f_start_date"
16
+ ></datepicker>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label class="font_normal_body">结束时间</label>
20
+ <datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_end_date"
21
+ class="datepicker"
22
+ condition="s.f_operate_date <= '{} 23:59:59' "
23
+ placeholder="结束时间"
24
+ style="width:60%"
25
+ v-model="model.f_end_date"
26
+ ></datepicker>
27
+ </div>
28
+ <div class="col-sm-2 form-group">
29
+ <label class="font_normal_body">缴费状态</label>
30
+ <v-select :value.sync="model.f_state" v-model='model.f_state'
31
+ style="width:60%"
32
+ :options='$parent.$parent.jiaofeistates' placeholder='缴费状态'
33
+ close-on-select
34
+ condition="s.f_state = '{}'"></v-select>
35
+ </div>
36
+ <div class="col-sm-2 form-group">
37
+ <label class="font_normal_body">收费类型</label>
38
+ <v-select :value.sync="model.f_type" v-model='model.f_type'
39
+ style="width:60%"
40
+ :options='$parent.$parent.types' placeholder='收费类型'
41
+ close-on-select
42
+ condition="s.f_type = '{}'"></v-select>
43
+ </div>
44
+ <!-- <div class="col-sm-2 form-group">-->
45
+ <!-- <label class="font_normal_body">表具状态</label>-->
46
+ <!-- <v-select :value.sync="model.f_table_state" v-model='model.f_table_state'-->
47
+ <!-- style="width:60%"-->
48
+ <!-- :options='$parent.$parent.tablestates' placeholder='表具状态'-->
49
+ <!-- close-on-select-->
50
+ <!-- condition="f_table_state = '{}'"></v-select>-->
51
+ <!-- </div>-->
52
+ <div style="float: right">
53
+ <button @click="search()" class="button_search" style="margin-right: 10px" v-el:cba>查询</button>
54
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
55
+ :field="$parent.$parent.getExportFields" :header="$parent.$parent.other"
56
+ sqlurl="api/af-revenue/logic/saleExport"
57
+ :sql-name="'sale_ChargeQuerys'"
58
+ template-name='用户收费查询导出'
59
+ :choose-col="true">
60
+ </export-excel>
61
+ <print-data :defaultfield="$parent.$parent.defaultfield"
62
+ :field="$parent.$parent.fields"
63
+ :is-selected="true" :model="$parent.$parent.printModel"
64
+ @print-data="$parent.$parent.print()" print-name="购气流水"></print-data>
65
+ </div>
66
+ </div>
67
+ </div>
68
+
69
+
70
+ </criteria>
71
+ <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
72
+ <template partial='head'>
73
+ <tr>
74
+ <th><nobr>收费编号</nobr></th>
75
+ <th><nobr>用户编号</nobr></th>
76
+ <th><nobr>用户名称</nobr></th>
77
+ <th><nobr>用户电话</nobr></th>
78
+ <th><nobr>用户地址</nobr></th>
79
+
80
+ <th><nobr>身份证号</nobr></th>
81
+ <th><nobr>收费日期</nobr></th>
82
+ <th><nobr>气表品牌</nobr></th>
83
+ <th><nobr>收款方式</nobr></th>
84
+ <th><nobr>购气次数</nobr></th>
85
+
86
+ <th><nobr>气量</nobr></th>
87
+ <th><nobr>金额</nobr></th>
88
+ <th><nobr>收款</nobr></th>
89
+ <th><nobr>上期表底数</nobr></th>
90
+ <th><nobr>本期表底数</nobr></th>
91
+
92
+ <th><nobr>上期结余</nobr></th>
93
+ <th><nobr>本期结余</nobr></th>
94
+ <th><nobr>支付渠道</nobr></th>
95
+ <th><nobr>收费类型</nobr></th>
96
+ <th><nobr>收费状态</nobr></th>
97
+
98
+ <th><nobr>用户表号</nobr></th>
99
+ <th><nobr>气表编号</nobr></th>
100
+ <th><nobr>气表卡号</nobr></th>
101
+ <th><nobr>用户类型</nobr></th>
102
+ <th><nobr>用气性质</nobr></th>
103
+
104
+ <th><nobr>气价名称</nobr></th>
105
+ <th><nobr>写卡状态</nobr></th>
106
+ <th><nobr>业务单号</nobr></th>
107
+ <th><nobr>一阶气量</nobr></th>
108
+ <th><nobr>一阶单价</nobr></th>
109
+
110
+ <th><nobr>一阶金额</nobr></th>
111
+ <th><nobr>二阶气量</nobr></th>
112
+ <th><nobr>二阶单价</nobr></th>
113
+ <th><nobr>二阶金额</nobr></th>
114
+ <th><nobr>三阶气量</nobr></th>
115
+
116
+ <th><nobr>三阶单价</nobr></th>
117
+ <th><nobr>三阶金额</nobr></th>
118
+ <th><nobr>气表类型</nobr></th>
119
+ <th><nobr>组织机构</nobr></th>
120
+ <th><nobr>所属部门</nobr></th>
121
+ <th><nobr>操作人员</nobr></th>
122
+
123
+ <th><nobr>操作</nobr></th>
124
+ </tr>
125
+ </template>
126
+ <template partial='body' partial='list' v-ref:grid>
127
+ <tr>
128
+ <td style="text-align:center">{{ row.id }}</td>
129
+ <td style="text-align:center">{{ row.f_userinfo_code }}</td>
130
+ <td style="text-align:center">{{ row.f_user_name }}</td>
131
+ <td style="text-align:center">{{ row.f_user_phone }}</td>
132
+ <td style="text-align:center">{{ row.f_address }}</td>
133
+
134
+ <td style="text-align:center">{{ row.f_idnumber }}</td>
135
+ <td style="text-align:center">{{ row.f_operate_date }}</td>
136
+ <td style="text-align:center">{{ row.f_meter_brand }}</td>
137
+ <td style="text-align:center">{{ row.f_payment }}</td>
138
+ <td style="text-align:center">{{ row.f_times }}</td>
139
+
140
+ <td style="text-align:center">{{ row.f_pregas }}</td>
141
+ <td style="text-align:center">{{ row.f_preamount }}</td>
142
+ <td style="text-align:center">{{ row.f_collection }}</td>
143
+ <td style="text-align:center">{{ row.f_last_tablebase }}</td>
144
+ <td style="text-align:center">{{ row.f_tablebase }}</td>
145
+
146
+ <td style="text-align:center">{{ row.f_balance }}</td>
147
+ <td style="text-align:center">{{ row.f_curbalance }}</td>
148
+ <td style="text-align:center">{{ row.f_bank_type }}</td>
149
+ <td style="text-align:center">{{ row.f_type }}</td>
150
+ <td style="text-align:center">{{ row.f_state }}</td>
151
+
152
+ <td style="text-align:center">{{ row.f_meternumber }}</td>
153
+ <td style="text-align:center">{{ row.f_user_id }}</td>
154
+ <td style="text-align:center">{{ row.f_card_id }}</td>
155
+ <td style="text-align:center">{{ row.f_user_type }}</td>
156
+ <td style="text-align:center">{{ row.f_gasproperties }}</td>
157
+
158
+ <td style="text-align:center">{{ row.f_price_name }}</td>
159
+ <td style="text-align:center">{{ row.f_write_card }}</td>
160
+ <td style="text-align:center">{{ row.f_serial_number }}</td>
161
+ <td style="text-align:center">{{ row.f_stair_gas1 }}</td>
162
+ <td style="text-align:center">{{ row.f_stair_price1 }}</td>
163
+
164
+ <td style="text-align:center">{{ row.f_stair_money1 }}</td>
165
+ <td style="text-align:center">{{ row.f_stair_gas2 }}</td>
166
+ <td style="text-align:center">{{ row.f_stair_price2 }}</td>
167
+ <td style="text-align:center">{{ row.f_stair_money2 }}</td>
168
+ <td style="text-align:center">{{ row.f_stair_gas3 }}</td>
169
+
170
+ <td style="text-align:center">{{ row.f_stair_price3 }}</td>
171
+ <td style="text-align:center">{{ row.f_stair_money3 }}</td>
172
+ <td style="text-align:center">{{ row.f_meter_classify }}</td>
173
+ <td style="text-align:center">{{ row.f_orgname }}</td>
174
+ <td style="text-align:center">{{ row.f_depid }}</td>
175
+ <td style="text-align:center">{{ row.f_operator }}</td>
176
+
177
+ <td style="text-align:center">
178
+ <button @click.stop="$parent.$parent.$parent.report(row)" class="btn btn-link" name="button"
179
+ type="button"
180
+ v-if="row.f_state==='有效'">票据补打
181
+ </button>
182
+ </td>
183
+ </tr>
184
+ </template>
185
+ <template partial='foot'></template>
186
+ </data-grid>
187
+ </criteria-paged>
188
+ </div>
189
+ <table class="table-hover">
190
+ <tr class="table-bordered" style="position: relative">
191
+ <td
192
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
193
+ 汇总信息
194
+ </td>
195
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
196
+ 气量合计:&emsp;{{ sumsmodel.f_pregas}}
197
+ </td>
198
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
199
+ 金额合计:&emsp;{{ sumsmodel.f_preamount }}
200
+ </td>
201
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
202
+ 收款合计:&emsp;{{ sumsmodel.f_collection }}
203
+ </td>
204
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
205
+ 一阶气量合计:&emsp;{{ sumsmodel.f_stair_gas1 }}
206
+ </td>
207
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
208
+ 一阶金额合计:&emsp;{{ sumsmodel.f_stair_money1 }}
209
+ </td>
210
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
211
+ 二阶气量合计:&emsp;{{ sumsmodel.f_stair_gas2 }}
212
+ </td>
213
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
214
+ 二阶金额合计:&emsp;{{ sumsmodel.f_stair_money2 }}
215
+ </td>
216
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
217
+ 三阶气量合计:&emsp;{{ sumsmodel.f_stair_gas3 }}
218
+ </td>
219
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
220
+ 三阶金额合计:&emsp;{{ sumsmodel.f_stair_money3 }}
221
+ </td>
222
+ </tr>
223
+ </table>
224
+ <reissue-bill :data="reissue_data" :show.sync="reissue_show" @cancel="reissueOper()"
225
+ @reissue-success="reissueSucc()" v-if="reissue_show"></reissue-bill>
226
+
227
+ </div>
228
+ </template>
229
+
230
+ <script>
231
+ import {HttpResetClass, PagedList} from 'vue-client'
232
+ import co from 'co'
233
+
234
+ let reprintGen = function* (self, row) {
235
+ try {
236
+ let reissueData = {}
237
+ reissueData = Object.assign({}, reissueData, row)
238
+
239
+ reissueData.f_bill_type = row.type
240
+ reissueData.f_bill_style = '普通收据'
241
+ reissueData.f_operator = self.$login.f.name
242
+ reissueData.f_operatorid = self.$login.f.id
243
+ reissueData.f_orgid = self.$login.f.orgid
244
+ reissueData.f_orgname = self.$login.f.orgs
245
+ reissueData.f_depid = self.$login.f.depids
246
+ reissueData.f_depname = self.$login.f.deps
247
+ reissueData.billUrl = self.getBillUrl(row.type)
248
+
249
+ self.reissue_data = reissueData
250
+ self.reissue_show = true
251
+ } catch (error) {
252
+ if (error.status) {
253
+ self.$warn(`加载数据出错, ${JSON.stringify(error)}`, 'CardList')
254
+ }
255
+ throw error
256
+ }
257
+ }
258
+ export default {
259
+ title: '收费',
260
+ data () {
261
+ return {
262
+ reissue_show: false,
263
+ reissue_data: null,
264
+ condition: '1=1',
265
+ model: new PagedList('api/af-revenue/sql/sale_ChargeQuerys', 20, {f_user_id: this.row.f_user_id}, {
266
+ f_collection: 0,
267
+ f_pregas:0
268
+ }),
269
+ isIot: this.row.f_meter_type === '物联网表',
270
+ show: false,
271
+ list: [],
272
+ jiaofeistates: this.$appdata.getParam('缴费状态') ? [{
273
+ label: '全部',
274
+ value: ''
275
+ }, ...this.$appdata.getParam('缴费状态')] : [],
276
+ types: this.$appdata.getParam('收费类型') ? [{
277
+ label: '全部',
278
+ value: ''
279
+ }, ...this.$appdata.getParam('收费类型')] : [],
280
+ tablestates: this.$appdata.getParam('表具状态') ? [{
281
+ label: '全部',
282
+ value: ''
283
+ }, ...this.$appdata.getParam('表具状态')] : [],
284
+ // 控制单选
285
+ radio: [],
286
+ searchValue: this.$appdata.getSingleValue('综合条件查询') ? this.$appdata.getSingleValue('综合条件查询') : 'f_userinfo_id',
287
+ // 选中的页
288
+ all: [],
289
+ other: [],
290
+ f_calculation: '',
291
+ footer: [],
292
+ sumsmodel: {},
293
+ // row数据
294
+ rowsdata: [],
295
+ fields: {
296
+ 'id': '收费编号',
297
+ 'f_userinfo_code': '用户编号',
298
+ 'f_user_name': '用户名称',
299
+ 'f_user_phone': '用户电话',
300
+ 'f_address': '用户地址',
301
+ 'f_idnumber': '身份证号',
302
+ 'f_operate_date': '收费日期',
303
+ 'f_meter_brand': '气表品牌',
304
+ 'f_payment': '收款方式',
305
+ 'f_times': '购气次数',
306
+ 'f_pregas': '气量',
307
+ 'f_preamount': '金额',
308
+ 'f_collection': '收款',
309
+ 'f_last_tablebase': '上期表底数',
310
+ 'f_tablebase': '本期表底数',
311
+ 'f_balance': '上期结余',
312
+ 'f_curbalance': '本期结余',
313
+ 'f_bank_type': '支付渠道',
314
+ 'f_type': '收费类型',
315
+ 'f_state': '收费状态',
316
+ 'f_meternumber': '用户表号',
317
+ 'f_user_id': '气表编号',
318
+ 'f_card_id': '气表卡号',
319
+ 'f_user_type': '用户类型',
320
+ 'f_gasproperties': '用气性质',
321
+ 'f_price_name': '气价名称',
322
+ 'f_write_card': '写卡状态',
323
+ 'f_serial_number': '业务单号',
324
+ 'f_stair_gas1': '一阶气量',
325
+ 'f_stair_price1': '一阶单价',
326
+ 'f_stair_money1': '一阶金额',
327
+ 'f_stair_gas2': '二阶气量',
328
+ 'f_stair_price2': '二阶单价',
329
+ 'f_stair_money2': '二阶金额',
330
+ 'f_stair_gas3': '三阶气量',
331
+ 'f_stair_price3': '三阶单价',
332
+ 'f_stair_money3': '三阶金额',
333
+ 'f_meter_classify': '气表类型',
334
+ 'f_orgname': '组织机构',
335
+ 'f_depid': '所属部门',
336
+ 'f_operator': '操作人员'
337
+ },
338
+ iotFields: {
339
+ 'f_userinfo_code': '客户编号',
340
+ 'f_user_name': '客户姓名',
341
+ 'f_pregas': '购气量',
342
+ 'f_price': '单价',
343
+ 'f_preamount': '购气金额',
344
+ 'f_operate_date': '缴费时间',
345
+ 'f_operator': '操作员',
346
+ 'f_comments': '备注'
347
+ },
348
+ defaultfield: [
349
+ 'f_userinfo_code',
350
+ 'f_user_name',
351
+ 'f_preamount',
352
+ 'f_pregas',
353
+ 'f_operate_date',
354
+ 'f_operator',
355
+ 'f_comments'
356
+ ],
357
+ printModel: {
358
+ rows: []
359
+ }
360
+ }
361
+ },
362
+ props: ['row'],
363
+ ready () {
364
+ this.$refs.paged.$refs.criteria.model.f_state = ['有效']
365
+ this.$refs.paged.$refs.criteria.model.f_user_id = this.row.f_user_id
366
+ this.f_calculation = this.row.f_calculation
367
+ this.$refs.paged.$refs.criteria.search()
368
+
369
+ },
370
+ methods: {
371
+ getotherfooter () {
372
+ this.other = []
373
+ this.footer = []
374
+ let otherInData = []
375
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
376
+ let footerData = []
377
+ let exportfield = this.getExportFields
378
+ footerData.push('合计')
379
+ for (var field in this.sumsmodel) {
380
+ footerData.push(`${exportfield[field]}合计:${this.sumsmodel[field]}`)
381
+ }
382
+ this.footer.push(footerData)
383
+ this.other.push(otherInData)
384
+ },
385
+ async search () {
386
+ console.log('aaa:', this.$refs.paged.$refs.criteria.condition)
387
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and s.f_userinfo_id = '${this.row.f_userinfo_id}'`
388
+ this.model.search(this.condition, this.model)
389
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
390
+ let http = new HttpResetClass()
391
+ let res = await http.load('POST', 'api/af-revenue/sql/sale_ChargeQuerys', {
392
+ data: {
393
+ condition: this.condition,
394
+ f_user_id: this.row.f_user_id
395
+ }
396
+ }, {resolveMsg: null, rejectMsg: null})
397
+ this.printModel.rows = res.data
398
+ },
399
+ // 多选框初始化
400
+ selectInit () {
401
+ this.rowsdata = []
402
+ this.all = []
403
+ this.radio = []
404
+ },
405
+ reissueSucc () {
406
+ this.reissue_show = false
407
+ this.$dispatch('refresh')
408
+ },
409
+ reissueOper () {
410
+ this.reissue_data = null
411
+ this.reissue_show = false
412
+ },
413
+ getBillUrl (type) {
414
+ let name = ''
415
+ // 根据type数据 选择调用的Logic
416
+ if (type === '机表收费') {
417
+ name = 'api/af-revenue/report/machine_bill'
418
+ } else if (type === '物联网收费') {
419
+ name = 'api/af-revenue/report/iot_bill'
420
+ } else if (type === '超用收费') {
421
+ name = 'api/af-revenue/report/overuse_bill'
422
+ } else if (type === '其他收费') {
423
+ name = 'api/af-revenue/report/otherCharge_bill'
424
+ } else if (type === '发卡售气') {
425
+ name = 'api/af-revenue/report/sendCard_bill'
426
+ } else if (type === '卡表收费') {
427
+ name = 'api/af-revenue/report/card_bill'
428
+ } else if (type === '预存缴费') {
429
+ name = 'api/af-revenue/report/pre_sell'
430
+ }
431
+ return name
432
+ },
433
+ report (row) {
434
+ let reprint = reprintGen(this, row)
435
+ return co(reprint)
436
+ },
437
+ print () {
438
+ this.selectInit()
439
+ },
440
+ select () {
441
+ let index = this.model.pageIndex - 1
442
+ if (!this.radio[index]) {
443
+ this.radio.$set(index, [])
444
+ }
445
+ if (this.all[index]) {
446
+ // 数据
447
+ this.rowsdata[index] = Object.assign([], this.model.rows)
448
+ // 勾选
449
+ for (var i = 0; i < this.model.rows.length; i++) {
450
+ this.radio[index].$set(i, true)
451
+ }
452
+ } else {
453
+ // 数据
454
+ this.rowsdata[index] = []
455
+ // 不勾选
456
+ for (var i = 0; i < this.model.rows.length; i++) {
457
+ this.radio[index].$set(i, false)
458
+ }
459
+ }
460
+ let z = 0
461
+ for (let i = 0; i < this.all.length; i++) {
462
+ for (let j = 0; this.rowsdata[i] && j < this.rowsdata[i].length; j++) {
463
+ this.printModel.rows[z++] = this.rowsdata[i][j]
464
+ }
465
+ }
466
+ },
467
+ selectOne (event, row, i) {
468
+ let index = this.model.pageIndex - 1
469
+ if (!this.rowsdata[index]) {
470
+ this.rowsdata[index] = []
471
+ }
472
+ if (!this.radio[index]) {
473
+ this.radio.$set(index, [])
474
+ }
475
+ if (event.target.checked) {
476
+ // 数据
477
+ this.rowsdata[index][i] = row
478
+ // 勾选
479
+ this.radio[index].$set(i, true)
480
+ // 判断是否全部选中
481
+ var allState = true
482
+ if (this.model.rows.length != this.radio[index].length) {
483
+ allState = false
484
+ }
485
+ for (var state of this.radio[index]) {
486
+ if (!state) {
487
+ allState = false
488
+ }
489
+ }
490
+ if (allState) {
491
+ this.all.$set(index, true)
492
+ } else {
493
+ this.all.$set(index, false)
494
+ }
495
+ } else {
496
+ // 数据
497
+ this.rowsdata[index][i] = []
498
+ // 不勾选
499
+ this.radio[index].$set(i, false)
500
+ // 任意取消一个则全选状态设为false
501
+ this.all.$set(index, false)
502
+ }
503
+ let z = 0
504
+ this.printModel.rows = []
505
+ for (let i = 0; i < this.all.length; i++) {
506
+ for (let j = 0; this.rowsdata[i] && j < this.rowsdata[i].length; j++) {
507
+ if (this.rowsdata[i][j] && this.rowsdata[i][j].f_user_id) {
508
+ this.printModel.rows[z++] = this.rowsdata[i][j]
509
+ }
510
+ }
511
+ }
512
+ }
513
+ },
514
+ watch: {
515
+ 'model.rows' (val) {
516
+ if (val.length === 0) {
517
+ this.sumsmodel = {}
518
+ }
519
+ },
520
+ 'sumsmodel': {
521
+ handler: function (val) {
522
+ this.getotherfooter()
523
+ },
524
+ deep: true
525
+ }
526
+ },
527
+ computed: {
528
+ getCondition () {
529
+ return {
530
+ condition: this.condition,
531
+ f_user_id: this.row.f_user_id
532
+ }
533
+ },
534
+ getExportFields () {
535
+ let fields
536
+ fields = {
537
+ 'id': '收费编号',
538
+ 'f_userinfo_code': '用户编号',
539
+ 'f_user_name': '用户名称',
540
+ 'f_user_phone': '用户电话',
541
+ 'f_address': '用户地址',
542
+ 'f_idnumber': '身份证号',
543
+ 'f_operate_date': '收费日期',
544
+ 'f_meter_brand': '气表品牌',
545
+ 'f_payment': '收款方式',
546
+ 'f_times': '购气次数',
547
+ 'f_pregas': '气量',
548
+ 'f_preamount': '金额',
549
+ 'f_collection': '收款',
550
+ 'f_last_tablebase': '上期表底数',
551
+ 'f_tablebase': '本期表底数',
552
+ 'f_balance': '上期结余',
553
+ 'f_curbalance': '本期结余',
554
+ 'f_bank_type': '支付渠道',
555
+ 'f_type': '收费类型',
556
+ 'f_state': '收费状态',
557
+ 'f_meternumber': '用户表号',
558
+ 'f_user_id': '气表编号',
559
+ 'f_card_id': '气表卡号',
560
+ 'f_user_type': '用户类型',
561
+ 'f_gasproperties': '用气性质',
562
+ 'f_price_name': '气价名称',
563
+ 'f_write_card': '写卡状态',
564
+ 'f_serial_number': '业务单号',
565
+ 'f_stair_gas1': '一阶气量',
566
+ 'f_stair_price1': '一阶单价',
567
+ 'f_stair_money1': '一阶金额',
568
+ 'f_stair_gas2': '二阶气量',
569
+ 'f_stair_price2': '二阶单价',
570
+ 'f_stair_money2': '二阶金额',
571
+ 'f_stair_gas3': '三阶气量',
572
+ 'f_stair_price3': '三阶单价',
573
+ 'f_stair_money3': '三阶金额',
574
+ 'f_meter_classify': '气表类型',
575
+ 'f_orgname': '组织机构',
576
+ 'f_depid': '所属部门',
577
+ 'f_operator': '操作人员'
578
+ }
579
+ return fields
580
+ },
581
+ ischecked () {
582
+ return function (index, i) {
583
+ if (!this.radio[index]) {
584
+ return false
585
+ }
586
+ return this.radio[index][i]
587
+ }
588
+ }
589
+ }
590
+ }
591
+ </script>
592
+