|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<PermissionContainer
|
|
|
:jiBieArr="[1, 2]"
|
|
|
- :type="4"
|
|
|
+ :type="5"
|
|
|
:tipArr="[
|
|
|
,
|
|
|
'退款的审核只对集团和站点级别开放',
|
|
@@ -174,6 +174,7 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-plus"
|
|
|
+ :loading="examinRefundLoading"
|
|
|
>审核通过</el-button
|
|
|
>
|
|
|
</el-popconfirm>
|
|
@@ -248,6 +249,8 @@ export default {
|
|
|
// 表单校验
|
|
|
rules: {},
|
|
|
reprint: false,
|
|
|
+ examinRefundLoading: false,
|
|
|
+
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -277,9 +280,15 @@ export default {
|
|
|
methods: {
|
|
|
// 审批通过
|
|
|
examinRefundSuccess(row) {
|
|
|
+ if(this.examinRefundLoading){
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this.examinRefundLoading = true;
|
|
|
examinRefundSuccess(row).then((res) => {
|
|
|
this.msgSuccess("退款成功");
|
|
|
this.getList();
|
|
|
+ }).finally(()=>{
|
|
|
+ this.examinRefundLoading = false;
|
|
|
});
|
|
|
},
|
|
|
// 驳回申请
|