材料站领料按钮权限

This commit is contained in:
bb_pan 2025-08-05 21:27:49 +08:00
parent aafeb12989
commit 1c8528768f
1 changed files with 5 additions and 3 deletions

View File

@ -43,7 +43,7 @@
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd">领料申请</el-button>
<el-button type="primary" plain icon="el-icon-plus" size="mini" v-hasPermi="['lease:info:add']" @click="handleAdd">领料申请</el-button>
</el-col>
<!-- <el-col :span="1.5">
<el-button
@ -91,7 +91,8 @@
style="margin-bottom: 10px"
type="primary"
@click="handleUpdate(scope.row)"
v-if="scope.row.taskStatus == 1"
v-show="scope.row.taskStatus == 1"
v-hasPermi="['lease:info:edit']"
>
编辑
</el-button>
@ -103,7 +104,8 @@
size="mini"
type="danger"
@click="handleDeletePurchase(scope.row)"
v-if="scope.row.taskStatus == 1"
v-show="scope.row.taskStatus == 1"
v-hasPermi="['lease:info:delete']"
>
删除
</el-button>