Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 88d2c8ad
authored
Mar 23, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 编辑 - 运营确认 - 更新步骤处理逻辑,添加错误抛出
1 parent
8eb2c42d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
src/views/goods/shelfManage/view/editMultilateralContract.vue
src/views/goods/shelfManage/view/editMultilateralContract.vue
View file @
88d2c8a
...
@@ -180,19 +180,19 @@ export default {
...
@@ -180,19 +180,19 @@ export default {
},
},
async
handleNextSteps
()
{
async
handleNextSteps
()
{
console
.
log
(
"this.step.active"
,
this
.
steps
.
active
);
console
.
log
(
"this.step.active"
,
this
.
steps
.
active
);
this
.
steps
.
active
+=
1
;
await
this
.
changeStepsBefore
();
await
this
.
changeStepsBefore
();
this
.
$refs
.
carouselRef
.
next
();
console
.
log
(
"????"
);
this
.
steps
.
active
+=
1
;
// this.$refs.carouselRef.next();
},
},
async
handlePreviousSteps
()
{
async
handlePreviousSteps
()
{
if
(
this
.
steps
.
active
===
0
)
{
if
(
this
.
steps
.
active
===
0
)
{
// TODO: message: 已经是第一步了
// TODO: message: 已经是第一步了
return
;
return
;
}
}
this
.
steps
.
active
-=
1
;
await
this
.
changeStepsBefore
();
await
this
.
changeStepsBefore
();
this
.
$refs
.
carouselRef
.
prev
();
this
.
steps
.
active
-=
1
;
// this.$refs.carouselRef.prev();
},
},
async
changeStepsBefore
()
{
async
changeStepsBefore
()
{
...
@@ -209,6 +209,8 @@ export default {
...
@@ -209,6 +209,8 @@ export default {
if
(
isView
(
currentComponents
.
mode
))
{
if
(
isView
(
currentComponents
.
mode
))
{
currentComponents
.
mode
=
VIEW_MODE
.
EDIT
;
currentComponents
.
mode
=
VIEW_MODE
.
EDIT
;
}
}
// 继续抛出错误
throw
e
;
}
}
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment