Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
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
lanbaoming
jiedao-app-operator-master
Commits
98be934f
Commit
98be934f
authored
May 07, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增商品修复
parent
a67a96a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.vue
src/views/ecw/product/index.vue
+2
-2
No files found.
src/views/ecw/product/index.vue
View file @
98be934f
...
@@ -381,7 +381,6 @@ export default {
...
@@ -381,7 +381,6 @@ export default {
this
.
getList
()
this
.
getList
()
},
},
created
()
{
created
()
{
console
.
log
(
111
)
//新增商品异常跳转商品修改
//新增商品异常跳转商品修改
if
(
this
.
$route
.
query
.
prodId
){
if
(
this
.
$route
.
query
.
prodId
){
this
.
exceptionProductId
=
this
.
$route
.
query
.
prodId
this
.
exceptionProductId
=
this
.
$route
.
query
.
prodId
...
@@ -505,7 +504,7 @@ export default {
...
@@ -505,7 +504,7 @@ export default {
const
id
=
row
.
id
;
const
id
=
row
.
id
;
getProduct
(
id
).
then
(
response
=>
{
getProduct
(
id
).
then
(
response
=>
{
this
.
form
=
{...
response
.
data
,
couponIds
:[]};
this
.
form
=
{...
response
.
data
,
couponIds
:[]};
let
attrArray
=
this
.
form
.
attrId
.
split
(
'
,
'
)
;
let
attrArray
=
this
.
form
.
attrId
?
this
.
form
.
attrId
.
split
(
'
,
'
):[]
;
for
(
let
index
in
attrArray
)
{
for
(
let
index
in
attrArray
)
{
let
value
=
attrArray
[
index
];
let
value
=
attrArray
[
index
];
attrArray
[
index
]
=
parseInt
(
value
);
attrArray
[
index
]
=
parseInt
(
value
);
...
@@ -542,6 +541,7 @@ export default {
...
@@ -542,6 +541,7 @@ export default {
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
修改成功
"
));
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
修改成功
"
));
this
.
open
=
false
;
this
.
open
=
false
;
if
(
this
.
exceptionProductId
){
if
(
this
.
exceptionProductId
){
this
.
exceptionProductId
=
null
this
.
$router
.
replace
({
path
:
'
/product/product-list
'
})
this
.
$router
.
replace
({
path
:
'
/product/product-list
'
})
}
}
this
.
getList
();
this
.
getList
();
...
...
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