diff --git a/src/views/product/info/index.vue b/src/views/product/info/index.vue
index b1da988..f179ca4 100644
--- a/src/views/product/info/index.vue
+++ b/src/views/product/info/index.vue
@@ -305,7 +305,7 @@
-
+
+
+
+
@@ -404,7 +410,26 @@ export default {
templateAttributeGroupList: [],
templateAttributeList: [],
attributeList: []
- }
+ },
+ titleList: [
+ {
+ "label":"商品库存",
+ "prop":"stock"
+ }, {
+ "label":"商品价格",
+ "prop":"price"
+ }, {
+ "label":"规格图片",
+ "prop":"image"
+ }
+ ],
+ skuList: [
+ {
+ "image": "123",
+ "price": 85.62,
+ "stock": 236
+ }
+ ]
};
},
watch: {
@@ -441,6 +466,10 @@ export default {
this.getList();
},
methods: {
+ changeRule(ruleId){
+ let ruleInfo = this.ruleList.find(ruleInfo => ruleInfo.id === ruleId);
+ console.log(ruleInfo);
+ },
saveCustomAttribute(){
addAttribute({"code": this.customAttributeForm.code, "name": this.customAttributeForm.name}).then(response => {
if (response.code === 200){