Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
黄媛媛
ElectricitySheep
Commits
7a3c4dd3
Commit
7a3c4dd3
authored
Sep 24, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增司导上架版面
parent
258bdf84
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
+25
-4
goodsListEdit.vue
src/components/CommodityMan/goodsListEdit.vue
+0
-1
directorGoodsEdit.vue
src/components/director/directorGoodsEdit.vue
+25
-3
No files found.
src/components/CommodityMan/goodsListEdit.vue
View file @
7a3c4dd3
...
...
@@ -2424,7 +2424,6 @@
this
.
apipost
(
"/api/Product/GoodsPageTypeEnumList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
My_cateList
=
res
.
data
.
data
;
console
.
log
(
res
,
'热身赛所'
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
src/components/director/directorGoodsEdit.vue
View file @
7a3c4dd3
...
...
@@ -12,6 +12,15 @@
<div
slot=
"header"
class=
"clearfix"
>
<span>
选择分类
</span>
</div>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"上架版面"
>
<el-radio-group
v-model=
"addMsg.GoodsPageType"
@
change=
"getTree()"
>
<el-radio
v-for=
"(item,index) in My_cateList"
:key=
"index"
:label=
"item.Id"
>
{{
item
.
Name
}}
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"商品分类"
>
...
...
@@ -817,6 +826,7 @@
IsSpell
:
2
,
//是否拼车 1是 2否
AdvanceDay
:
0
,
// 提前预定天数
TargetDateStrList
:
[],
GoodsPageType
:
0
,
//分类 0全部 1商城 2校园
// FormsId: -1,
// FormsName: "",
...
...
@@ -1017,7 +1027,8 @@
return
startTime
.
getTime
()
>=
time
.
getTime
();
}
},
subDateList
:
[]
//日期数组
subDateList
:
[],
//日期数组
My_cateList
:[]
};
},
created
()
{
...
...
@@ -1036,7 +1047,7 @@
this
.
getAllGuideCarSiteList
()
this
.
getGuideCarList
()
//获取车辆下拉
this
.
getOrderListExportEnumList
()
this
.
getCateList
();
},
mounted
()
{
this
.
$refs
.
ue
.
loadUe
();
...
...
@@ -1396,7 +1407,8 @@
Tier
:
0
,
ParentId
:
0
,
Enabled
:
1
,
IsShow
:
0
IsShow
:
0
,
CategoryPageType
:
this
.
addMsg
.
GoodsPageType
};
this
.
apipost
(
"/api/product/GetProductCategoryTreeList"
,
msg1
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -1756,6 +1768,16 @@
//删除标签
handleClose
(
index
)
{
this
.
subDateList
.
splice
(
index
,
1
);
},
//获取上架版面下拉
getCateList
(){
this
.
apipost
(
"/api/Product/GoodsPageTypeEnumList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
My_cateList
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
});
}
}
};
...
...
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