diff --git a/jshERP-web/src/views/material/MaterialAttributeList.vue b/jshERP-web/src/views/material/MaterialAttributeList.vue index 2dca29b1..8489f313 100644 --- a/jshERP-web/src/views/material/MaterialAttributeList.vue +++ b/jshERP-web/src/views/material/MaterialAttributeList.vue @@ -3,6 +3,37 @@ + +
+ + + + + + + + + + + 查询 + 重置 + + + + +
+ +
+ 新增 + + + 删除 + + + 批量操作 + + +
编辑 + + + 删除 +
@@ -48,7 +84,7 @@ offset: 1 }, // 查询条件 - queryParam: {attributeField:''}, + queryParam: {attributeName:''}, // 表头 columns: [ { @@ -61,8 +97,8 @@ return parseInt(index)+1; } }, - {title: '属性名', dataIndex: 'attributeName', width: 100}, - {title: '属性值(用竖线隔开)', dataIndex: 'attributeValue', width: 400}, + {title: '属性名', dataIndex: 'attributeName', width: 200}, + {title: '属性值(用竖线隔开)', dataIndex: 'attributeValue', width: 500}, { title: '操作', dataIndex: 'action', @@ -82,7 +118,14 @@ }, methods: { - + handleEdit: function (record) { + this.$refs.modalForm.edit(record); + this.$refs.modalForm.title = "编辑"; + this.$refs.modalForm.disableSubmit = false; + if(this.btnEnableList.indexOf(1)===-1) { + this.$refs.modalForm.isReadOnly = true + } + } } } diff --git a/jshERP-web/src/views/material/MaterialList.vue b/jshERP-web/src/views/material/MaterialList.vue index 429e5df9..c81a3e67 100644 --- a/jshERP-web/src/views/material/MaterialList.vue +++ b/jshERP-web/src/views/material/MaterialList.vue @@ -83,7 +83,7 @@
新增 - +