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
fb1ef4e5
Commit
fb1ef4e5
authored
May 06, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增商品异常修复
parent
6674dc0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
index.vue
src/views/ecw/product/index.vue
+9
-4
No files found.
src/views/ecw/product/index.vue
View file @
fb1ef4e5
...
...
@@ -328,6 +328,7 @@ export default {
packagingList
:
getDictDatas
(
DICT_TYPE
.
ECW_PACKAGING_TYPE
),
locationList
:
getDictDatas
(
DICT_TYPE
.
ECW_CONTAINER_LOCATION
),
preferentialList
:[],
exceptionProductId
:
0
//新增商品异常传的id
};
},
...
...
@@ -372,9 +373,10 @@ export default {
if
(
this
.
$route
.
query
.
typeId
!=
this
.
queryParams
.
typeId
){
this
.
queryParams
.
typeId
=
+
this
.
$route
.
query
.
typeId
||
null
}
//新增商品异常跳转商品修改
if
(
this
.
$route
.
query
.
prodId
){
console
.
log
(
this
.
$route
.
query
.
prodId
)
this
.
handleUpdate
({
id
:
this
.
$route
.
query
.
prodId
})
this
.
exceptionProductId
=
this
.
$route
.
query
.
prodId
this
.
handleUpdate
({
id
:
this
.
$route
.
query
.
prodId
})
}
this
.
getList
()
},
...
...
@@ -382,8 +384,8 @@ export default {
console
.
log
(
111
)
//新增商品异常跳转商品修改
if
(
this
.
$route
.
query
.
prodId
){
console
.
log
(
this
.
$route
.
query
.
prodId
)
this
.
handleUpdate
({
id
:
this
.
$route
.
query
.
prodId
})
this
.
exceptionProductId
=
this
.
$route
.
query
.
prodId
this
.
handleUpdate
({
id
:
this
.
$route
.
query
.
prodId
})
}
let
typeId
=
this
.
$route
.
query
.
typeId
;
if
(
typeId
)
{
...
...
@@ -532,6 +534,9 @@ export default {
this
.
form
.
attrId
=
this
.
form
.
attrArray
.
join
(
'
,
'
);
// 修改的提交
if
(
this
.
form
.
id
!=
null
)
{
if
(
this
.
exceptionProductId
){
this
.
form
.
productId
=
this
.
exceptionProductId
}
updateProduct
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
修改成功
"
));
this
.
open
=
false
;
...
...
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