diff --git a/src/api/product/category.js b/src/api/product/category.js index 889eebe..fade048 100644 --- a/src/api/product/category.js +++ b/src/api/product/category.js @@ -16,6 +16,13 @@ export function getCategory(id) { method: 'get' }) } +// 查询品类共有元素 +export function getTemplateAttribute(id) { + return request({ + url: '/product/category/getTemplateAttribute/' + id, + method: 'get' + }) +} // 查询品类信息详细 export function parentCommonElement(id) { diff --git a/src/views/product/info/index.vue b/src/views/product/info/index.vue index db64019..a69600e 100644 --- a/src/views/product/info/index.vue +++ b/src/views/product/info/index.vue @@ -143,39 +143,187 @@ + + + + + + - - - - - - - - - - - - - - - {{dict.label}} - - - - - - - - - - - +
+ + + + + + + + + + {{dict.label}} + + + + + + + + + + + +
{{brand.nam}}
+
+
+
+
+
+ + + + + +
+ + + + + + + + + + +
+
+ + + + + + + + +
+ 属性组【{{templateAttributeGroup.groupName}}】 +
+
+ + + + + +
+
+
+
+
+ + + + + + + + + + + + + +
+ 添加商品属性 +
+ + 添加自有属性 + + + + + + + + + + + + 确定 + + + +
+ + +
+ 选择属性 +
+ + + + + + + +
+ +
+ 属性值填写 +
+ + + + + + + + + +
+
+
+
+
+ + + + {{rule.name}} - {{rule.ruleAttrList.map(ruleAttr => ruleAttr.name).toString()}} + + + +
+
+ + + +
@@ -185,6 +333,9 @@ +