feat:禅道414

This commit is contained in:
shijing 2026-05-19 15:23:51 +08:00
parent b3c7491265
commit 18e7cef648
1 changed files with 22 additions and 1 deletions

View File

@ -286,9 +286,15 @@
show-overflow-tooltip
>
</el-table-column>
<el-table-column width="90" v-if="cate=='do_in'|| cate=='do_out'">
<el-table-column width="100" v-if="cate=='do_in'|| cate=='do_out'">
<template #default="scope">
<el-button @click="printMaterial(scope.row)" type="text">打签</el-button>
<el-button
link
type="danger"
@click="check_revert(scope.row)"
v-auth="'mio.update'"
>撤回</el-button>
</template>
</el-table-column>
</scTable>
@ -590,6 +596,21 @@ export default {
that.$refs.printmaterial.open();
})
},
//
check_revert(row){
let that = this;
that.$confirm(`该记录已提交,确定撤回吗?`, "提示", {
type: "warning",
}).then(() => {
console.log('确定删除');
that.$API.inm.mioitem.revertDel.req(row.id).then((res) => {
that.$message.success("撤回成功");
that.getTableData();
}).catch((err) => {
return err;
});
}).catch(() => {});
},
//
handleSaveSuccess() {
this.$refs.tables.refresh();