Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saas-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chehuidong
saas-manage
Commits
2528e7d7
Commit
2528e7d7
authored
Sep 05, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 收款账户新增支付宝授权
parent
d2ff02a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
src/views/user/baseProceedsAccount.vue
+27
-0
No files found.
src/views/user/baseProceedsAccount.vue
View file @
2528e7d7
...
...
@@ -928,6 +928,16 @@ export default {
this
.
type
=
'changeStatus'
this
.
currentRow
=
row
if
(
this
.
setVerificationMethod
())
{
// 未授权支付宝不可启用账户
if
(
row
.
isEnable
===
false
&&
row
.
accountType
===
'alipay'
&&
row
.
receiverType
===
'onLine'
&&
!
row
.
appAuthToken
)
{
this
.
$message
.
warning
(
'请先授权支付宝'
)
return
}
this
.
securityVisible
=
true
}
},
...
...
@@ -962,6 +972,23 @@ export default {
})
}
},
// 新增/编辑 账户类型变化
accountTypeChange
(
value
)
{
if
(
this
.
addFormData
.
isEnable
===
true
)
{
this
.
addFormData
.
accountType
=
this
.
currentRow
.
accountType
this
.
$message
.
warning
(
'请先将账户设置为禁用状态,再修改账户类型'
)
}
},
// 新增/编辑 启用状态变化
dialogEnableChange
()
{
if
(
this
.
addFormData
.
accountType
===
'alipay'
&&
(
!
this
.
currentRow
||
!
this
.
currentRow
.
appAuthToken
)
)
{
this
.
addFormData
.
isEnable
=
false
this
.
$message
.
warning
(
`请在
${
this
.
operateType
}
后授权支付宝,再启用账户`
)
}
},
// 新增 校验
addVarify
()
{
this
.
$refs
.
addForm
.
validate
((
valid
)
=>
{
...
...
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