|
@@ -171,7 +171,7 @@
|
|
<auth auths="musicGroupPaymentCalender/update/4313">
|
|
<auth auths="musicGroupPaymentCalender/update/4313">
|
|
<el-button
|
|
<el-button
|
|
type="text"
|
|
type="text"
|
|
- v-if="teamStatus && scope.row.auditStatus === 'DRAFT'"
|
|
|
|
|
|
+ v-if="teamStatus && scope.row.auditStatus === 'AUDITING'"
|
|
@click="revoke(scope.row)"
|
|
@click="revoke(scope.row)"
|
|
>撤回</el-button
|
|
>撤回</el-button
|
|
>
|
|
>
|
|
@@ -496,6 +496,7 @@ import {
|
|
getMusicGroupStu,
|
|
getMusicGroupStu,
|
|
musicGroupPaymentCalenderDetailBatchAdd,
|
|
musicGroupPaymentCalenderDetailBatchAdd,
|
|
musicGroupPaymentCalenderDelByBatchNo,
|
|
musicGroupPaymentCalenderDelByBatchNo,
|
|
|
|
+ revokeMusicGroupPaymentCalender,
|
|
} from "../api";
|
|
} from "../api";
|
|
import setStudentFee from "./studentPayBase";
|
|
import setStudentFee from "./studentPayBase";
|
|
import userPayForm from "../modals/user-pay-form";
|
|
import userPayForm from "../modals/user-pay-form";
|
|
@@ -709,7 +710,19 @@ export default {
|
|
|
|
|
|
// 判断一下 是不是云收费团 且是乐团报名缴费
|
|
// 判断一下 是不是云收费团 且是乐团报名缴费
|
|
},
|
|
},
|
|
- revoke(row) {
|
|
|
|
|
|
+ async revoke(row) {
|
|
|
|
+ try {
|
|
|
|
+ await this.$confirm("是否撤回此缴费项目的审批?", "提示", {
|
|
|
|
+ confirmButtonText: "确定",
|
|
|
|
+ cancelButtonText: "取消",
|
|
|
|
+ type: "warning",
|
|
|
|
+ });
|
|
|
|
+ const res = await revokeMusicGroupPaymentCalender({
|
|
|
|
+ batchNo: row.batchNo,
|
|
|
|
+ });
|
|
|
|
+ this.$message.success('取消审批成功')
|
|
|
|
+ this.getList()
|
|
|
|
+ } catch {}
|
|
console.log(row);
|
|
console.log(row);
|
|
},
|
|
},
|
|
changeActive(val) {
|
|
changeActive(val) {
|