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
b36a34ef
Commit
b36a34ef
authored
Jul 01, 2025
by
谢子梦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stage:支付通道配置-使用状态问题修改
parent
31e8c6de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
src/views/business/taxUnit/channel.vue
src/views/business/taxUnit/channel.vue
+25
-2
No files found.
src/views/business/taxUnit/channel.vue
View file @
b36a34ef
...
@@ -232,7 +232,11 @@ export default {
...
@@ -232,7 +232,11 @@ export default {
handleStatusChange
(
row
)
{
handleStatusChange
(
row
)
{
const
_this
=
this
;
const
_this
=
this
;
let
text
=
row
.
status
===
1
?
"
启用
"
:
"
停用
"
;
let
text
=
row
.
status
===
1
?
"
启用
"
:
"
停用
"
;
_this
.
$modal
.
confirm
(
'
确认要"
'
+
text
+
'
""
'
+
row
.
channelName
+
'
"支付通道吗?
'
).
then
(
function
()
{
this
.
$confirm
(
'
确认要"
'
+
text
+
'
""
'
+
row
.
channelName
+
'
"支付通道吗?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
const
updateForm
=
{
const
updateForm
=
{
id
:
row
.
id
,
id
:
row
.
id
,
status
:
row
.
status
status
:
row
.
status
...
@@ -244,9 +248,28 @@ export default {
...
@@ -244,9 +248,28 @@ export default {
}).
catch
(()
=>
{
}).
catch
(()
=>
{
row
.
status
=
row
.
status
===
2
?
1
:
2
;
row
.
status
=
row
.
status
===
2
?
1
:
2
;
});
});
}).
catch
(
function
()
{
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
info
'
,
message
:
'
已取消修改
'
});
row
.
status
=
row
.
status
===
2
?
1
:
2
;
row
.
status
=
row
.
status
===
2
?
1
:
2
;
});
});
// _this.$modal.confirm('确认要"' + text + '""' + row.channelName + '"支付通道吗?').then(function () {
// const updateForm = {
// id: row.id,
// status: row.status
// }
// updateCompanyPayChannel(updateForm).then(response => {
// this.$modal.msgSuccess("修改成功");
// this.open = false;
// this.getList();
// }).catch(() => {
// row.status = row.status === 2 ? 1 : 2;
// });
// }).catch(function () {
// row.status = row.status === 2 ? 1 : 2;
// });
},
},
signChannel
(
row
)
{
signChannel
(
row
)
{
this
.
$confirm
(
'
确认开通支付通道[
'
+
row
.
channelName
+
'
]?
'
,
'
提示
'
,
{
this
.
$confirm
(
'
确认开通支付通道[
'
+
row
.
channelName
+
'
]?
'
,
'
提示
'
,
{
...
...
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