admin-web/src/views/foundation/material/index.vue
@@ -218,7 +218,7 @@ { title: '编辑', events: (row) => { this.showAudit(row); this.showAdd(row.id); }, }, { @@ -294,14 +294,10 @@ .catch(() => { }); }, showAdd() { // if (!this.editSetting.orgId) { // this.$message.warning('请先选择左侧机构') // } else { this.editSetting.id = null; this.editSetting.title = '新增'; this.editSetting.show = true; // } showAdd(id) { this.editSetting.id = id; this.editSetting.title = id?'编辑':'新增'; this.editSetting.show = true; }, showSpecs(row) { this.specsSetting.goodsTemplatesId = row.id;