diff --git a/src/router/index.js b/src/router/index.js index bce8c29..2a2f95c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -43,7 +43,7 @@ export const constantRouterMap = [ name: 'product', component: () => import('@/views/pms/product/index'), meta: {title: '商品列表', icon: 'product-list'} - }, + }, { path: 'addProduct', name: 'addProduct', @@ -55,14 +55,14 @@ export const constantRouterMap = [ name: 'productRecycle', component: () => import('@/views/pms/product/index'), meta: {title: '商品回收站', icon: 'product-recycle'}, - hidden:true + hidden: true }, { path: 'productComment', name: 'productComment', component: () => import('@/views/pms/product/index'), meta: {title: '商品评价', icon: 'product-comment'}, - hidden:true + hidden: true }, { path: 'productCate', @@ -75,14 +75,14 @@ export const constantRouterMap = [ name: 'addProductCate', component: () => import('@/views/pms/productCate/add'), meta: {title: '添加商品分类'}, - hidden:true + hidden: true }, { path: 'updateProductCate', name: 'updateProductCate', component: () => import('@/views/pms/productCate/update'), meta: {title: '修改商品分类'}, - hidden:true + hidden: true }, { path: 'productAttr', @@ -95,21 +95,21 @@ export const constantRouterMap = [ name: 'productAttrList', component: () => import('@/views/pms/productAttr/productAttrList'), meta: {title: '商品属性列表'}, - hidden:true + hidden: true }, { path: 'addProductAttr', name: 'addProductAttr', component: () => import('@/views/pms/productAttr/addProductAttr'), meta: {title: '添加商品属性'}, - hidden:true + hidden: true }, { path: 'updateProductAttr', name: 'updateProductAttr', component: () => import('@/views/pms/productAttr/updateProductAttr'), meta: {title: '修改商品属性'}, - hidden:true + hidden: true }, { path: 'brand', @@ -122,14 +122,14 @@ export const constantRouterMap = [ name: 'addBrand', component: () => import('@/views/pms/brand/add'), meta: {title: '添加品牌'}, - hidden:true + hidden: true }, { path: 'updateBrand', name: 'updateBrand', component: () => import('@/views/pms/brand/update'), meta: {title: '编辑品牌'}, - hidden:true + hidden: true } ] }, diff --git a/src/views/pms/product/add.vue b/src/views/pms/product/add.vue index 51515f7..0b7f308 100644 --- a/src/views/pms/product/add.vue +++ b/src/views/pms/product/add.vue @@ -1,21 +1,159 @@ - + diff --git a/src/views/pms/product/components/addProductAttr.vue b/src/views/pms/product/components/addProductAttr.vue new file mode 100644 index 0000000..f7e5e2d --- /dev/null +++ b/src/views/pms/product/components/addProductAttr.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/src/views/pms/product/components/addProductInfo.vue b/src/views/pms/product/components/addProductInfo.vue new file mode 100644 index 0000000..2a66c25 --- /dev/null +++ b/src/views/pms/product/components/addProductInfo.vue @@ -0,0 +1,130 @@ + + + + + diff --git a/src/views/pms/product/components/addProductRelation.vue b/src/views/pms/product/components/addProductRelation.vue new file mode 100644 index 0000000..255fe57 --- /dev/null +++ b/src/views/pms/product/components/addProductRelation.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/pms/product/components/addProductSale.vue b/src/views/pms/product/components/addProductSale.vue new file mode 100644 index 0000000..df39f58 --- /dev/null +++ b/src/views/pms/product/components/addProductSale.vue @@ -0,0 +1,97 @@ + + + + +