Commit 7a3c4dd3 authored by zhengke's avatar zhengke

新增司导上架版面

parent 258bdf84
...@@ -2424,7 +2424,6 @@ ...@@ -2424,7 +2424,6 @@
this.apipost("/api/Product/GoodsPageTypeEnumList", {}, res => { this.apipost("/api/Product/GoodsPageTypeEnumList", {}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.My_cateList=res.data.data; this.My_cateList=res.data.data;
console.log(res,'热身赛所');
}else{ }else{
this.Error(res.data.message); this.Error(res.data.message);
} }
......
...@@ -12,6 +12,15 @@ ...@@ -12,6 +12,15 @@
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>选择分类</span> <span>选择分类</span>
</div> </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-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="商品分类"> <el-form-item label="商品分类">
...@@ -817,6 +826,7 @@ ...@@ -817,6 +826,7 @@
IsSpell: 2, //是否拼车 1是 2否 IsSpell: 2, //是否拼车 1是 2否
AdvanceDay: 0, // 提前预定天数 AdvanceDay: 0, // 提前预定天数
TargetDateStrList: [], TargetDateStrList: [],
GoodsPageType:0, //分类 0全部 1商城 2校园
// FormsId: -1, // FormsId: -1,
// FormsName: "", // FormsName: "",
...@@ -1017,7 +1027,8 @@ ...@@ -1017,7 +1027,8 @@
return startTime.getTime() >= time.getTime(); return startTime.getTime() >= time.getTime();
} }
}, },
subDateList: [] //日期数组 subDateList: [], //日期数组
My_cateList:[]
}; };
}, },
created() { created() {
...@@ -1036,7 +1047,7 @@ ...@@ -1036,7 +1047,7 @@
this.getAllGuideCarSiteList() this.getAllGuideCarSiteList()
this.getGuideCarList() //获取车辆下拉 this.getGuideCarList() //获取车辆下拉
this.getOrderListExportEnumList() this.getOrderListExportEnumList()
this.getCateList();
}, },
mounted() { mounted() {
this.$refs.ue.loadUe(); this.$refs.ue.loadUe();
...@@ -1396,7 +1407,8 @@ ...@@ -1396,7 +1407,8 @@
Tier: 0, Tier: 0,
ParentId: 0, ParentId: 0,
Enabled: 1, Enabled: 1,
IsShow: 0 IsShow: 0,
CategoryPageType:this.addMsg.GoodsPageType
}; };
this.apipost("/api/product/GetProductCategoryTreeList", msg1, res => { this.apipost("/api/product/GetProductCategoryTreeList", msg1, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -1756,6 +1768,16 @@ ...@@ -1756,6 +1768,16 @@
//删除标签 //删除标签
handleClose(index) { handleClose(index) {
this.subDateList.splice(index, 1); 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);
}
});
} }
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment