| | |
| | | this.$message.warning("请选择一条数据!"); |
| | | return false; |
| | | } |
| | | const attr = this.selectAttrParams.selectionChangeAttrList[0]; |
| | | //调用子组件并传递当前选中的参数值,实现回显 |
| | | this.form = Object.assign({}, this.form, { |
| | | referAttributeId:this.selectAttrParams.selectionChangeAttrList[0].id, |
| | | referAttributeName:this.selectAttrParams.selectionChangeAttrList[0].name, |
| | | referCodeClassifyOid: this.currentSelectTreeData.key, |
| | | referCodeClassifyOidName: this.currentSelectTreeData.title, |
| | | referAttributeId: attr.id || '', |
| | | referAttributeName: attr.name || attr.id, |
| | | referCodeClassifyOid: this.currentSelectTreeData.key || '', |
| | | referCodeClassifyOidName: this.currentSelectTreeData.title || '', |
| | | }) |
| | | this.isShowSelectAttrOption = false; |
| | | }, |
| | |
| | | openAttrSelectOrGetValue(condition){ |
| | | if(condition === 'attr'){ |
| | | this.isShowSelectAttrOption = true; |
| | | this.loadlistClassifyLinkAttr(); |
| | | }else if(condition === 'value'){ |
| | | //打开公式编辑框,第二层嵌套对话框 |
| | | //this.$refs.formulaEditor.isShowformulaEdit = true; |