驳回处理check追加

main
yangzhicheng 11 months ago
parent 2110ac4f37
commit 1faa770118
  1. 16
      src/views/spares/materialDetail.vue

@ -530,6 +530,14 @@
}); });
}, },
reject_in(row) { reject_in(row) {
if (row.istatus === 2)
{
this.$message({
type: "error",
message: "数据已经是已审核状态!"
});
return;
}
this.$confirm("是否将数据审核?", "提示", { this.$confirm("是否将数据审核?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
@ -580,6 +588,14 @@
}); });
}, },
reject_out(row) { reject_out(row) {
if (row.istatus === 2)
{
this.$message({
type: "error",
message: "数据已经是已审核状态!"
});
return;
}
this.$confirm("是否将数据审核?", "提示", { this.$confirm("是否将数据审核?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",

Loading…
Cancel
Save