|
|
@@ -327,7 +327,8 @@
|
|
|
<el-table-column label="自动升学" width="80">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{
|
|
|
- scope.row.is_reservation === "true"
|
|
|
+ scope.row.is_reservation === "true" &&
|
|
|
+ scope.row.period_count === -1
|
|
|
? scope.row.is_auto_adjust_study_phase === "true"
|
|
|
? "是"
|
|
|
: "否"
|
|
|
@@ -527,7 +528,10 @@
|
|
|
@click.native.prevent="
|
|
|
handleEditInfo(scope.row, scope.$index)
|
|
|
"
|
|
|
- v-if="scope.row.is_reservation === 'true'"
|
|
|
+ v-if="
|
|
|
+ scope.row.is_reservation === 'true' &&
|
|
|
+ scope.row.period_count === -1
|
|
|
+ "
|
|
|
>修改</el-dropdown-item
|
|
|
>
|
|
|
</el-dropdown-menu>
|
|
|
@@ -562,7 +566,10 @@
|
|
|
@click.native.prevent="
|
|
|
handleEditInfo(scope.row, scope.$index)
|
|
|
"
|
|
|
- v-if="scope.row.is_reservation === 'true'"
|
|
|
+ v-if="
|
|
|
+ scope.row.is_reservation === 'true' &&
|
|
|
+ scope.row.period_count === -1
|
|
|
+ "
|
|
|
>
|
|
|
修改
|
|
|
</el-button>
|
|
|
@@ -765,11 +772,11 @@
|
|
|
v-if="
|
|
|
orderInfo.sale_model === 0 &&
|
|
|
orderInfo.is_reservation === 'true' &&
|
|
|
- orderInfo.is_auto_adjust_study_phase === 'true'
|
|
|
+ orderInfo.period_count === -1
|
|
|
"
|
|
|
>
|
|
|
<h4>
|
|
|
- 年预定【{{
|
|
|
+ 年订阅【{{
|
|
|
orderInfo.is_auto_adjust_study_phase === "true"
|
|
|
? "自动升学"
|
|
|
: "不自动升学"
|
|
|
@@ -794,6 +801,18 @@
|
|
|
}}
|
|
|
</p>
|
|
|
</template>
|
|
|
+ <template v-else>
|
|
|
+ <h4>有效期</h4>
|
|
|
+ <p>
|
|
|
+ {{
|
|
|
+ orderInfo.valid_period_1_study_phase_name +
|
|
|
+ " " +
|
|
|
+ orderInfo.valid_period_1_begin_date +
|
|
|
+ " 至 " +
|
|
|
+ orderInfo.valid_period_1_end_date
|
|
|
+ }}
|
|
|
+ </p>
|
|
|
+ </template>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button size="small" type="primary" @click="shelveVisible = false"
|
|
|
>确 定</el-button
|