sale-client 3.6.358 → 3.6.359
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 +1 -1
- package/src/components/charge/business/CardMeterCenter.vue +2 -2
- package/src/components/charge/business/ShowCardSellGas.vue +1 -1
- package/src/components/common/userinfo_detail/ic_detail/insertKeyUser.vue +41 -13
- package/src/components/newBill/CardMeterCenter.vue +1 -1
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackListRecord.vue +29 -49
- package/src/components/revenue/comprehen/SpecialUser/SpecialUserManage.vue +1 -1
- package/src/filiale/alashan/business/CardMeterCenter.vue +1 -1
- package/src/filiale/bayan/CardMeterCenter.vue +2 -2
- package/src/filiale/bayan/ShowCardSellGas.vue +1 -1
- package/src/filiale/fugu/business/CardMeterCenter.vue +2 -2
- package/src/filiale/gehua/CardMeterCenter.vue +1 -1
- package/src/filiale/gehua/ShowCardSellGas.vue +1 -1
- package/src/filiale/guangxi/CardMeterCenter.vue +1 -1
- package/src/filiale/guangxi/ShowCardSellGas.vue +1 -1
- package/src/filiale/huayin/CardMeterCenter.vue +1 -1
- package/src/filiale/jinbin/CardMeterCenter.vue +1 -1
- package/src/filiale/jinbin/ShowCardSellGas.vue +1 -1
- package/src/filiale/jinjiang/CardMeterCenter.vue +1 -1
- package/src/filiale/kelai/CardMeterCenter.vue +1 -1
- package/src/filiale/kelai/ShowCardSellGas.vue +1 -1
- package/src/filiale/lixianV3/components/charge/CardMeterCenter.vue +2 -2
- package/src/filiale/macheng/CardMeterCenter.vue +1 -1
- package/src/filiale/meihekou/common/userinfo_detail/UserInfoDetailManageNew.vue +1 -1
- package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +277 -0
- package/src/filiale/ningjin/CardMeterCenter.vue +1 -1
- package/src/filiale/qianneng/machine/CardMeterCenter.vue +2 -2
- package/src/filiale/qingjian/CardMeterCenter.vue +2 -2
- package/src/filiale/qingjian/ShowCardSellGas.vue +1 -1
- package/src/filiale/qingtongxia/CardMeterCenter.vue +1 -1
- package/src/filiale/rizhao/CardMeterCenter.vue +1 -1
- package/src/filiale/rizhao/ShowCardSellGas.vue +1 -1
- package/src/filiale/rongcheng/business/CardMeterCenter.vue +1 -1
- package/src/filiale/rongchuang/CardMeterCenter.vue +1 -1
- package/src/filiale/rongchuang/bill/EticketRecordList.vue +75 -5
- package/src/filiale/shangluo/CardMeterCenter.vue +1 -1
- package/src/filiale/shanxian/components/revenue/CardMeterCenter.vue +1 -1
- package/src/filiale/shiquan/charge/CardMeterCenter.vue +2 -2
- package/src/filiale/tongchuan/CardMeterCenter.vue +1 -1
- package/src/filiale/wenxi/CardMeterCenter.vue +1 -1
- package/src/filiale/wenxi/ShowCardSellGas.vue +1 -1
- package/src/filiale/wuan/charge/CardMeterCenter.vue +1 -1
- package/src/filiale/wuhai/CardMeterCenter.vue +1 -1
- package/src/filiale/wuhai/ShowCardSellGas.vue +1 -1
- package/src/filiale/yangchun/BlackList/BlackList.vue +52 -16
- package/src/filiale/yangchun/BlackList/BlackListRecord.vue +82 -0
- package/src/filiale/yangchun/CardMeterCenter.vue +2 -2
- package/src/filiale/yangchun/ShowCardSellGas.vue +1 -1
- package/src/filiale/yangchun/sale.js +2 -0
- package/src/filiale/yuansheng/CardMeterCenter.vue +1 -1
- package/src/filiale/yuansheng/ShowCardSellGas.vue +1 -1
- package/src/filiale/zhongsheng/charge/ShowCardSellGas.vue +1 -1
- package/src/filiale/zhongyi/CardMeterCenter.vue +1 -1
package/package.json
CHANGED
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
if (self.row.f_collection_type === '按金额') {
|
|
267
267
|
self.dymoney = 0
|
|
268
268
|
} else {
|
|
269
|
-
let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas).toFixed(self.row.f_gas_decimal || 4))
|
|
269
|
+
let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(self.row.f_gas_decimal || 4))
|
|
270
270
|
self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(self.row.f_fee_decimal || 4)
|
|
271
271
|
}
|
|
272
272
|
} else {
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
if (self.row.f_project_money && self.row.f_project_money > 0) {
|
|
314
314
|
self.model.getDeduct = (self.$CommonService.getDeduct(self.row, self.model.f_pregas) - 0)
|
|
315
315
|
}
|
|
316
|
-
self.model.f_preamount = getAmount.data.chargenum.toFixed(self.row.f_fee_decimal || 4)
|
|
316
|
+
self.model.f_preamount = (getAmount.data.chargenum - 0).toFixed(self.row.f_fee_decimal || 4)
|
|
317
317
|
self.model.f_totalcost = ((self.row.f_balance - 0) > ((getAmount.data.chargenum - 0) + self.model.getDeduct - 0) ? 0 : (((getAmount.data.chargenum - 0) + self.model.getDeduct - 0) - (self.row.f_balance - 0)).toFixed(self.row.f_fee_decimal || 4))
|
|
318
318
|
Object.assign(self.model, self.model, getAmount.data)
|
|
319
319
|
self.model.chargeprice = getAmount.data.chargeprice
|
|
@@ -297,7 +297,7 @@ let preamountGen = async function (self) {
|
|
|
297
297
|
if (self.row.f_collection_type === '按金额') {
|
|
298
298
|
self.dymoney = 0
|
|
299
299
|
} else {
|
|
300
|
-
let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas).toFixed(self.row.f_gas_decimal || 4))
|
|
300
|
+
let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(self.row.f_gas_decimal || 4))
|
|
301
301
|
self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(self.row.f_fee_decimal || 4)
|
|
302
302
|
}
|
|
303
303
|
} else {
|
|
@@ -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"
|
|
17
|
-
<label class="font_normal_body col-sm-3"
|
|
18
|
-
<input type="text" v-
|
|
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
|
|
22
|
-
<input
|
|
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:
|
|
260
|
-
|
|
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 == '
|
|
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).toFixed(4))
|
|
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;"
|
|
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.
|
|
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
|
-
|
|
28
|
+
import {HttpResetClass} from 'vue-client'
|
|
35
29
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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', 'rs/sql/sale_getBlackListRecord', {data: {condition: `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).toFixed(4))
|
|
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 {
|
|
@@ -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).toFixed(self.row.f_gas_decimal || 4))
|
|
266
|
+
let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(self.row.f_gas_decimal || 4))
|
|
267
267
|
self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(self.row.f_fee_decimal || 4)
|
|
268
268
|
}
|
|
269
269
|
} else {
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
if ((self.model.f_pregas - 0) - (self.maxgas - 0) <= 0) {
|
|
300
300
|
self.model.f_meter_type = self.row.f_meter_type
|
|
301
301
|
let getAmount = await self.$CommonService.gasCalculate(self.model, self.model.f_pregas)
|
|
302
|
-
self.model.f_preamount = getAmount.data.chargenum.toFixed(self.row.f_fee_decimal || 4)
|
|
302
|
+
self.model.f_preamount = (getAmount.data.chargenum - 0).toFixed(self.row.f_fee_decimal || 4)
|
|
303
303
|
self.model.f_totalcost = ((self.row.f_balance - 0) > (getAmount.data.chargenum - 0) ? 0 : ((getAmount.data.chargenum - 0) - (self.row.f_balance - 0)).toFixed(self.row.f_fee_decimal || 4))
|
|
304
304
|
Object.assign(self.model, self.model, getAmount.data)
|
|
305
305
|
self.model.chargeprice = getAmount.data.chargeprice
|
|
@@ -297,7 +297,7 @@ let preamountGen = async function (self) {
|
|
|
297
297
|
if (self.row.f_collection_type === '按金额') {
|
|
298
298
|
self.dymoney = 0
|
|
299
299
|
} else {
|
|
300
|
-
let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas).toFixed(self.row.f_gas_decimal || 4))
|
|
300
|
+
let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(self.row.f_gas_decimal || 4))
|
|
301
301
|
self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(self.row.f_fee_decimal || 4)
|
|
302
302
|
}
|
|
303
303
|
} else {
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
if (self.row.f_collection_type === '按金额') {
|
|
311
311
|
self.dymoney = 0
|
|
312
312
|
} else {
|
|
313
|
-
let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas).toFixed(self.row.f_gas_decimal || 4))
|
|
313
|
+
let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(self.row.f_gas_decimal || 4))
|
|
314
314
|
self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(self.row.f_fee_decimal || 4)
|
|
315
315
|
}
|
|
316
316
|
} else {
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
if ((self.model.f_pregas - 0) - (self.maxgas - 0) <= 0) {
|
|
347
347
|
self.model.f_meter_type = self.row.f_meter_type
|
|
348
348
|
let getAmount = await self.$CommonService.gasCalculate(self.model, self.model.f_pregas)
|
|
349
|
-
self.model.f_preamount = getAmount.data.chargenum.toFixed(self.row.f_fee_decimal || 4)
|
|
349
|
+
self.model.f_preamount = (getAmount.data.chargenum - 0).toFixed(self.row.f_fee_decimal || 4)
|
|
350
350
|
self.model.f_totalcost = ((self.row.f_balance - 0) > (getAmount.data.chargenum - 0) ? 0 : ((getAmount.data.chargenum - 0) - (self.row.f_balance - 0)).toFixed(self.row.f_fee_decimal || 4))
|
|
351
351
|
Object.assign(self.model, self.model, getAmount.data)
|
|
352
352
|
self.model.chargeprice = getAmount.data.chargeprice
|
|
@@ -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).toFixed(4))
|
|
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).toFixed(4))
|
|
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).toFixed(4))
|
|
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).toFixed(4))
|
|
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).toFixed(4))
|
|
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).toFixed(4))
|
|
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).toFixed(4))
|
|
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).toFixed(4))
|
|
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).toFixed(4))
|
|
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).toFixed(4))
|
|
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 {
|
|
@@ -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).toFixed(self.row.f_gas_decimal || 4))
|
|
266
|
+
let dymoney2 = await self.$CommonService.gasCalculate(self.model, (getGas.data.gas - 0).toFixed(self.row.f_gas_decimal || 4))
|
|
267
267
|
self.dymoney = (getGas.data.chargenum - 0).toFixed(4) - (dymoney2.data.chargenum - 0).toFixed(self.row.f_fee_decimal || 4)
|
|
268
268
|
}
|
|
269
269
|
} else {
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
if ((self.model.f_pregas - 0) - (self.maxgas - 0) <= 0) {
|
|
300
300
|
self.model.f_meter_type = self.row.f_meter_type
|
|
301
301
|
let getAmount = await self.$CommonService.gasCalculate(self.model, self.model.f_pregas)
|
|
302
|
-
self.model.f_preamount = getAmount.data.chargenum.toFixed(self.row.f_fee_decimal || 4)
|
|
302
|
+
self.model.f_preamount = (getAmount.data.chargenum - 0).toFixed(self.row.f_fee_decimal || 4)
|
|
303
303
|
self.model.f_totalcost = ((self.row.f_balance - 0) > (getAmount.data.chargenum - 0) ? 0 : ((getAmount.data.chargenum - 0) - (self.row.f_balance - 0)).toFixed(self.row.f_fee_decimal || 4))
|
|
304
304
|
Object.assign(self.model, self.model, getAmount.data)
|
|
305
305
|
self.model.chargeprice = getAmount.data.chargeprice
|
|
@@ -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).toFixed(4))
|
|
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 {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
import CardHandRecord from '../../../../components/common/userinfo_detail/ic_detail/CardHandRecord'
|
|
86
86
|
import AutomaticPurse from '../../../../components/common/userinfo_detail/ic_detail/AutomaticPurse'
|
|
87
87
|
import Repurchase from '../../../../components/common/userinfo_detail/ic_detail/Repurchase'
|
|
88
|
-
import MachineRecordQuery from '
|
|
88
|
+
import MachineRecordQuery from './ic_detail/MachineRecordQuery'
|
|
89
89
|
// 导入物联网相关查询
|
|
90
90
|
import QueryInstruct from '../../../../components/common/userinfo_detail/iot_detail/QueryInstruct'
|
|
91
91
|
import WatchCollection from '../../../../components/common/userinfo_detail/iot_detail/WatchCollection'
|