manage-client 3.2.26 → 3.2.27

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.
@@ -225,6 +225,9 @@
225
225
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
226
226
  卡费合计:&emsp;{{sumsmodel.f_cardfees}}
227
227
  </td>
228
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
229
+ 户数合计:&emsp;{{sumsmodel.hushu}}
230
+ </td>
228
231
  </tr>
229
232
  </table>
230
233
  </div>
@@ -268,7 +271,7 @@
268
271
  data: {},
269
272
  other:[],
270
273
  footer:[],
271
- model: new PagedList('rs/sql/fillCardQuery', 20, {}, {f_cardfees: 0}),
274
+ model: new PagedList('rs/sql/fillCardQuery', 20, {}, {f_cardfees: 0,hushu:0}),
272
275
  criteriaShow: false,
273
276
  headData: ["客户编号", "客户名称", "客户电话", "身份证号", "地址", "补卡类型", "表编号", "卡号", "气表品牌", "气表状态", "卡费", "补卡日期", "人员", "部门", "公司"],
274
277
  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_cardfees", "f_operate_date", "f_operator", "f_depname", "f_orgname"],
@@ -336,15 +339,16 @@
336
339
  cancel() {
337
340
  this.show = false
338
341
  },
339
- selfSearch(args) {
342
+ async selfSearch(args) {
340
343
  console.log("--------------------?")
341
344
  if (this.data) {
342
345
  this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
343
346
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
344
347
  }
345
348
  args.condition = `${args.condition}` + this.orgCondtionStr
346
- this.model.search(args.condition, args.model)
349
+ await this.model.search(args.condition, args.model)
347
350
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
351
+ this.sumsmodel.hushu=[...new Set(this.$refs.paged.$refs.grid.model.rows.map(item => item.f_userinfo_code))].length
348
352
  },
349
353
 
350
354
  initParams() {
@@ -73,8 +73,9 @@
73
73
  <label class="font_normal_body">补气类型</label>
74
74
  <v-select :value.sync="model.f_type"
75
75
  v-model="model.f_type"
76
+ :multiple="true"
76
77
  :options='$parent.$parent.fillGasTypes' placeholder='请选择'
77
- condition="f_type = '{}'"
78
+ condition="f_fill_type in {}"
78
79
  close-on-select></v-select>
79
80
  </div>
80
81
 
@@ -83,6 +84,13 @@
83
84
  <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
84
85
  condition="f_card_id like '%{}%'" placeholder='卡号'>
85
86
  </div>
87
+ <div class="col-sm-2 form-group">
88
+ <label class="font_normal_body">气表类型</label>
89
+ <v-select :value.sync="model.f_meter_type" multiple
90
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
91
+ condition="f_meter_type in {}"
92
+ close-on-select></v-select>
93
+ </div>
86
94
  <div class="col-sm-2 form-group">
87
95
  <label class="font_normal_body">气表品牌</label>
88
96
  <v-select :value.sync="model.f_meter_brand"
@@ -237,6 +245,9 @@
237
245
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
238
246
  补气金额合计:&emsp;{{sumsmodel.f_preamount}}
239
247
  </td>
248
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
249
+ 户数合计:&emsp;{{sumsmodel.hushu}}
250
+ </td>
240
251
  </tr>
241
252
  </table>
242
253
  </div>
@@ -279,7 +290,7 @@
279
290
  data: {},
280
291
  other:[],
281
292
  footer:[],
282
- model: new PagedList('rs/sql/fillGasQuery', 20, {}, {f_pregas: 0,f_preamount: 0}),
293
+ model: new PagedList('rs/sql/fillGasQuery', 20, {}, {f_pregas: 0,f_preamount: 0,hushu:0}),
283
294
  criteriaShow: false,
284
295
  headData: ["客户编号", "客户名称", "客户电话", "身份证号", "地址", "补气类型", "表编号", "卡号", "气表品牌", "气表状态", "补气量", "补气日期", "操作员", "部门", "公司"],
285
296
  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"],
@@ -307,7 +318,9 @@
307
318
  selected:{},
308
319
  gasproperties:[],
309
320
  //合计数据
310
- sumsmodel: {}
321
+ sumsmodel: {},
322
+ metertypes: this.$appdata.getParam('气表类型')?[{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]:[]
323
+
311
324
  }
312
325
  },
313
326
  ready() {
@@ -359,8 +372,10 @@
359
372
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
360
373
  }
361
374
  args.condition = `${args.condition}` + this.orgCondtionStr
362
- this.model.search(args.condition, args.model)
375
+ this.model.search(args.condition, args.model)
363
376
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
377
+ this.sumsmodel.hushu=[...new Set(this.$refs.paged.$refs.grid.model.rows.map(item => item.f_userinfo_code))].length
378
+ console.log("this.sumsmodel",this.sumsmodel,this.$refs.paged.$refs.grid)
364
379
  },
365
380
  clear() {
366
381
  //清空部门和人员