Browse Source

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

natasha 3 weeks ago
parent
commit
965d68c4b2
1 changed files with 16 additions and 8 deletions
  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") {
                 if (this.bookType === "huakan") {
                   this.orderList = this.orderList.slice(0, 6);
                   this.orderList = this.orderList.slice(0, 6);
                 } else if (this.bookType === "baozhi") {
                 } 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 {
               } else {
                 this.orderList[5].label = "年订阅(当月起订)";
                 this.orderList[5].label = "年订阅(当月起订)";
                 if (this.bookType === "huakan") {
                 if (this.bookType === "huakan") {
                   this.orderList = this.orderList.slice(0, 6);
                   this.orderList = this.orderList.slice(0, 6);
                 } else if (this.bookType === "baozhi") {
                 } 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 + ")",
+                    };
+                  }
                 }
                 }
               }
               }
             })
             })