Commit d86055d5 by 10_noah@other.ren

商家商品权限

parent 6a121f06
......@@ -23,9 +23,10 @@
<el-button type="button" size="small"
@click="lookDetail(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">详情</el-button>
<el-button type="button" size="small"
v-if="scope.row.auditState!=1"
v-if="permissions.admin_mallgoods_edit && scope.row.auditState!=1"
@click="handleUpdate(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">编辑</el-button>
<el-button type="button" size="small"
v-if="permissions.admin_mallgoods_del"
@click="handleDel(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">删除</el-button>
</template>
......@@ -33,18 +34,22 @@
<template slot-scope="scope" slot="menuLeft">
<div class="layout_h">
<el-button
v-if="permissions.admin_mallgoods_add"
type="primary"
size="small"
@click="add">添加</el-button>
<el-button
v-if="permissions.admin_mallgoods_updown"
type="primary"
size="small"
@click="batchIsUpon(scope.row)">上架</el-button>
<el-button
v-if="permissions.admin_mallgoods_updown"
type="primary"
size="small"
@click="batchIsNotUpon">下架</el-button>
<el-button
v-if="permissions.admin_mallgoods_del"
type="primary"
size="small"
@click="handleDelBatch(scope.row)">删除</el-button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment