Commit b72b9408 authored by Mac's avatar Mac

1

parent a0979b29
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="address" width="200" label="操作"> <el-table-column prop="address" width="200" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<img @click="goGoodsEdit(scope.row.Id)" style="width:32px;height:32px;margin:0 10px" v-if="currentUserInfo.empid == 0 || currentUserInfo.IsOtherUpdateGoods ==1" <img @click="goGoodsEdit(scope.row.Id)" style="width:32px;height:32px;margin:0 10px" v-if="currentUserInfo.empid == 0 || currentUserInfo.IsOtherUpdateGoods ==1 || currentUserInfo.currentUserInfo==scope.row.CreateBy"
src="../../assets/img/userman/edit.png" alt=""> src="../../assets/img/userman/edit.png" alt="">
<img @click="Delete(scope.row)" style="width:32px;height:32px;margin:0 10px" <img @click="Delete(scope.row)" style="width:32px;height:32px;margin:0 10px"
src="../../assets/img/userman/del.png" alt=""> src="../../assets/img/userman/del.png" alt="">
......
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
this.apipost("/api/Employee/GetRoleList", {}, res => { this.apipost("/api/Employee/GetRoleList", {}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.RoleList = res.data.data; this.RoleList = res.data.data;
if(userInfo && userInfo.TenantId==1 && userInfo.MallBaseId==1){ if(userInfo && userInfo.TenantId==1 && userInfo.MallBaseId==1){//判断是否是赞羊的
let obj={RoleId:-1,RoleName:'修改他人商品'} let obj={RoleId:-1,RoleName:'修改他人商品'}
this.RoleList.push(obj) this.RoleList.push(obj)
} }
......
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