|
@@ -211,7 +211,7 @@
|
|
:header-cell-style="{ background: '#EDEEF0', color: '#444' }"
|
|
:header-cell-style="{ background: '#EDEEF0', color: '#444' }"
|
|
@selection-change="handleSelectionChange"
|
|
@selection-change="handleSelectionChange"
|
|
>
|
|
>
|
|
- <el-table-column type="selection" width="55"> </el-table-column>
|
|
|
|
|
|
+ <el-table-column type="selection" width="55" :selectable='checkboxSelect'> </el-table-column>
|
|
<el-table-column label="学员姓名" prop="studentName" align="center">
|
|
<el-table-column label="学员姓名" prop="studentName" align="center">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="家长姓名" prop="parentsName" align="center">
|
|
<el-table-column label="家长姓名" prop="parentsName" align="center">
|
|
@@ -333,7 +333,7 @@
|
|
</el-table>
|
|
</el-table>
|
|
<div
|
|
<div
|
|
style="margin-top: 10px; margin-bottom: 10px"
|
|
style="margin-top: 10px; margin-bottom: 10px"
|
|
- v-show="status == 'APPLY'"
|
|
|
|
|
|
+ v-show="status == 'APPLY'|| status == 'PROGRESS' || status == 'PREPARE'"
|
|
>
|
|
>
|
|
<el-button @click="onSelectAll">全选/取消</el-button>
|
|
<el-button @click="onSelectAll">全选/取消</el-button>
|
|
<auth :auths="getFullPermission('studentRegistration/openPayment')">
|
|
<auth :auths="getFullPermission('studentRegistration/openPayment')">
|
|
@@ -341,7 +341,7 @@
|
|
style="background-color: #14928a; border: 1px solid #14928a"
|
|
style="background-color: #14928a; border: 1px solid #14928a"
|
|
@click="onPartPayment"
|
|
@click="onPartPayment"
|
|
type="primary"
|
|
type="primary"
|
|
- >提前缴费</el-button
|
|
|
|
|
|
+ >开启缴费</el-button
|
|
>
|
|
>
|
|
</auth>
|
|
</auth>
|
|
<!-- <div class='newBand' v-show="status=='APPLY'">允许缴费</div> -->
|
|
<!-- <div class='newBand' v-show="status=='APPLY'">允许缴费</div> -->
|
|
@@ -986,7 +986,7 @@ export default {
|
|
// 部分缴费
|
|
// 部分缴费
|
|
let selection = this.multipleSelection;
|
|
let selection = this.multipleSelection;
|
|
if (selection.length <= 0) {
|
|
if (selection.length <= 0) {
|
|
- this.$message.success("您还没有选择学生");
|
|
|
|
|
|
+ this.$message.error("您还没有选择学生");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
let ids = [];
|
|
let ids = [];
|
|
@@ -994,7 +994,7 @@ export default {
|
|
ids.push(item.id);
|
|
ids.push(item.id);
|
|
});
|
|
});
|
|
|
|
|
|
- this.$confirm(`是否确认提前缴费?`, "提示", {
|
|
|
|
|
|
+ this.$confirm(`是否确认开启缴费?`, "提示", {
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|
|
cancelButtonText: "取消",
|
|
cancelButtonText: "取消",
|
|
type: "warning",
|
|
type: "warning",
|
|
@@ -1478,6 +1478,9 @@ export default {
|
|
},
|
|
},
|
|
};
|
|
};
|
|
},
|
|
},
|
|
|
|
+ checkboxSelect(row){
|
|
|
|
+ return row.paymentStatus == 0
|
|
|
|
+ }
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
orderVisible(val) {
|
|
orderVisible(val) {
|