sale-client 3.5.10 → 3.5.11

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.
Files changed (51) hide show
  1. package/.babelrc +5 -5
  2. package/package.json +1 -1
  3. package/src/components/FilesManage/FileUserFiles.vue +5 -0
  4. package/src/components/FilesManage/UserGeneralInfoTest.vue +1 -0
  5. package/src/components/revenue/machineHandManage/machineHandAudit.vue +22 -10
  6. package/src/filiale/dongguan/components/HighMeterCard.vue +1068 -0
  7. package/src/filiale/dongguan/sale.js +8 -0
  8. package/src/filiale/{WEINAN → weinan}/AutomaticPurse.vue +0 -0
  9. package/src/filiale/{WEINAN → weinan}/CardList.vue +0 -0
  10. package/src/filiale/{WEINAN → weinan}/CardMeterCenter.vue +0 -0
  11. package/src/filiale/{WEINAN → weinan}/CardMeterChargeCancel.vue +0 -0
  12. package/src/filiale/{WEINAN → weinan}/ChangeMeter.vue +0 -0
  13. package/src/filiale/{WEINAN → weinan}/ChargeList.vue +0 -0
  14. package/src/filiale/{WEINAN → weinan}/ChargeManageNew.vue +0 -0
  15. package/src/filiale/{WEINAN → weinan}/ChargeQueryUser.vue +0 -0
  16. package/src/filiale/{WEINAN → weinan}/ChargeRecordQuery.vue +0 -0
  17. package/src/filiale/{WEINAN → weinan}/DisableManage.vue +0 -0
  18. package/src/filiale/{WEINAN → weinan}/EnableManage.vue +0 -0
  19. package/src/filiale/{WEINAN → weinan}/FileAddressManage.vue +0 -0
  20. package/src/filiale/{WEINAN → weinan}/FileUserAddress.vue +0 -0
  21. package/src/filiale/{WEINAN → weinan}/HighMeter.vue +0 -0
  22. package/src/filiale/{WEINAN → weinan}/IOTMeterCenter.vue +0 -0
  23. package/src/filiale/{WEINAN → weinan}/MachineMeterCenter.vue +0 -0
  24. package/src/filiale/{WEINAN → weinan}/MeterMessage.vue +0 -0
  25. package/src/filiale/{WEINAN → weinan}/MeterinfoTest.vue +0 -0
  26. package/src/filiale/{WEINAN → weinan}/OffGasAddGas.vue +0 -0
  27. package/src/filiale/{WEINAN → weinan}/OtherGas.vue +0 -0
  28. package/src/filiale/{WEINAN → weinan}/OverUseCharge.vue +0 -0
  29. package/src/filiale/{WEINAN → weinan}/RecordCancel.vue +0 -0
  30. package/src/filiale/{WEINAN → weinan}/RecordQueryUser.vue +0 -0
  31. package/src/filiale/{WEINAN → weinan}/ReplaceCardManage.vue +0 -0
  32. package/src/filiale/{WEINAN → weinan}/ShowCardSellGas.vue +0 -0
  33. package/src/filiale/{WEINAN → weinan}/Stairinfo.vue +0 -0
  34. package/src/filiale/{WEINAN → weinan}/TransferManage.vue +0 -0
  35. package/src/filiale/{WEINAN → weinan}/UserBaseInfoNew.vue +0 -0
  36. package/src/filiale/{WEINAN → weinan}/UserEssentialInfoTest.vue +0 -0
  37. package/src/filiale/{WEINAN → weinan}/UserGeneralInfoTest.vue +0 -0
  38. package/src/filiale/{WEINAN → weinan}/UserInfoDetailManageNew.vue +0 -0
  39. package/src/filiale/{WEINAN → weinan}/Userinfo.vue +0 -0
  40. package/src/filiale/{WEINAN → weinan}/gasmove.vue +0 -0
  41. package/src/filiale/{WEINAN → weinan}/meterinfodetail.vue +0 -0
  42. package/src/filiale/{WEINAN → weinan}/plugins/FileManageService.js +0 -0
  43. package/src/filiale/{WEINAN → weinan}/plugins/getTimeService.js +0 -0
  44. package/src/filiale/{WEINAN → weinan}/sale.js +0 -0
  45. package/src/filiale/{WEINAN → weinan}/sale.js~Stashed changes +0 -0
  46. package/src/filiale/{WEINAN → weinan}/static/mainicon//347/237/251/345/275/2421828.png +0 -0
  47. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  48. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  49. package/.gradle/buildOutputCleanup/built.bin +0 -0
  50. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  51. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
package/.babelrc CHANGED
@@ -1,5 +1,5 @@
1
- {
2
- "presets": ["es2015", "stage-2"],
3
- "plugins": ["transform-runtime"],
4
- "comments": false
5
- }
1
+ {
2
+ "presets": ["es2015", "stage-2"],
3
+ "plugins": ["transform-runtime"],
4
+ "comments": false
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.10",
3
+ "version": "3.5.11",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -66,6 +66,7 @@
66
66
  v-if="$parent.$parent.rows && $parent.$parent.rows.length > 1 && this.$login.r.includes('批量销户')">
67
67
  批量销户
68
68
  </button>
69
+ <import-excel template-btn-name= "销户模板" template-name= "销户模板" btn-name="导入销户" logic-name="batchpinusers" import-json="pinuser.json"></import-excel>
69
70
  <button @click="$parent.$parent.bulkOperations('批量销户', 'batch-cancellation')"
70
71
  class="button_delete button_spacing"
71
72
  style="float: right"
@@ -581,6 +582,7 @@ let loadParamGem = async function (self) {
581
582
  newdata: {},
582
583
  resdata: '',
583
584
  resshow: false,
585
+ batchpinshow: false, // 导入销户
584
586
  titleShow: true, //是否显示部分档案信息类的筛选框
585
587
  useoptions: this.$appdata.getParam('使用类型'),
586
588
 
@@ -848,6 +850,9 @@ let loadParamGem = async function (self) {
848
850
  importFile () {
849
851
  this.show = true
850
852
  },
853
+ pin () {
854
+ this.batchpinshow = true
855
+ },
851
856
  clear () {
852
857
  Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
853
858
  this.$refs.paged.$refs.criteria.model[key] = []
@@ -150,6 +150,7 @@ export default {
150
150
  data: {
151
151
  baseinfo: {
152
152
  base: {
153
+ f_user_name:'',
153
154
  f_user_state: '',
154
155
  f_credentials: '',
155
156
  f_cost_type: '',
@@ -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,14 +414,15 @@
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
- criteriaShow:false,
425
+ criteriaShow: false,
425
426
  orgCondtionStr: '',
426
427
  excelCondition: '',
427
428
  fields: {
@@ -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: {