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
2e61453e
Commit
2e61453e
authored
Aug 18, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改商品分类
parent
f557328b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/views/goods/goods/components/Form.vue
+5
-4
No files found.
src/views/goods/goods/components/Form.vue
View file @
2e61453e
...
@@ -9,8 +9,8 @@
...
@@ -9,8 +9,8 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"分类"
prop=
"category"
>
<el-form-item
label=
"分类"
prop=
"category
Ids
"
>
<SelectCategory
v-model=
"form.category"
:multiple=
"multiple"
:collapseTags=
"collapseTags"
/>
<SelectCategory
v-model=
"form.category
Ids
"
:multiple=
"multiple"
:collapseTags=
"collapseTags"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -205,12 +205,13 @@ export default {
...
@@ -205,12 +205,13 @@ export default {
form
:
{
form
:
{
pics
:
{},
pics
:
{},
spec
:
[],
spec
:
[],
categoryIds
:[],
},
},
open
:
false
,
open
:
false
,
// 表单校验
// 表单校验
rules
:
{
rules
:
{
name
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
category
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
category
Ids
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
spec
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
spec
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
takeTime
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
takeTime
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
discount
:
[{
required
:
true
,
validator
:
validateDiscount
,
trigger
:
"blur"
}],
discount
:
[{
required
:
true
,
validator
:
validateDiscount
,
trigger
:
"blur"
}],
...
@@ -326,7 +327,7 @@ export default {
...
@@ -326,7 +327,7 @@ export default {
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