manage-client 3.3.232-kl → 3.3.233

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.
@@ -66,9 +66,17 @@
66
66
  <label class="font_normal_body">客户类型</label>
67
67
  <v-select :value.sync="model.f_user_type"
68
68
  v-model="model.f_user_type" condition="f_user_type = '{}'"
69
+ @change="$parent.$parent.userTypeChange()"
69
70
  :options='$parent.$parent.userTypes' placeholder='请选择'
70
71
  close-on-select></v-select>
71
72
  </div>
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body">用气性质</label>
75
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
76
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
77
+ condition="f_gasproperties = '{}'"
78
+ close-on-select></v-select>
79
+ </div>
72
80
  <div class="col-sm-2 form-group">
73
81
  <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人数&nbsp;&nbsp;&nbsp;&nbsp;</label>
74
82
  <input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
@@ -335,6 +343,9 @@
335
343
  <th>
336
344
  <nobr>客户类型</nobr>
337
345
  </th>
346
+ <th>
347
+ <nobr>用气性质</nobr>
348
+ </th>
338
349
  <th>
339
350
  <data-order field="f_address" name="客户地址"
340
351
  :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
@@ -434,6 +445,9 @@
434
445
  <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
435
446
  <nobr>{{row.f_user_type}}</nobr>
436
447
  </td>
448
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
449
+ <nobr>{{row.f_gasproperties}}</nobr>
450
+ </td>
437
451
  <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
438
452
  <nobr>{{row.f_address}}</nobr>
439
453
  </td>
@@ -589,6 +603,7 @@
589
603
  printshow: false,
590
604
  all: false,
591
605
  fields: {},
606
+ gasproperties: [],
592
607
  //排序
593
608
  orderitem:'f_userinfo_code desc',
594
609
  orderFields: {
@@ -718,6 +733,16 @@
718
733
  cancel(obj) {
719
734
  this.show = false
720
735
  },
736
+ userTypeChange() {
737
+ this.gasproperties = []
738
+ if (this.$refs.paged.$refs.cri.model !== null) {
739
+ this.$refs.paged.$refs.cri.model.f_gasproperties = ''
740
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
741
+ } else {
742
+ this.gasproperties = [{label: '全部', value: ''}]
743
+ }
744
+ },
745
+
721
746
  showmsg(obj){
722
747
 
723
748
  this.rowdata=obj