|
@@ -13,6 +13,9 @@
|
|
|
<template #show_index>
|
|
|
<el-option v-for="i in statusList" :key="i.model" :label="i.label" :value="i.value"></el-option>
|
|
|
</template>
|
|
|
+ <template #show_goods>
|
|
|
+ <el-option v-for="i in statusList" :key="i.model" :label="i.label" :value="i.value"> </el-option>
|
|
|
+ </template>
|
|
|
</data-form>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
@@ -46,6 +49,7 @@ export default {
|
|
|
{ label: '状态', model: 'status', type: 'select' },
|
|
|
{ label: '标签图片(360*200)', model: 'file', type: 'upload', url: '/files/point/actTags/upload' },
|
|
|
{ label: '是否在首页展示', model: 'show_index', type: 'select' },
|
|
|
+ { label: '是否显示商品脚标', model: 'show_goods', type: 'select' },
|
|
|
],
|
|
|
// 类型
|
|
|
typeList: [],
|
|
@@ -68,7 +72,7 @@ export default {
|
|
|
this.$set(this, `form`, res.data);
|
|
|
}
|
|
|
} else {
|
|
|
- this.$set(this, `form`, { status: '0', show_index: '0' });
|
|
|
+ this.$set(this, `form`, { status: '0', show_index: '0', show_goods: '1' });
|
|
|
}
|
|
|
},
|
|
|
// 提交
|