Tang vor 3 Jahren
Ursprung
Commit
18afdf9ca5

+ 3 - 3
src/views/2Cport/referralManageMent/tab1/addGL.vue

@@ -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) => {

+ 3 - 3
src/views/2Cport/referralManageMent/tab2/addGL.vue

@@ -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 > 15) {
+          this.$message.warning("推荐位最多显示15个商品");
           return;
         }
         var indexNum = this.listData.goodsList.map((item) => {