sale-client 4.2.28 → 4.2.29
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/fileHashes/fileHashes.lock +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.10/fileHashes/fileHashes.bin → 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/{buildOutputCleanup/outputFiles.bin → 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 -2
- package/build/dev-server.js +14 -20
- package/package.json +1 -1
- package/src/filiale/dexin/PaymentCode.vue +179 -0
- package/src/filiale/dexin/sale.js +2 -0
- package/src/filiale/qingjian/FileUserFiles.vue +2 -55
- package/src/main.js +1 -1
- package/.gradle/8.10/checksums/checksums.lock +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
- package/.gradle/file-system.probe +0 -0
- package/.npmignore +0 -12
- package/src/.npmignore +0 -1
- package/yarn.lock +0 -12208
- /package/.gradle/{8.10 → 5.2.1}/fileChanges/last-build.bin +0 -0
- /package/.gradle/{8.10/dependencies-accessors → 5.2.1}/gc.properties +0 -0
- /package/.gradle/{8.10 → 8.5/dependencies-accessors}/gc.properties +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.gradle/{8.10/fileHashes/fileHashes.bin → 8.5/executionHistory/executionHistory.bin}
RENAMED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=
|
|
1
|
+
#Thu Sep 04 15:35:12 CST 2025
|
|
2
|
+
gradle.version=5.2.1
|
package/build/dev-server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
2
|
var checkVersion = require('./versionCheck.js')
|
|
3
3
|
checkVersion()
|
|
4
|
-
const [ serverRul, localUrl ] = ['http://
|
|
4
|
+
const [ serverRul, localUrl ] = ['http://192.168.50.67:31567/', 'http://192.168.50.67:31567/']
|
|
5
5
|
var merge = require('webpack-merge')
|
|
6
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
7
7
|
var devConfig = {
|
|
@@ -25,18 +25,12 @@ var devConfig = {
|
|
|
25
25
|
// },
|
|
26
26
|
// target: localUrl
|
|
27
27
|
// },
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
'/api/af-revenue/logic': {
|
|
35
|
-
pathRewrite: {
|
|
36
|
-
'/api/af-revenue/logic': '/singlepage/rs/logic'
|
|
37
|
-
},
|
|
38
|
-
target: serverRul
|
|
39
|
-
},
|
|
28
|
+
// '/api/af-revenue/logic': {
|
|
29
|
+
// pathRewrite: {
|
|
30
|
+
// '/api/af-revenue/logic': '/logic'
|
|
31
|
+
// },
|
|
32
|
+
// target: localUrl
|
|
33
|
+
// },
|
|
40
34
|
// '/api/af-revenue/file': {
|
|
41
35
|
// // pathRewrite: {
|
|
42
36
|
// // '/api/af-revenue/file': '/file'
|
|
@@ -47,18 +41,18 @@ var devConfig = {
|
|
|
47
41
|
//
|
|
48
42
|
// target: 'http://410663id1ia4.vicp.fun'
|
|
49
43
|
// },
|
|
50
|
-
'/api/af-revenue/sql': {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
},
|
|
44
|
+
// '/api/af-revenue/sql': {
|
|
45
|
+
// pathRewrite: {
|
|
46
|
+
// '/api/af-revenue/sql': '/sql'
|
|
47
|
+
// },
|
|
48
|
+
// target: localUrl
|
|
49
|
+
// },
|
|
56
50
|
'/rs/pay': {
|
|
57
51
|
target: 'http://localhost:8080'
|
|
58
52
|
},
|
|
59
53
|
'/api/af-revenue': {
|
|
60
54
|
pathRewrite: {
|
|
61
|
-
'/api/af-revenue': '/
|
|
55
|
+
'/api/af-revenue': '/af-revenue'
|
|
62
56
|
},
|
|
63
57
|
target: "http://localhost:8080"
|
|
64
58
|
},
|
package/package.json
CHANGED
|
@@ -0,0 +1,179 @@
|
|
|
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" id="paycode" @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
|
+
<work-busy :is-busy="busy"></work-busy>
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
22
|
+
|
|
23
|
+
<script>
|
|
24
|
+
export default {
|
|
25
|
+
name: 'PaymentCode',
|
|
26
|
+
props: {
|
|
27
|
+
// 付款方式
|
|
28
|
+
payment: {},
|
|
29
|
+
// 业务类型
|
|
30
|
+
type: {},
|
|
31
|
+
// 用户信息
|
|
32
|
+
row: {},
|
|
33
|
+
// 付款金额
|
|
34
|
+
money: {}
|
|
35
|
+
},
|
|
36
|
+
data () {
|
|
37
|
+
return {
|
|
38
|
+
// 付款码弹框显示
|
|
39
|
+
paymentCodeShow: false,
|
|
40
|
+
busy: false,
|
|
41
|
+
// 付款码值
|
|
42
|
+
paymentCode: null,
|
|
43
|
+
// 付款码流程控制
|
|
44
|
+
paycoderesolve: null,
|
|
45
|
+
// 付款码返回数据
|
|
46
|
+
paymentCodeReturnData: {},
|
|
47
|
+
// 定时器
|
|
48
|
+
timer: null,
|
|
49
|
+
// 收费成功id
|
|
50
|
+
sellinggasId: null,
|
|
51
|
+
canPayment: this.$appdata.getSingleValue('微信支付付款方式') ? this.$appdata.getSingleValue('微信支付付款方式') : '',
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
created () {
|
|
55
|
+
},
|
|
56
|
+
ready () {
|
|
57
|
+
},
|
|
58
|
+
methods: {
|
|
59
|
+
// 返回结果为true意味着可以通行
|
|
60
|
+
flowPath () {
|
|
61
|
+
return new Promise((resolve) => {
|
|
62
|
+
this.paycoderesolve = resolve
|
|
63
|
+
// 如果是付款码支付则显示界面扫用户付款码收钱
|
|
64
|
+
if (this.canPayment.indexOf(this.payment.toString()) !== -1 || this.payment.toString().indexOf('&') !== -1) {
|
|
65
|
+
this.paymentCodeShow = true
|
|
66
|
+
this.paycodefocus()
|
|
67
|
+
} else {
|
|
68
|
+
this.paycoderesolve({msg: '不是付款码支付', result: true})
|
|
69
|
+
}
|
|
70
|
+
})
|
|
71
|
+
},
|
|
72
|
+
// 付款码框获得焦点
|
|
73
|
+
paycodefocus () {
|
|
74
|
+
this.$nextTick(() => {
|
|
75
|
+
this.$els.paycode.focus()
|
|
76
|
+
})
|
|
77
|
+
},
|
|
78
|
+
// 付款码支付流程
|
|
79
|
+
async ConfirmCode () {
|
|
80
|
+
// 扫完一次码之后失去焦点,避免重复扫码
|
|
81
|
+
this.paymentCodeShow = false
|
|
82
|
+
let data = {
|
|
83
|
+
f_userinfo_id: this.row ? this.row.f_userinfo_id : null,
|
|
84
|
+
type: this.type ? this.type : '燃气费',
|
|
85
|
+
f_operatorid: this.$login.f.id,
|
|
86
|
+
f_operator: this.$login.f.name,
|
|
87
|
+
f_orgname: this.$login.f.orgs,
|
|
88
|
+
f_depname:this.$login.f.deps,
|
|
89
|
+
f_user_id: this.row ? this.row.f_user_id : null,
|
|
90
|
+
f_userfiles_id: this.row ? this.row.f_userfiles_id : null,
|
|
91
|
+
money: this.money,
|
|
92
|
+
f_payment: this.payment[0],
|
|
93
|
+
auth_code: this.paymentCode,
|
|
94
|
+
filiale: this.$login.f.orgid,
|
|
95
|
+
body: this.$login.f.orgs
|
|
96
|
+
}
|
|
97
|
+
if (this.type === '其他收费') {
|
|
98
|
+
data.f_details = this.$parent.getBusinessData()
|
|
99
|
+
}
|
|
100
|
+
let res = await this.$resetpost('api/af-revenue/logic/WeiXinPay', data, {resolveMsg: null, rejectMsg: '服务器内部出错,'})
|
|
101
|
+
res.data.f_payment = this.payment[0]
|
|
102
|
+
res.data.f_orgname = this.$login.f.orgs
|
|
103
|
+
res.data.auth_code = this.paymentCode
|
|
104
|
+
res.data.f_depname = this.$login.f.deps
|
|
105
|
+
this.paymentCodeReturnData = res = res.data
|
|
106
|
+
if (res.result_msg == '支付确认成功') {
|
|
107
|
+
this.paycoderesolve({msg: '支付完成', result: true})
|
|
108
|
+
this.$closeAlert()
|
|
109
|
+
this.busy = false
|
|
110
|
+
} else if (res.result_msg == '支付结果未知') {
|
|
111
|
+
// 支付结果未知, 根据商户订单号继续查询
|
|
112
|
+
this.$showAlert(`正在查询用户付款状态,请勿进行任何操作,耐心等待`, 'warning')
|
|
113
|
+
this.busy = true
|
|
114
|
+
console.log(window.document.getElementById('bodymain'))
|
|
115
|
+
let self = this
|
|
116
|
+
// 启动定时器之前先关闭定时器,防止之前的定时器未关闭
|
|
117
|
+
if (this.timer) {
|
|
118
|
+
this.closeTimer()
|
|
119
|
+
}
|
|
120
|
+
let times = 1
|
|
121
|
+
this.timer = setInterval(async () => {
|
|
122
|
+
times++
|
|
123
|
+
let res1 = await self.$resetpost('api/af-revenue/logic/WeiXinPayStatus', res, {resolveMsg: null, rejectMsg: '付款码支付查询出错,'})
|
|
124
|
+
this.paymentCodeReturnData = res1.data
|
|
125
|
+
res1 = res1.data
|
|
126
|
+
// 支付成功关闭定时器
|
|
127
|
+
if (res1.result_msg == '支付确认成功') {
|
|
128
|
+
self.paycoderesolve({msg: '支付完成', result: true})
|
|
129
|
+
self.closeTimer()
|
|
130
|
+
return
|
|
131
|
+
}
|
|
132
|
+
if (res1.result_msg == '支付失败') {
|
|
133
|
+
this.$showAlert(`支付失败, 请提醒用户重新付款`, 'danger')
|
|
134
|
+
this.closeTimer()
|
|
135
|
+
return
|
|
136
|
+
}
|
|
137
|
+
if (times > 12) {
|
|
138
|
+
self.$showAlert(`多次查询未成功,请重新扫描用户付款码`, 'danger')
|
|
139
|
+
self.closeTimer()
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
}, 5000)
|
|
143
|
+
} else {
|
|
144
|
+
this.$showAlert(`${res.result_msg}, 请重新扫描用户付款码`, 'danger')
|
|
145
|
+
}
|
|
146
|
+
// 清空付款码
|
|
147
|
+
this.paymentCode = ''
|
|
148
|
+
},
|
|
149
|
+
// 付款成功更新收费记录订单号
|
|
150
|
+
async updateSellinggas () {
|
|
151
|
+
if (this.payment.toString().indexOf('&') !== -1) {
|
|
152
|
+
let sqldata = `update t_sellinggas set f_serial_id = '${this.paymentCodeReturnData.transactionId}' where id = '${this.sellinggasId}'`
|
|
153
|
+
await this.$resetpost('api/af-revenue/logic/runSQL', {data: {sql: sqldata}}, {resolveMsg: null, rejectMsg: '更新收费记录订单号失败'})
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
// 关闭定时器
|
|
157
|
+
closeTimer () {
|
|
158
|
+
console.log('关闭定时器')
|
|
159
|
+
this.busy = false
|
|
160
|
+
clearInterval(this.timer)
|
|
161
|
+
this.timer = null
|
|
162
|
+
},
|
|
163
|
+
closeCode () {
|
|
164
|
+
this.$showMessage('取消后无法继续收款,确定取消吗?', ['confirm', 'cancel']).then((res) => {
|
|
165
|
+
if (res == 'confirm') {
|
|
166
|
+
this.paymentCodeShow = false
|
|
167
|
+
this.$closeAlert()
|
|
168
|
+
this.paycoderesolve({msg: '支付取消', result: false})
|
|
169
|
+
this.closeTimer()
|
|
170
|
+
}
|
|
171
|
+
})
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
</script>
|
|
176
|
+
|
|
177
|
+
<style lang="less">
|
|
178
|
+
|
|
179
|
+
</style>
|
|
@@ -22,4 +22,6 @@ export default function () {
|
|
|
22
22
|
// 用户基本信息test
|
|
23
23
|
Vue.component('file-user-essential-info', (resolve) => { require(['./UserEssentialInfoTest'], resolve) })
|
|
24
24
|
Vue.component('cards-hand', (resolve) => { require(['./cardsHand'], resolve) })
|
|
25
|
+
// 扫码支付
|
|
26
|
+
Vue.component('payment-code', (resolve) => { require(['./PaymentCode.vue'], resolve) })
|
|
25
27
|
}
|
|
@@ -87,9 +87,6 @@
|
|
|
87
87
|
v-if="$parent.$parent.rows && $parent.$parent.rows.length === 1 && $parent.$parent.rows[0].f_user_state === '销户'">
|
|
88
88
|
启用
|
|
89
89
|
</button>
|
|
90
|
-
<button @click="$parent.$parent.openBatchModal()" class="button_clear button_spacing"
|
|
91
|
-
style="float: right">批量修改调压箱
|
|
92
|
-
</button>
|
|
93
90
|
<div
|
|
94
91
|
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
95
92
|
@click="$parent.$parent.hidden()"
|
|
@@ -305,7 +302,7 @@
|
|
|
305
302
|
</div>
|
|
306
303
|
</div>
|
|
307
304
|
</criteria>
|
|
308
|
-
<data-grid :model="model" class="list_area table_sy" @dblclick="$parent.modifyUser" v-ref:grid partial='list'
|
|
305
|
+
<data-grid :model="model" class="list_area table_sy" @dblclick="$parent.modifyUser" v-ref:grid partial='list'>
|
|
309
306
|
<template partial='head'>
|
|
310
307
|
<tr>
|
|
311
308
|
<th>
|
|
@@ -478,20 +475,6 @@
|
|
|
478
475
|
<button class="button_search button_spacing" type="button" @click="close2()">取消</button>
|
|
479
476
|
</footer>
|
|
480
477
|
</modal>
|
|
481
|
-
<modal :show.sync="showModifyAdjustables" width="500px" title="批量修改调压箱" large backdrop="false">
|
|
482
|
-
<article slot="modal-body" class="modal-body" style="height: 70px">
|
|
483
|
-
<label class="font_normal_body">调 压 箱</label>
|
|
484
|
-
<v-select :options='adjustablesNew' :search='true'
|
|
485
|
-
:value.sync="f_adjustable_id"
|
|
486
|
-
close-on-select
|
|
487
|
-
placeholder='调压箱'
|
|
488
|
-
v-model='f_adjustable_id'></v-select>
|
|
489
|
-
</article>
|
|
490
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
491
|
-
<button class="button_search button_spacing" :disabled="!f_adjustable_id || f_adjustable_id.length < 1 " type="button" @click="batchModifyAdjustables()">确认</button>
|
|
492
|
-
<button class="button_search button_spacing" type="button" @click="closeBatchAdjustables()">取消</button>
|
|
493
|
-
</footer>
|
|
494
|
-
</modal>
|
|
495
478
|
<!--<user-flow-sheet :show="printflag" :bill-config='configs' :bill-data='billData' :data='newdata' v-on:toggle="close" @printok="printok" v-ref:printbill></user-flow-sheet>-->
|
|
496
479
|
|
|
497
480
|
<work-busy :is-busy="iswork" v-show="iswork"></work-busy>
|
|
@@ -587,8 +570,7 @@ let loadParamGem = async function (self) {
|
|
|
587
570
|
xiaohushow: false,
|
|
588
571
|
inputtores: this.$appdata.getParam('抄表员'),
|
|
589
572
|
adjustables: [],
|
|
590
|
-
|
|
591
|
-
f_adjustable_id: '',
|
|
573
|
+
|
|
592
574
|
// 导入组件
|
|
593
575
|
show: false,
|
|
594
576
|
|
|
@@ -620,7 +602,6 @@ let loadParamGem = async function (self) {
|
|
|
620
602
|
showselectaddress: false,
|
|
621
603
|
isedit: false,
|
|
622
604
|
clientWidth: document.body.clientWidth,
|
|
623
|
-
showModifyAdjustables: false,
|
|
624
605
|
batchMeterShow: false,
|
|
625
606
|
billData: {
|
|
626
607
|
url: 'api/af-revenue/report/userignition',
|
|
@@ -654,35 +635,6 @@ let loadParamGem = async function (self) {
|
|
|
654
635
|
}
|
|
655
636
|
},
|
|
656
637
|
methods: {
|
|
657
|
-
openBatchModal () {
|
|
658
|
-
let rowdata = this.$refs.paged.$refs.grid.getRowData()
|
|
659
|
-
if (rowdata.length <= 0) {
|
|
660
|
-
this.$showMessage('请至少选择一个表具!')
|
|
661
|
-
return
|
|
662
|
-
}
|
|
663
|
-
this.showModifyAdjustables = true
|
|
664
|
-
},
|
|
665
|
-
async batchModifyAdjustables() {
|
|
666
|
-
let rowdata = this.$refs.paged.$refs.grid.getRowData()
|
|
667
|
-
let userfilesIds = rowdata.map(item => item.f_userfiles_id);
|
|
668
|
-
console.log('已选择的数据', userfilesIds)
|
|
669
|
-
console.log('已选择的调压箱', this.f_adjustable_id)
|
|
670
|
-
let model = {
|
|
671
|
-
f_adjustable_id: this.f_adjustable_id,
|
|
672
|
-
f_userfiles_ids: userfilesIds
|
|
673
|
-
}
|
|
674
|
-
await this.$resetpost('api/af-revenue/logic/batchModifyAdjustables', model, {
|
|
675
|
-
resolveMsg: null,
|
|
676
|
-
rejectMsg: '批量修改调压箱失败'
|
|
677
|
-
}).then((res) => {
|
|
678
|
-
if (res && res.data) {
|
|
679
|
-
this.$showMessage(`本次批量修改: ${res.data}户`);
|
|
680
|
-
}
|
|
681
|
-
this.closeBatchAdjustables()
|
|
682
|
-
this.selfSearch()
|
|
683
|
-
})
|
|
684
|
-
|
|
685
|
-
},
|
|
686
638
|
getAuthority () {
|
|
687
639
|
if (this.$login.r.find(value => value == '销户导入')) {
|
|
688
640
|
this.bacthPin = '销户导入'
|
|
@@ -808,9 +760,6 @@ let loadParamGem = async function (self) {
|
|
|
808
760
|
closexiaohu () {
|
|
809
761
|
this.xiaohushow = false
|
|
810
762
|
},
|
|
811
|
-
closeBatchAdjustables () {
|
|
812
|
-
this.showModifyAdjustables = false
|
|
813
|
-
},
|
|
814
763
|
xiaohu () {
|
|
815
764
|
this.xiaohushow = true
|
|
816
765
|
},
|
|
@@ -872,7 +821,6 @@ let loadParamGem = async function (self) {
|
|
|
872
821
|
this.model.rows.unshift(data)
|
|
873
822
|
},
|
|
874
823
|
selfSearch (args) {
|
|
875
|
-
this.$refs.paged.$refs.grid.selectInit()
|
|
876
824
|
args.condition = `${args.condition} ` + this.orgcondition
|
|
877
825
|
this.criteriaShow = false
|
|
878
826
|
this.$refs.paged.$refs.grid.$el.scrollTop = 0
|
|
@@ -926,7 +874,6 @@ let loadParamGem = async function (self) {
|
|
|
926
874
|
arr.push(temp)
|
|
927
875
|
})
|
|
928
876
|
this.adjustables = [{label: '全部', value: ''}, ...arr]
|
|
929
|
-
this.adjustablesNew = arr
|
|
930
877
|
// 初始化气表品牌
|
|
931
878
|
let brandArr = []
|
|
932
879
|
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
package/src/main.js
CHANGED
|
@@ -2,7 +2,7 @@ import Vue from 'vue'
|
|
|
2
2
|
import all from 'vue-client/src/all'
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
|
-
import FilialeSale from './filiale/
|
|
5
|
+
import FilialeSale from './filiale/yuncheng/sale'
|
|
6
6
|
import sale from './sale'
|
|
7
7
|
import address from 'address-client/src/address'
|
|
8
8
|
import ldap from 'ldap-clients/src/ldap'
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.npmignore
DELETED
package/src/.npmignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|