Commit dd9ce07a authored by Mac's avatar Mac

1

parent ce27d61f
......@@ -377,7 +377,7 @@
</el-table-column>
<el-table-column prop="address" width="250" label="操作">
<template slot-scope="scope">
<img
<!-- <img
@click="goGoodsEdit(scope.row.Id)"
style="width: 32px; height: 32px; margin: 0 10px"
v-if="
......@@ -404,7 +404,21 @@
style="width: 32px; height: 32px; margin: 0 10px"
src="../../assets/img/userman/del.png"
alt=""
/>
/> -->
<span v-if="currentUserInfo.TenantId == 1 && currentUserInfo.MallBaseId ==1 && (currentUserInfo.EmpId == 0 || currentUserInfo.IsOtherUpdateGoods ==1 || currentUserInfo.EmpId==scope.row.CreateBy)">
<img @click="goGoodsEdit(scope.row.Id)" style="width:32px;height:32px;margin:0 10px"
src="../../assets/img/userman/edit.png" alt="">
<img @click="Delete(scope.row)" style="width:32px;height:32px;margin:0 10px"
src="../../assets/img/userman/del.png" alt="">
</span>
<span v-if="currentUserInfo.TenantId != 1 && currentUserInfo.MallBaseId !=1">
<img @click="goGoodsEdit(scope.row.Id)" style="width:32px;height:32px;margin:0 10px"
src="../../assets/img/userman/edit.png" alt="">
<img @click="Delete(scope.row)" style="width:32px;height:32px;margin:0 10px"
src="../../assets/img/userman/del.png" alt="">
</span>
<el-tooltip
effect="dark"
content="提交分销"
......@@ -1242,6 +1256,8 @@ export default {
if (msg.Id == "") {
msg.Id = 0;
}
msg.EmpId = this.currentUserInfo.EmpId
msg.IsOtherUpdateGoods = this.currentUserInfo.IsOtherUpdateGoods
this.loading = true;
this.apipost("/api/product/GetProductGoodsPageList", msg, (res) => {
this.loading = false;
......
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