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
a2fb9f49
Commit
a2fb9f49
authored
Feb 19, 2025
by
谢子梦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
余额充值-服务费弹窗
parent
8d313d6d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
5 deletions
+53
-5
src/views/business/salaryAccount/index.vue
src/views/business/salaryAccount/index.vue
+53
-5
No files found.
src/views/business/salaryAccount/index.vue
View file @
a2fb9f49
...
@@ -63,10 +63,10 @@
...
@@ -63,10 +63,10 @@
<div
class=
"operateConterMain"
>
<div
class=
"operateConterMain"
>
<div
style=
"width: 90%;"
>
<div
style=
"width: 90%;"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><el-button
style=
"width:120px;"
<el-col
:span=
"12"
><el-button
style=
"width:120px;"
type=
"primary"
type=
"primary
"
>
余额充值
</el-button></el-col>
@
click=
"balanceRecharge(ele.payAccNo)
"
>
余额充值
</el-button></el-col>
<el-col
:span=
"12"
><el-button
style=
"width:120px;"
<el-col
:span=
"12"
><el-button
style=
"width:120px;"
type=
"primary"
type=
"primary
"
>
服务费充值
</el-button></el-col>
@
click=
"serviceChargeRecharge(ele.payAccNo)
"
>
服务费充值
</el-button></el-col>
</el-row>
</el-row>
</div>
</div>
<div
style=
"width: 90%;"
>
<div
style=
"width: 90%;"
>
...
@@ -185,7 +185,31 @@
...
@@ -185,7 +185,31 @@
</div>
</div>
</div>
</div>
</el-dialog>
</el-dialog>
<!-- 账户详情弹窗 -->
<!-- 充值弹窗 -->
<el-dialog
title=
"支付宝充值"
:visible.sync=
"aliQRCodeRechargeOpen"
width=
"500px"
style=
"text-align: center"
>
<!--
<h3>
转账完成后,工作时间最晚2小时到账,最快1分钟充值到您的支付宝账户
</h3>
-->
<el-form
:model=
"aliQRCodeRechargeForm"
ref=
"signNewForm"
size=
"small"
label-width=
"120px"
>
<el-form-item
label=
"收款账户"
prop=
"payerAccNo"
>
<el-input
v-model=
"aliQRCodeRechargeForm.cardNo"
placeholder=
"请输入付款账号"
disabled
/>
</el-form-item>
<el-form-item
label=
"余额/服务费"
prop=
"capitalPurpose"
>
<template>
<el-select
v-model=
"aliQRCodeRechargeForm.capitalPurpose"
style=
"width: 100%"
disabled
>
<el-option
label=
"余额"
value=
"余额"
>
余额
</el-option>
<el-option
label=
"服务费"
value=
"服务费"
>
服务费
</el-option>
</el-select>
</
template
>
</el-form-item>
<el-form-item
label=
"充值金额"
prop=
"tranAmount"
>
<el-input-number
v-model=
"aliQRCodeRechargeForm.tranAmount"
placeholder=
"请输入充值金额"
:precision=
"2"
style=
"width: 100%"
/>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"getAliPayUrl"
>
确认支付
</el-button>
<el-button
@
click=
"aliQRCodeRechargeOpen = false"
>
取 消
</el-button>
</div>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -209,6 +233,14 @@ export default {
...
@@ -209,6 +233,14 @@ export default {
thirdParty
:
[],
thirdParty
:
[],
// 去发薪-当前选中的卡号
// 去发薪-当前选中的卡号
cardNo
:
null
,
cardNo
:
null
,
// 充值参数
aliQRCodeRechargeOpen
:
false
,
aliQRCodeRechargeForm
:
{
aliBookInfoId
:
''
,
cardNo
:
''
,
capitalPurpose
:
'
余额充值
'
,
tranAmount
:
''
}
}
}
},
},
created
()
{
},
created
()
{
},
...
@@ -222,6 +254,22 @@ export default {
...
@@ -222,6 +254,22 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
// 点击余额充值方法
balanceRecharge
(
val
)
{
this
.
aliQRCodeRechargeForm
.
capitalPurpose
=
'
余额
'
this
.
aliQRCodeRechargeForm
.
cardNo
=
val
this
.
aliQRCodeRechargeOpen
=
true
},
// 点击服务费充值方法
serviceChargeRecharge
(
val
)
{
this
.
aliQRCodeRechargeForm
.
capitalPurpose
=
'
服务费
'
this
.
aliQRCodeRechargeForm
.
cardNo
=
val
this
.
aliQRCodeRechargeOpen
=
true
},
// 确认支付按钮
getAliPayUrl
()
{
},
// 跳转到批量到支付宝
// 跳转到批量到支付宝
toLinkAlipay
()
{
toLinkAlipay
()
{
this
.
$router
.
push
({
path
:
"
/transfer/batchToAli
"
,
query
:
{
number
:
this
.
cardNo
}
});
this
.
$router
.
push
({
path
:
"
/transfer/batchToAli
"
,
query
:
{
number
:
this
.
cardNo
}
});
...
...
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