sale-client 3.5.176-2 → 3.5.176

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": "sale-client",
3
- "version": "3.5.176-2",
3
+ "version": "3.5.176",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -93,7 +93,7 @@
93
93
  </div>
94
94
  <div class="row">
95
95
  <div class="col-sm-2"></div>
96
- <input v-if="fileSaveData.reason==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
96
+ <input v-if="fileSaveData.reason ==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
97
97
  </div>
98
98
  </article>
99
99
  <footer slot="modal-footer" class="modal-footer">
@@ -394,7 +394,7 @@
394
394
  import * as Util from '../../../Util'
395
395
 
396
396
  let readyGen = async function (self) {
397
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
397
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
398
398
  self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
399
399
  await self.$LoadParams.loadMeterBook(self.f_filialeid)
400
400
  self.loadMeterBooks()
@@ -414,12 +414,13 @@
414
414
  dep: [],
415
415
  user: []
416
416
  },
417
- config:{
418
- examine: false,
417
+ config: {
418
+ examine: false
419
419
  },
420
420
  imgfilename: '',
421
421
  // 小区
422
422
  residentialArea: [],
423
+ inputtouPerson: [],
423
424
  imgshow: false,
424
425
  criteriaShow: false,
425
426
  orgCondtionStr: '',
@@ -444,8 +445,8 @@
444
445
  'f_adjustable_name': '调压箱名称',
445
446
  'f_inputtor': '抄表员'
446
447
  },
447
- auditState:[{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
448
- auditState1:[{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
448
+ auditState: [{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
449
+ auditState1: [{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
449
450
  meters: [{label: '全部', value: ''}, {label: '机表', value: '机表'}, {label: '物联网表', value: '物联网表'}],
450
451
  resultstate: this.$appdata.getParam('抄表结果状态'),
451
452
  meterstates: this.$appdata.getParam('抄表状态') ? [{
@@ -475,7 +476,7 @@
475
476
  methods: {
476
477
  // 修正本期底数
477
478
  amend (row) {
478
- let tablebase = window.prompt('请输入你要修正的底数值,上期底数:'+ row.f_meter_base)
479
+ let tablebase = window.prompt('请输入你要修正的底数值,上期底数:' + row.f_meter_base)
479
480
  if (!tablebase) return
480
481
  if (tablebase < 0) {
481
482
  this.$showAlert(`底数不能小于0,请注意!`, 'warning', 2000)
@@ -596,9 +597,9 @@
596
597
  this.imgshow = false
597
598
  },
598
599
  imgShow (val) {
599
- console.log("-----------val2:",val)
600
+ console.log('-----------val2:', val)
600
601
  this.imgfilename = `rs/image/file/` + val
601
- console.log("-----------imgfilename2:",this.imgfilename)
602
+ console.log('-----------imgfilename2:', this.imgfilename)
602
603
  this.imgshow = true
603
604
  },
604
605
  async getaddress () {
@@ -632,6 +633,17 @@
632
633
  } else {
633
634
  args.condition = `${args.condition}` + this.orgCondtionStr
634
635
  }
636
+ // 抄表员查询条件
637
+ this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
638
+ if (this.inputtouPerson.length !== 0) {
639
+ let str = JSON.stringify(this.inputtouPerson)
640
+ str = str.replace(/"/g, `'`)
641
+ str = str.replace(/\[/g, ``)
642
+ str = str.replace(/\]/g, ``)
643
+ console.log('=====抄表员model22222222222绑定====', str)
644
+ // 查询多个抄表员时条件
645
+ args.condition += ` and f_inputtor in ( ${str} )`
646
+ }
635
647
  this.excelCondition = args.condition
636
648
  this.$refs.paged.$refs.grid.selectInit()
637
649
  this.model.search(args.condition, args.model)
@@ -696,7 +708,7 @@
696
708
  },
697
709
  loadMeterBooks () {
698
710
  this.meterbooks = this.$GetSaleParam.getMeterBooks()
699
- },
711
+ }
700
712
 
701
713
  },
702
714
  computed: {