manage-client 3.3.91 → 3.3.94

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.
@@ -100,13 +100,12 @@
100
100
  </div>
101
101
  <div class="col-sm-2 form-group">
102
102
  <label for="f_user_usetype" class="font_normal_body ">用气类型</label>
103
- <v-select :value.sync="model.f_user_usetype" :search="false"
103
+ <v-select :value.sync="model.f_userusetype" :search="false"
104
104
  @change="$parent.$parent.userUseTypeChange()"
105
- v-model="model.f_user_usetype"
106
- :value-single="true"
105
+ v-model="model.f_userusetype"
106
+ :multiple="true"
107
107
  :options='$parent.$parent.userusetypes'
108
- placeholder='用气类型'
109
- close-on-select>
108
+ placeholder='用气类型'>
110
109
  </v-select>
111
110
  </div>
112
111
  <div class="col-sm-2 form-group">
@@ -369,11 +368,11 @@ export default {
369
368
  this.userusetypes = []
370
369
  this.userusenatures = []
371
370
  this.useinstitutions = []
372
- this.$refs.paged.$refs.cri.model.f_user_usetype = ''
371
+ this.$refs.paged.$refs.cri.model.f_userusetype = []
373
372
  this.$refs.paged.$refs.cri.model.f_use_institution = ''
374
373
  this.$refs.paged.$refs.cri.model.f_user_usenature = ''
375
374
  if (this.$refs.paged.$refs.cri.model.f_user_type) {
376
- let str = this.$refs.paged.$refs.cri.model.f_user_type + '用气类型'
375
+ let str = this.$refs.paged.$refs.cri.model.f_user_type + '用气类型'
377
376
  this.userusetypes = this.$appdata.getParam(str)
378
377
  }
379
378
  },
@@ -382,10 +381,18 @@ export default {
382
381
  this.userusenatures = []
383
382
  this.$refs.paged.$refs.cri.model.f_use_institution = ''
384
383
  this.$refs.paged.$refs.cri.model.f_user_usenature = ''
385
- if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
386
- let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
387
- this.useinstitutions = this.$appdata.getParam(str)
384
+ if (this.$refs.paged.$refs.cri.model.f_userusetype.length > 0) {
385
+ for (var i = 0; i < this.$refs.paged.$refs.cri.model.f_userusetype.length; i++) {
386
+ let str = this.$refs.paged.$refs.cri.model.f_userusetype[i] + '机构'
387
+ let getParam = this.$appdata.getParam(str)
388
+ Array.prototype.push.apply(this.useinstitutions, getParam);
389
+ }
388
390
  }
391
+ let temp = {}
392
+ this.useinstitutions = this.useinstitutions.filter(function(item) {
393
+ var key = JSON.stringify(item);
394
+ return temp.hasOwnProperty(key) ? false : (temp[key] = true);
395
+ });
389
396
  },
390
397
  userUseInstitutionChange () {
391
398
  this.userusenatures = []
@@ -432,6 +439,11 @@ export default {
432
439
  },
433
440
  async selfSearch (args) {
434
441
  let companyCondition2 = '1=1'
442
+ if (this.$refs.paged.$refs.cri.model.f_userusetype.length > 0) {
443
+ this.$refs.paged.$refs.cri.model.f_user_usetype = this.appendCondition(this.$refs.paged.$refs.cri.model.f_userusetype)
444
+ } else {
445
+ this.$refs.paged.$refs.cri.model.f_user_usetype = ''
446
+ }
435
447
  if (!this.orgConditionStr) {
436
448
  args.condition = `${args.condition}` + ' and f_orgid = ' + this.$login.f.orgid
437
449
  } else {
@@ -79,7 +79,6 @@
79
79
  <v-select :value.sync="model.f_user_type"
80
80
  :options='$parent.$parent.usertypes'
81
81
  placeholder='请选择' v-model="model.f_user_type"
82
- condition="f_user_type = '{}'"
83
82
  :value-single="true"
84
83
  @change="$parent.$parent.userTypeChange()"
85
84
  close-on-select></v-select>
@@ -89,11 +88,10 @@
89
88
  <v-select :value.sync="model.f_user_usetype" :search="false"
90
89
  @change="$parent.$parent.userUseTypeChange()"
91
90
  v-model="model.f_user_usetype"
92
- :value-single="true"
91
+ :multiple="true"
93
92
  :options='$parent.$parent.userusetypes'
94
- condition="f_user_usetype = '{}'"
95
- placeholder='用气类型'
96
- close-on-select>
93
+ condition="f_user_usetype in {}"
94
+ placeholder='用气类型'>
97
95
  </v-select>
98
96
  </div>
99
97
  <div class="col-sm-2 form-group">
@@ -441,7 +439,7 @@ export default {
441
439
  this.userusetypes = []
442
440
  this.userusenatures = []
443
441
  this.useinstitutions = []
444
- this.$refs.paged.$refs.cri.model.f_user_usetype = ''
442
+ this.$refs.paged.$refs.cri.model.f_user_usetype = []
445
443
  this.$refs.paged.$refs.cri.model.f_use_institution = ''
446
444
  this.$refs.paged.$refs.cri.model.f_user_usenature = ''
447
445
  if (this.$refs.paged.$refs.cri.model.f_user_type) {
@@ -454,10 +452,18 @@ export default {
454
452
  this.userusenatures = []
455
453
  this.$refs.paged.$refs.cri.model.f_use_institution = ''
456
454
  this.$refs.paged.$refs.cri.model.f_user_usenature = ''
457
- if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
458
- let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
459
- this.useinstitutions = this.$appdata.getParam(str)
455
+ if (this.$refs.paged.$refs.cri.model.f_user_usetype.length > 0) {
456
+ for (var i = 0; i < this.$refs.paged.$refs.cri.model.f_user_usetype.length; i++) {
457
+ let str = this.$refs.paged.$refs.cri.model.f_user_usetype[i] + '机构'
458
+ let getParam = this.$appdata.getParam(str)
459
+ Array.prototype.push.apply(this.useinstitutions, getParam);
460
+ }
460
461
  }
462
+ let temp = {}
463
+ this.useinstitutions = this.useinstitutions.filter(function(item) {
464
+ var key = JSON.stringify(item);
465
+ return temp.hasOwnProperty(key) ? false : (temp[key] = true);
466
+ });
461
467
  },
462
468
  userUseInstitutionChange () {
463
469
  this.userusenatures = []
@@ -519,6 +525,11 @@ export default {
519
525
  companyCondition2 = companyCondition2 + ' and id in (' + await this.appendCondition(args.model.f_residential_area_id) + ')'
520
526
  }
521
527
  }
528
+ if (this.$refs.paged.$refs.cri.model.f_user_type == '民用' && !this.$refs.paged.$refs.cri.model.f_user_usetype[0]) {
529
+ args.condition = args.condition + " and f_user_usetype in ('居民用气')"
530
+ } else if (this.$refs.paged.$refs.cri.model.f_user_type == '非民用' && !this.$refs.paged.$refs.cri.model.f_user_usetype[0]) {
531
+ args.condition = args.condition + " and f_user_usetype in ('公福用气','商业用户','工业用户')"
532
+ }
522
533
  args.model.condition2 = companyCondition2
523
534
  this.condition = args.condition
524
535
  console.log("查看条件",this.condition)
@@ -99,7 +99,7 @@ export default{
99
99
  'f_delaypay': '违约金', 'f_comments': '备注', 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司',
100
100
  'f_yucun': '预存金额', 'f_card_id': '卡号', 'f_stairamount1': '一阶气量', 'f_stair1price': '一阶单价', 'f_stair1fee': '一阶气费',
101
101
  'f_stair2amount': '二阶气量', 'f_stair2price': '二阶单价', 'f_stair2fee': '二阶气费',
102
- 'f_stair3amount': '三阶气量', 'f_stair3price': '三阶单价', 'f_stair3fee': '三阶气费', 'f_inputtor': '抄表员','f_residential_area':'小区','f_serial_number':'业务单号'
102
+ 'f_stair3amount': '三阶气量', 'f_stair3price': '三阶单价', 'f_stair3fee': '三阶气费', 'f_inputtor': '抄表员','f_residential_area':'小区','f_serial_number':'业务单号', 'f_user_comments': '用户档案备注'
103
103
  },
104
104
  loginQueryConfig:{
105
105
  'userid': '登录人编号','username': '登录人名称', 'logindate': '登录时间', 'type': '类型'
@@ -550,6 +550,9 @@
550
550
  <th>
551
551
  <nobr>三阶气费</nobr>
552
552
  </th>
553
+ <th>
554
+ <nobr>用户档案备注</nobr>
555
+ </th>
553
556
 
554
557
  <th><nobr>附件</nobr></th>
555
558
  </tr>
@@ -764,6 +767,9 @@
764
767
  <td style="text-align: center;">
765
768
  <nobr>{{(row.f_stair3fee - 0).toFixed(2)}}</nobr>
766
769
  </td>
770
+ <td style="text-align: center;">
771
+ <nobr>{{row.f_user_comments}}</nobr>
772
+ </td>
767
773
  <td style="text-align: center;"><nobr>
768
774
  <button style=" height: 28px;line-height: 16px;" class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
769
775
  </nobr></td>
@@ -50,13 +50,6 @@
50
50
  condition="f_state in {}"
51
51
  close-on-select></v-select>
52
52
  </div>
53
- <div :class="$parent.$parent.style">
54
- <label class="font_normal_body">缴费渠道</label>
55
- <v-select :value.sync="model.f_payment" v-model="model.f_payment"
56
- :options='$parent.$parent.paymentchannels' placeholder='请选择'
57
- condition="f_payment {} "
58
- close-on-select></v-select>
59
- </div>
60
53
  <div :class="$parent.$parent.style">
61
54
  <label class="font_normal_body">气表品牌</label>
62
55
  <v-select :value.sync="model.f_meter_brand" multiple
@@ -93,7 +86,7 @@
93
86
  <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
94
87
  condition="f_address like '%{}%'" placeholder='客户地址'>
95
88
  </div>
96
- <div :class="$parent.$parent.style">
89
+ <div :class="$parent.$parent.style" title="参数名称:【付款方式查询】">
97
90
  <label class="font_normal_body">付款方式</label>
98
91
  <v-select id="f_payment"
99
92
  v-model="model.f_payment"
@@ -445,7 +438,7 @@ export default {
445
438
  return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
446
439
  },
447
440
  payments() {
448
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
441
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式查询')]
449
442
  },
450
443
  sellstate() {
451
444
  return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费状态')]
@@ -720,4 +720,21 @@ export default function () {
720
720
  Vue.component('web-gastype-report', (resolve) => {
721
721
  require(['./components/handReport/WebGastypeReport.vue'], resolve)
722
722
  })
723
+
724
+ // 收费日统计报表
725
+ Vue.component('day-sell-summary', (resolve) => {
726
+ require(['./components/SellReport/daySellSummary'], resolve)
727
+ })
728
+ // 收费月统计报表
729
+ Vue.component('month-sell-summary', (resolve) => {
730
+ require(['./components/SellReport/monthSellSummary'], resolve)
731
+ })
732
+ // 补气费统计报表
733
+ Vue.component('manage-fillgas-summary', (resolve) => {
734
+ require(['./components/SellReport/FillGasSummary'], resolve)
735
+ })
736
+ // 补卡费统计报表
737
+ Vue.component('manage-fillcard-summary', (resolve) => {
738
+ require(['./components/SellReport/FillCardSummary'], resolve)
739
+ })
723
740
  }