diff --git a/src/api/adminmallapi.js b/src/api/adminmallapi.js new file mode 100644 index 0000000..c909b71 --- /dev/null +++ b/src/api/adminmallapi.js @@ -0,0 +1,18 @@ +import request from '@/utils/request' + +export default { + // 品牌列表 + listAllBrand: function(params) { + return request({ + url: '/adminapi/mall/listAllBrand', + method: 'get' + }) + }, + // 品牌列表 + listAllCategory: function(params) { + return request({ + url: '/adminapi/mall/listAllCategory', + method: 'get' + }) + } +} diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index f5d2c29..7ededd8 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -62,25 +62,27 @@ }, name: '/pms', path: '/pms', - children: [{ - alwaysShow: true, - component: 'product', - meta: { - icon: 'el-icon-help', - title: '商品列表' - }, - name: '/pms/product', - path: '/pms/product' - }, - { - path: '/pms/addProduct', - name: '/pms/addProduct', - component: 'addProduct', - meta: { - title: '添加商品', - icon: 'el-icon-help' - } - }, { + children: [ + // { + // alwaysShow: true, + // component: 'product', + // meta: { + // icon: 'el-icon-help', + // title: '商品列表' + // }, + // name: '/pms/product', + // path: '/pms/product' + // }, + // { + // path: '/pms/addProduct', + // name: '/pms/addProduct', + // component: 'addProduct', + // meta: { + // title: '添加商品', + // icon: 'el-icon-help' + // } + // }, + { alwaysShow: true, component: 'brand', meta: { @@ -98,16 +100,17 @@ }, name: '/pms/productCate', path: '/pms/productCate' - }, { - alwaysShow: true, - component: 'productAttr', - meta: { - icon: 'el-icon-help', - title: '商品类型' - }, - name: '/pms/productAttr', - path: '/pms/productAttr' } + // , { + // alwaysShow: true, + // component: 'productAttr', + // meta: { + // icon: 'el-icon-help', + // title: '商品类型' + // }, + // name: '/pms/productAttr', + // path: '/pms/productAttr' + // } ] }, { diff --git a/src/views/commodity/commodityAdd.vue b/src/views/commodity/commodityAdd.vue index 826dd2f..1bea44e 100644 --- a/src/views/commodity/commodityAdd.vue +++ b/src/views/commodity/commodityAdd.vue @@ -1,85 +1,131 @@ @@ -268,4 +346,4 @@ } } - \ No newline at end of file + diff --git a/src/views/pms/brand/components/BrandDetail.vue b/src/views/pms/brand/components/BrandDetail.vue index 21c3c85..74cdbda 100644 --- a/src/views/pms/brand/components/BrandDetail.vue +++ b/src/views/pms/brand/components/BrandDetail.vue @@ -32,6 +32,12 @@ + + + + + + 提交 重置 @@ -55,7 +61,9 @@ logo: '', name: '', showStatus: 0, - sort: 0 + sort: 0, + qssl: 0, + dgxy: '' } export default { name: 'BrandDetail', diff --git a/src/views/pms/product/components/ProductInfoDetail.vue b/src/views/pms/product/components/ProductInfoDetail.vue index 83bc00b..f9603db 100644 --- a/src/views/pms/product/components/ProductInfoDetail.vue +++ b/src/views/pms/product/components/ProductInfoDetail.vue @@ -1,33 +1,34 @@