manage-client 3.2.281 → 3.2.282

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.281",
3
+ "version": "3.2.282",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -18,7 +18,7 @@
18
18
  <div class="col-sm-2">
19
19
  <label class="font_normal_body">客户编号</label>
20
20
  <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
21
- condition="f_userinfo_code = '{}'" v-next-el='f_userinfo_code' v-el:meternumber
21
+ condition="f_userinfo_code = '{}'" v-next-el='f_userinfo_code' v-el:meternumber @change="$parent.$parent.inputChange"
22
22
  >
23
23
  </div>
24
24
  <div class="col-sm-2">
@@ -281,7 +281,7 @@
281
281
  orgCondtionStr: '',
282
282
  model: new PagedList('rs/sql/manage_webmeterHandQuery', 50,{
283
283
  startDate: 'this.model.startDate',
284
- endDate: 'this.model.endDate'
284
+ endDate: 'this.model.endDate',f_userinfo_code: 'this.model.f_userinfo_code'
285
285
  }),
286
286
  showbottomsum:false //页面下方是否有合计: 默认为false, 在watch修改
287
287
  }
@@ -293,11 +293,20 @@
293
293
  }).catch((error) => {
294
294
  this.$emit('error', error)
295
295
  })
296
- // this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),0).substring(0,10) + ' 00:00:00'
297
- // this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),0).substring(0,10) + ' 23:59:59'
296
+ this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),0).substring(0,10) + ' 00:00:00'
297
+ this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),0).substring(0,10) + ' 23:59:59'
298
298
  // this.$refs.paged.$refs.criteria.search()
299
299
  },
300
300
  methods: {
301
+ inputChange () {
302
+ if (this.$refs.paged.$refs.criteria.model.f_userinfo_code){
303
+ this.$refs.paged.$refs.criteria.model.startDate = ''
304
+ this.$refs.paged.$refs.criteria.model.endDate = ''
305
+ }else{
306
+ this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),0).substring(0,10) + ' 00:00:00'
307
+ this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),0).substring(0,10) + ' 23:59:59'
308
+ }
309
+ },
301
310
  initParams() {
302
311
  // 初始化气表品牌
303
312
  let brandArr = []
@@ -354,15 +363,6 @@
354
363
  },
355
364
 
356
365
  search (args) {
357
- if (this.$refs.paged.$refs.criteria.model.startDate == '' || this.$refs.paged.$refs.criteria.model.endDate == ''){
358
- if (this.$refs.paged.$refs.criteria.model.f_userinfo_code){
359
- this.$refs.paged.$refs.criteria.model.startDate = '1990-01-01 00:00:00'
360
- this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),1).substring(0,10) + ' 00:00:00'
361
- }else{
362
- this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),0).substring(0,10) + ' 00:00:00'
363
- this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),0).substring(0,10) + ' 23:59:59'
364
- }
365
- }
366
366
  args.condition = `${args.condition}`+this.orgcondition
367
367
  this.condition = args.condition
368
368
  this.model.search(args.condition, args.model)
@@ -867,22 +867,22 @@ export default{
867
867
  },
868
868
  // 物联网表抄表
869
869
  webmeterHandConfig: {
870
- 'f_userinfo_code': '用户编号',
871
- 'f_user_name': '用户名称',
870
+ 'f_userinfo_code': '客户编号',
871
+ 'f_user_name': '客户名称',
872
872
  'f_residential_area': '小区名称',
873
873
  'f_address': '地址',
874
- 'f_meter_brand': '气表品牌',
875
874
  'f_meternumber': '表号',
876
- 'f_oughtamount': '本期气量',
877
- 'f_oughtfee': '本期金额',
878
- 'f_jval': '表内剩余余额',
875
+ 'f_meter_brand': '气表品牌',
879
876
  'f_hand_date': '抄表日期',
880
877
  'f_total_fee': '累计购气金额',
881
878
  'f_last_tablebase': '上期底数',
882
879
  'f_tablebase': '本期底数',
883
- 'f_balance_amount': '系统余额',
880
+ 'f_curbalance': '系统余额',
881
+ 'f_jval': '表上余额',
884
882
  'cyclegas': '当前周期已用气量',
885
883
  'cyclefee': '当前周期消费金额',
884
+ 'f_oughtamount': '本次气量',
885
+ 'f_oughtfee': '本次金额',
886
886
  'f_stair1price': '一阶气价',
887
887
  'f_stairamount1': '一阶气量',
888
888
  'f_stair1fee': '一阶金额',