Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hooloo
web
soss
Commits
bd28c3bd
Commit
bd28c3bd
authored
2 years ago
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改商品管理
parent
62cb9e7d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
src/components/SelectCategory/index.vue
+7
-1
src/components/SelectSpecs/index.vue
+5
-1
src/views/goods/goods/components/Form.vue
+2
-3
No files found.
src/components/SelectCategory/index.vue
View file @
bd28c3bd
...
...
@@ -28,12 +28,18 @@ export default {
},
data
()
{
return
{
selectValue
:
this
.
value
,
selectValue
:
''
,
options
:
[]
};
},
watch
:
{
value
(
newName
,
oldName
)
{
this
.
selectValue
=
newName
;
}
},
created
()
{
this
.
getList
();
this
.
selectValue
=
this
.
value
;
},
methods
:
{
/** 查询列表 */
...
...
This diff is collapsed.
Click to expand it.
src/components/SelectSpecs/index.vue
View file @
bd28c3bd
...
...
@@ -71,8 +71,12 @@ export default {
const
newValue
=
JSON
.
parse
(
JSON
.
stringify
(
value
));
this
.
ids
=
newValue
this
.
specNames
=
newValue
.
map
((
item
)
=>
item
.
name
).
join
(
" "
);
}
else
{
this
.
ids
=
[];
this
.
specNames
=
""
}
},
},
},
},
mounted
()
{
...
...
This diff is collapsed.
Click to expand it.
src/views/goods/goods/components/Form.vue
View file @
bd28c3bd
...
...
@@ -260,7 +260,6 @@ export default {
this
.
goodsTagList
=
data
.
goodsTagList
;
this
.
form
=
data
;
this
.
open
=
true
;
this
.
title
=
"修改商品"
;
});
},
...
...
@@ -273,8 +272,8 @@ export default {
label
:
null
,
desc
:
null
,
remark
:
null
};
this
.
resetForm
(
"form"
);
};
//
this.resetForm("form");
},
/** 提交按钮 */
submitForm
()
{
...
...
This diff is collapsed.
Click to expand it.
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