feat(productMange): 全网商品管理权限控制

This commit is contained in:
woody 2025-08-12 09:52:20 +08:00
parent b00c0b6d95
commit 46ce1edd60
2 changed files with 7 additions and 4 deletions

View File

@ -125,11 +125,11 @@ export default {
data() { data() {
return { return {
defaultSelected: 'wholeNetworkProductManageDetails', defaultSelected: 'productManageDetails',
topList: [ topList: [
{ {
name: '全网商品管理详情', name: '全网商品管理详情',
path: 'wholeNetworkProductManageDetails' path: 'productManageDetails'
} }
], ],
tableData: [], tableData: [],

View File

@ -117,6 +117,7 @@
详情 详情
</el-button> </el-button>
<el-button <el-button
v-hasButtons="['WholeNetworkProductManageListUpdate']"
type="text" type="text"
size="small" size="small"
style="color: rgb(55, 191, 70); padding: 0" style="color: rgb(55, 191, 70); padding: 0"
@ -125,6 +126,7 @@
修改 修改
</el-button> </el-button>
<el-button <el-button
v-hasButtons="['WholeNetworkProductManageListUpdateInventory']"
type="text" type="text"
size="small" size="small"
style="padding: 0; color: #f3a900" style="padding: 0; color: #f3a900"
@ -133,6 +135,7 @@
修改库存 修改库存
</el-button> </el-button>
<el-button <el-button
v-hasButtons="['WholeNetworkProductManageListDel']"
type="text" type="text"
size="small" size="small"
style="padding: 0; color: #c8161d" style="padding: 0; color: #c8161d"
@ -188,11 +191,11 @@ export default {
}, },
data() { data() {
return { return {
defaultSelected: 'wholeNetworkProductManageList', defaultSelected: 'productManage',
topList: [ topList: [
{ {
name: '全网商品管理', name: '全网商品管理',
path: 'wholeNetworkProductManageList' path: 'productManage'
} }
], ],
tableData: [], tableData: [],