diff --git a/src/router/full-routers.js b/src/router/full-routers.js index fe7a742..d307d85 100644 --- a/src/router/full-routers.js +++ b/src/router/full-routers.js @@ -93,6 +93,33 @@ export default { open: null, list: [], }, + { + menuId: getUUID(), + parentId: 0, + parentName: null, + name: "品牌管理", + url: "", + perms: "", + type: 0, + elIcon: "el-icon-money", + orderNum: 0, + open: null, + list: [ + { + menuId: getUUID(), + parentId: 0, + parentName: null, + name: "品牌管理", + url: "brand/config/index", + perms: "", + type: 1, + elIcon: "el-icon-postcard", + orderNum: 0, + open: null, + list: [], + }, + ], + }, // { // "menuId": getUUID(), // "parentId": 0, diff --git a/src/views/modules/brand/config/index.vue b/src/views/modules/brand/config/index.vue new file mode 100644 index 0000000..779b365 --- /dev/null +++ b/src/views/modules/brand/config/index.vue @@ -0,0 +1,108 @@ + + + + + \ No newline at end of file diff --git a/src/views/modules/brand/config/popup/add-or-update.vue b/src/views/modules/brand/config/popup/add-or-update.vue new file mode 100644 index 0000000..ed99012 --- /dev/null +++ b/src/views/modules/brand/config/popup/add-or-update.vue @@ -0,0 +1,148 @@ + + + \ No newline at end of file diff --git a/src/views/modules/product/index.vue b/src/views/modules/product/index.vue index bf23e1a..959977d 100644 --- a/src/views/modules/product/index.vue +++ b/src/views/modules/product/index.vue @@ -1,73 +1,78 @@ @@ -95,6 +100,7 @@ export default { }, productFilterType: "SALE", selectList: [], + shopId: sessionStorage.getItem("userInfo").shopId, }; }, methods: { @@ -289,7 +295,7 @@ export default { render: ({ row }) => { let edit = () => { console.log(row); - + this.$refs.addOrUpdate.toggle(row).update(); }; let priceAdjustment = () => {