|
@@ -1013,24 +1013,17 @@ export default {
|
|
|
},
|
|
|
// 获取已发行期数
|
|
|
handleIssueLength() {
|
|
|
+ this.totalLength = 0;
|
|
|
let MethodName =
|
|
|
- "/ShopServer/Client/ReservationQuery/GetReservationInfo_Issue";
|
|
|
+ "/ShopServer/Client/ReservationQuery/GetCanReservationPeriodCount_Issue";
|
|
|
let data = {
|
|
|
goods_type: this.bookType === "baozhi" ? 2 : 4,
|
|
|
study_phase: this.bookType === "baozhi" ? this.studyType : 1,
|
|
|
- period_count:
|
|
|
- this.orderTotalNumber !== 1000
|
|
|
- ? this.orderTotalNumber
|
|
|
- : this.customOrderNumberList.length,
|
|
|
- is_custom_select_issue_no: "true",
|
|
|
};
|
|
|
getLogin(MethodName, data)
|
|
|
.then((res) => {
|
|
|
if (res.status === 1) {
|
|
|
- this.totalLength = 0;
|
|
|
- res.issue_no_school_year_list.forEach((item) => {
|
|
|
- this.totalLength += item.issue_no_list.length;
|
|
|
- });
|
|
|
+ this.totalLength = res.period_count_max;
|
|
|
this.getInfo();
|
|
|
}
|
|
|
})
|