校验支付确认是否撤销

This commit is contained in:
2024-01-03 17:07:01 +08:00
parent 946325120d
commit 4c21bf1f9b
6 changed files with 122 additions and 12 deletions

View File

@@ -127,6 +127,13 @@
@click="handleDelete(scope.row)"
v-hasPermi="['member:memberGroup:remove']"
>删除</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-plus"
@click="handleAddMember(scope.row)"
v-hasPermi="['member:memberGroup:edit']"
>添加会员</el-button>
</template>
</el-table-column>
</el-table>
@@ -180,6 +187,11 @@
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
<!--添加会员-->
<el-dialog title="添加会员" :visible.sync="openAddMember" width="500px" append-to-body>
添加会员
</el-dialog>
</div>
</template>
@@ -193,7 +205,7 @@ export default {
dicts: ["group_type"],
data() {
return {
openAddMember: false,
// 遮罩层
loading: true,
// 选中数组
@@ -353,7 +365,16 @@ export default {
this.download('member/memberGroup/export', {
...this.queryParams
}, `memberGroup_${new Date().getTime()}.xlsx`)
}
},
/** 添加会员按钮 */
handleAddMember(row) {
this.reset();
const id = row.id || this.ids
getMemberGroup(id).then(response => {
this.form = response.data;
this.openAddMember = true;
});
},
}
};
</script>