Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
许珑标
薪瑞通-前端
Commits
f128740e
Commit
f128740e
authored
Jun 27, 2025
by
谢子梦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stage:代发账户线下充值服务费限制
parent
c184e342
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
8 deletions
+38
-8
src/api/business/accInfo.js
src/api/business/accInfo.js
+7
-0
src/views/business/salaryAccount/extAccServieCharge.vue
src/views/business/salaryAccount/extAccServieCharge.vue
+31
-8
No files found.
src/api/business/accInfo.js
View file @
f128740e
...
...
@@ -123,3 +123,10 @@ export function getOfflineRechargeInfo(rechargeType, cardNo) {
}
})
}
// 判断代发账户是否可以进行线下充值
export
function
isEDMAccountOfflineserviceChargeAPI
(
cardNo
)
{
return
request
({
url
:
`/business/company/payChannelParams/recharge/query?cardNo=
${
cardNo
}
`
,
method
:
'
get
'
})
}
src/views/business/salaryAccount/extAccServieCharge.vue
View file @
f128740e
...
...
@@ -14,15 +14,18 @@
<el-col
:span=
"12"
>
<div
class=
"ownRechargeMain"
>
<img
class=
"ownRechargeImage"
src=
"@/assets/images/zfb.png"
alt=
""
>
<
div
class=
"ownRechargeButton"
@
click=
"rechargeCoursePanelDialog = false; aliQRCodeRechargeOpen = true"
>
直属账户充值
</
div
>
<
el-button
class=
"ownRechargeButton"
@
click=
"rechargeCoursePanelDialog = false; aliQRCodeRechargeOpen = true"
>
直属账户充值
</
el-button
>
</div>
</el-col>
<el-col
:span=
"12"
>
<div
class=
"ownRechargeMain"
>
<img
class=
"ownRechargeImage"
src=
"@/assets/images/xianxia.png"
alt=
""
>
<div
class=
"ownRechargeButton"
@
click=
"offlineRecharge"
>
线下充值
</div>
<el-button
class=
"ownRechargeButton"
:disabled=
"!isOfflineRecharge"
@
click=
"offlineRecharge"
>
线下充值
</el-button>
</div>
<div
v-if=
"!isOfflineRecharge"
class=
"functionDisabled"
>
(该功能暂不可用)
</div>
</el-col>
</el-row>
</el-dialog>
...
...
@@ -151,7 +154,7 @@
<
script
>
import
{
addAccRecharge
}
from
'
@/api/business/accRecharge.js
'
import
QrCodeComponent
from
'
@/components/QrCode.vue
'
import
{
getOfflineRechargeInfo
,
setOfflineRechargeInfo
}
from
'
@/api/business/accInfo.js
'
import
{
getOfflineRechargeInfo
,
setOfflineRechargeInfo
,
isEDMAccountOfflineserviceChargeAPI
}
from
'
@/api/business/accInfo.js
'
export
default
{
components
:
{
QrCodeComponent
},
data
()
{
...
...
@@ -222,7 +225,8 @@ export default {
payerAccName
:
[
{
required
:
true
,
message
:
'
请输入付款账户名称
'
,
trigger
:
'
blur
'
}
]
}
},
isOfflineRecharge
:
false
}
},
methods
:
{
...
...
@@ -302,9 +306,21 @@ export default {
},
/** 父组件调用子组件 */
enableRecharge
(
val
)
{
this
.
aliQRCodeRechargeForm
.
payeeAccNo
=
val
.
payAccNo
this
.
aliQRCodeRechargeForm
.
bindType
=
val
.
bindType
this
.
rechargeCoursePanelDialog
=
true
// console.log('当前卡信息', val);
isEDMAccountOfflineserviceChargeAPI
(
val
.
payAccNo
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
data
&&
res
.
data
.
proxy_recharge_cmb
)
{
this
.
isOfflineRecharge
=
res
.
data
.
proxy_recharge_cmb
.
isNormal
}
else
{
this
.
isOfflineRecharge
=
false
}
}
}).
finally
(()
=>
{
this
.
aliQRCodeRechargeForm
.
payeeAccNo
=
val
.
payAccNo
this
.
aliQRCodeRechargeForm
.
bindType
=
val
.
bindType
this
.
rechargeCoursePanelDialog
=
true
})
},
}
}
...
...
@@ -318,6 +334,13 @@ export default {
line-height
:
28px
;
height
:
28px
;
font-size
:
12px
;
padding
:
0
;
display
:
inline-block
;
}
.functionDisabled
{
color
:
#f56c6c
;
font-size
:
12px
;
text-align
:
center
;
}
</
style
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment