fix:撤销前有提示

This commit is contained in:
shijing 2025-06-23 08:56:31 +08:00
parent ea9395bf14
commit f68a2e1b7f
2 changed files with 18 additions and 12 deletions

View File

@ -160,15 +160,19 @@
type="danger" type="danger"
v-if="scope.row.recive_mgroup == mgroupId&&scope.row.submit_time!== null&&scope.row.type == 10&&scope.row.mtype == 10" v-if="scope.row.recive_mgroup == mgroupId&&scope.row.submit_time!== null&&scope.row.type == 10&&scope.row.mtype == 10"
>退回</el-button> >退回</el-button>
<el-button
type="danger"
@click="table_reBack2(scope.row)"
v-if="scope.row.submit_time!== null&&(scope.row.type == 10||scope.row.type == 20)"
>撤消</el-button>
<el-button <el-button
@click="table_show(scope.row)" @click="table_show(scope.row)"
type="warning" type="warning"
>查看</el-button> >查看</el-button>
<el-popconfirm
title="确定撤消吗?"
v-if="scope.row.submit_time!== null&&(scope.row.type == 10||scope.row.type == 20)"
@confirm="table_reBack2(scope.row)"
>
<template #reference>
<el-button type="danger">撤消</el-button>
</template>
</el-popconfirm>
<el-button <el-button
@click="table_edit(scope.row)" @click="table_edit(scope.row)"
v-auth="'handover.update'" v-auth="'handover.update'"

View File

@ -187,19 +187,21 @@
type="danger" type="danger"
v-if="scope.row.recive_mgroup == mgroupId&&scope.row.submit_time!== null&&(scope.row.type == 10||scope.row.type == 20)&&scope.row.mtype == 10" v-if="scope.row.recive_mgroup == mgroupId&&scope.row.submit_time!== null&&(scope.row.type == 10||scope.row.type == 20)&&scope.row.mtype == 10"
>退回</el-button> >退回</el-button>
<el-button
link
size="small"
type="danger"
@click="table_reBack2(scope.row)"
v-if="scope.row.submit_time!== null&&(scope.row.type == 10||scope.row.type == 20)"
>撤消</el-button>
<el-button <el-button
link link
size="small" size="small"
@click="table_show(scope.row)" @click="table_show(scope.row)"
type="success" type="success"
>查看</el-button> >查看</el-button>
<el-popconfirm
title="确定撤消吗?"
v-if="scope.row.submit_time!== null&&(scope.row.type == 10||scope.row.type == 20)"
@confirm="table_reBack2(scope.row)"
>
<template #reference>
<el-button type="danger" link size="small">撤消</el-button>
</template>
</el-popconfirm>
<el-button <el-button
link link
size="small" size="small"