sale-client 4.2.72 → 4.2.73

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 (54) hide show
  1. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  2. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/5.2.1/gc.properties +0 -0
  4. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  5. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  6. package/.gradle/vcs-1/gc.properties +0 -0
  7. package/build/dev-server.js +36 -58
  8. package/businessNew.json +201 -0
  9. package/index.html +2 -7
  10. package/package.json +1 -1
  11. package/src/App.vue +1 -1
  12. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  13. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  14. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  15. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  16. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  17. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  18. package/src/filiale/bayan/StockListmain.vue +543 -543
  19. package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
  20. package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
  21. package/src/filiale/bazhong/sale.js +8 -8
  22. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  23. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  24. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  25. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  26. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  27. package/src/filiale/ronghao/CardService.js +2144 -2144
  28. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  29. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  30. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  31. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  32. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  33. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  34. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  35. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  36. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  37. package/src/filiale/ronghao/Upload.vue +654 -654
  38. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  39. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  40. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  41. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  42. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  43. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  44. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  45. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  46. package/src/filiale/ronghao/specificInformation.vue +537 -537
  47. package/src/filiale/yangchun/ChargeList.vue +954 -954
  48. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  49. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  50. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  51. package/static/syrh.png +0 -0
  52. package/static/syyj.png +0 -0
  53. package/static/xyrh.png +0 -0
  54. package/static/xyyj.png +0 -0
@@ -1,174 +1,174 @@
1
- <template>
2
- <div id='PaymentCode'>
3
- <modal :show.sync="paymentCodeShow" backdrop="false">
4
- <header slot="modal-header" class="modal-header">
5
- <h4 class="modal-title">请扫描用户付款码</h4>
6
- </header>
7
- <article slot="modal-body" class="modal-body">
8
- <div class="form-horizontal">
9
- <div class="form-group">
10
- <input type="text" class="form-control" @keyup.enter="ConfirmCode" @blur="paycodefocus"
11
- v-model="paymentCode" placeholder="请扫描用户付款码" v-el:paycode>
12
- </div>
13
- </div>
14
- </article>
15
- <footer slot="modal-footer" class="modal-footer">
16
- <button type="button" class="btn btn-default" @click='closeCode'>取消</button>
17
- </footer>
18
- </modal>
19
- </div>
20
- </template>
21
-
22
- <script>
23
- export default {
24
- name: 'PaymentCode',
25
- props: {
26
- // 付款方式
27
- payment: {},
28
- // 用户信息
29
- row: {},
30
- type: {
31
- type: String,
32
- default: '燃气收费'
33
- },
34
- // 付款金额
35
- money: {}
36
- },
37
- data () {
38
- return {
39
- ip:null,
40
- // 付款码弹框显示
41
- paymentCodeShow: false,
42
- // 付款码值
43
- paymentCode: null,
44
- // 付款码流程控制
45
- paycoderesolve: null,
46
- // 付款码返回数据
47
- paymentCodeReturnData: {},
48
- // 定时器
49
- timer: null,
50
- // 收费成功id
51
- sellinggasId: null
52
- }
53
- },
54
- created () {
55
- },
56
- ready () {
57
- console.log(this.$login.f)
58
- },
59
- methods: {
60
- // 返回结果为true意味着可以通行
61
- flowPath () {
62
- return new Promise((resolve) => {
63
- this.paycoderesolve = resolve
64
- // 如果是付款码支付则显示界面扫用户付款码收钱
65
- if (this.payment.toString().indexOf('扫码枪支付') !== -1) {
66
- this.paymentCodeShow = true
67
- this.paycodefocus()
68
- } else {
69
- this.paycoderesolve({msg: '不是扫码枪支付', result: true})
70
- }
71
- })
72
- },
73
- // 付款码框获得焦点
74
- paycodefocus () {
75
- this.$nextTick(() => {
76
- this.$els.paycode.focus()
77
- })
78
- },
79
- // 付款码支付流程
80
- async ConfirmCode () {
81
- // 付款码支付之前取本机mac号对应的柜台号进行下单
82
- let equipment = await this.$resetpost('api/af-system/sql/equipmentQuery',
83
- {data: {condition: `f_equipment_type = 'PC' and f_state = '正常' and f_orgid = '${this.$login.f.orgid}' and f_user_operatorid = '${this.$login.f.id}'`}},
84
- {resolveMsg: null, rejectMsg: '获取柜台号失败'})
85
- // console.log('柜台号: ', equipment.data)
86
- if (equipment.data.length != 1) {
87
- this.$showMessage(equipment.data.length ? `获取到多个设备, 请核实! ` : `当前设备没有对应的柜台号, 请核实!}`)
88
- return
89
- }
90
- let data = {
91
- filiale: this.$login.f.dir,
92
- flag: 'microPayRongHaoJsbc',
93
- auth_code: this.paymentCode,
94
- money: this.money,
95
- posid: equipment.data[0].f_mac_outlets,
96
- proinfo: `${this.type}(${this.row.f_userinfo_id})`,
97
- f_userinfo_id: this.row ? this.row.f_userinfo_id : null,
98
- f_user_id: this.row ? this.row.f_user_id : null,
99
- f_userfiles_id: this.row ? this.row.f_userfiles_id : null
100
- }
101
- let res = await this.$resetpost('weixin2/rs/pay/jsApiPay', data, {resolveMsg: null, rejectMsg: '服务器内部出错,'})
102
- this.paymentCodeReturnData = res = res.data
103
- if (res.result_msg == '支付确认成功') {
104
- this.paycoderesolve({msg: '支付完成', result: true})
105
- this.$closeAlert()
106
- } else if (res.result_msg == '支付确认未知') {
107
- // 支付结果未知, 根据商户订单号继续查询
108
- this.$showAlert(`正在查询用户付款状态,请勿进行任何操作,耐心等待,如长时间未响应可手动取消`, 'warning')
109
- let self = this
110
- // 启动定时器之前先关闭定时器,防止之前的定时器未关闭
111
- if (this.timer) {
112
- this.closeTimer()
113
- }
114
- let times = 1
115
- this.timer = setInterval(async () => {
116
- times++
117
- res.filiale = this.$login.f.dir
118
- res.flag = 'microPayRongHaoJsbc'
119
- let res1 = await self.$resetpost('weixin2/rs/pay/microPayOrderStatus', res, {resolveMsg: null, rejectMsg: '付款码支付查询出错,'})
120
- this.paymentCodeReturnData = res1.data
121
- res1 = res1.data
122
- // 支付成功关闭定时器
123
- if (res1.trade_state == '已支付') {
124
- self.paycoderesolve({msg: '支付完成', result: true})
125
- self.closeTimer()
126
- return
127
- }
128
- if (res1.result_msg == '扣款失败') {
129
- this.$showAlert(`支付失败, 请提醒用户重新付款`, 'danger')
130
- this.closeTimer()
131
- this.paymentCodeShow = false
132
- return
133
- }
134
- if (times > 24) {
135
- self.$showAlert(`多次查询未成功,请重新扫描用户付款码`, 'danger')
136
- self.closeTimer()
137
- }
138
- }, 9000)
139
- } else {
140
- this.$showAlert(`${res.result_msg}, 请重新扫描用户付款码`, 'danger')
141
- }
142
- // 清空付款码
143
- this.paymentCode = ''
144
- },
145
- // 付款成功更新收费记录订单号
146
- async updateSellinggas () {
147
- if (this.payment.toString().indexOf('&') !== -1) {
148
- let sqldata = `update t_sellinggas set f_serial_id = '${this.paymentCodeReturnData.f_out_trade_no}' where id = '${this.sellinggasId}'`
149
- await this.$resetpost('api/af-revenue/logic/runSQL', {data: {sql: sqldata}}, {resolveMsg: null, rejectMsg: '更新收费记录订单号失败'})
150
- }
151
- },
152
- // 关闭定时器
153
- closeTimer () {
154
- console.log('关闭定时器')
155
- clearInterval(this.timer)
156
- this.timer = null
157
- },
158
- closeCode () {
159
- this.$showMessage('取消后无法继续收款,确定取消吗?', ['confirm', 'cancel']).then((res) => {
160
- if (res == 'confirm') {
161
- this.paymentCodeShow = false
162
- this.$closeAlert()
163
- this.paycoderesolve({msg: '支付取消', result: false})
164
- this.closeTimer()
165
- }
166
- })
167
- }
168
- }
169
- }
170
- </script>
171
-
172
- <style lang="less">
173
-
174
- </style>
1
+ <template>
2
+ <div id='PaymentCode'>
3
+ <modal :show.sync="paymentCodeShow" backdrop="false">
4
+ <header slot="modal-header" class="modal-header">
5
+ <h4 class="modal-title">请扫描用户付款码</h4>
6
+ </header>
7
+ <article slot="modal-body" class="modal-body">
8
+ <div class="form-horizontal">
9
+ <div class="form-group">
10
+ <input type="text" class="form-control" @keyup.enter="ConfirmCode" @blur="paycodefocus"
11
+ v-model="paymentCode" placeholder="请扫描用户付款码" v-el:paycode>
12
+ </div>
13
+ </div>
14
+ </article>
15
+ <footer slot="modal-footer" class="modal-footer">
16
+ <button type="button" class="btn btn-default" @click='closeCode'>取消</button>
17
+ </footer>
18
+ </modal>
19
+ </div>
20
+ </template>
21
+
22
+ <script>
23
+ export default {
24
+ name: 'PaymentCode',
25
+ props: {
26
+ // 付款方式
27
+ payment: {},
28
+ // 用户信息
29
+ row: {},
30
+ type: {
31
+ type: String,
32
+ default: '燃气收费'
33
+ },
34
+ // 付款金额
35
+ money: {}
36
+ },
37
+ data () {
38
+ return {
39
+ ip:null,
40
+ // 付款码弹框显示
41
+ paymentCodeShow: false,
42
+ // 付款码值
43
+ paymentCode: null,
44
+ // 付款码流程控制
45
+ paycoderesolve: null,
46
+ // 付款码返回数据
47
+ paymentCodeReturnData: {},
48
+ // 定时器
49
+ timer: null,
50
+ // 收费成功id
51
+ sellinggasId: null
52
+ }
53
+ },
54
+ created () {
55
+ },
56
+ ready () {
57
+ console.log(this.$login.f)
58
+ },
59
+ methods: {
60
+ // 返回结果为true意味着可以通行
61
+ flowPath () {
62
+ return new Promise((resolve) => {
63
+ this.paycoderesolve = resolve
64
+ // 如果是付款码支付则显示界面扫用户付款码收钱
65
+ if (this.payment.toString().indexOf('扫码枪支付') !== -1) {
66
+ this.paymentCodeShow = true
67
+ this.paycodefocus()
68
+ } else {
69
+ this.paycoderesolve({msg: '不是扫码枪支付', result: true})
70
+ }
71
+ })
72
+ },
73
+ // 付款码框获得焦点
74
+ paycodefocus () {
75
+ this.$nextTick(() => {
76
+ this.$els.paycode.focus()
77
+ })
78
+ },
79
+ // 付款码支付流程
80
+ async ConfirmCode () {
81
+ // 付款码支付之前取本机mac号对应的柜台号进行下单
82
+ let equipment = await this.$resetpost('api/af-system/sql/equipmentQuery',
83
+ {data: {condition: `f_equipment_type = 'PC' and f_state = '正常' and f_orgid = '${this.$login.f.orgid}' and f_user_operatorid = '${this.$login.f.id}'`}},
84
+ {resolveMsg: null, rejectMsg: '获取柜台号失败'})
85
+ // console.log('柜台号: ', equipment.data)
86
+ if (equipment.data.length != 1) {
87
+ this.$showMessage(equipment.data.length ? `获取到多个设备, 请核实! ` : `当前设备没有对应的柜台号, 请核实!}`)
88
+ return
89
+ }
90
+ let data = {
91
+ filiale: this.$login.f.dir,
92
+ flag: 'microPayRongHaoJsbc',
93
+ auth_code: this.paymentCode,
94
+ money: this.money,
95
+ posid: equipment.data[0].f_mac_outlets,
96
+ proinfo: `${this.type}(${this.row.f_userinfo_id})`,
97
+ f_userinfo_id: this.row ? this.row.f_userinfo_id : null,
98
+ f_user_id: this.row ? this.row.f_user_id : null,
99
+ f_userfiles_id: this.row ? this.row.f_userfiles_id : null
100
+ }
101
+ let res = await this.$resetpost('weixin2/rs/pay/jsApiPay', data, {resolveMsg: null, rejectMsg: '服务器内部出错,'})
102
+ this.paymentCodeReturnData = res = res.data
103
+ if (res.result_msg == '支付确认成功') {
104
+ this.paycoderesolve({msg: '支付完成', result: true})
105
+ this.$closeAlert()
106
+ } else if (res.result_msg == '支付确认未知') {
107
+ // 支付结果未知, 根据商户订单号继续查询
108
+ this.$showAlert(`正在查询用户付款状态,请勿进行任何操作,耐心等待,如长时间未响应可手动取消`, 'warning')
109
+ let self = this
110
+ // 启动定时器之前先关闭定时器,防止之前的定时器未关闭
111
+ if (this.timer) {
112
+ this.closeTimer()
113
+ }
114
+ let times = 1
115
+ this.timer = setInterval(async () => {
116
+ times++
117
+ res.filiale = this.$login.f.dir
118
+ res.flag = 'microPayRongHaoJsbc'
119
+ let res1 = await self.$resetpost('weixin2/rs/pay/microPayOrderStatus', res, {resolveMsg: null, rejectMsg: '付款码支付查询出错,'})
120
+ this.paymentCodeReturnData = res1.data
121
+ res1 = res1.data
122
+ // 支付成功关闭定时器
123
+ if (res1.trade_state == '已支付') {
124
+ self.paycoderesolve({msg: '支付完成', result: true})
125
+ self.closeTimer()
126
+ return
127
+ }
128
+ if (res1.result_msg == '扣款失败') {
129
+ this.$showAlert(`支付失败, 请提醒用户重新付款`, 'danger')
130
+ this.closeTimer()
131
+ this.paymentCodeShow = false
132
+ return
133
+ }
134
+ if (times > 24) {
135
+ self.$showAlert(`多次查询未成功,请重新扫描用户付款码`, 'danger')
136
+ self.closeTimer()
137
+ }
138
+ }, 9000)
139
+ } else {
140
+ this.$showAlert(`${res.result_msg}, 请重新扫描用户付款码`, 'danger')
141
+ }
142
+ // 清空付款码
143
+ this.paymentCode = ''
144
+ },
145
+ // 付款成功更新收费记录订单号
146
+ async updateSellinggas () {
147
+ if (this.payment.toString().indexOf('&') !== -1) {
148
+ let sqldata = `update t_sellinggas set f_serial_id = '${this.paymentCodeReturnData.f_out_trade_no}' where id = '${this.sellinggasId}'`
149
+ await this.$resetpost('api/af-revenue/logic/runSQL', {data: {sql: sqldata}}, {resolveMsg: null, rejectMsg: '更新收费记录订单号失败'})
150
+ }
151
+ },
152
+ // 关闭定时器
153
+ closeTimer () {
154
+ console.log('关闭定时器')
155
+ clearInterval(this.timer)
156
+ this.timer = null
157
+ },
158
+ closeCode () {
159
+ this.$showMessage('取消后无法继续收款,确定取消吗?', ['confirm', 'cancel']).then((res) => {
160
+ if (res == 'confirm') {
161
+ this.paymentCodeShow = false
162
+ this.$closeAlert()
163
+ this.paycoderesolve({msg: '支付取消', result: false})
164
+ this.closeTimer()
165
+ }
166
+ })
167
+ }
168
+ }
169
+ }
170
+ </script>
171
+
172
+ <style lang="less">
173
+
174
+ </style>
@@ -1,26 +1,26 @@
1
- <template>
2
- <div class="auto">
3
- <surplus-record-detail :row.sync="row"></surplus-record-detail>
4
- <iot-compensation v-if="row.f_meter_type.includes('物联网表')" :row.sync="row"></iot-compensation>
5
- <jb-compensation v-if="row.f_meter_type.includes('机表')||row.f_meter_type.includes('卡表')" :row.sync="row"></jb-compensation>
6
-
7
-
8
- </div>
9
- </template>
10
- <script>
11
- import IotCompensation from './IotCompensation'
12
- import JbCompensation from './JbCompensation'
13
- import SurplusRecordDetail from './SurplusRecordDetail'
14
-
15
- export default {
16
- components: {IotCompensation, JbCompensation, SurplusRecordDetail},
17
- title: '调价补差',
18
- data () {
19
- return {
20
- }
21
- },
22
- props: ['row'],
23
- ready () {
24
- }
25
- }
26
- </script>
1
+ <template>
2
+ <div class="auto">
3
+ <surplus-record-detail :row.sync="row"></surplus-record-detail>
4
+ <iot-compensation v-if="row.f_meter_type.includes('物联网表')" :row.sync="row"></iot-compensation>
5
+ <jb-compensation v-if="row.f_meter_type.includes('机表')||row.f_meter_type.includes('卡表')" :row.sync="row"></jb-compensation>
6
+
7
+
8
+ </div>
9
+ </template>
10
+ <script>
11
+ import IotCompensation from './IotCompensation'
12
+ import JbCompensation from './JbCompensation'
13
+ import SurplusRecordDetail from './SurplusRecordDetail'
14
+
15
+ export default {
16
+ components: {IotCompensation, JbCompensation, SurplusRecordDetail},
17
+ title: '调价补差',
18
+ data () {
19
+ return {
20
+ }
21
+ },
22
+ props: ['row'],
23
+ ready () {
24
+ }
25
+ }
26
+ </script>