|
@@ -64,7 +64,7 @@
|
|
|
</el-form-item>
|
|
|
<div v-if="listData.businessId" style="margin-bottom: 10px">
|
|
|
<p class="p_sty">
|
|
|
- <span style="color: red">注:推荐位最多显示12个商品</span>
|
|
|
+ <span style="color: red">注:推荐位最多显示15个商品</span>
|
|
|
<el-button :size="size" @click="addList">添加</el-button>
|
|
|
</p>
|
|
|
<el-table
|
|
@@ -322,8 +322,8 @@ export default {
|
|
|
},
|
|
|
submit() {
|
|
|
if (this.listData.goodsList.length) {
|
|
|
- if (this.listData.goodsList.length >= 13) {
|
|
|
- this.$message.warning("推荐位最多显示12个商品");
|
|
|
+ if (this.listData.goodsList.length > 16) {
|
|
|
+ this.$message.warning("推荐位最多显示15个商品");
|
|
|
return;
|
|
|
}
|
|
|
var indexNum = this.listData.goodsList.map((item) => {
|