材料站领料按钮权限
This commit is contained in:
parent
aafeb12989
commit
1c8528768f
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5">
|
<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>
|
||||||
<!-- <el-col :span="1.5">
|
<!-- <el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
|
|
@ -91,7 +91,8 @@
|
||||||
style="margin-bottom: 10px"
|
style="margin-bottom: 10px"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-if="scope.row.taskStatus == 1"
|
v-show="scope.row.taskStatus == 1"
|
||||||
|
v-hasPermi="['lease:info:edit']"
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
@ -103,7 +104,8 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="danger"
|
type="danger"
|
||||||
@click="handleDeletePurchase(scope.row)"
|
@click="handleDeletePurchase(scope.row)"
|
||||||
v-if="scope.row.taskStatus == 1"
|
v-show="scope.row.taskStatus == 1"
|
||||||
|
v-hasPermi="['lease:info:delete']"
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue