From c9fbfd1511cfee19ec017bedd8160739ae5afc98 Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期日, 26 十一月 2023 14:05:26 +0800 Subject: [PATCH] 修复关键属性重复,如果是当前分类则返回编码,如果是其他分类则给出提示 --- Source/UBCS-WEB/src/components/FormTemplate/index.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue index fd884ed..fb3a61b 100644 --- a/Source/UBCS-WEB/src/components/FormTemplate/index.vue +++ b/Source/UBCS-WEB/src/components/FormTemplate/index.vue @@ -320,15 +320,16 @@ }, getFormData(form) { this.form = form; + //灞炴�х爜娈佃祴鍊� if (this.attrList) { this.attrList.forEach(item => { if (this.form.hasOwnProperty(item.referAttributeId)) { - let oid = item.oid; // 澹版槑涓�涓彉閲忚褰曚笅涓�鑷寸殑item鐨刼id - this.codeApplyForm[oid] = this.form[item.referAttributeId] ; + this.codeApplyForm[item.oid] = this.form[item.referAttributeId]; } }) } }, + //灞炴�х爜娈佃祴鍊� attrListForm(attrListForm){ this.attrList=attrListForm; }, -- Gitblit v1.9.3