zhuangxiangquanxiangaidong

This commit is contained in:
shijing 2022-06-13 11:08:17 +08:00
parent a214ea5ee4
commit 966930ba5b
1 changed files with 9 additions and 1 deletions

View File

@ -218,7 +218,12 @@
</el-table>
</el-tab-pane>
<el-tab-pane label="装箱单" name="5" v-if="this.type == 1">
<el-button type="primary" icon="el-icon-plus" @click="handleCreate">
<el-button
v-if="checkPermission(['packitem_create'])"
type="primary"
icon="el-icon-plus"
@click="handleCreate"
>
新增装箱单
</el-button>
<el-table
@ -246,12 +251,14 @@
>
<template slot-scope="scope">
<el-link
v-if="checkPermission(['packitem_update'])"
type="primary"
@click="handleEdit(scope)"
>
编辑
</el-link>
<el-link
v-if="checkPermission(['packitem_delete'])"
type="danger"
@click="handleDelete(scope)"
>
@ -405,6 +412,7 @@
this.getwproductList();
},
methods: {
checkPermission,
//新增装箱单
getMaterialist() {
getMaterialList({pageoff: true, type: 3}).then((response) => {