sale-client 4.2.27 → 4.2.28

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 (60) hide show
  1. package/.gradle/8.10/checksums/checksums.lock +0 -0
  2. package/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
  3. package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
  4. package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/8.10/fileChanges/last-build.bin +0 -0
  6. package/.gradle/8.10/fileHashes/fileHashes.bin +0 -0
  7. package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
  8. package/.gradle/8.10/gc.properties +0 -0
  9. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  10. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  11. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  12. package/.gradle/file-system.probe +0 -0
  13. package/.gradle/vcs-1/gc.properties +0 -0
  14. package/.npmignore +12 -0
  15. package/build/dev-server.js +32 -40
  16. package/package.json +1 -1
  17. package/src/.npmignore +1 -0
  18. package/src/App.vue +1 -1
  19. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  20. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  21. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  22. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  23. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
  24. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  25. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  26. package/src/filiale/bayan/StockListmain.vue +543 -543
  27. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  28. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  29. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  30. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  31. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
  32. package/src/filiale/qingjian/FileUserFiles.vue +55 -2
  33. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  34. package/src/filiale/ronghao/CardService.js +2144 -2144
  35. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  36. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  37. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  38. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  39. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  40. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  41. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  42. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  43. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  44. package/src/filiale/ronghao/Upload.vue +654 -654
  45. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  46. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  47. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  48. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  49. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  50. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  51. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  52. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  53. package/src/filiale/ronghao/specificInformation.vue +537 -537
  54. package/src/filiale/yangchun/ChargeList.vue +954 -954
  55. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  56. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  57. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  58. package/src/main.js +1 -1
  59. package/src/plugins/CardService.js +2217 -2217
  60. package/yarn.lock +12208 -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>