sale-client 3.6.360-preview → 3.6.361-preview

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 (36) hide show
  1. package/package.json +1 -1
  2. package/src/components/common/userinfo_detail/ic_detail/insertKeyUser.vue +41 -13
  3. package/src/components/newBill/CardMeterCenter.vue +1 -1
  4. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackListRecord.vue +29 -49
  5. package/src/components/revenue/comprehen/SpecialUser/SpecialUserManage.vue +1 -1
  6. package/src/filiale/alashan/business/CardMeterCenter.vue +1 -1
  7. package/src/filiale/gehua/CardMeterCenter.vue +1 -1
  8. package/src/filiale/gehua/ShowCardSellGas.vue +1 -1
  9. package/src/filiale/guangxi/CardMeterCenter.vue +1 -1
  10. package/src/filiale/guangxi/ShowCardSellGas.vue +1 -1
  11. package/src/filiale/huayin/CardMeterCenter.vue +1 -1
  12. package/src/filiale/jinbin/CardMeterCenter.vue +1 -1
  13. package/src/filiale/jinbin/ShowCardSellGas.vue +1 -1
  14. package/src/filiale/jinjiang/CardMeterCenter.vue +1 -1
  15. package/src/filiale/kelai/CardMeterCenter.vue +1 -1
  16. package/src/filiale/kelai/ShowCardSellGas.vue +1 -1
  17. package/src/filiale/macheng/CardMeterCenter.vue +1 -1
  18. package/src/filiale/ningjin/CardMeterCenter.vue +1 -1
  19. package/src/filiale/rizhao/CardMeterCenter.vue +1 -1
  20. package/src/filiale/rizhao/ShowCardSellGas.vue +1 -1
  21. package/src/filiale/rongcheng/business/CardMeterCenter.vue +1 -1
  22. package/src/filiale/rongchuang/CardMeterCenter.vue +1 -1
  23. package/src/filiale/rongchuang/bill/EticketRecordList.vue +75 -5
  24. package/src/filiale/shangluo/CardMeterCenter.vue +1 -1
  25. package/src/filiale/shanxian/components/revenue/CardMeterCenter.vue +1 -1
  26. package/src/filiale/tongchuan/CardMeterCenter.vue +1 -1
  27. package/src/filiale/wenxi/CardMeterCenter.vue +1 -1
  28. package/src/filiale/wenxi/ShowCardSellGas.vue +1 -1
  29. package/src/filiale/wuhai/CardMeterCenter.vue +1 -1
  30. package/src/filiale/wuhai/ShowCardSellGas.vue +1 -1
  31. package/src/filiale/yangchun/BlackList/BlackList.vue +52 -16
  32. package/src/filiale/yangchun/BlackList/BlackListRecord.vue +82 -0
  33. package/src/filiale/yangchun/sale.js +2 -0
  34. package/src/filiale/yuansheng/CardMeterCenter.vue +1 -1
  35. package/src/filiale/yuansheng/ShowCardSellGas.vue +1 -1
  36. package/src/filiale/zhongyi/CardMeterCenter.vue +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.360-preview",
3
+ "version": "3.6.361-preview",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -13,14 +13,34 @@
13
13
  :value-single="true"
14
14
  close-on-select></v-select>
15
15
  </div>
16
- <div class="col-sm-3 form-group" v-if="KeyModel.f_opr_state == '移入'">
17
- <label class="font_normal_body col-sm-3">移入原因</label>
18
- <input type="text" v-model="KeyModel.f_comments" class="input_search" placeholder="请输入移入原因" >
16
+ <div class="col-sm-3 form-group" :class="[$v.f_opr_state.required ? 'has-error' : '']" v-if="false">
17
+ <label class="font_normal_body col-sm-3">操作状态1</label>
18
+ <input type="text" v-show="false" v-model="KeyModel.f_final_opr_state" v-validate:f_opr_state='{required: true }'>
19
+ <v-select width="60%"
20
+ v-model="KeyModel.f_final_opr_state"
21
+ :value.sync="KeyModel.f_final_opr_state"
22
+ :options="fstate"
23
+ :value-single="true"
24
+ close-on-select></v-select>
19
25
  </div>
20
- <div class="col-sm-3 form-group" v-if="KeyModel.f_opr_state == '移出'">
21
- <label class="font_normal_body col-sm-3">移出原因</label>
22
- <input type="text" v-model="KeyModel.f_comments" class="input_search" placeholder="请输入移入原因" >
26
+ <div class="col-sm-3 form-group" id="f_comments" :class="[$v.f_comments.required ? 'has-error' : 'has-success']" v-if="KeyModel.f_opr_state == '移入'">
27
+ <label for="f_comments" class=" font_normal_body">移入原因</label>
28
+ <input type="text" v-model="KeyModel.f_comments" v-show="false"
29
+ v-validate:f_comments='{required: true }' >
30
+ <v-select
31
+ width="60%"
32
+ :value.sync="KeyModel.f_comments"
33
+ v-model="KeyModel.f_comments"
34
+ :options="fcomments"
35
+ :value-single="true"
36
+ :close-on-select="false"
37
+ >
38
+ </v-select>
23
39
  </div>
40
+ <!-- <div class="col-sm-3 form-group" v-if="KeyModel.f_opr_state == '移出'">-->
41
+ <!-- <label class="font_normal_body col-sm-3">移出原因</label>-->
42
+ <!-- <input type="text" v-model="KeyModel.f_comments" class="input_search" placeholder="请输入移入原因" >-->
43
+ <!-- </div>-->
24
44
  <div v-if="KeyModel.f_opr_state == '移入'">
25
45
  <div class="col-sm-3 form-group" :class="[$v.f_level.required ? 'has-error' : '']">
26
46
  <label class="font_normal_body col-sm-3">管控级别</label>
@@ -68,7 +88,6 @@
68
88
  <div style="color: #0d8ddb; font-size: 25px; margin-top: 15px; margin-bottom: 10px; margin-left: 25px">限购配置</div>
69
89
  <validator name='v'>
70
90
  <form novalidate class="form-horizontal">
71
-
72
91
  <div class="row">
73
92
  <div class="col-sm-3 form-group" :class="[$v.f_third_pay.required ? 'has-error' : '']">
74
93
  <label class="font_normal_body col-sm-3" >第三方缴费</label>
@@ -228,9 +247,10 @@ export default {
228
247
  data () {
229
248
  return {
230
249
  KeyModel: {
250
+ f_final_opr_state: '移出',
231
251
  f_opr_state:'移入',
232
252
  f_comments: '',
233
- f_function: '',
253
+ f_function: '限制购气',
234
254
  f_level:'',
235
255
  f_remark:''
236
256
  },
@@ -256,10 +276,8 @@ export default {
256
276
  fstate: [{label: '移入', value: '移入'},{label: '移出', value: '移出'}],
257
277
  flevel: [{label: '高', value: '高'},{label: '中', value: '中'},{label: '低', value: '低'}],
258
278
  nolimitGas:[{label: '是', value:'0'},{label: '否', value:'1'}],
259
- fFunction: this.$appdata.getParam('限制功能') ? [{
260
- label: '全部',
261
- value: ''
262
- }, ...this.$appdata.getParam('限制功能')] : [],
279
+ fFunction: [{label: '限制购气', value:'限制购气'},{label: '禁止缴费退款', value:'禁止缴费退款'},{label: '禁止开阀', value:'禁止开阀'},{label: '禁止换表', value:'禁止换表'},{label: '禁止补退气', value:'禁止补退气'},{label: '下发强制关阀', value:'下发强制关阀'}],
280
+ fcomments:this.$appdata.getParam('移入原因') ? [ ...this.$appdata.getParam('移入原因')] : []
263
281
  }
264
282
  },
265
283
  props: ['show', 'f_price_id', 'f_userinfo_id','row','userOperationState'],
@@ -285,14 +303,19 @@ export default {
285
303
  }
286
304
  },
287
305
  async confirm (type) {
306
+ console.log('确认移入重点用户', this.$login.r)
288
307
  if (this.userOperationState === '移入') {
289
308
  this.$showMessage(`${type}失败, 用户已被移入重点用户, 请先移出重点用户`);
290
309
  return;
291
310
  }
292
- if (type == '取消拉黑' && !this.$login.r.find(value => value == '取消拉黑')) {
311
+ if (type == '移出重点用户' && !this.$login.r.find(value => value == '取消拉黑')) {
293
312
  this.$showMessage('你没有移出重点用户的权限,请联系管理员!')
294
313
  return
295
314
  }
315
+ if (type == '移入重点用户' && !this.$login.r.find(value => value == '新增黑名单')) {
316
+ this.$showMessage('你没有移入重点用户的权限,请联系管理员!')
317
+ return
318
+ }
296
319
  let data = {
297
320
  f_operat_type: type,
298
321
  f_state: '待审核',
@@ -318,6 +341,7 @@ export default {
318
341
  f_limit_amount: this.model.f_limit_amount,
319
342
  f_limit_value: this.model.f_limit_value,
320
343
  f_opr_state: this.KeyModel.f_opr_state,
344
+ f_final_opr_state: this.KeyModel.f_final_opr_state,
321
345
  f_level: this.KeyModel.f_level,
322
346
  f_function:this.KeyModel.f_function
323
347
  }
@@ -335,6 +359,10 @@ export default {
335
359
  this.$showMessage(`${operateType}失败,用户不是重点用户,请先移入重点用户`)
336
360
  return
337
361
  }
362
+ if (res.data.code == 503) {
363
+ this.$showMessage(`${operateType}失败,该用户已提交移出重点用户审核,请联系管理员处理`)
364
+ return
365
+ }
338
366
  this.initModel()
339
367
  this.$dispatch('success')
340
368
  this.$emit('cancel')
@@ -247,7 +247,7 @@
247
247
  if (self.row.f_collection_type === '按金额') {
248
248
  self.dymoney = 0
249
249
  } else {
250
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
250
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
251
251
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
252
252
  }
253
253
  } else {
@@ -4,25 +4,19 @@
4
4
  <template partial='head'>
5
5
  <tr>
6
6
  <th style="text-align: center;">序号</th>
7
- <th style="text-align: center;">移入(移出)原因</th>
8
- <th style="text-align: center;">管控级别</th>
9
- <th style="text-align: center;">限制功能</th>
10
- <th style="text-align: center;">备注</th>
11
- <th style="text-align: center;">操作状态</th>
7
+ <th style="text-align: center;">操作类型</th>
12
8
  <th style="text-align: center;">操作时间</th>
13
9
  <th style="text-align: center;">操作人</th>
10
+ <th style="text-align: center;">原因</th>
14
11
  </tr>
15
12
  </template>
16
13
  <template partial='body'>
17
14
  <tr>
18
15
  <td style="text-align: center;">{{$index+1}}</td>
19
- <td style="text-align: center;">{{row.f_comments}}</td>
20
- <td style="text-align: center;">{{row.f_level}}</td>
21
- <td style="text-align: center;">{{$parent.$parent.formatFunction(row.f_function)}}</td>
22
- <td style="text-align: center;">{{row.f_remark}}</td>
23
- <td style="text-align: center;">{{row.f_opr_state}}</td>
16
+ <td style="text-align: center;">{{row.f_operat_type}}</td>
24
17
  <td style="text-align: center;">{{row.f_operate_date}}</td>
25
18
  <td style="text-align: center;">{{row.f_operator}}</td>
19
+ <td style="text-align: center;">{{row.f_comments}}</td>
26
20
  </tr>
27
21
  </template>
28
22
  <template partial='foot'></template>
@@ -31,50 +25,36 @@
31
25
  </template>
32
26
 
33
27
  <script>
34
- import {HttpResetClass} from 'vue-client'
28
+ import {HttpResetClass} from 'vue-client'
35
29
 
36
- let initGen = async function (self, val) {
37
- let http = new HttpResetClass()
38
- console.log(self.$login.f, '================')
39
- let res = await http.load('POST', 'api/af-revenue/sql/sale_getBlackListRecord', {data: {condition: `t.f_userinfo_id=${self.data.f_userinfo_id} and f_orgid = ${self.$login.f.orgid}` }}, {resolveMsg: null, rejectMsg: null})
40
- self.model = Object.assign({}, self.model, val)
41
- self.model.rows = res.data
42
- }
43
- export default {
44
- props: ['data'],
45
- data () {
46
- return {
47
- model: {
48
- rows: []
49
- }
50
- }
51
- },
52
- watch: {
53
- 'data' (val) {
54
- if (val) {
55
- initGen(this, val)
56
- }
57
- }},
58
-
59
- ready () {
60
- initGen(this, this.data)
61
- },
62
- methods: {
63
- formatFunction (functionString) {
64
- if (!functionString) return ''
65
- try {
66
- // 解析 JSON 字符串为数组
67
- let functionArray = JSON.parse(functionString)
68
- // 将数组转换为用逗号分隔的字符串
69
- return functionArray.join(', ')
70
- } catch (e) {
71
- // 如果解析失败,返回原始字符串
72
- return functionString
73
- }
30
+ let initGen = async function (self, val) {
31
+ let http = new HttpResetClass()
32
+ console.log(self.$login.f, '================')
33
+ let res = await http.load('POST', 'api/af-revenue/sql/sale_getBlackListRecord', {data: {condition: `t.f_userinfo_id=${self.data.f_userinfo_id} and f_orgid = ${self.$login.f.orgid}` }}, {resolveMsg: null, rejectMsg: null})
34
+ self.model = Object.assign({}, self.model, val)
35
+ self.model.rows = res.data
36
+ }
37
+ export default {
38
+ props: ['data'],
39
+ data () {
40
+ return {
41
+ model: {
42
+ rows: []
74
43
  }
75
44
  }
45
+ },
46
+ watch: {
47
+ 'data' (val) {
48
+ if (val) {
49
+ initGen(this, val)
50
+ }
51
+ }},
76
52
 
53
+ ready () {
54
+ initGen(this, this.data)
77
55
  }
56
+
57
+ }
78
58
  </script>
79
59
  <style>
80
60
 
@@ -7,7 +7,7 @@
7
7
  <tabs header="黑名单管理" v-if="permission('黑名单管理')">
8
8
  <black-list-mangae @deal-msg="dealMsg"></black-list-mangae>
9
9
  </tabs>
10
- <tabs header="黑名单记录查询" v-if="permission('黑名单记录查询')">
10
+ <tabs header="黑名单记录查询" v-if="permission('重点用户记录查看')">
11
11
  <black-record-query @deal-msg="dealMsg"></black-record-query>
12
12
  </tabs>
13
13
  </tab-button>
@@ -241,7 +241,7 @@
241
241
  if (self.row.f_collection_type === '按金额') {
242
242
  self.dymoney = 0
243
243
  } else {
244
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
244
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
245
245
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
246
246
  }
247
247
  } else {
@@ -238,7 +238,7 @@
238
238
  if (self.row.f_collection_type === '按金额') {
239
239
  self.dymoney = 0
240
240
  } else {
241
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
241
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
242
242
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
243
243
  }
244
244
  } else {
@@ -273,7 +273,7 @@ let preamountGen = async function (self) {
273
273
  if (self.row.f_collection_type === '按金额') {
274
274
  self.dymoney = 0
275
275
  } else {
276
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
276
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
277
277
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
278
278
  }
279
279
  } else {
@@ -238,7 +238,7 @@
238
238
  self.dymoney = 0
239
239
  } else {
240
240
  if (self.row.f_meter_brand !== '秦川IC卡表') {
241
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
241
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
242
242
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
243
243
  }
244
244
  }
@@ -274,7 +274,7 @@ let preamountGen = async function (self) {
274
274
  self.dymoney = 0
275
275
  } else {
276
276
  if (self.row.f_meter_brand !== '秦川IC卡表') {
277
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
277
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
278
278
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
279
279
  }
280
280
  }
@@ -246,7 +246,7 @@
246
246
  if (self.row.f_collection_type === '按金额') {
247
247
  self.dymoney = 0
248
248
  } else {
249
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
249
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
250
250
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
251
251
  }
252
252
  } else {
@@ -286,7 +286,7 @@
286
286
  if (self.row.f_collection_type === '按金额') {
287
287
  self.dymoney = 0
288
288
  } else {
289
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
289
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
290
290
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
291
291
  }
292
292
  } else {
@@ -215,7 +215,7 @@
215
215
  if (self.row.f_collection_type === '按金额') {
216
216
  self.dymoney = 0
217
217
  }else{
218
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
218
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
219
219
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
220
220
  }
221
221
  } else {
@@ -229,7 +229,7 @@
229
229
  if (self.row.f_collection_type === '按金额') {
230
230
  self.dymoney = 0
231
231
  }else {
232
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
232
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
233
233
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
234
234
  }
235
235
  } else {
@@ -252,7 +252,7 @@
252
252
  if (self.row.f_collection_type === '按金额') {
253
253
  self.dymoney = 0
254
254
  } else {
255
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
255
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
256
256
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
257
257
  }
258
258
  } else {
@@ -307,7 +307,7 @@ let preamountGen = async function (self) {
307
307
  if (self.row.f_collection_type === '按金额') {
308
308
  self.dymoney = 0
309
309
  } else {
310
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
310
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
311
311
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
312
312
  }
313
313
  } else {
@@ -261,7 +261,7 @@
261
261
  if (self.row.f_collection_type === '按金额') {
262
262
  self.dymoney = 0
263
263
  } else {
264
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
264
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
265
265
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
266
266
  }
267
267
  } else {
@@ -291,7 +291,7 @@
291
291
  if (self.row.f_collection_type === '按金额') {
292
292
  self.dymoney = 0
293
293
  } else {
294
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
294
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
295
295
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
296
296
  }
297
297
  } else {
@@ -293,7 +293,7 @@
293
293
  if (self.row.f_collection_type === '按金额') {
294
294
  self.dymoney = 0
295
295
  } else {
296
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
296
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
297
297
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
298
298
  }
299
299
  } else {
@@ -292,7 +292,7 @@ let preamountGen = async function (self) {
292
292
  if (self.row.f_collection_type === '按金额') {
293
293
  self.dymoney = 0
294
294
  } else {
295
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
295
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
296
296
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
297
297
  }
298
298
  } else {
@@ -237,7 +237,7 @@
237
237
  if (self.row.f_collection_type === '按金额') {
238
238
  self.dymoney = 0
239
239
  }else {
240
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
240
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
241
241
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
242
242
  }
243
243
  } else {
@@ -239,7 +239,7 @@
239
239
  if (self.row.f_collection_type === '按金额') {
240
240
  self.dymoney = 0
241
241
  } else {
242
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
242
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
243
243
  if (dymoney2.data.money) {
244
244
  self.dymoney = (getGas.data.money - 0).toFixed(4) - (dymoney2.data.money - 0).toFixed(4)
245
245
  }
@@ -37,6 +37,12 @@
37
37
  close-on-select clear-button>
38
38
  </v-select>
39
39
  </div>
40
+ <div class="form-group col-sm-2">
41
+ <label class="font_normal_body">开票人</label>
42
+ <input type="text" class="form-control" v-model="model.f_operator" style="width:60%"
43
+ condition="f_operator = '{}'" placeholder="开票人"
44
+ >
45
+ </div>
40
46
 
41
47
  <div style="float: right" class="span" >
42
48
  <button class="button_search" @click="search()">查 询</button>
@@ -77,8 +83,8 @@
77
83
  </v-select>
78
84
  </div>
79
85
  <div class="form-group col-sm-2">
80
- <label for="startDate" class="font_normal_body">开票日期</label>
81
- <datepicker id="startDate" placeholder="开始日期"
86
+ <label for="startDate" class="font_normal_body">开票日期 ≥ </label>
87
+ <datepicker id="startDate" placeholder="开票日期"
82
88
  v-model="model.startDate"
83
89
  :value.sync="model.startDate"
84
90
  :format="'yyyy-MM-dd HH:mm:ss'"
@@ -88,8 +94,8 @@
88
94
  </datepicker>
89
95
  </div>
90
96
  <div class="form-group col-sm-2">
91
- <label for="endDate" class="font_normal_body">结束时间</label>
92
- <datepicker id="endDate" placeholder="结束日期"
97
+ <label for="endDate" class="font_normal_body">开票日期 ≤ </label>
98
+ <datepicker id="endDate" placeholder="开票日期"
93
99
  v-model="model.endDate"
94
100
  :value.sync="model.endDate"
95
101
  :format="'yyyy-MM-dd HH:mm:ss'"
@@ -98,6 +104,60 @@
98
104
  >
99
105
  </datepicker>
100
106
  </div>
107
+
108
+ <div class="form-group col-sm-2" >
109
+ <label class="font_normal_body">用户类型</label>
110
+ <v-select id="f_charge_type"
111
+ style="width:60%"
112
+ v-model="model.f_user_type"
113
+ placeholder='用户类型'
114
+ condition="f_user_type ='{}'"
115
+ :value.sync="model.f_user_type"
116
+ :options='$parent.$parent.userTypes'
117
+ close-on-select clear-button>
118
+ </v-select>
119
+ </div>
120
+ <div class="form-group col-sm-2" >
121
+ <label class="font_normal_body">发票类型</label>
122
+ <v-select id="f_charge_type"
123
+ style="width:60%"
124
+ v-model="model.f_invoice_category"
125
+ placeholder='发票类型'
126
+ condition="f_invoice_category ='{}'"
127
+ :value.sync="model.f_invoice_category"
128
+ :options='$parent.$parent.invoiceTypes'
129
+ close-on-select clear-button>
130
+ </v-select>
131
+ </div>
132
+ <div class="form-group col-sm-2">
133
+ <label class="font_normal_body">气价名称</label>
134
+ <input type="text" class="form-control" v-model="model.f_price_name" style="width:60%"
135
+ condition="f_price_name like '%{}%'" placeholder="气价名称"
136
+ >
137
+ </div>
138
+
139
+ <div class="form-group col-sm-2">
140
+ <label for="startDate" class="font_normal_body">收费日期 ≥ </label>
141
+ <datepicker id="startDate" placeholder="收费日期"
142
+ v-model="model.startDate2"
143
+ :value.sync="model.startDate2"
144
+ :format="'yyyy-MM-dd HH:mm:ss'"
145
+ condition="f_operate_date >='{}'"
146
+ style="width:60%"
147
+ >
148
+ </datepicker>
149
+ </div>
150
+ <div class="form-group col-sm-2">
151
+ <label for="startDate" class="font_normal_body">收费日期 ≤ </label>
152
+ <datepicker id="startDate" placeholder="收费日期"
153
+ v-model="model.endDate2"
154
+ :value.sync="model.endDate2"
155
+ :format="'yyyy-MM-dd HH:mm:ss'"
156
+ condition="f_operate_date <='{}'"
157
+ style="width:60%"
158
+ >
159
+ </datepicker>
160
+ </div>
101
161
  </div>
102
162
  </div>
103
163
  </criteria>
@@ -107,12 +167,16 @@
107
167
  <th>序号</th>
108
168
  <th>客户编号</th>
109
169
  <th>用户姓名</th>
170
+ <th>用户类型</th>
110
171
  <th>用户地址</th>
111
172
  <th>气量</th>
112
173
  <th>税后金额</th>
113
174
  <th>合计金额</th>
175
+ <th>气价名称</th>
114
176
  <th>收费类型</th>
115
177
  <th>收费时间</th>
178
+ <th>收费员</th>
179
+ <th>发票类型</th>
116
180
  <th>是否征税</th>
117
181
  <th>票据状态</th>
118
182
  <th>失败原因</th>
@@ -126,12 +190,16 @@
126
190
  <td style="text-align:center">{{$index+1}}</td>
127
191
  <td style="text-align:center">{{row.f_userinfo_code}}</td>
128
192
  <td style="text-align:center">{{row.f_user_name}}</td>
193
+ <td style="text-align:center">{{row.f_user_type}}</td>
129
194
  <td style="text-align:center">{{row.f_address}}</td>
130
195
  <td style="text-align:center">{{row.f_pregas}}</td>
131
196
  <td style="text-align:center">{{row.f_tax_money.toFixed(2)}}</td>
132
197
  <td style="text-align:center">{{row.f_total_money}}</td>
198
+ <td style="text-align:center">{{row.f_price_name}}</td>
133
199
  <td style="text-align:center">{{row.f_charge_type}}</td>
134
200
  <td style="text-align:center">{{row.f_operate_date}}</td>
201
+ <td style="text-align:center">{{row.f_operator}}</td>
202
+ <td style="text-align:center">{{row.f_invoice_category}}</td>
135
203
  <td style="text-align:center">{{row.f_tax_logotype}}</td>
136
204
  <td style="text-align:center">{{row.f_bill_state}}</td>
137
205
  <td style="text-align:center">{{row.f_sign_result}}</td>
@@ -217,7 +285,9 @@
217
285
  'f_tax_logotype': '是否征税',
218
286
  'f_bill_state': '票据状态',
219
287
  'f_kprq': '开票时间'
220
- }
288
+ },
289
+ userTypes: [{label: '全部', value: ''}, {label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
290
+ invoiceTypes: [{label: '全部', value: ''}, {label: '数电普票', value: '数电普票'}, {label: '数电专票', value: '数电专票'}]
221
291
  }
222
292
  },
223
293
  ready () {
@@ -242,7 +242,7 @@
242
242
  if (self.row.f_collection_type === '按金额') {
243
243
  self.dymoney = 0
244
244
  } else {
245
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
245
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
246
246
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
247
247
  }
248
248
  } else {
@@ -262,7 +262,7 @@
262
262
  if (self.row.f_collection_type === '按金额') {
263
263
  self.dymoney = 0
264
264
  } else {
265
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
265
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
266
266
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
267
267
  }
268
268
  } else {
@@ -270,7 +270,7 @@ let preamountGen = async function (self) {
270
270
  if (self.row.f_collection_type === '按金额') {
271
271
  self.dymoney = 0
272
272
  } else {
273
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
273
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
274
274
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
275
275
  }
276
276
  } else {
@@ -261,7 +261,7 @@
261
261
  if (self.row.f_collection_type === '按金额') {
262
262
  self.dymoney = 0
263
263
  } else {
264
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
264
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
265
265
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
266
266
  }
267
267
  } else {
@@ -293,7 +293,7 @@ let preamountGen = async function (self) {
293
293
  if (self.row.f_collection_type === '按金额') {
294
294
  self.dymoney = 0
295
295
  } else {
296
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
296
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
297
297
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
298
298
  }
299
299
  } else {
@@ -264,7 +264,7 @@
264
264
  if (self.row.f_collection_type === '按金额') {
265
265
  self.dymoney = 0
266
266
  } else {
267
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
267
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
268
268
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
269
269
  }
270
270
  } else {
@@ -291,7 +291,7 @@ let preamountGen = async function (self) {
291
291
  if (self.row.f_collection_type === '按金额') {
292
292
  self.dymoney = 0
293
293
  } else {
294
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
294
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
295
295
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
296
296
  }
297
297
  } else {
@@ -72,7 +72,7 @@
72
72
  </div>
73
73
  </div>
74
74
  <div class="row">
75
- <div class="col-sm-3 form-group" :class="[$v.f_opr_state.required ? 'has-error' : '']">
75
+ <div class="col-sm-3 form-group" :class="[$v.f_opr_state.required ? 'has-error' : '']" v-if="showOprState">
76
76
  <label class="font_normal_body col-sm-4">操作状态</label>
77
77
  <input type="text" v-show="false" v-model="model.f_opr_state" v-validate:f_opr_state='{required: true }'>
78
78
  <v-select width="60%"
@@ -82,6 +82,16 @@
82
82
  :value-single="true"
83
83
  close-on-select></v-select>
84
84
  </div>
85
+ <div class="col-sm-3 form-group" :class="[$v.f_final_opr_state.required ? 'has-error' : '']" v-if="model.f_operat_type!='移入重点用户' || (isBlackList == 2 || model.isblacklist =='true')">
86
+ <label class="font_normal_body col-sm-4">操作状态</label>
87
+ <input type="text" v-show="false" v-model="model.f_final_opr_state" v-validate:f_final_opr_state='{required: true }'>
88
+ <v-select width="60%"
89
+ v-model="model.f_final_opr_state"
90
+ :value.sync="model.f_final_opr_state"
91
+ :options="fstate"
92
+ :value-single="true"
93
+ close-on-select></v-select>
94
+ </div>
85
95
  <div class="row">
86
96
  <div class="col-sm-3 form-group" :class="[$v.f_level.required ? 'has-error' : '']">
87
97
  <label class="font_normal_body col-sm-4">管控级别</label>
@@ -116,15 +126,19 @@
116
126
  readonly
117
127
  placeholder="地址">
118
128
  </div>
119
- <div class="col-sm-12 form-group" id="f_comments" :class="[$v.f_comments.required ? 'has-error' : 'has-success']" v-if="model.f_opr_state == '移入'"_>
129
+ <div class="col-sm-12 form-group" id="f_comments" :class="[$v.f_comments.required ? 'has-error' : 'has-success']">
120
130
  <label for="f_comments" class=" font_normal_body">移入原因</label>
121
- <input class="input_search" type="text" class="input_search" style="width:87%" v-model="model.f_comments"
122
- placeholder="原因" v-validate:f_comments='{required: true }' >
123
- </div>
124
- <div class="col-sm-12 form-group" id="f_comments" :class="[$v.f_comments.required ? 'has-error' : 'has-success']" v-if="model.f_opr_state == '移出'"_>
125
- <label for="f_comments" class=" font_normal_body">移出原因</label>
126
- <input class="input_search" type="text" class="input_search" style="width:87%" v-model="model.f_comments"
127
- placeholder="原因" v-validate:f_comments='{required: true }' >
131
+ <input type="text" v-model="model.f_comments" v-show="false"
132
+ v-validate:f_comments='{required: true }' >
133
+ <v-select
134
+ width="60%"
135
+ :value.sync="model.f_comments"
136
+ v-model="model.f_comments"
137
+ :options="fcomments"
138
+ :value-single="true"
139
+ :close-on-select="false"
140
+ >
141
+ </v-select>
128
142
  </div>
129
143
  <div class="col-sm-12 form-group" id="f_remark">
130
144
  <label for="f_remark" class=" font_normal_body">备&emsp;&emsp;注</label>
@@ -140,11 +154,11 @@
140
154
  </div>
141
155
 
142
156
  <div style="text-align:right;height:auto;margin-top:6px;">
143
- <button class="button_search" type="button" @click="confirm('移入重点用户')" v-show="isBla ckList == 1 && model.isblacklist =='false'" :disabled='!$v.valid'>
157
+ <button class="button_search" type="button" @click="confirm('移入重点用户')" v-show="isBlackList == 1 && model.isblacklist =='false'" :disabled='!$v.valid'>
144
158
  提交移入重点用户审核
145
159
  </button>
146
160
  <button class="button_search" type="button" @click="confirm('移出重点用户')"
147
- v-show="isBlackList == 2 || model.isblacklist =='true'" :disabled='!$v.valid'>
161
+ v-show="showConfirmButton" :disabled='!$v.valid'>
148
162
  提交移出重点用户审核
149
163
  </button>
150
164
  <button class="button_search" type="button" @click="audit('通过')"
@@ -181,6 +195,7 @@
181
195
  self.model.f_function = JSON.parse(self.model.f_function)
182
196
  }
183
197
  self.model.f_meternumber = res.data[0].f_meternumber
198
+ // self.model.f_final_opr_state=res.data[0].f_final_opr_state
184
199
  self.model.f_card_id = res.data[0].f_card_id
185
200
  self.model.f_userinfo_id = res.data[0].f_userinfo_id
186
201
  self.model.f_user_phone = res.data[0].f_user_phone
@@ -210,6 +225,7 @@
210
225
  model: {
211
226
  noLimitGas: '',
212
227
  f_opr_state:'移入',
228
+ f_final_opr_state: '移出',
213
229
  f_function: [],
214
230
  f_level:'',
215
231
  f_userinfo_code: '',
@@ -241,8 +257,8 @@
241
257
  label: '全部',
242
258
  value: ''
243
259
  }, ...this.$appdata.getParam('限制功能')] : [],
244
- nolimitGas:[{label: '是', value:'0'},{label: '否', value:'1'}]
245
-
260
+ nolimitGas:[{label: '是', value:'0'},{label: '否', value:'1'}],
261
+ fcomments:this.$appdata.getParam('移入原因') ? [ ...this.$appdata.getParam('移入原因')] : [],
246
262
  }
247
263
  },
248
264
  ready () {
@@ -294,8 +310,12 @@
294
310
  })
295
311
  },
296
312
  async confirm (type) {
297
- if (type == '取消拉黑' && !this.$login.r.find(value => value == '取消拉黑')) {
298
- this.$showMessage('你没有取消拉黑的权限,请联系管理员!')
313
+ if (type == '移出重点用户' && !this.$login.r.find(value => value == '取消拉黑')) {
314
+ this.$showMessage('你没有移出重点用户的权限,请联系管理员!')
315
+ return
316
+ }
317
+ if (type == '移入重点用户' && !this.$login.r.find(value => value == '新增黑名单')) {
318
+ this.$showMessage('你没有移入重点用户的权限,请联系管理员!')
299
319
  return
300
320
  }
301
321
  let data = {
@@ -322,6 +342,7 @@
322
342
  f_limit_amount: this.model.f_limit_amount,
323
343
  f_limit_value: this.model.f_limit_value,
324
344
  f_opr_state: this.model.f_opr_state,
345
+ f_final_opr_state: this.model.f_final_opr_state,
325
346
  f_level: this.model.f_level,
326
347
  f_function:this.model.f_function
327
348
  }
@@ -339,12 +360,16 @@
339
360
  this.$showMessage(`${operateType}失败,用户不是重点用户,请先移入重点用户`)
340
361
  return
341
362
  }
363
+ if (res.data.code === 503) {
364
+ this.$showMessage(`${operateType}失败,该用户已提交移出重点用户审核,请联系管理员处理`)
365
+ return
366
+ }
342
367
  this.initModel()
343
368
  this.$dispatch('success')
344
369
  },
345
370
  async audit (type) {
346
371
  if (!this.$login.r.find(value => value == '黑名单审核')) {
347
- this.$showMessage('你没有审核黑名单的权限,请联系管理员!')
372
+ this.$showMessage('你没有审核重点用户的权限,请联系管理员!')
348
373
  return
349
374
  }
350
375
  let data = {
@@ -386,6 +411,12 @@
386
411
  },
387
412
  },
388
413
  computed: {
414
+ showConfirmButton() {
415
+ return this.isBlackList == 2 || this.model.isblacklist == 'true';
416
+ },
417
+ showOprState() {
418
+ return !this.showConfirmButton && this.model.f_opr_state == '移入';
419
+ }
389
420
  // parsedFFunction: {
390
421
  // get() {
391
422
  // if (this.model.f_function) {
@@ -403,6 +434,11 @@
403
434
  // }
404
435
  // }
405
436
  },
437
+ mounted () {
438
+ // if (this.model.f_opr_state === '移入') {
439
+ // this.model.f_opr_state = '移出';
440
+ // }
441
+ }
406
442
  }
407
443
  </script>
408
444
  <style lang="less">
@@ -0,0 +1,82 @@
1
+ <template>
2
+ <div class="flex-full" style="height: 40%">
3
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
4
+ <template partial='head'>
5
+ <tr>
6
+ <th style="text-align: center;">序号</th>
7
+ <th style="text-align: center;">移入(移出)原因</th>
8
+ <th style="text-align: center;">管控级别</th>
9
+ <th style="text-align: center;">限制功能</th>
10
+ <th style="text-align: center;">备注</th>
11
+ <th style="text-align: center;">操作状态</th>
12
+ <th style="text-align: center;">操作时间</th>
13
+ <th style="text-align: center;">操作人</th>
14
+ </tr>
15
+ </template>
16
+ <template partial='body'>
17
+ <tr>
18
+ <td style="text-align: center;">{{$index+1}}</td>
19
+ <td style="text-align: center;">{{row.f_comments}}</td>
20
+ <td style="text-align: center;">{{row.f_level}}</td>
21
+ <td style="text-align: center;">{{$parent.$parent.formatFunction(row.f_function)}}</td>
22
+ <td style="text-align: center;">{{row.f_remark}}</td>
23
+ <td style="text-align: center;">{{row.f_opr_state}}</td>
24
+ <td style="text-align: center;">{{row.f_operate_date}}</td>
25
+ <td style="text-align: center;">{{row.f_operator}}</td>
26
+ </tr>
27
+ </template>
28
+ <template partial='foot'></template>
29
+ </data-grid>
30
+ </div>
31
+ </template>
32
+
33
+ <script>
34
+ import {HttpResetClass} from 'vue-client'
35
+
36
+ let initGen = async function (self, val) {
37
+ let http = new HttpResetClass()
38
+ console.log(self.$login.f, '================')
39
+ let res = await http.load('POST', 'rs/sql/sale_getBlackListRecord', {data: {condition: `t.f_userinfo_id='${self.data.f_userinfo_id}' and f_orgid = '${self.$login.f.orgid}'` }}, {resolveMsg: null, rejectMsg: null})
40
+ self.model = Object.assign({}, self.model, val)
41
+ self.model.rows = res.data
42
+ }
43
+ export default {
44
+ props: ['data'],
45
+ data () {
46
+ return {
47
+ model: {
48
+ rows: []
49
+ }
50
+ }
51
+ },
52
+ watch: {
53
+ 'data' (val) {
54
+ if (val) {
55
+ initGen(this, val)
56
+ }
57
+ }},
58
+
59
+ ready () {
60
+ initGen(this, this.data)
61
+ },
62
+ methods: {
63
+ formatFunction (functionString) {
64
+ if (!functionString) return ''
65
+ try {
66
+ // 解析 JSON 字符串为数组
67
+ let functionArray = JSON.parse(functionString)
68
+ // 将数组转换为用逗号分隔的字符串
69
+ return functionArray.join(', ')
70
+ } catch (e) {
71
+ // 如果解析失败,返回原始字符串
72
+ return functionString
73
+ }
74
+ }
75
+ }
76
+
77
+ }
78
+ </script>
79
+ <style>
80
+
81
+ </style>
82
+
@@ -9,6 +9,8 @@ export default function () {
9
9
  Vue.component('black-list', (resolve) => { require(['./BlackList/BlackList'], resolve) })
10
10
  // 黑名单记录查询
11
11
  Vue.component('black-record-query', (resolve) => { require(['./BlackList/BlackRecordQuery'], resolve) })
12
+ Vue.component('black-list-record', (resolve) => { require(['./BlackList/BlackListRecord'], resolve) })
13
+
12
14
  // 特殊用户
13
15
  Vue.component('special-user-manage', (resolve) => { require(['./SpecialUserManage'], resolve) })
14
16
 
@@ -263,7 +263,7 @@
263
263
  if (self.row.f_collection_type === '按金额') {
264
264
  self.dymoney = 0
265
265
  } else {
266
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
266
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
267
267
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
268
268
  }
269
269
  } else {
@@ -292,7 +292,7 @@ let preamountGen = async function (self) {
292
292
  if (self.row.f_collection_type === '按金额') {
293
293
  self.dymoney = 0
294
294
  } else {
295
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
295
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
296
296
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
297
297
  }
298
298
  } else {
@@ -291,7 +291,7 @@
291
291
  if (self.row.f_collection_type === '按金额') {
292
292
  self.dymoney = 0
293
293
  } else {
294
- let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed4))
294
+ let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(4))
295
295
  self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(4)
296
296
  }
297
297
  } else {