manage-client 3.2.155 → 3.2.157

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,449 @@
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>
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 00:00:00'"
15
+ :show-reset-button="true">
16
+ </datepicker>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label for="endDate" class="font_normal_body">结束日期</label>
20
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
21
+ v-model="model.endDate"
22
+ :value.sync="model.endDate"
23
+ :format="'yyyy-MM-dd 23:59:59'"
24
+ :show-reset-button="true">
25
+ </datepicker>
26
+ </div>
27
+ <div class="col-sm-2 form-group">
28
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
29
+ <right-tree @re-res="$parent.$parent.getRes"></right-tree>
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
33
+ <res-select restype='department'
34
+ @res-select="$parent.$parent.getdep"
35
+ :parentresid="$parent.$parent.depresid"
36
+ :initresid='$parent.$parent.depid'>
37
+ </res-select>
38
+
39
+ </div>
40
+ <div class="col-sm-2 form-group">
41
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
42
+ <res-select restype='user'
43
+ is-mul="false"
44
+ @res-select="$parent.$parent.getuser"
45
+ :parentresid="$parent.$parent.userresid"
46
+ :initresid='$parent.$parent.operatorid'>
47
+ </res-select>
48
+ </div>
49
+ <div class="span" style="float:right;">
50
+ <button class="button_search button_spacing" @click="search()">查询</button>
51
+
52
+ <export-excel :data="$parent.$parent.getCondition"
53
+ :field="$parent.$parent.getfield"
54
+ :footer="$parent.$parent.footer"
55
+ :header="$parent.$parent.other"
56
+ sqlurl="rs/logic/exportfile"
57
+ sql-name="shoufeistyle"
58
+ template-name='收费划价查询明细'
59
+ :choose-col="true"></export-excel>
60
+ <print-data-self :model="$parent.model" :field="$parent.$parent.getfield"
61
+ :defaultfield="$parent.$parent.defaultfield" printName="营业厅明细"
62
+ :sumsmodel="$parent.$parent.sumsmodel" :sum-field="$parent.$parent.sumField" :page-sum="$parent.$parent.pageSum"
63
+ :start-date="$parent.$parent.startDate" :end-date="$parent.$parent.endDate"
64
+ ></print-data-self>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ </criteria>
69
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
70
+ <template partial='head'>
71
+ <tr>
72
+ <th>
73
+ <nobr>序号</nobr>
74
+ </th>
75
+ <th>
76
+ <nobr>收费编号</nobr>
77
+ </th>
78
+ <th>
79
+ <nobr>客户编号</nobr>
80
+ </th>
81
+ <th>
82
+ <nobr>客户名称</nobr>
83
+ </th>
84
+ <th>
85
+ <nobr>客户地址</nobr>
86
+ </th>
87
+ <th>
88
+ <nobr>客户类型</nobr>
89
+ </th>
90
+ <th>
91
+ <nobr>用气性质</nobr>
92
+ </th>
93
+ <th>
94
+ <nobr>价格类型</nobr>
95
+ </th>
96
+ <th>
97
+ <nobr>上期底数</nobr>
98
+ </th>
99
+ <th>
100
+ <nobr>本期底数</nobr>
101
+ </th>
102
+ <th>
103
+ <nobr>单价</nobr>
104
+ </th>
105
+ <th>
106
+ <nobr>气量</nobr>
107
+ </th>
108
+ <th>
109
+ <nobr>金额</nobr>
110
+ </th>
111
+ <th>
112
+ <nobr>收费类型</nobr>
113
+ </th>
114
+ <th>
115
+ <nobr>收款方式</nobr>
116
+ </th>
117
+ <th>
118
+ <nobr>收费日期</nobr>
119
+ </th>
120
+ <th>
121
+ <nobr>操作员</nobr>
122
+ </th>
123
+ <th>
124
+ <nobr>部门</nobr>
125
+ </th>
126
+ <th>
127
+ <nobr>公司</nobr>
128
+ </th>
129
+
130
+ </tr>
131
+ </template>
132
+ <template partial='body'>
133
+ <td style="text-align:center">
134
+ <nobr>{{$index+1}}</nobr>
135
+ </td>
136
+ <td style="text-align: center;">
137
+ <nobr>{{row.id}}</nobr>
138
+ </td>
139
+ <td style="text-align: center;">
140
+ <nobr>{{row.f_userinfo_code}}</nobr>
141
+ </td>
142
+ <td style="text-align: center;">
143
+ <nobr>{{row.f_user_name}}</nobr>
144
+ </td>
145
+ <td style="text-align: center;">
146
+ <nobr>{{row.f_address}}</nobr>
147
+ </td>
148
+ <td style="text-align: center;">
149
+ <nobr>{{row.f_user_type}}</nobr>
150
+ </td>
151
+ <td style="text-align: center;">
152
+ <nobr>{{row.f_gasproperties}}</nobr>
153
+ </td>
154
+ <td style="text-align: center;">
155
+ <nobr>{{row.f_price_name}}</nobr>
156
+ </td>
157
+ <td style="text-align: center;">
158
+ <nobr>{{row.f_last_tablebase}}</nobr>
159
+ </td>
160
+ <td style="text-align: center;">
161
+ <nobr>{{row.f_tablebase}}</nobr>
162
+ </td>
163
+ <td style="text-align: center;">
164
+ <nobr>{{row.f_price}}</nobr>
165
+ </td>
166
+ <td style="text-align: center;">
167
+ <nobr>{{row.f_gas}}</nobr>
168
+ </td>
169
+ <td style="text-align: center;">
170
+ <nobr>{{row.f_money}}</nobr>
171
+ </td>
172
+ <td style="text-align: center;">
173
+ <nobr>{{row.f_type}}</nobr>
174
+ </td>
175
+ <td style="text-align: center;">
176
+ <nobr>{{row.f_payment}}</nobr>
177
+ </td>
178
+ <td style="text-align: center;">
179
+ <nobr>{{row.f_operate_date}}</nobr>
180
+ </td>
181
+ <td style="text-align: center;">
182
+ <nobr>{{row.f_operator}}</nobr>
183
+ </td>
184
+ <td style="text-align: center;">
185
+ <nobr>{{row.f_depname}}</nobr>
186
+ </td>
187
+ <td style="text-align: center;">
188
+ <nobr>{{row.f_orgname}}</nobr>
189
+ </td>
190
+
191
+ </template>
192
+ <template partial='foot'></template>
193
+ </data-grid>
194
+ </criteria-paged>
195
+ <table class="table-hover">
196
+ <tr style="position: relative" class="table-bordered">
197
+ <td
198
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold" >
199
+ 报表统计时间
200
+ </td>
201
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold" v-if="startDate==endDate">
202
+ {{startDate}}
203
+ </td>
204
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold" v-else>
205
+ {{startDate+" 至 "+endDate}}
206
+ </td>
207
+ </tr>
208
+ <tr style="position: relative" class="table-bordered">
209
+ <td
210
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
211
+ 汇总信息
212
+ </td>
213
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
214
+ 气量汇总:&emsp;{{sumsmodel.f_gas.toFixed(2)}}
215
+ </td>
216
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
217
+ 金额汇总:&emsp;{{sumsmodel.f_money.toFixed(2)}}
218
+ </td>
219
+
220
+ </tr>
221
+ </table>
222
+ </div>
223
+ </div>
224
+ </div>
225
+ </template>
226
+ <script>
227
+ import {PagedList, HttpResetClass} from 'vue-client'
228
+ import defaultPrint from '../sale/config/DefaultPrint'
229
+ import exportConfig from '../sale/config/exportConfig'
230
+ import PrintDataSelf from '../sale/common/PrintDataSelf'
231
+
232
+ let readySomething = async function (self) {
233
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
234
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
235
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
236
+ }
237
+ export default {
238
+ title: '收费划价查询明细',
239
+ props: ['data'],
240
+ data() {
241
+ return {
242
+ depresid: [],
243
+ userresid: [],
244
+ f_orgid: this.$login.f.orgid,
245
+ f_depid: this.$login.f.depids,
246
+ f_operatorid: this.$login.f.id,
247
+ operatorid: [],
248
+ depid: [],
249
+ orgname: '',
250
+ depname: [],
251
+ operatorname: '',
252
+ orgCondtionStr: '1=1',
253
+ data: {},
254
+ other:[],
255
+ footer:[],
256
+ model: new PagedList('rs/sql/shoufeistyle', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_orgid: 'this.model.f_orgid'},{
257
+ f_gas:0,
258
+ f_money:0
259
+ }),
260
+ gasproperties:[],
261
+ show:false,
262
+ rowdata:{},
263
+ residentialArea: [],
264
+ modelval: [],
265
+ startDate:"",
266
+ endDate:"",
267
+ inputtouPerson: [],
268
+ printshow: false,
269
+ all: false,
270
+ fields: {},
271
+ thead: '',
272
+ tfoot: '',
273
+
274
+ // 下拉框
275
+
276
+ //合计数据
277
+ sumsmodel: {},
278
+ sumField: {
279
+ 'f_gas': '气量汇总', 'f_money': '金额汇总'
280
+ },
281
+ pageSum: {
282
+ 'f_gas': '0.00',
283
+ 'f_money': '0.00'
284
+ },
285
+ defaultfield: [],
286
+ config: {
287
+ defaultPrint: ['f_userinfo_code', 'f_user_name']
288
+ },
289
+ batchmoneyShow:false
290
+ }
291
+ },
292
+ ready() {
293
+ readySomething(this).then(() => {
294
+ this.$emit('ready')
295
+ }).catch((error) => {
296
+ this.$emit('error', error)
297
+ })
298
+ },
299
+ methods: {
300
+ getotherfooter(){
301
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
302
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
303
+ this.other=[];
304
+ this.footer=[];
305
+ let exportdata = this.getCondition;
306
+ let otherInData=[];
307
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
308
+ let footerData=[],exportfield=this.getfield;
309
+ footerData.push("合计");
310
+ let self =this;
311
+ for(var field in self.sumsmodel){
312
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
313
+ }
314
+ this.footer.push(footerData);
315
+ this.other.push(otherInData);
316
+ },
317
+ search(){
318
+ this.$refs.paged.$refs.cri.search()
319
+ },
320
+ selfSearch(args) {
321
+ let orgcondition = ' f_orgid in (' + this.f_orgid + ')'
322
+ if (this.f_depid[0]) {
323
+ orgcondition += " and f_depid in("+this.f_depid.toString()+')'
324
+ }
325
+ if(this.f_operatorid[0]) {
326
+ orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
327
+ }
328
+ this.startDate=this.$refs.paged.$refs.cri.model.startDate.substring(0,10)
329
+ this.endDate=this.$refs.paged.$refs.cri.model.endDate.substring(0,10)
330
+ this.orgCondtionStr=orgcondition
331
+ this.$refs.paged.$refs.cri.model.f_orgid = orgcondition
332
+ this.model.search(args.f_orgid, args.model)
333
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
334
+ },
335
+ getRes (obj) {
336
+ this.orgname = obj.res[0]
337
+ this.depresid = obj.resids
338
+ this.f_orgid = obj.resids
339
+ },
340
+ getdep (obj, val) {
341
+ this.depname = val
342
+ this.userresid = obj
343
+ this.f_depid = obj
344
+ },
345
+ getuser ( obj, val) {
346
+ this.operatorname = val[0]
347
+ this.f_operatorid = obj
348
+ },
349
+ stamp() {
350
+ this.all = false
351
+ //默认选择要打印的列
352
+ this.modelval = defaultPrint.config
353
+ this.fields = this.getfield
354
+ console.log('所有打印字段', this.fields)
355
+ this.printshow = true
356
+ this.put()
357
+ },
358
+ put() {
359
+ // 对Modelval进行排序
360
+ this.sortModelval()
361
+ this.thead = `<tr><th colspan=${this.modelval.length}>收费查询统计报表</th></tr><tr>`
362
+ for (let key of this.modelval) {
363
+ this.thead += '<th>' + this.fields[key] + '</th>'
364
+ }
365
+ this.thead += '</tr>'
366
+ },
367
+ print() {
368
+ this.$refs.print.PrintAsFile()
369
+ this.printshow = false
370
+ },
371
+ dealmsg(val) {
372
+ console.log('---------------dealmsg')
373
+ this.rowdata=val
374
+ this.show=true
375
+ val.model = this.model.model
376
+ this.$dispatch('deal-msg', val)
377
+ },
378
+ close() {
379
+ this.printshow = false
380
+ this.all = false
381
+ },
382
+ // 对选择的列进行排序
383
+ sortModelval() {
384
+ let sortModel = []
385
+ Object.keys(this.fields).forEach((key) => {
386
+ if (this.modelval.includes(key)) {
387
+ sortModel.push(key)
388
+ }
389
+ })
390
+ this.modelval = sortModel
391
+ console.log('选择的打印的字段', this.modelval)
392
+ },
393
+ userTypeChange () {
394
+ this.gasproperties=[]
395
+ if(this.$refs.paged.$refs.criteria.model !==null) {
396
+ this.$refs.paged.$refs.criteria.model.f_gasproperties=''
397
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
398
+ }
399
+ else{
400
+ this.gasproperties =[{label: '全部', value: ''}]
401
+ }
402
+ },
403
+ },
404
+ watch: {
405
+ 'all'(val) {
406
+ if (val) {
407
+ this.modelval = this.bodyData
408
+ } else {
409
+ this.modelval = defaultPrint.config
410
+ this.put()
411
+ }
412
+ },
413
+ 'modelval.length'() {
414
+ this.put()
415
+ },
416
+ sumsmodel:{
417
+ handler: function(val) {
418
+ this.getotherfooter();
419
+ },
420
+ deep: true
421
+ }
422
+ },
423
+ computed: {
424
+ getCondition() {
425
+ return {
426
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
427
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
428
+ f_orgid: this.orgCondtionStr
429
+
430
+ }
431
+
432
+ },
433
+ getfield() {
434
+ return exportConfig.shoufeistyle
435
+ },
436
+ whetherpaies () {
437
+ return [
438
+ {label: '全部', value: ''},
439
+ {label: '已缴费', value: '是'},
440
+ {label: '未缴费', value: '否'}
441
+ ]
442
+ },
443
+ usertypes() {
444
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
445
+ }
446
+
447
+ }
448
+ }
449
+ </script>
@@ -162,6 +162,9 @@
162
162
  <th>
163
163
  <nobr>公司</nobr>
164
164
  </th>
165
+ <th>
166
+ <nobr>操作</nobr>
167
+ </th>
165
168
  </tr>
166
169
  </template>
167
170
  <template partial='body'>
@@ -228,6 +231,9 @@
228
231
  <td style="text-align: center;">
229
232
  <nobr>{{row.f_depname}}</nobr>
230
233
  </td>
234
+ <td style="text-align: center;">
235
+ <button class="btn btn-link" @click.stop="$parent.$parent.$parent.showchargedetail(row)">查看</button>
236
+ </td>
231
237
  </template>
232
238
  <template partial='foot'></template>
233
239
  </data-grid>
@@ -252,6 +258,13 @@
252
258
  </div>
253
259
  </div>
254
260
  </div>
261
+ <modal :show.sync="showdetail" width="80%" title="详细记录" v-ref:modal large backdrop="false">
262
+ <article slot="modal-body" class="modal-body" style="height: 700px">
263
+ <charge-query :batchid="f_batch_id" :data="data" v-if="showdetail"></charge-query>
264
+ </article>
265
+ <footer slot="modal-footer" class="modal-footer">
266
+ </footer>
267
+ </modal>
255
268
  </template>
256
269
 
257
270
  <script>
@@ -270,6 +283,8 @@
270
283
  title: '团缴查询',
271
284
  data() {
272
285
  return {
286
+ f_batch_id: null,
287
+ showdetail: false,
273
288
  isSingleUser: null,
274
289
  startDate1:'',
275
290
  endDate1:'',
@@ -319,6 +334,10 @@
319
334
  })
320
335
  },
321
336
  methods: {
337
+ showchargedetail(row){
338
+ this.showdetail = true
339
+ this.f_batch_id = row.id
340
+ },
322
341
  getotherfooter () {
323
342
  // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
324
343
  // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
@@ -352,6 +352,20 @@ export default{
352
352
  'f_gas1': '阶一气量', 'f_gas2': '阶二气量', 'f_gas3': '阶三气量',
353
353
  'f_preamount': '收费金额', 'f_user_type': '用户类型', 'f_type': '收费类型', 'f_date': '日期', 'f_operator': '操作员'
354
354
  },
355
+ chaostyle: {
356
+ 'f_userinfo_code': '用户号', 'f_user_name': '用户名', 'f_address': '用户地址', 'f_last_tablebase': '起方',
357
+ 'f_tablebase': '止方', 'gas': '气量', 'f_price': '单价',
358
+ 'f_money': '金额', 'f_accounts_state': '下账状态', 'f_book_name': '抄表册', 'f_inputtor': '抄表员', 'f_operatorr': '录入员', 'f_audit_person': '审核人',
359
+ 'f_audit_date': '审核日期','f_meter_state': '抄表状态','f_hand_state': '表单状态','f_user_type': '客户类型','f_gasproperties': '用气性质',
360
+ 'f_price_id': '气价编号','f_price_name': '气价名称','f_meter_classify': '气表分类','f_accounting_date': '截止日期','beizhu': '备注',
361
+ 'f_meter_brand': '气表型号','f_calculation': '结算方式'
362
+ },
363
+ shoufeistyle: {
364
+ 'id': '收费编号', 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_address': '客户地址',
365
+ 'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'f_price_name': '价格类型',
366
+ 'f_last_tablebase': '上期底数', 'f_tablebase': '本期底数', 'f_price': '单价', 'f_gas': '气量', 'f_money': '金额', 'f_type': '收费类型',
367
+ 'f_payment': '收款方式','f_operate_date': '收费日期','f_operator': '操作员','f_depname': '部门','f_orgname': '公司'
368
+ },
355
369
  chargeSchedule: {
356
370
  'f_serial_id': '流水号', 'f_userinfo_code': '户号', 'f_user_name': '户主', 'f_address': '地址',
357
371
  'a': '气量', 'b': '金额', 'f_operator': '收费员',
@@ -386,6 +386,20 @@
386
386
  condition="f_llj_date <= '{} 23:59:59'">
387
387
  </datepicker>
388
388
  </div>
389
+ <div class="col-sm-2 form-group">
390
+ <label class="font_normal_body">设备类型</label>
391
+ <v-select :value.sync="row.f_devices_type" v-model="row.f_devices_type"
392
+ :options='$parent.$parent.devicetypes' placeholder='设备类型' :value-single="true"
393
+ condition="f_devices_type = '{}'"
394
+ close-on-select></v-select>
395
+ </div>
396
+ <div class="col-sm-2 form-group">
397
+ <label class="font_normal_body">使用时间</label>
398
+ <v-select :value.sync="row.f_use_date" v-model="row.f_use_date"
399
+ :options='$parent.$parent.useDate' placeholder='使用时间' :value-single="true"
400
+ condition="f_cost_type = '{}'"
401
+ close-on-select></v-select>
402
+ </div>
389
403
  </div>
390
404
  </div>
391
405
  </criteria>
@@ -431,7 +445,10 @@
431
445
  <th><nobr>证件类型</nobr></th>
432
446
  <th><nobr>证件号码</nobr></th>
433
447
  <th><nobr>人口数</nobr></th>
448
+ <th><nobr>最后安检日期</nobr></th>
434
449
  <th><nobr>保险结束日期</nobr></th>
450
+ <th><nobr>设备类型</nobr></th>
451
+ <th><nobr>使用时间</nobr></th>
435
452
  <th><nobr>建档日期</nobr></th>
436
453
  <th><nobr>建档人</nobr></th>
437
454
  <th><nobr>所属营业厅</nobr></th>
@@ -539,7 +556,10 @@
539
556
  <td style="text-align: center;"><nobr>{{row.f_credentials}}</nobr></td>
540
557
  <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
541
558
  <td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>
542
- <td style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td>
559
+ <td style="text-align: center;"><nobr>{{row.f_last_check_date}}</nobr></td><!--最后安检日期-->
560
+ <td style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td><!--保险结束日期-->
561
+ <td style="text-align: center;"><nobr>{{row.f_devices_type}}</nobr></td><!--设备类型-->
562
+ <td style="text-align: center;"><nobr>{{row.f_use_date}}</nobr></td><!--使用时间-->
543
563
  <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
544
564
  <td style="text-align: center;"><nobr>{{row.f_createfile_person}}</nobr></td>
545
565
  <td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
@@ -724,6 +744,7 @@
724
744
  // 下拉框参数
725
745
  userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
726
746
  bandstates:this.$appdata.getParam('微信绑定') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')] : [],
747
+ devicetypes: this.$appdata.getParam('设备类型'),
727
748
  initres: {
728
749
  org:[this.$login.f.orgid],
729
750
  dep:[],
@@ -735,6 +756,7 @@
735
756
  bookSlice:[{label: '全部',value: ''}],
736
757
  pricenames:[],
737
758
  dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
759
+ useDate:[{label:"8年以内",value:"8年以内"},{label:"8年以上",value:"8年以上"}]
738
760
  }
739
761
  },
740
762
  ready(){
@@ -130,10 +130,11 @@ export default{
130
130
  'f_user_state': '客户状态','f_userinfo_code': '客户编号','f_card_id': '卡号','f_user_name': '客户名称',
131
131
  'f_residential_area': '小区名称','f_address': '客户地址','f_user_phone': '客户电话',
132
132
  'f_gas_date': '通气日期','f_price_name': '气价名称','f_position': '安装位置','f_meter_type': '气表类型','f_meter_brand': '气表品牌',
133
- 'f_meternumber': '表号','f_metertitles': '表封号','f_aroundmeter': '左右表','f_install_date': '安装日期','f_meter_base': '气表底数',
133
+ 'f_meternumber': '表号','f_metertitles': '表封号','f_aroundmeter': '左右表','f_install_date': '安装日期','f_llj_date': '生产日期','f_meter_base': '气表底数',
134
134
  'f_balance': '账户余额','f_hand_date': '最后抄表日期','f_whether_hairpin': '是否发卡',
135
135
  'f_valve_state': '阀门状态','f_user_type': '客户类型','f_gasproperties': '用气性质',
136
- 'f_open_date': '开户时间','f_credentials': '证件类型','f_idnumber': '证件号码','f_people_num': '人口数','f_ins_stop_date': '保险结束日期',
136
+ 'f_open_date': '开户时间','f_credentials': '证件类型','f_idnumber': '证件号码','f_people_num': '人口数','f_last_check_date': '最后安检日期',
137
+ 'f_ins_stop_date': '保险结束日期','f_devices_type': '设备类型','f_use_date': '使用时间',
137
138
  'f_createfile_date': '建档日期','f_createfile_person': '建档人','f_depname': '所属营业厅','f_comments': '备注信息',
138
139
  'f_used_name': '曾用名','f_rent_phone': '备用电话','f_rent_name': '租户姓名','f_zuhu_phone': '租户电话',
139
140
  'f_contract_id': '合同ID','f_is_mgq': '是否煤改气','f_send_usegas_card': '是否发放天然气使用证',
@@ -820,7 +820,7 @@
820
820
  self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
821
821
  }
822
822
  export default {
823
- props:['data'],
823
+ props:['data', 'batchid'],
824
824
  title: '收费查询',
825
825
  data() {
826
826
  return {
@@ -904,6 +904,12 @@
904
904
  }
905
905
  },
906
906
  ready() {
907
+ if (this.batchid) {
908
+ this.$refs.paged.$refs.cri.model.startDate = this.data ? this.data.startDate : this.$login.toStandardDateString() + ' 00:00:00'
909
+ this.$refs.paged.$refs.cri.model.endDate = this.data ? this.data.endDate : this.$login.toStandardDateString() + ' 23:59:59'
910
+ this.$refs.paged.$refs.cri.search()
911
+ return
912
+ }
907
913
  // this.$refs.paged.$refs.cri.model.f_state=['有效']
908
914
  this.getaddress()
909
915
  this.getEquipment()
@@ -1055,7 +1061,7 @@
1055
1061
  this.prices = this.$MagGetSaleParam.getPrices();
1056
1062
  },
1057
1063
  selfSearch(args) {
1058
- if (this.data) {
1064
+ if (this.data && !this.batchid) {
1059
1065
  this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
1060
1066
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
1061
1067
  }
@@ -1068,6 +1074,9 @@
1068
1074
  if(this.IdCardInfo!=''){
1069
1075
  args.condition +=` and f_idnumber='${this.IdCardInfo}'`
1070
1076
  }
1077
+ if (this.batchid) {
1078
+ args.condition += ` and f_batch_id=${this.batchid}`
1079
+ }
1071
1080
  this.model.search(args.condition, args.model)
1072
1081
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
1073
1082
  this.card=''
@@ -1026,6 +1026,14 @@
1026
1026
  this.show = false
1027
1027
  },
1028
1028
  selfSearch(args) {
1029
+ if (!args.model.startDate) {
1030
+ this.$showMessage('开始日期必填!')
1031
+ return
1032
+ }
1033
+ if (!args.model.endDate) {
1034
+ this.$showMessage('结束日期必填!')
1035
+ return
1036
+ }
1029
1037
  if (this.data) {
1030
1038
  this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
1031
1039
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate