|
@@ -174,8 +174,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" width="160">
|
|
|
<template slot-scope="scope">
|
|
|
- <!--todo 设置按钮权限-->
|
|
|
- <el-button type="text" :disabled="booLock" @click="showStoragedialogForm(scope.row)">是否售罄</el-button>
|
|
|
+ <el-button v-permission="'business_pms_goods_storage'" :disabled="booLock" type="text" @click="showStoragedialogForm(scope.row)">是否售罄</el-button>
|
|
|
<el-button type="text" v-permission="'business_pms_goods_edit'" @click="edit(scope.row)">编辑</el-button>
|
|
|
<el-button type="text" v-permission="'business_pms_goods_del'" @click="del(scope.row)">删除</el-button>
|
|
|
</template>
|