From 58e84408a3cdcd57a349fcd7faadf832361965ff Mon Sep 17 00:00:00 2001 From: ludc Date: 星期一, 17 七月 2023 14:17:37 +0800 Subject: [PATCH] 代码提交 --- Source/UBCS-WEB/src/views/code/code.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/views/code/code.vue b/Source/UBCS-WEB/src/views/code/code.vue index 2c009fa..c1a1e3a 100644 --- a/Source/UBCS-WEB/src/views/code/code.vue +++ b/Source/UBCS-WEB/src/views/code/code.vue @@ -1330,12 +1330,13 @@ 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; }, @@ -2541,6 +2542,7 @@ openAttrSelectOrGetValue(condition){ if(condition === 'attr'){ this.isShowSelectAttrOption = true; + this.loadlistClassifyLinkAttr(); }else if(condition === 'value'){ //鎵撳紑鍏紡缂栬緫妗嗭紝绗簩灞傚祵濂楀璇濇 //this.$refs.formulaEditor.isShowformulaEdit = true; -- Gitblit v1.9.3