manage-client 3.2.25 → 3.2.29

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.
@@ -80,9 +80,10 @@
80
80
  <div class="col-sm-2 form-group">
81
81
  <label class="font_normal_body">补气类型</label>
82
82
  <v-select :value.sync="model.f_fill_type"
83
+ :multiple="true"
83
84
  v-model="model.f_fill_type"
84
85
  :options='$parent.$parent.fillTypes' placeholder='请选择'
85
- condition="f_fill_type = '{}'"
86
+ condition="f_fill_type in {}"
86
87
  close-on-select></v-select>
87
88
  </div>
88
89
 
@@ -91,6 +92,13 @@
91
92
  <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
92
93
  condition="f_card_id like '%{}%'" placeholder='卡号'>
93
94
  </div>
95
+ <div class="col-sm-2 form-group">
96
+ <label class="font_normal_body">气表类型</label>
97
+ <v-select :value.sync="model.f_meter_type" multiple
98
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
99
+ condition="f_meter_type in {}"
100
+ close-on-select></v-select>
101
+ </div>
94
102
  <div class="col-sm-2 form-group">
95
103
  <label class="font_normal_body">气表品牌</label>
96
104
  <v-select :value.sync="model.f_meter_brand"
@@ -251,6 +259,9 @@
251
259
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
252
260
  补气金额合计:&emsp;{{sumsmodel.f_preamount}}
253
261
  </td>
262
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
263
+ 户数合计:&emsp;{{sumsmodel.hushu}}
264
+ </td>
254
265
  </tr>
255
266
  </table>
256
267
  </div>
@@ -293,7 +304,7 @@
293
304
  data: {},
294
305
  other:[],
295
306
  footer:[],
296
- model: new PagedList('rs/sql/fillGasQuery', 20, {}, {f_pregas: 0,f_preamount: 0}),
307
+ model: new PagedList('rs/sql/fillGasQuery', 20, {}, {f_pregas: 0,f_preamount: 0,hushu:0}),
297
308
  criteriaShow: false,
298
309
  headData: ["客户编号", "客户名称", "客户电话", "身份证号", "地址", "补气类型", "表编号", "卡号", "气表品牌", "气表状态", "补气量", "补气日期", "操作员", "部门", "公司"],
299
310
  bodyData: ["f_userinfo_code", "f_user_name", "f_user_phone", "f_idnumber", "address", "f_type", "f_user_id", "f_card_id", "f_meter_brand", "f_table_state", "f_fillgas", "f_operate_date", "f_operator", "f_depname", "f_orgname"],
@@ -317,6 +328,7 @@
317
328
  dep:[],
318
329
  user:[],
319
330
  },
331
+ metertypes: this.$appdata.getParam('气表类型')?[{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]:[],
320
332
  showupload:false,
321
333
  selected:{},
322
334
  gasproperties:[],
@@ -367,14 +379,17 @@
367
379
  })
368
380
  this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
369
381
  },
370
- selfSearch(args) {
382
+ async selfSearch(args) {
371
383
  if (this.data) {
372
384
  this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
373
385
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
374
386
  }
375
387
  args.condition = `${args.condition}` + this.orgCondtionStr
376
- this.model.search(args.condition, args.model)
388
+ await this.model.search(args.condition, args.model)
377
389
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
390
+ this.sumsmodel.hushu=[...new Set(this.$refs.paged.$refs.grid.model.rows.map(item => item.f_userinfo_code))].length
391
+ console.log("this.sumsmodel",this.sumsmodel,this.$refs.paged.$refs.grid)
392
+
378
393
  },
379
394
  clear() {
380
395
  //清空部门和人员