浏览代码

报纸预定高三去掉自动升级按钮

natasha 3 周之前
父节点
当前提交
965d68c4b2
共有 1 个文件被更改,包括 16 次插入8 次删除
  1. 16 8
      src/views/bookStore/Subscribe.vue

+ 16 - 8
src/views/bookStore/Subscribe.vue

@@ -1239,20 +1239,28 @@ export default {
                 if (this.bookType === "huakan") {
                   this.orderList = this.orderList.slice(0, 6);
                 } else if (this.bookType === "baozhi") {
-                  this.orderList[6].label =
-                    "年订阅(当月起订," +
-                    res.issue_no_start +
-                    "期起)(" +
-                    this.studyTips +
-                    ")";
+                  if (this.studyType === 33) {
+                    this.orderList = this.orderList.slice(0, 6);
+                  } else {
+                    this.orderList[6] = {
+                      value: -3,
+                      label: "年订阅(当月起订)(" + this.studyTips + ")",
+                    };
+                  }
                 }
               } else {
                 this.orderList[5].label = "年订阅(当月起订)";
                 if (this.bookType === "huakan") {
                   this.orderList = this.orderList.slice(0, 6);
                 } else if (this.bookType === "baozhi") {
-                  this.orderList[6].label =
-                    "年订阅(当月起订)(" + this.studyTips + ")";
+                  if (this.studyType === 33) {
+                    this.orderList = this.orderList.slice(0, 6);
+                  } else {
+                    this.orderList[6] = {
+                      value: -3,
+                      label: "年订阅(当月起订)(" + this.studyTips + ")",
+                    };
+                  }
                 }
               }
             })