+
+
+
+
+
+
+
+
+
+
+
+
+
+ 普通
+ 颜色
+
+
+
+
+ 不需要检索
+ 关键字检索
+ 范围检索
+
+
+
+
+ 是
+ 否
+
+
+
+
+ 唯一
+ 单选
+ 复选
+
+
+
+
+ 手工录入
+ 从下面列表中选择
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+ 提交
+ 重置
+
+
+
+
+
+
+
+
diff --git a/src/views/pms/productAttr/productAttrList.vue b/src/views/pms/productAttr/productAttrList.vue
index 2150be6..b707601 100644
--- a/src/views/pms/productAttr/productAttrList.vue
+++ b/src/views/pms/productAttr/productAttrList.vue
@@ -127,7 +127,7 @@
});
},
addProductAttr() {
- console.log("addProductAttr");
+ this.$router.push({path:'/pms/addProductAttr',query:{cid:this.$route.query.cid,type:this.$route.query.type}});
},
handleSelectionChange(val) {
this.multipleSelection = val;
@@ -165,7 +165,7 @@
this.getList();
},
handleUpdate(index, row) {
- console.log("handleUpdate");
+ this.$router.push({path:'/pms/updateProductAttr',query:{id:row.id}});
},
handleDeleteProductAttr(ids) {
this.$confirm('是否要删除该属性', '提示', {
diff --git a/src/views/pms/productAttr/updateProductAttr.vue b/src/views/pms/productAttr/updateProductAttr.vue
new file mode 100644
index 0000000..f1aefca
--- /dev/null
+++ b/src/views/pms/productAttr/updateProductAttr.vue
@@ -0,0 +1,15 @@
+