sale-client 4.2.76 → 4.2.78
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/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/8.5/checksums/checksums.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.5/fileChanges/last-build.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.5/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build/dev-server.js +30 -52
- package/index.html +2 -7
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/components/FilesManageNew/FileUserFiles.vue +3 -3
- package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
- package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
- package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
- package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
- package/src/filiale/bayan/ChargeList.vue +1010 -1010
- package/src/filiale/bayan/StockListmain.vue +543 -543
- package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
- package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
- package/src/filiale/bazhong/sale.js +8 -8
- package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
- package/src/filiale/jinhong/HandList.vue +1 -1
- package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
- package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
- package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
- package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
- package/src/filiale/ronghao/CardService.js +2144 -2144
- package/src/filiale/ronghao/InsuranceManage.vue +58 -58
- package/src/filiale/ronghao/MachineChargeService.js +149 -149
- package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
- package/src/filiale/ronghao/PaymentCode.vue +174 -174
- package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
- package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
- package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
- package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
- package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
- package/src/filiale/ronghao/Upload.vue +654 -654
- package/src/filiale/ronghao/cardDown.vue +1141 -1141
- package/src/filiale/ronghao/changemeterOperate.vue +315 -315
- package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
- package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
- package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
- package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
- package/src/filiale/ronghao/machineDown.vue +1176 -1176
- package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
- package/src/filiale/ronghao/specificInformation.vue +537 -537
- package/src/filiale/yangchun/ChargeList.vue +954 -954
- package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
- package/src/filiale/zhongsheng/BlackListList.vue +293 -293
- package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
- package/src/main.js +3 -3
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!-- <div v-if="listpage">-->
|
|
3
|
-
<tab-button v-ref:list>
|
|
4
|
-
<tabs header="添加保险" v-if="permission('添加保险页面')">
|
|
5
|
-
<user-insurance></user-insurance>
|
|
6
|
-
</tabs>
|
|
7
|
-
<tabs header="保险记录维护" v-if="permission('保险记录维护页面')">
|
|
8
|
-
<insurance-guanl></insurance-guanl>
|
|
9
|
-
</tabs>
|
|
10
|
-
<tabs header="保险收费明细" v-if="permission('保险收费明细页面')">
|
|
11
|
-
<insurance-harges-details></insurance-harges-details>
|
|
12
|
-
</tabs>
|
|
13
|
-
</tab-button>
|
|
14
|
-
<!-- </div>-->
|
|
15
|
-
<!-- <div v-if="!listpage">-->
|
|
16
|
-
<!-- <meter-info-manage :row="rowData" :f_start_date="f_start_date" :f_end_date="f_end_date"></meter-info-manage>-->
|
|
17
|
-
<!-- </div>-->
|
|
18
|
-
</template>
|
|
19
|
-
|
|
20
|
-
<script>
|
|
21
|
-
import TabButton from '../../components/revenue/comprehen/common/TabButton'
|
|
22
|
-
import Tabs from '../../components/revenue/comprehen/common/Tabs'
|
|
23
|
-
|
|
24
|
-
export default {
|
|
25
|
-
name: 'InsuranceManage',
|
|
26
|
-
title: '保险管理',
|
|
27
|
-
data () {
|
|
28
|
-
return {// 页面开关
|
|
29
|
-
f_start_date: '',
|
|
30
|
-
f_end_date: '',
|
|
31
|
-
listpage: true,
|
|
32
|
-
width: {
|
|
33
|
-
left: '100%',
|
|
34
|
-
right: '0%'
|
|
35
|
-
},
|
|
36
|
-
// searchNumber:'',
|
|
37
|
-
rowData: {},
|
|
38
|
-
show: [true]
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
components: {Tabs, TabButton },
|
|
42
|
-
ready () {
|
|
43
|
-
},
|
|
44
|
-
methods: {
|
|
45
|
-
permission (name) {
|
|
46
|
-
if (!this.$login.r.find(value => value == name)) {
|
|
47
|
-
return false
|
|
48
|
-
} else {
|
|
49
|
-
return true
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
</script>
|
|
55
|
-
|
|
56
|
-
<style scoped>
|
|
57
|
-
|
|
58
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<!-- <div v-if="listpage">-->
|
|
3
|
+
<tab-button v-ref:list>
|
|
4
|
+
<tabs header="添加保险" v-if="permission('添加保险页面')">
|
|
5
|
+
<user-insurance></user-insurance>
|
|
6
|
+
</tabs>
|
|
7
|
+
<tabs header="保险记录维护" v-if="permission('保险记录维护页面')">
|
|
8
|
+
<insurance-guanl></insurance-guanl>
|
|
9
|
+
</tabs>
|
|
10
|
+
<tabs header="保险收费明细" v-if="permission('保险收费明细页面')">
|
|
11
|
+
<insurance-harges-details></insurance-harges-details>
|
|
12
|
+
</tabs>
|
|
13
|
+
</tab-button>
|
|
14
|
+
<!-- </div>-->
|
|
15
|
+
<!-- <div v-if="!listpage">-->
|
|
16
|
+
<!-- <meter-info-manage :row="rowData" :f_start_date="f_start_date" :f_end_date="f_end_date"></meter-info-manage>-->
|
|
17
|
+
<!-- </div>-->
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script>
|
|
21
|
+
import TabButton from '../../components/revenue/comprehen/common/TabButton'
|
|
22
|
+
import Tabs from '../../components/revenue/comprehen/common/Tabs'
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
name: 'InsuranceManage',
|
|
26
|
+
title: '保险管理',
|
|
27
|
+
data () {
|
|
28
|
+
return {// 页面开关
|
|
29
|
+
f_start_date: '',
|
|
30
|
+
f_end_date: '',
|
|
31
|
+
listpage: true,
|
|
32
|
+
width: {
|
|
33
|
+
left: '100%',
|
|
34
|
+
right: '0%'
|
|
35
|
+
},
|
|
36
|
+
// searchNumber:'',
|
|
37
|
+
rowData: {},
|
|
38
|
+
show: [true]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
components: {Tabs, TabButton },
|
|
42
|
+
ready () {
|
|
43
|
+
},
|
|
44
|
+
methods: {
|
|
45
|
+
permission (name) {
|
|
46
|
+
if (!this.$login.r.find(value => value == name)) {
|
|
47
|
+
return false
|
|
48
|
+
} else {
|
|
49
|
+
return true
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
</script>
|
|
55
|
+
|
|
56
|
+
<style scoped>
|
|
57
|
+
|
|
58
|
+
</style>
|
|
@@ -1,149 +1,149 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
|
|
3
|
-
let MachineChargeService = {
|
|
4
|
-
install (Vue, options) {
|
|
5
|
-
// 给vue增添对话框显示方法
|
|
6
|
-
Vue.MachineChargeService = Vue.prototype.$MachineChargeService = MachineChargeService
|
|
7
|
-
},
|
|
8
|
-
|
|
9
|
-
// 按表收费
|
|
10
|
-
async marchineCharge (model, model2, row, floor) {
|
|
11
|
-
console.log('保存收费。。。', model, model2, row)
|
|
12
|
-
let f_serial_number = ''
|
|
13
|
-
if (model.f_serial_number) {
|
|
14
|
-
f_serial_number = model.f_serial_number
|
|
15
|
-
}
|
|
16
|
-
let f_serial_id = ''
|
|
17
|
-
if (model2 && model2.f_serial_id) {
|
|
18
|
-
f_serial_id = model2.f_serial_id
|
|
19
|
-
}
|
|
20
|
-
if (!model2 || !model2.garbage_number) {
|
|
21
|
-
model2 = {
|
|
22
|
-
// garbage_number: 0,
|
|
23
|
-
// garbage_money: 0
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
let param = {
|
|
27
|
-
garbage_number: model2.garbage_number,
|
|
28
|
-
garbage_money: model2.garbage_money,
|
|
29
|
-
f_serial_id: f_serial_id,
|
|
30
|
-
f_userinfo_id: row.f_userinfo_id,
|
|
31
|
-
f_user_id: row.f_user_id,
|
|
32
|
-
handids: model.handids,
|
|
33
|
-
f_serial_number: f_serial_number,
|
|
34
|
-
f_balance: row.f_balance,
|
|
35
|
-
f_overdue: model.f_overdue,
|
|
36
|
-
userinfo_version: row.userinfo_version,
|
|
37
|
-
version: row.version,
|
|
38
|
-
f_collection: model.f_collection - model.f_garbage_fee,
|
|
39
|
-
f_preamount: model.f_totalcost,
|
|
40
|
-
f_payment: model.f_payment[0],
|
|
41
|
-
f_print: model.f_print[0],
|
|
42
|
-
f_comments: model.f_comments,
|
|
43
|
-
// 优惠金额
|
|
44
|
-
f_privilege_money: model.f_privilege_money,
|
|
45
|
-
f_after_discount: model.f_after_discount,
|
|
46
|
-
isBreakOverdue: model.isBreakOverdue,
|
|
47
|
-
floor: floor,
|
|
48
|
-
operInfo: {
|
|
49
|
-
f_operator: model.f_operator ? model.f_operator : Vue.$login.f.name,
|
|
50
|
-
f_operatorid: Vue.$login.f.id,
|
|
51
|
-
f_orgid: Vue.$login.f.orgid,
|
|
52
|
-
f_orgname: Vue.$login.f.orgs,
|
|
53
|
-
f_depid: Vue.$login.f.depids,
|
|
54
|
-
f_depname: Vue.$login.f.deps,
|
|
55
|
-
f_zoneid: Vue.$login.f.zoneid,
|
|
56
|
-
f_zones: Vue.$login.f.zones
|
|
57
|
-
},
|
|
58
|
-
other: {
|
|
59
|
-
f_grade_type: row.f_grade_fee,
|
|
60
|
-
f_collection: model.f_garbage_fee,
|
|
61
|
-
f_comments: model.f_comments,
|
|
62
|
-
f_payment: model.f_payment[0],
|
|
63
|
-
f_voucher_number: '',
|
|
64
|
-
f_print: model.f_print[0],
|
|
65
|
-
f_service_person: Vue.$login.f.name,
|
|
66
|
-
t_userfees: '',
|
|
67
|
-
f_fee_type: ['0'],
|
|
68
|
-
f_fee_time: ['12'],
|
|
69
|
-
otherdetail: [{f_brand_spec: ['生活垃圾'], f_unitprice: '5', f_number: model.f_garbage_fee / 5}]
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
if (model.selectedids) {
|
|
73
|
-
param.selectedids = model.selectedids
|
|
74
|
-
}
|
|
75
|
-
if (model.f_serial_id) {
|
|
76
|
-
param.f_serial_id = model.f_serial_id
|
|
77
|
-
}
|
|
78
|
-
if (model.isBreakOverdue) {
|
|
79
|
-
param.breakOverdue = model.breakOverdue
|
|
80
|
-
}
|
|
81
|
-
// if (model.f_collection - model.f_garbage_fee <= 0 && (model.f_totalcost - (model.f_collection + row.f_balance)) >= 0) {
|
|
82
|
-
// param.f_collection = 0
|
|
83
|
-
// }
|
|
84
|
-
try {
|
|
85
|
-
return await Vue.resetpost('api/af-revenue/logic/machineChargePay', {data: param}, {resolveMsg: '机表收费成功', rejectMsg: '收费失败'})
|
|
86
|
-
} catch (error) {
|
|
87
|
-
console.log('这里进来了吗?', param)
|
|
88
|
-
if (param.f_payment.indexOf('扫码枪支付') > -1) {
|
|
89
|
-
Vue.resetpost('weixin2/rs/pay/jsApiRefund', {
|
|
90
|
-
data: {
|
|
91
|
-
out_trade_no: param.f_serial_id,
|
|
92
|
-
f_total_fee: param.f_collection,
|
|
93
|
-
flag: 'microPayRongHaoJsbc'
|
|
94
|
-
}
|
|
95
|
-
}, {resolveMsg: null, rejectMsg: '调用银行退费接口失败'})
|
|
96
|
-
}
|
|
97
|
-
throw error
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
// 保存预存收费
|
|
101
|
-
async depositCharge (model, row, floor) {
|
|
102
|
-
console.log('保存收费。。。', model, row)
|
|
103
|
-
let param = {
|
|
104
|
-
f_serial_id: model.f_serial_id,
|
|
105
|
-
f_userinfo_id: row.f_userinfo_id,
|
|
106
|
-
f_userfiles_id: row.f_userfiles_id,
|
|
107
|
-
f_balance: row.f_balance,
|
|
108
|
-
f_meter_type: row.f_meter_type,
|
|
109
|
-
f_overdue: model.f_overdue,
|
|
110
|
-
f_collection: model.f_collection - model.f_garbage_fee,
|
|
111
|
-
f_preamount: model.f_totalcost,
|
|
112
|
-
f_payment: model.f_payment[0],
|
|
113
|
-
f_print: model.f_print[0],
|
|
114
|
-
f_comments: model.f_comments,
|
|
115
|
-
// 优惠金额
|
|
116
|
-
f_privilege_money: model.f_privilege_money,
|
|
117
|
-
f_after_discount: model.f_after_discount,
|
|
118
|
-
isBreakOverdue: model.isBreakOverdue,
|
|
119
|
-
f_serial_number: model.f_serial_number,
|
|
120
|
-
floor: floor,
|
|
121
|
-
operInfo: {
|
|
122
|
-
f_operator: Vue.$login.f.name,
|
|
123
|
-
f_operatorid: Vue.$login.f.id,
|
|
124
|
-
f_orgid: Vue.$login.f.orgid,
|
|
125
|
-
f_orgname: Vue.$login.f.orgs,
|
|
126
|
-
f_depid: Vue.$login.f.depids,
|
|
127
|
-
f_depname: Vue.$login.f.deps,
|
|
128
|
-
f_zoneid: Vue.$login.f.zoneid,
|
|
129
|
-
f_zones: Vue.$login.f.zones
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
try {
|
|
133
|
-
return await Vue.resetpost('api/af-revenue/logic/depositCharge', {data: param}, {resolveMsg: '预存收费成功', rejectMsg: '预存收费失败'})
|
|
134
|
-
} catch (error) {
|
|
135
|
-
if (param.f_payment.indexOf('扫码枪支付') > -1) {
|
|
136
|
-
Vue.resetpost('weixin2/rs/pay/jsApiRefund', {
|
|
137
|
-
data: {
|
|
138
|
-
out_trade_no: param.f_serial_id,
|
|
139
|
-
f_total_fee: param.f_collection,
|
|
140
|
-
flag: 'microPayRongHaoJsbc'
|
|
141
|
-
}
|
|
142
|
-
}, {resolveMsg: null, rejectMsg: '调用银行退费接口失败'})
|
|
143
|
-
}
|
|
144
|
-
throw error
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export default MachineChargeService
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
|
|
3
|
+
let MachineChargeService = {
|
|
4
|
+
install (Vue, options) {
|
|
5
|
+
// 给vue增添对话框显示方法
|
|
6
|
+
Vue.MachineChargeService = Vue.prototype.$MachineChargeService = MachineChargeService
|
|
7
|
+
},
|
|
8
|
+
|
|
9
|
+
// 按表收费
|
|
10
|
+
async marchineCharge (model, model2, row, floor) {
|
|
11
|
+
console.log('保存收费。。。', model, model2, row)
|
|
12
|
+
let f_serial_number = ''
|
|
13
|
+
if (model.f_serial_number) {
|
|
14
|
+
f_serial_number = model.f_serial_number
|
|
15
|
+
}
|
|
16
|
+
let f_serial_id = ''
|
|
17
|
+
if (model2 && model2.f_serial_id) {
|
|
18
|
+
f_serial_id = model2.f_serial_id
|
|
19
|
+
}
|
|
20
|
+
if (!model2 || !model2.garbage_number) {
|
|
21
|
+
model2 = {
|
|
22
|
+
// garbage_number: 0,
|
|
23
|
+
// garbage_money: 0
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
let param = {
|
|
27
|
+
garbage_number: model2.garbage_number,
|
|
28
|
+
garbage_money: model2.garbage_money,
|
|
29
|
+
f_serial_id: f_serial_id,
|
|
30
|
+
f_userinfo_id: row.f_userinfo_id,
|
|
31
|
+
f_user_id: row.f_user_id,
|
|
32
|
+
handids: model.handids,
|
|
33
|
+
f_serial_number: f_serial_number,
|
|
34
|
+
f_balance: row.f_balance,
|
|
35
|
+
f_overdue: model.f_overdue,
|
|
36
|
+
userinfo_version: row.userinfo_version,
|
|
37
|
+
version: row.version,
|
|
38
|
+
f_collection: model.f_collection - model.f_garbage_fee,
|
|
39
|
+
f_preamount: model.f_totalcost,
|
|
40
|
+
f_payment: model.f_payment[0],
|
|
41
|
+
f_print: model.f_print[0],
|
|
42
|
+
f_comments: model.f_comments,
|
|
43
|
+
// 优惠金额
|
|
44
|
+
f_privilege_money: model.f_privilege_money,
|
|
45
|
+
f_after_discount: model.f_after_discount,
|
|
46
|
+
isBreakOverdue: model.isBreakOverdue,
|
|
47
|
+
floor: floor,
|
|
48
|
+
operInfo: {
|
|
49
|
+
f_operator: model.f_operator ? model.f_operator : Vue.$login.f.name,
|
|
50
|
+
f_operatorid: Vue.$login.f.id,
|
|
51
|
+
f_orgid: Vue.$login.f.orgid,
|
|
52
|
+
f_orgname: Vue.$login.f.orgs,
|
|
53
|
+
f_depid: Vue.$login.f.depids,
|
|
54
|
+
f_depname: Vue.$login.f.deps,
|
|
55
|
+
f_zoneid: Vue.$login.f.zoneid,
|
|
56
|
+
f_zones: Vue.$login.f.zones
|
|
57
|
+
},
|
|
58
|
+
other: {
|
|
59
|
+
f_grade_type: row.f_grade_fee,
|
|
60
|
+
f_collection: model.f_garbage_fee,
|
|
61
|
+
f_comments: model.f_comments,
|
|
62
|
+
f_payment: model.f_payment[0],
|
|
63
|
+
f_voucher_number: '',
|
|
64
|
+
f_print: model.f_print[0],
|
|
65
|
+
f_service_person: Vue.$login.f.name,
|
|
66
|
+
t_userfees: '',
|
|
67
|
+
f_fee_type: ['0'],
|
|
68
|
+
f_fee_time: ['12'],
|
|
69
|
+
otherdetail: [{f_brand_spec: ['生活垃圾'], f_unitprice: '5', f_number: model.f_garbage_fee / 5}]
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
if (model.selectedids) {
|
|
73
|
+
param.selectedids = model.selectedids
|
|
74
|
+
}
|
|
75
|
+
if (model.f_serial_id) {
|
|
76
|
+
param.f_serial_id = model.f_serial_id
|
|
77
|
+
}
|
|
78
|
+
if (model.isBreakOverdue) {
|
|
79
|
+
param.breakOverdue = model.breakOverdue
|
|
80
|
+
}
|
|
81
|
+
// if (model.f_collection - model.f_garbage_fee <= 0 && (model.f_totalcost - (model.f_collection + row.f_balance)) >= 0) {
|
|
82
|
+
// param.f_collection = 0
|
|
83
|
+
// }
|
|
84
|
+
try {
|
|
85
|
+
return await Vue.resetpost('api/af-revenue/logic/machineChargePay', {data: param}, {resolveMsg: '机表收费成功', rejectMsg: '收费失败'})
|
|
86
|
+
} catch (error) {
|
|
87
|
+
console.log('这里进来了吗?', param)
|
|
88
|
+
if (param.f_payment.indexOf('扫码枪支付') > -1) {
|
|
89
|
+
Vue.resetpost('weixin2/rs/pay/jsApiRefund', {
|
|
90
|
+
data: {
|
|
91
|
+
out_trade_no: param.f_serial_id,
|
|
92
|
+
f_total_fee: param.f_collection,
|
|
93
|
+
flag: 'microPayRongHaoJsbc'
|
|
94
|
+
}
|
|
95
|
+
}, {resolveMsg: null, rejectMsg: '调用银行退费接口失败'})
|
|
96
|
+
}
|
|
97
|
+
throw error
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
// 保存预存收费
|
|
101
|
+
async depositCharge (model, row, floor) {
|
|
102
|
+
console.log('保存收费。。。', model, row)
|
|
103
|
+
let param = {
|
|
104
|
+
f_serial_id: model.f_serial_id,
|
|
105
|
+
f_userinfo_id: row.f_userinfo_id,
|
|
106
|
+
f_userfiles_id: row.f_userfiles_id,
|
|
107
|
+
f_balance: row.f_balance,
|
|
108
|
+
f_meter_type: row.f_meter_type,
|
|
109
|
+
f_overdue: model.f_overdue,
|
|
110
|
+
f_collection: model.f_collection - model.f_garbage_fee,
|
|
111
|
+
f_preamount: model.f_totalcost,
|
|
112
|
+
f_payment: model.f_payment[0],
|
|
113
|
+
f_print: model.f_print[0],
|
|
114
|
+
f_comments: model.f_comments,
|
|
115
|
+
// 优惠金额
|
|
116
|
+
f_privilege_money: model.f_privilege_money,
|
|
117
|
+
f_after_discount: model.f_after_discount,
|
|
118
|
+
isBreakOverdue: model.isBreakOverdue,
|
|
119
|
+
f_serial_number: model.f_serial_number,
|
|
120
|
+
floor: floor,
|
|
121
|
+
operInfo: {
|
|
122
|
+
f_operator: Vue.$login.f.name,
|
|
123
|
+
f_operatorid: Vue.$login.f.id,
|
|
124
|
+
f_orgid: Vue.$login.f.orgid,
|
|
125
|
+
f_orgname: Vue.$login.f.orgs,
|
|
126
|
+
f_depid: Vue.$login.f.depids,
|
|
127
|
+
f_depname: Vue.$login.f.deps,
|
|
128
|
+
f_zoneid: Vue.$login.f.zoneid,
|
|
129
|
+
f_zones: Vue.$login.f.zones
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
try {
|
|
133
|
+
return await Vue.resetpost('api/af-revenue/logic/depositCharge', {data: param}, {resolveMsg: '预存收费成功', rejectMsg: '预存收费失败'})
|
|
134
|
+
} catch (error) {
|
|
135
|
+
if (param.f_payment.indexOf('扫码枪支付') > -1) {
|
|
136
|
+
Vue.resetpost('weixin2/rs/pay/jsApiRefund', {
|
|
137
|
+
data: {
|
|
138
|
+
out_trade_no: param.f_serial_id,
|
|
139
|
+
f_total_fee: param.f_collection,
|
|
140
|
+
flag: 'microPayRongHaoJsbc'
|
|
141
|
+
}
|
|
142
|
+
}, {resolveMsg: null, rejectMsg: '调用银行退费接口失败'})
|
|
143
|
+
}
|
|
144
|
+
throw error
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export default MachineChargeService
|