manage-client 3.2.246 → 3.2.247

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.
@@ -310,7 +310,7 @@
310
310
  <nobr>收费编号</nobr>
311
311
  </th>
312
312
  <th>
313
- <!-- <nobr>客户编号</nobr>-->
313
+ <!-- <nobr>客户编号</nobr>-->
314
314
  <data-order field="f_userinfo_code" name="客户编号"
315
315
  :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
316
316
  </th>
@@ -496,9 +496,10 @@
496
496
  <td style="text-align: center;">
497
497
  <nobr>{{row.id}}</nobr>
498
498
  </td>
499
- <td style="text-align: center;"><nobr>
500
- <nobr>{{row.f_userinfo_code}}</nobr>
501
- </nobr> </td>
499
+ <td style="text-align: center;">
500
+ <nobr>
501
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
502
+ </td>
502
503
  <td style="text-align: center;">
503
504
  <nobr>{{row.f_olduserinfo_code}}</nobr>
504
505
  </td>
@@ -1015,6 +1016,8 @@
1015
1016
 
1016
1017
  },
1017
1018
  dealmsg(val,startDate,endDate) {
1019
+ this.rowdata=val
1020
+ this.show=true
1018
1021
  val.model = this.model.model
1019
1022
  startDate=this.startDate1
1020
1023
  endDate=this.endDate1
@@ -123,12 +123,6 @@
123
123
  <input type="text" style="width:60%" class="input_search" v-model="model.f_taxpayer_id"
124
124
  condition="f_taxpayer_id like '%{}%'" placeholder='发票编码'>
125
125
  </div>
126
- <div class="col-sm-2 form-group">
127
- <label class="font_normal_body">燃气表号</label>
128
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
129
- condition="f_meternumber like '%{}%'" placeholder='燃气表号'>
130
- </div>
131
-
132
126
  <div class="col-sm-2 form-group">
133
127
  <label class="font_normal_body">气表分类</label>
134
128
  <v-select :value.sync="model.f_meter_classify"
@@ -146,11 +140,11 @@
146
140
  condition="f_meter_brand in {}"
147
141
  ></v-select>
148
142
  </div>
149
- <!-- <div class="col-sm-2 form-group">-->
150
- <!-- <label class="font_normal_body">表&emsp;&emsp;号</label>-->
151
- <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_meter_number"-->
152
- <!-- condition="f_meternumber = '{}'" placeholder='表号'>-->
153
- <!-- </div>-->
143
+ <div class="col-sm-2 form-group">
144
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
145
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meter_number"
146
+ condition="f_meternumber = '{}'" placeholder='表号'>
147
+ </div>
154
148
  <div class="col-sm-2 form-group">
155
149
  <label class="font_normal_body">卡&emsp;&emsp;号</label>
156
150
  <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
@@ -240,13 +234,6 @@
240
234
  <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
241
235
  condition="f_userfiles_address like '%{}%'" placeholder="用气点">
242
236
  </div>
243
- <!-- <div class="col-sm-2 form-group">-->
244
- <!-- <label class="font_normal_body">用气性质</label>-->
245
- <!-- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"-->
246
- <!-- :options='$parent.$parent.gasproperties' placeholder='请选择'-->
247
- <!-- condition="f_gasproperties in {}"-->
248
- <!-- ></v-select>-->
249
- <!-- </div>-->
250
237
  <div class="col-sm-2 form-group">
251
238
  <label class="font_normal_body">用气性质</label>
252
239
  <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
@@ -299,25 +286,6 @@
299
286
  condition="f_position = '{}'"
300
287
  close-on-select></v-select>
301
288
  </div>
302
-
303
- <!--表册片区-->
304
- <!-- <div class="col-sm-2 form-group">-->
305
- <!-- <label class="font_normal_body">表册片区</label>-->
306
- <!-- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"-->
307
- <!-- @change="$parent.$parent.inputtorchange"-->
308
- <!-- :options='$parent.$parent.bookSlice' placeholder='片区/表册'-->
309
- <!-- style="width:60%"-->
310
- <!-- close-on-select-->
311
- <!-- condition="f_book_slice_area = '{}'"></v-select>-->
312
- <!-- </div>-->
313
- <!-- <div class="col-sm-2 form-group">-->
314
- <!-- <label class="font_normal_body">抄&ensp;表&ensp;册</label>-->
315
- <!-- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"-->
316
- <!-- :options='$parent.$parent.meterbooks' placeholder='请选择'-->
317
- <!-- style="width:60%"-->
318
- <!-- close-on-select-->
319
- <!-- condition="f_meter_book_num = '{}'"></v-select>-->
320
- <!-- </div>-->
321
289
  <div class="col-sm-2 form-group">
322
290
  <label class="font_normal_body">房屋类型</label>
323
291
  <v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
@@ -394,11 +362,6 @@
394
362
  condition="f_gas_date <= '{} 23:59:59'">
395
363
  </datepicker>
396
364
  </div>
397
- <!-- <div class="col-sm-2 form-group" >-->
398
- <!-- <label class="font_normal_body">气表表号</label>-->
399
- <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"-->
400
- <!-- condition="f_meternumber like '%{}%'" placeholder='气表表号'>-->
401
- <!-- </div>-->
402
365
  <div class="col-sm-2 form-group">
403
366
  <label class="font_normal_body">使用类型</label>
404
367
  <v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
@@ -415,31 +378,6 @@
415
378
  style="width:60%"
416
379
  condition="f_table_state in {}"></v-select>
417
380
  </div>
418
- <!-- <div class="col-sm-2 form-group">-->
419
- <!-- <label class="font_normal_body">档案抄表员</label>-->
420
- <!-- <v-select :value.sync="model.f_book_inputtor" v-model='model.f_book_inputtor'-->
421
- <!-- style="width:60%"-->
422
- <!-- multiple-->
423
- <!-- :options='$parent.$parent.inputtores' placeholder='档案抄表员'-->
424
- <!-- v-el:cc></v-select>-->
425
- <!-- </div>-->
426
- <!-- <div class="col-sm-2 form-group">-->
427
- <!-- <label class="font_normal_body">表册抄表员</label>-->
428
- <!-- <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'-->
429
- <!-- style="width:60%"-->
430
- <!-- multiple-->
431
- <!-- :options='$parent.$parent.inputtores' placeholder='表册抄表员'-->
432
- <!-- v-el:cc></v-select>-->
433
- <!-- </div>-->
434
- <!-- <div class="col-sm-2 form-group">-->
435
- <!-- <label class="font_normal_body">安&ensp;装&ensp;人</label>-->
436
- <!-- <v-select :value.sync="model.f_install_person" v-model='model.f_install_person'-->
437
- <!-- style="width:60%"-->
438
- <!-- multiple-->
439
- <!-- :options='$parent.$parent.person' placeholder='安装人'-->
440
- <!-- condition="f_install_person in {}"-->
441
- <!-- v-el:cc></v-select>-->
442
- <!-- </div>-->
443
381
  <div class="col-sm-2 form-group">
444
382
  <label class="font_normal_body">自动阀控</label>
445
383
  <v-select
@@ -533,112 +471,61 @@
533
471
  <th><nobr>档案编号</nobr></th>
534
472
  <th><nobr>是否发卡</nobr></th>
535
473
  <th><nobr>卡号</nobr></th>
536
- <!-- <th><nobr>客户名称</nobr></th>-->
537
- <!-- <th><nobr>小区名称</nobr></th>-->
538
474
  <th><nobr>楼栋</nobr></th>
539
475
  <th><nobr>单元</nobr></th>
540
476
  <th><nobr>楼层</nobr></th>
541
477
  <th><nobr>门牌号</nobr></th>
542
- <!-- <th>-->
543
- <!-- <data-order field="f_userinfo_code" name="客户地址"-->
544
- <!-- :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>-->
545
- <!-- </th>-->
546
- <!-- <th><nobr>客户电话</nobr></th>-->
547
- <th><nobr>表册片区</nobr></th>
548
- <!-- <th>-->
549
- <!-- &lt;!&ndash;<nobr>通气日期</nobr>&ndash;&gt;-->
550
- <!-- <data-order field="f_gas_date" name="通气日期" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>-->
551
- <!-- </th>-->
552
- <!-- 气价类型,单价暂时未处理 -->
553
478
  <th><nobr>气价类型</nobr></th>
554
479
  <th><nobr>气价名称</nobr></th>
555
480
  <th><nobr>单价</nobr></th>
556
-
557
481
  <th><nobr>安装位置</nobr></th>
558
482
  <th><nobr>缴费类型</nobr></th>
559
- <!-- <th><nobr>气表类型</nobr></th>-->
560
- <!-- <th><nobr>气表品牌</nobr></th>-->
561
- <!-- <th><nobr>表号</nobr></th>-->
562
483
  <th><nobr>表封号</nobr></th>
563
- <!-- <th><nobr>左右表</nobr></th>-->
564
484
  <th>
565
- <!--<nobr>气表安装日期</nobr>-->
566
485
  <data-order field="f_install_date" name="气表安装日期" :order.sync="$parent.$parent.$parent.orderFields.f_install_date"></data-order>
567
486
  </th>
568
487
  <th><nobr>气表底数</nobr></th>
569
488
  <th><nobr>账户余额</nobr></th>
570
489
  <th>
571
- <!--<nobr>最后抄表日期</nobr>-->
572
490
  <data-order field="f_hand_date" name="最后抄表日期" :order.sync="$parent.$parent.$parent.orderFields.f_hand_date"></data-order>
573
491
  </th>
574
- <!--<th><nobr>最后购气日期</nobr></th>-->
575
-
576
492
  <th><nobr>自动阀控</nobr></th>
577
493
  <th><nobr>阀门状态</nobr></th>
578
-
579
- <!-- <th><nobr>旧客户编号</nobr></th> -->
580
494
  <th><nobr>客户类型</nobr></th>
581
495
  <th><nobr>用气性质</nobr></th>
582
496
  <th>
583
- <!--<nobr>开户时间</nobr>-->
584
497
  <data-order field="f_open_date" name="开户时间" :order.sync="$parent.$parent.$parent.orderFields.f_open_date"></data-order>
585
-
586
498
  </th>
587
499
  <th><nobr>证件类型</nobr></th>
588
- <!-- <th><nobr>证件号码</nobr></th>-->
589
500
  <th><nobr>人口数</nobr></th>
590
501
  <th>
591
- <!--<nobr>保险结束日期</nobr>-->
592
502
  <data-order field="f_ins_stop_date" name="保险结束日期" :order.sync="$parent.$parent.$parent.orderFields.f_ins_stop_date"></data-order>
593
503
  </th>
594
- <!-- <th>-->
595
- <!-- &lt;!&ndash;<nobr>建档日期</nobr>&ndash;&gt;-->
596
- <!-- <data-order field="f_createfile_date" name="建档日期" :order.sync="$parent.$parent.$parent.orderFields.f_createfile_date"></data-order>-->
597
- <!-- </th>-->
598
504
  <th><nobr>建档人</nobr></th>
599
505
  <th><nobr>所属营业厅</nobr></th>
600
- <!-- <th><nobr>备注信息</nobr></th>-->
601
-
602
- <!-- <th><nobr>气价详情</nobr></th>-->
603
506
  <th><nobr>曾用名</nobr></th>
604
507
  <th><nobr>备用电话</nobr></th>
605
508
  <th><nobr>租户姓名</nobr></th>
606
509
  <th><nobr>租户电话</nobr></th>
607
- <!--<th><nobr>曾用名</nobr></th>-->
608
- <!-- <th><nobr>发票编码</nobr></th>-->
609
510
  <th><nobr>是否煤改气</nobr></th>
610
511
  <th><nobr>是否发放天然气使用证</nobr></th>
611
-
612
512
  <th><nobr>使用类型</nobr></th>
613
-
614
- <!-- <th><nobr>使用状态</nobr></th>-->
615
- <!--<th><nobr>通气时间</nobr></th>-->
616
-
617
- <!-- <th><nobr>气表型号</nobr></th>-->
618
513
  <th><nobr>表具状态</nobr></th>
619
514
  <th><nobr>初始气表底数</nobr></th>
620
515
  <th><nobr>累计用气金额</nobr></th>
621
516
  <th><nobr>表累购气量</nobr></th>
622
517
  <th><nobr>表累购金额</nobr></th>
623
-
624
518
  <th><nobr>抄表员(表册)</nobr></th>
625
519
  <th><nobr>抄表员(档案)</nobr></th>
626
520
  <th><nobr>用气点</nobr></th>
627
521
  <th><nobr>安装人</nobr></th>
628
- <!-- <th><nobr>通气人</nobr></th>-->
629
- <!-- <th><nobr>点火状态</nobr></th>-->
630
522
  <th><nobr>抄表册编号</nobr></th>
631
-
632
523
  <th><nobr>抄表册顺序</nobr></th>
633
524
  <th><nobr>表剩余金额</nobr></th>
634
- <!-- <th><nobr>首次购气日期</nobr></th>-->
635
525
  <th><nobr>写卡次数</nobr></th>
636
526
  <th><nobr>补卡次数</nobr></th>
637
- <!-- <th><nobr>购气次数</nobr></th>-->
638
-
639
527
  <th><nobr>表同步状态</nobr></th>
640
528
  <th><nobr>微信绑定</nobr></th>
641
-
642
529
  <th>
643
530
  <nobr>银行户名</nobr>
644
531
  </th>
@@ -658,7 +545,6 @@
658
545
  <nobr>报警器编号</nobr>
659
546
  </th>
660
547
  <th>
661
- <!--<nobr>换表时间</nobr>-->
662
548
  <data-order field="f_maxdate" name="换表时间" :order.sync="$parent.$parent.$parent.orderFields.f_maxdate"></data-order>
663
549
  </th>
664
550
  <th>
@@ -687,26 +573,16 @@
687
573
  <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
688
574
  <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
689
575
  <td style="text-align: center;"><nobr>{{row.f_factory_date}}</nobr></td>
690
- <!-- <td style="text-align: center;"><nobr>-->
691
- <!-- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>-->
692
- <!-- </nobr> </td>-->
693
576
  <td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
694
577
  <td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
695
578
  <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
696
579
  <td style="text-align: center;"><nobr>{{row.f_whether_hairpin}}</nobr></td>
697
580
  <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
698
- <!-- <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>-->
699
- <!-- <td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>-->
700
581
  <td style="text-align: center;"><nobr>{{row.f_floor}}</nobr></td>
701
582
  <td style="text-align: center;"><nobr>{{row.f_building}}</nobr></td>
702
583
  <td style="text-align: center;"><nobr>{{row.f_unit}}</nobr></td>
703
- <!-- <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>-->
704
584
  <td style="text-align: center;"><nobr>{{row.f_room}}</nobr></td>
705
- <!-- <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>-->
706
- <td style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></td>
707
- <!-- <td style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>-->
708
- <!-- 气价类型,单价暂时未处理 -->
709
- <td style="text-align: center;"><nobr>&nbsp;&nbsp;</nobr></td>
585
+ <td style="text-align: center;"><nobr>{{ row.f_price_type }}</nobr></td>
710
586
  <td style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
711
587
  <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>
712
588
 
@@ -847,40 +723,13 @@
847
723
 
848
724
  <script>
849
725
  import {HttpResetClass, PagedList} from 'vue-client'
850
- import defaultPrint from './config/DefaultPrint'
851
- import exportConfig from './config/exportConfig'
852
- // let cardBtnGen = async function (self, val) {
853
- // self.cardInfo = val.data
854
- //
855
- // // 判断读卡是否需要卡密码
856
- // console.log('读卡上的信息', self.cardInfo)
857
- //
858
- // if (self.cardInfo.NewParam) {
859
- // if (self.cardInfo.NewParam.error) {
860
- // if (self.cardInfo.NewParam.error === '0001') {
861
- // // 需要重新读卡并传卡密码
862
- // if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
863
- // self.readCardParam = self.model.rows[0].f_card_password
864
- // self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
865
- // } else {
866
- // self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
867
- // return
868
- // }
869
- // }
870
- // }
871
- // }
872
- // self.card=self.cardInfo.CardID
873
- // self.search()
874
- // }
726
+ import defaultPrint from './DefaultPrint'
727
+ import exportConfig from './exportConfig'
875
728
  let readySomething = async function (self) {
876
729
  await self.$MagLoadParams.loadParam()
877
- // await self.$LoadParams.loadParam(self.f_filialeid)
878
730
  self.initParams()
879
731
  self.getPricenames();
880
732
  self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
881
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
882
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
883
- // await self.$refs.paged.$refs.cri.search()
884
733
  }
885
734
  export default {
886
735
  title: '综合档案信息查询',
@@ -915,8 +764,6 @@ export default {
915
764
  defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
916
765
  },
917
766
  area: [],
918
- inputtouPerson: [],
919
- bookinputtorperson:[],
920
767
  conditon2:'',
921
768
  show:false,
922
769
  rowdata:{},
@@ -929,14 +776,13 @@ export default {
929
776
  },
930
777
  // 合计数据
931
778
  sumsmodel: {},
932
- //表册片区
933
- bookSlice:[{label: '全部',value: ''}],
934
779
  pricenames:[],
935
780
  dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
936
781
  networkvalves: this.$appdata.getParam('自动阀控') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('自动阀控')] : [],
937
782
  }
938
783
  },
939
784
  ready(){
785
+ console.log('这是荣创11111111111')
940
786
  this.getaddress()
941
787
  this.$refs.paged.$refs.cri.model.f_user_state=['正常']
942
788
  readySomething(this).then(() => {
@@ -998,13 +844,6 @@ export default {
998
844
  let exportdata = this.getCondition;
999
845
  let otherInData = [];
1000
846
  otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
1001
- // let footerData = [], exportfield = this.getExportField;
1002
- // footerData.push("合计");
1003
- // let self = this;
1004
- // for (var field in self.sumsmodel) {
1005
- // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
1006
- // }
1007
- // this.footer.push(footerData);
1008
847
  this.other.push(otherInData);
1009
848
  },
1010
849
  initParams() {
@@ -1047,29 +886,6 @@ export default {
1047
886
  this.show=true
1048
887
  },
1049
888
  selfSearch (args) {
1050
-
1051
- //抄表员查询条件
1052
- this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
1053
- if(this.inputtouPerson.length !== 0){
1054
- let str = JSON.stringify(this.inputtouPerson)
1055
- str = str.replace(/"/g,`'`)
1056
- str = str.replace(/\[/g,``)
1057
- str = str.replace(/\]/g,``)
1058
- console.log("=====抄表员model22222222222绑定====",str)
1059
- //查询多个抄表员时条件
1060
- args.condition += ` and f_inputtor in ( ${str} )`
1061
- }
1062
- //debugger
1063
- this.bookinputtorperson = this.$refs.paged.$refs.cri.model.f_book_inputtor;
1064
- if(this.bookinputtorperson.length !== 0){
1065
- let str = JSON.stringify(this.bookinputtorperson)
1066
- str = str.replace(/"/g,`'`)
1067
- str = str.replace(/\[/g,``)
1068
- str = str.replace(/\]/g,``)
1069
- console.log("=====抄表员model22222222222绑定====",str)
1070
- //查询多个抄表员时条件
1071
- args.condition += ` and f_book_inputtor in ( ${str} )`
1072
- }
1073
889
  if (!this.orgCondtionStr) {
1074
890
  args.condition = `${args.condition}` + " and uf.f_orgid = " + this.$login.f.orgid
1075
891
  } else {
@@ -1131,7 +947,6 @@ export default {
1131
947
  if(this.$refs.paged.$refs.cri.model !==null) {
1132
948
  this.$refs.paged.$refs.cri.model.f_gasproperties=''
1133
949
  this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1134
- // this.gasproperties.push({label: '全部', value: ''})
1135
950
  }
1136
951
  else{
1137
952
  this.gasproperties =[{label: '全部', value: ''}]
@@ -1175,57 +990,6 @@ export default {
1175
990
  })
1176
991
  }
1177
992
  },
1178
- //表册片区和抄表册关联
1179
- async inputtorchange(){
1180
- this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
1181
- /*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
1182
- let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
1183
- if((val2.length>0)){
1184
- let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
1185
- /*if (val1[0]){
1186
- condition = condition+ ` and f_meter_book = '${val1[0]}' `
1187
- }*/
1188
- if(val2[0]) {
1189
- condition = condition + ` and f_book_slice_area = '${val2}' `
1190
- }
1191
- let param={
1192
- items:'*',
1193
- tablename:'t_meter_book',
1194
- condition:condition,
1195
- orderitem:'id'
1196
- }
1197
- let getMeterBooks = await this.$resetpost('rs/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
1198
- if (getMeterBooks.data) {
1199
- if(getMeterBooks.data.length >0){
1200
- let rs = [];
1201
- getMeterBooks.data.forEach((item)=>{
1202
- let temp = {
1203
- label:item.f_book_name,
1204
- value:item.id
1205
- };
1206
- rs.push(temp);
1207
-
1208
- })
1209
- this.meterbooks = [{label: '全部',value: ''}, ...rs];
1210
- }else{
1211
- this.meterbooks = [{label: '全部',value: ''}];
1212
- }
1213
- }
1214
- }else{
1215
- this.meterbooks = [{label: '全部',value: ''}];
1216
- this.initmeterbook();
1217
- }
1218
- },
1219
- async initmeterbook(orgstr){
1220
- if(orgstr == null ){
1221
- orgstr = this.f_filialeid;
1222
- }
1223
- //获取新的抄表册,先去清理所有的抄表册
1224
- this.$GetSaleParam.meterbooks = [];
1225
- //开始加载新的抄表册
1226
- await this.$LoadParams.loadMeterBook(orgstr)
1227
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
1228
- },
1229
993
  sort (field, rule) {
1230
994
  // 将所有排序方式设为不排序,实现相互排斥
1231
995
  for (let key in this.orderFields) {
@@ -1331,22 +1095,6 @@ export default {
1331
1095
  tablestate() {
1332
1096
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
1333
1097
  },
1334
- inputtores () {
1335
- // 获取抄表员
1336
- console.log('获取抄表员', this.$login.f)
1337
- let rs = []
1338
- if (this.$login.f.f_gasman.length > 0) {
1339
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1340
- let temp = {
1341
- label: this.$login.f.f_gasman[i].name,
1342
- value: this.$login.f.f_gasman[i].name
1343
- }
1344
- rs.push(temp)
1345
- }
1346
- }
1347
-
1348
- return [{label: '全部', value: ''}, ...rs]
1349
- },
1350
1098
  authArr () {
1351
1099
  return this.$login.r ? this.$login.r : []
1352
1100
  },
@@ -8,4 +8,8 @@ export default function () {
8
8
  Vue.component('print-table-rc', (resolve) => { require(['./PrintTable'], resolve) })
9
9
  // 表具档案综合查询
10
10
  Vue.component('record-info-query', (resolve) => { require(['./RecordInfoQuery'], resolve) })
11
+ Vue.component('change-meter-query', (resolve) => { require(['./ChangeMeterQuery'], resolve) })
12
+ // 业务查询管理
13
+ Vue.component('business-manage', (resolve) => { require(['./BusinessManage'], resolve) })
14
+ Vue.component('busines-query', (resolve) => {require(['./BusinesQuery'], resolve)})
11
15
  }