sale-client 3.5.28 → 3.5.31

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 (50) hide show
  1. package/package.json +1 -1
  2. package/src/components/FilesManage/MeterinfoTest.vue +13 -13
  3. package/src/components/FilesManage/UserGeneralInfoTest.vue +2 -1
  4. package/src/components/charge/ChargeManage.vue +13 -13
  5. package/src/components/chargeBatch/ChargeManageBatch.vue +1 -1
  6. package/src/components/chargeBatch/ChargeManageGroup.vue +1 -1
  7. package/src/components/chargeNew/ChargeManageNew.vue +1 -1
  8. package/src/components/revenue/cardHandManage/cardDown.vue +15 -15
  9. package/src/components/revenue/invoiceuse/{ChargeList.vue → InvoiceChargeList.vue} +0 -0
  10. package/src/components/revenue/invoiceuse/InvoiceEntry.vue +2 -3
  11. package/src/components/webMeter/paramSave/ParamSet.vue +73 -74
  12. package/src/components/webMeter/paramSave/ParamSetForm.vue +1 -0
  13. package/src/filiale/fugu/MeterinfoTest.vue +2 -2
  14. package/src/filiale/gaomi/components/charge/ChargeManage.vue +5 -5
  15. package/src/filiale/gaomi/plugins/LogicService.js +425 -425
  16. package/src/filiale/gongyi/charge/ChargeManage.vue +1 -1
  17. package/src/filiale/gongyi/charge/business/machine/MachineCharge.vue +1 -1
  18. package/src/filiale/gongyi/charge/business/machine/MachineMeterCenter.vue +3 -3
  19. package/src/filiale/gongyi/charge/business/machine/OweDetailList.vue +3 -3
  20. package/src/filiale/gongyi/charge/business/machine/OweList.vue +2 -2
  21. package/src/filiale/gongyi/revenue/comprehen/ovdue/Overduetax.vue +8 -8
  22. package/src/filiale/gongyi/revenue/comprehen/ovdue/OverduetaxPrintBill.vue +1 -1
  23. package/src/filiale/gongyi/sale.js +1 -1
  24. package/src/filiale/guangxi/OtherGas.vue +1 -1
  25. package/src/filiale/jinjiang/ChargeManage.vue +1 -1
  26. package/src/filiale/jinjiang/MachineMeterCenter.vue +1 -1
  27. package/src/filiale/liaoyuan/ChargeManage.vue +13 -13
  28. package/src/filiale/liaoyuan/Overduetax.vue +5 -5
  29. package/src/filiale/liaoyuan/sale.js +1 -1
  30. package/src/filiale/macheng/ChargeManage.vue +1 -1
  31. package/src/filiale/macheng/MachineMeterCenter.vue +1 -1
  32. package/src/filiale/meihekou/ChargeManage.vue +2 -2
  33. package/src/filiale/meihekou/MachineCharge.vue +1 -1
  34. package/src/filiale/qianneng/FilesManage/MeterinfoTest.vue +2 -2
  35. package/src/filiale/qianneng/MachineCharge.vue +1 -1
  36. package/src/filiale/qianneng/machine/ArrearsQuery.vue +3 -3
  37. package/src/filiale/qianneng/machine/MachineMeterCenter.vue +3 -3
  38. package/src/filiale/qianneng/revenue/ChargeManage.vue +1 -1
  39. package/src/filiale/rizhao/ChargeQueryUser.vue +1 -1
  40. package/src/filiale/rizhao/MeterinfoTest.vue +2 -2
  41. package/src/filiale/rongcheng/ChargeManage.vue +2 -2
  42. package/src/filiale/rongchuang/handListMaintain.vue +2 -2
  43. package/src/filiale/shanggao/MeterinfoTest.vue +2 -2
  44. package/src/filiale/shaoguan/MachineMeterCenter.vue +3 -3
  45. package/src/filiale/shaoguan/charge/ChargeManage.vue +1 -1
  46. package/src/filiale/tongchuan/ChargeManage.vue +3 -4
  47. package/src/filiale/wuan/charge/ChargeManage.vue +2 -2
  48. package/src/filiale/wuhai/MeterinfoTest.vue +2 -2
  49. package/src/filiale/zhongyi/MeterinfoTest.vue +2 -2
  50. package/src/sale.js +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.28",
3
+ "version": "3.5.31",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -186,6 +186,7 @@
186
186
  <div class="col-sm-4 form-group">
187
187
  <label class="font_normal_body">表具使用年限</label>
188
188
  <input type="number" class="input_search" style="width:60%" v-model="row.f_use_limit"
189
+ :value.sync="row.f_use_limit"
189
190
  placeholder='表具使用年限' >
190
191
  </div>
191
192
  <div class="col-sm-4 form-group">
@@ -202,6 +203,7 @@
202
203
  <datepicker style="width:60%" placeholder="通气日期"
203
204
  v-model="row.f_gas_date"
204
205
  v-ref:f_gas_date
206
+ @change="gasDateChange"
205
207
  :value.sync="row.f_gas_date"
206
208
  :format="'yyyy-MM-dd HH:mm:ss'"
207
209
  ></datepicker>
@@ -568,7 +570,7 @@
568
570
  props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id', 'overdueset', 'curuser'],
569
571
  async ready () {
570
572
  console.log('看看meter里面的数据', this.meter, this.row)
571
- this.row = Object.assign(this.row, this.meter, {})
573
+ this.row = Object.assign(this.row, this.meter, {f_use_limit : this.$appdata.getSingleValue('报废年限')})
572
574
  if(this.row.f_meter_classify){
573
575
  if(this.row.f_meter_classify==='物联网表'){
574
576
  this.isiot=true
@@ -586,6 +588,16 @@
586
588
  co(meterBookGen(this))
587
589
  },
588
590
  methods: {
591
+ gasDateChange () {
592
+ if (!this.row.f_scrap_date && this.row.f_gas_date) {
593
+ if (this.row.f_use_limit) {
594
+ let date = new Date(this.row.f_gas_date)
595
+ let year = date.getFullYear() + (this.row.f_use_limit / 1)
596
+ this.$set('row.f_scrap_date', year + this.row.f_gas_date.slice(4))
597
+
598
+ }
599
+ }
600
+ },
589
601
  // 获取集中器下拉框
590
602
  async getConcentrators () {
591
603
  let condition = {
@@ -794,18 +806,6 @@
794
806
  } else {
795
807
  this.ratioshow = false
796
808
  }
797
- },
798
- 'row.f_gas_date' (val) {
799
- if (!this.row.f_use_limit) {
800
- this.row.f_use_limit = this.$appdata.getSingleValue('使用年限')
801
- }
802
- if (!this.row.f_scrap_date && this.row.f_gas_date) {
803
- if (this.row.f_use_limit !== undefined) {
804
- let date = new Date(this.row.f_gas_date)
805
- let year = date.getFullYear() + (this.row.f_use_limit / 1)
806
- this.row.f_scrap_date = year + this.row.f_gas_date.slice(4)
807
- }
808
- }
809
809
  }
810
810
  },
811
811
  computed: {
@@ -582,7 +582,8 @@ export default {
582
582
  devicesinfo: [], // 设备信息
583
583
  f_hand_month: '', // 抄表月份
584
584
  fireinfo: {}, // 用气信息
585
- f_meter_book_num: ''
585
+ f_meter_book_num: '',
586
+ f_use_limit:''
586
587
  }],
587
588
  devicesinfo: []
588
589
  }
@@ -56,14 +56,14 @@ export default {
56
56
  f_orgid: '',
57
57
  row: null,
58
58
  cardInfo: null,
59
- warningInfo:null,
59
+ warningInfo: null,
60
60
  modalrow: null,
61
61
  showModal: false,
62
62
  rowData: {},
63
63
  dibao_remind: this.$appdata.getSingleValue('低保快到期提醒') ? this.$appdata.getSingleValue('低保快到期提醒') : 0,
64
64
  show: [true],
65
- selectFiled:'其他信息',
66
- worktype:'其他信息'
65
+ selectFiled: '其他信息',
66
+ worktype: '其他信息'
67
67
  }
68
68
  },
69
69
  ready () {
@@ -73,8 +73,8 @@ export default {
73
73
  setsustainMoney () {
74
74
  this.sustainMoney = window.localStorage.getItem('sustainMoney')
75
75
  },
76
- setField(type){
77
- this.selectFiled=type
76
+ setField (type) {
77
+ this.selectFiled = type
78
78
  this.worktype = type
79
79
  },
80
80
  async toBusiness (obj) {
@@ -83,7 +83,7 @@ export default {
83
83
  // 对此数据进行验证
84
84
  if (await this.validateRow(obj)) {
85
85
  // 获取未写卡或者写卡失败记录
86
- let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card = '未写卡' and f_userfiles_id = '${obj.f_userfiles_id}'`)
86
+ let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`)
87
87
  console.log('获取未写卡记录', getUnWriteSell)
88
88
  if (getUnWriteSell.data.length > 1) {
89
89
  this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
@@ -109,13 +109,13 @@ export default {
109
109
  console.log('查看传进来的参数:', obj)
110
110
  this.warningInfo = await this.$resetpost('rs/logic/getWarningMsg',
111
111
  {data: {
112
- f_userfiles_id: obj.f_userfiles_id,
113
- f_userinfo_code: obj.f_userinfo_code,
114
- f_userinfo_id: obj.f_userinfo_id
115
- }
112
+ f_userfiles_id: obj.f_userfiles_id,
113
+ f_userinfo_code: obj.f_userinfo_code,
114
+ f_userinfo_id: obj.f_userinfo_id
115
+ }
116
116
  }
117
117
  , {resolveMsg: '', rejectMsg: '获取提示失败'})
118
- if (this.warningInfo.data.warningNum>0 && obj.f_user_state !== '预备') {
118
+ if (this.warningInfo.data.warningNum > 0 && obj.f_user_state !== '预备') {
119
119
  this.modalrow = obj
120
120
  this.showModal = true
121
121
  return false
@@ -190,8 +190,8 @@ export default {
190
190
  this.$refs.list.searchNoData()
191
191
  this.$refs.card.search()
192
192
  },
193
- 'resflushvalue'(){
194
- this.$refs.info.$refs.valueaddinfo.reflush();
193
+ 'resflushvalue' () {
194
+ this.$refs.info.$refs.valueaddinfo.reflush()
195
195
  },
196
196
  'refreshrow' (val) {
197
197
  console.log(val)
@@ -56,7 +56,7 @@ export default {
56
56
  // 对此数据进行验证
57
57
  if (await this.validateRow(obj)) {
58
58
  // 获取未写卡或者写卡失败记录
59
- let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card = '未写卡' and f_userfiles_id = '${obj.f_userfiles_id}'`)
59
+ let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`)
60
60
  console.log('获取未写卡记录', getUnWriteSell)
61
61
  if (getUnWriteSell.data.length > 1) {
62
62
  this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
@@ -56,7 +56,7 @@ export default {
56
56
  // 对此数据进行验证
57
57
  if (await this.validateRow(obj)) {
58
58
  // 获取未写卡或者写卡失败记录
59
- let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card = '未写卡' and f_userfiles_id = '${obj.f_userfiles_id}'`)
59
+ let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`)
60
60
  console.log('获取未写卡记录', getUnWriteSell)
61
61
  if (getUnWriteSell.data.length > 1) {
62
62
  this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
@@ -70,7 +70,7 @@ export default {
70
70
  // 对此数据进行验证
71
71
  if (await this.validateRow(obj)) {
72
72
  // 获取未写卡或者写卡失败记录
73
- let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card = '未写卡' and f_userfiles_id = '${obj.f_userfiles_id}'`)
73
+ let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`)
74
74
  console.log('获取未写卡记录', getUnWriteSell)
75
75
  if (getUnWriteSell.data.length > 1) {
76
76
  this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
@@ -426,8 +426,8 @@ let readyGen = async function (self) {
426
426
  let downGen = function* (type, condition, data, self) {
427
427
  self.condition = condition
428
428
  self.msg = '确认下发计划'
429
- let getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {data: {startDate: self.startDate,
430
- condition: self.condition}}, {resolveMsg: null, rejectMsg: '获取待审核数据异常!!'})
429
+ // let getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {data: {startDate: self.startDate,
430
+ // condition: self.condition}}, {resolveMsg: null, rejectMsg: '获取待审核数据异常!!'})
431
431
  // if (type === 'single') {
432
432
  // getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {
433
433
  // data: {
@@ -461,19 +461,19 @@ let downGen = function* (type, condition, data, self) {
461
461
  // console.log('========================================================================================')
462
462
  // self.unhandplan.push(temp)
463
463
  // }
464
- for (let i = 0; i < getUnhand.data.length; i++) {
465
- let temp = {
466
- id: getUnhand.data[i].id,
467
- f_user_id: getUnhand.data[i].f_user_id,
468
- f_userfiles_id: getUnhand.data[i].f_userfiles_id
469
- }
470
- self.unhandplan.push(temp)
471
- }
472
- if (getUnhand.data.length > 0) {
473
- self.msg = self.msg + `, 警告: 之前有 ${getUnhand.data.length} 条待审核数据`
474
- } else {
475
- self.unhandplan = []
476
- }
464
+ // for (let i = 0; i < getUnhand.data.length; i++) {
465
+ // let temp = {
466
+ // id: getUnhand.data[i].id,
467
+ // f_user_id: getUnhand.data[i].f_user_id,
468
+ // f_userfiles_id: getUnhand.data[i].f_userfiles_id
469
+ // }
470
+ // self.unhandplan.push(temp)
471
+ // }
472
+ // if (getUnhand.data.length > 0) {
473
+ // self.msg = self.msg + `, 警告: 之前有 ${getUnhand.data.length} 条待审核数据`
474
+ // } else {
475
+ // self.unhandplan = []
476
+ // }
477
477
  // console.log('1111111:',self.msg)
478
478
  self.show = true
479
479
  }
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div id='InvoiceEntry' class="flex-row binary">
3
3
  <div class="binary-left" v-if="sellgas">
4
- <charge-list v-ref:charge_list></charge-list>
4
+ <invoice-charge-list v-ref:charge_list></invoice-charge-list>
5
5
  </div>
6
6
  <div class="binary-right" v-if="sellgas">
7
7
  <information-input v-if="InformationInputShow"></information-input>
@@ -13,14 +13,13 @@
13
13
  </template>
14
14
 
15
15
  <script>
16
- import ChargeList from './ChargeList'
17
16
  import InformationInput from './InformationInput'
18
17
  import InvoiceInformationInput from './InvoiceInformationInput'
19
18
 
20
19
  export default {
21
20
  name: 'InvoiceEntry',
22
21
  props: ['sellgas'],
23
- components: {InformationInput, ChargeList, InvoiceInformationInput},
22
+ components: {InformationInput, InvoiceInformationInput},
24
23
  title: '发票信息录入',
25
24
  data () {
26
25
  return {
@@ -4,7 +4,7 @@
4
4
  <criteria :model='model' partial='criteria' v-ref:criteria @condition-changed='$parent.selfSearch'>
5
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
6
  <div class="row">
7
- <div class="col-sm-3">
7
+ <div class="col-sm-2">
8
8
  <label class="font_normal_body" >气表协议类型</label>
9
9
  <v-select style="width:60%" title="气表协议类型"
10
10
  placeholder='气表协议类型'
@@ -15,7 +15,7 @@
15
15
  close-on-select
16
16
  :value-single="true" v-ref:brand> </v-select>
17
17
  </div>
18
- <div class="col-sm-3">
18
+ <div class="col-sm-2">
19
19
  <label class="font_normal_body">气表品牌</label>
20
20
  <v-select
21
21
  placeholder='气表品牌'
@@ -26,7 +26,7 @@
26
26
  condition="f_gasbrand_id = '{}'"
27
27
  close-on-select></v-select>
28
28
  </div>
29
- <div class="col-sm-3 form-group">
29
+ <div class="col-sm-2 form-group">
30
30
  <label class="font_normal_body">气表型号</label>
31
31
  <v-select :value.sync="model.f_meter_style"
32
32
  v-model="model.f_meter_style"
@@ -34,7 +34,7 @@
34
34
  condition="f_gasmodel_id = '{}'"
35
35
  close-on-select></v-select>
36
36
  </div>
37
- <div class="col-sm-3 ">
37
+ <div class="col-sm-2 ">
38
38
  <label class="font_normal_body">客户编号</label>
39
39
  <input @keyup.enter="search" style="width:60%" type="text" class="input_search "
40
40
  v-model="model.f_userinfo_code"
@@ -52,7 +52,7 @@
52
52
  </div>
53
53
  </div>
54
54
  <div class="row" v-show="$parent.$parent.criteriaShow">
55
- <div class="col-sm-3 ">
55
+ <div class="col-sm-2 ">
56
56
  <label class="font_normal_body">表&emsp;号&emsp;</label>
57
57
  <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
58
58
  v-model="model.f_meternumber"
@@ -60,7 +60,7 @@
60
60
  condition="f_meternumber like '%{}%'"
61
61
  >
62
62
  </div>
63
- <div class="col-sm-3 ">
63
+ <div class="col-sm-2 ">
64
64
  <label class="font_normal_body">客户姓名</label>
65
65
  <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
66
66
  v-model="model.f_user_name"
@@ -68,7 +68,7 @@
68
68
  condition="f_user_name like '%{}%'"
69
69
  >
70
70
  </div>
71
- <div class="col-sm-3 ">
71
+ <div class="col-sm-2 ">
72
72
  <label class="font_normal_body">小&emsp;区&emsp;</label>
73
73
  <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
74
74
  v-model="model.f_residential_area"
@@ -76,7 +76,7 @@
76
76
  condition="f_residential_area like '%{}%'"
77
77
  >
78
78
  </div>
79
- <div class="col-sm-3">
79
+ <div class="col-sm-2">
80
80
  <label class="font_normal_body">用户类型</label>
81
81
  <v-select
82
82
  placeholder='用户类型'
@@ -89,7 +89,7 @@
89
89
  </v-select>
90
90
  </div>
91
91
 
92
- <div class="col-sm-3">
92
+ <div class="col-sm-2">
93
93
  <label class="font_normal_body">用气性质</label>
94
94
  <v-select
95
95
  placeholder='用气性质'
@@ -104,14 +104,14 @@
104
104
  </div>
105
105
  </div>
106
106
  </criteria>
107
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
107
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" :optional="true">
108
108
  <template partial='head'>
109
109
  <tr>
110
- <th style="text-align:center">
111
- <nobr>全选</nobr>
112
- <input @keyup.enter="search" style="width:60%" type="checkbox" v-model='checked1'
113
- @click="$parent.$parent.$parent.checkedALL()">
114
- </th>
110
+ <!-- <th style="text-align:center">-->
111
+ <!-- <nobr>全选</nobr>-->
112
+ <!-- <input @keyup.enter="search" style="width:60%" type="checkbox" v-model='checked1'-->
113
+ <!-- @click="$parent.$parent.$parent.checkedALL()">-->
114
+ <!-- </th>-->
115
115
  <!--<th >操作</th>-->
116
116
  <th style="text-align:center">
117
117
  <nobr>客户编号</nobr>
@@ -150,11 +150,8 @@
150
150
 
151
151
  </tr>
152
152
  </template>
153
- <template partial='body' partial='list' v-ref:grid>
153
+ <template partial='body'>
154
154
  <tr>
155
- <td style="text-align:center">
156
- <input @keyup.enter="search" style="width:60%" type="checkbox" name="opertioninput"
157
- @click="$parent.$parent.$parent.checked(row)"></td>
158
155
  <!--<td>-->
159
156
  <!--<button type="button" name="button" class="btn btn-link" v-if="row.f_user_state === '正常'"-->
160
157
  <!--@click.stop="$parent.$parent.$parent.paramSet(row)">参数设置-->
@@ -354,8 +351,10 @@ export default {
354
351
  },
355
352
  showParam () {
356
353
  this.conditionMsg = ''
357
- if (!this.user) {
354
+ if (this.$refs.paged.$refs.grid.getRowData().length === 0) {
358
355
  this.user = []
356
+ } else {
357
+ this.user = this.$refs.paged.$refs.grid.getRowData()
359
358
  }
360
359
  if (this.user.length === 0) {
361
360
  this.$showMessage('是否要设置查询出来的所有表参数', ['confirm', 'cancel']).then((res) => {
@@ -400,19 +399,19 @@ export default {
400
399
  closeParam () {
401
400
  // this.$refs.form.row={}
402
401
  this.showParame = !this.showParame
403
- if (this.isCheckAll) {
404
- this.map.clear()
405
- this.user = []
406
- }
407
- this.isCheckAll = false
402
+ // if (this.isCheckAll) {
403
+ this.map.clear()
404
+ this.user = []
405
+ // }
406
+ // this.isCheckAll = false
408
407
  },
409
408
  clear () {
410
409
  this.$refs.form.paramtype = ''
411
- this.isCheckAll = false
410
+ // this.isCheckAll = false
412
411
  this.showParame = false
413
412
  this.map.clear()
414
413
  this.user = []
415
- this.unCheckAll()
414
+ // this.unCheckAll()
416
415
  this.search()
417
416
  },
418
417
  selfSearch (args) {
@@ -422,14 +421,14 @@ export default {
422
421
  this.condition = args.condition
423
422
  this.model.search(args.condition, args.model)
424
423
  }
425
- this.isCheckAll = false
424
+ // this.isCheckAll = false
426
425
  },
427
426
  showparam (setable) {
428
427
  this.setable = setable
429
428
  if (!setable) {
430
429
  this.map.clear()
431
430
  this.user = []
432
- this.isCheckAll = false
431
+ // this.isCheckAll = false
433
432
  }
434
433
  },
435
434
  search () {
@@ -467,42 +466,42 @@ export default {
467
466
  getRes (obj) {
468
467
  this.orgcondition = obj
469
468
  },
470
- unCheckAll () {
471
- let box = document.getElementsByName('opertioninput')
472
- for (var i = 0; i < box.length; i++) {
473
- box[i].checked = false
474
- }
475
- },
476
- checkedALL () {
477
- this.checked1 = !this.checked1
478
- let box = document.getElementsByName('opertioninput')
479
- for (var i = 0; i < box.length; i++) {
480
- box[i].checked = this.checked1
481
- }
482
- },
483
- checked (val) {
484
- let userid = val.f_userfiles_id
485
- if (this.map.has(userid)) {
486
- this.map.delete(userid)
487
- /* 遍历数组,然后根据选中的状态获取对应的下标,然后进行删除 */
488
- for (let i = 0; i < this.user.length; i++) {
489
- if (val.f_userfiles_id === this.user[i].f_userfiles_id) {
490
- this.user.splice(i, 1)
491
- }
492
- }
493
- } else {
494
- this.user.push(val)
495
- this.map.set(userid, {
496
- id: null,
497
- f_user_id: userid,
498
- f_alias: val.f_alias,
499
- f_userinfo_id: val.f_userinfo_id,
500
- f_orgname: val.f_orgname,
501
- f_orgid: val.f_orgid,
502
- f_meternumber: val.f_meternumber
503
- })
504
- }
505
- },
469
+ // unCheckAll () {
470
+ // let box = document.getElementsByName('opertioninput')
471
+ // for (var i = 0; i < box.length; i++) {
472
+ // box[i].checked = false
473
+ // }
474
+ // },
475
+ // checkedALL () {
476
+ // this.checked1 = !this.checked1
477
+ // let box = document.getElementsByName('opertioninput')
478
+ // for (var i = 0; i < box.length; i++) {
479
+ // box[i].checked = this.checked1
480
+ // }
481
+ // },
482
+ // checked (val) {
483
+ // let userid = val.f_userfiles_id
484
+ // if (this.map.has(userid)) {
485
+ // this.map.delete(userid)
486
+ // /* 遍历数组,然后根据选中的状态获取对应的下标,然后进行删除 */
487
+ // for (let i = 0; i < this.user.length; i++) {
488
+ // if (val.f_userfiles_id === this.user[i].f_userfiles_id) {
489
+ // this.user.splice(i, 1)
490
+ // }
491
+ // }
492
+ // } else {
493
+ // this.user.push(val)
494
+ // this.map.set(userid, {
495
+ // id: null,
496
+ // f_user_id: userid,
497
+ // f_alias: val.f_alias,
498
+ // f_userinfo_id: val.f_userinfo_id,
499
+ // f_orgname: val.f_orgname,
500
+ // f_orgid: val.f_orgid,
501
+ // f_meternumber: val.f_meternumber
502
+ // })
503
+ // }
504
+ // },
506
505
  showModal (val) {
507
506
  this.val1 = val
508
507
  this.isShowUserException = true
@@ -559,16 +558,16 @@ export default {
559
558
  this.$refs.paged.$refs.criteria.model.f_gasbrand_id = val[0]
560
559
  this.search()
561
560
  }
562
- },
563
- 'checked1' (val) {
564
- if (val) {
565
- this.user = this.model.rows
566
- this.mapset(this.model.rows)
567
- } else {
568
- this.map.clear()
569
- this.user = []
570
- }
571
561
  }
562
+ // 'checked1' (val) {
563
+ // if (val) {
564
+ // this.user = this.model.rows
565
+ // this.mapset(this.model.rows)
566
+ // } else {
567
+ // this.map.clear()
568
+ // this.user = []
569
+ // }
570
+ // }
572
571
  }
573
572
  }
574
573
  </script>
@@ -237,6 +237,7 @@ export default {
237
237
  let data = {}
238
238
  data.param_group = this.newmeterinfo[i].name
239
239
  data.param_name = this.newmeterinfo[i].params[j].name
240
+ data.tag = this.newmeterinfo[i].params[j].tag
240
241
  data.param_value = this.row[key] ? (this.row[key].code ? this.row[key].code : this.row[key]) : null
241
242
  data.param_content = this.row[key] ? (this.row[key].content ? this.row[key].content : this.row[key]) : null
242
243
  data.param_lname = this.newmeterinfo[i].params[j].title
@@ -324,9 +324,9 @@
324
324
  &ensp;<span class="glyphicon glyphicon-map-marker" @click="openModal" ></span>
325
325
  </div>
326
326
  <div class="col-sm-4 form-group" v-if="config.overduesetShow">
327
- <label class="font_normal_body">滞纳金规则</label>
327
+ <label class="font_normal_body">违约金规则</label>
328
328
  <v-select :value.sync="row.f_overdue_set" v-model="row.f_overdue_set"
329
- :options='overdueset' placeholder='滞纳金规则'
329
+ :options='overdueset' placeholder='违约金规则'
330
330
  close-on-select></v-select>
331
331
  </div>
332
332
 
@@ -53,7 +53,7 @@ export default {
53
53
  listpage: true,
54
54
  f_orgid: '',
55
55
  row: null,
56
- state:'已领',
56
+ state: '已领',
57
57
  cardInfo: null,
58
58
  modaldata: null,
59
59
  modaldata2: null,
@@ -77,7 +77,7 @@ export default {
77
77
  this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
78
78
  if (res === 'confirm') {
79
79
  // 获取未写卡或者写卡失败记录
80
- this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card = '未写卡' and f_userfiles_id = '${obj.f_userfiles_id}'`).then((getUnWriteSell) => {
80
+ this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`).then((getUnWriteSell) => {
81
81
  console.log('获取未写卡记录', getUnWriteSell)
82
82
  if (getUnWriteSell.data.length > 1) {
83
83
  this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
@@ -94,7 +94,7 @@ export default {
94
94
  })
95
95
  } else {
96
96
  // 获取未写卡或者写卡失败记录
97
- let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card = '未写卡' and f_userfiles_id = '${obj.f_userfiles_id}'`)
97
+ let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`)
98
98
  console.log('获取未写卡记录', getUnWriteSell)
99
99
  if (getUnWriteSell.data.length > 1) {
100
100
  this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
@@ -120,9 +120,9 @@ export default {
120
120
  this.$refs.list.search()
121
121
  // this.$refs.card.search()
122
122
  },
123
- setstate(state){
123
+ setstate (state) {
124
124
  console.log('-----------state----')
125
- this.state=state?'已领':'未领'
125
+ this.state = state ? '已领' : '未领'
126
126
  },
127
127
  async validateRow (obj) {
128
128
  console.log('查看传进来的参数:', obj)