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