natasha 1 viikko sitten
vanhempi
commit
b45d71498e
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/views/bookStore/Subscribe.vue

+ 2 - 2
src/views/bookStore/Subscribe.vue

@@ -1147,14 +1147,14 @@ export default {
     // 计算年订阅起始期数
     handleOrderYearStartNO() {
       let MethodName =
-        "/ShopServer/Client/ReservationQuery/GetYearReservationStartN0";
+        "/ShopServer/Client/ReservationQuery/GetYearReservationStartNO";
       let data = {
         goods_type: this.bookType === "baozhi" ? 2 : 4,
         study_phase: this.bookType === "baozhi" ? this.studyType : 1,
       };
       getLogin(MethodName, data)
         .then((res) => {
-          if (res.status === 1) {
+          if (res.status === 1 && res.issue_no_start) {
             this.orderList[5].label =
               "年订阅(当月起订," + res.issue_no_start + "期起)";
           } else {