From 9b51b2a07769ee049937e16dd45d8c36c87dcc3c Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 08 十二月 2023 17:13:01 +0800 Subject: [PATCH] 主数据 枚举配置模板配置 参照配置表格显示问题处理 --- Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue | 17 +++++++---------- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue b/Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue index 7195205..fb1e119 100644 --- a/Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue +++ b/Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue @@ -36,7 +36,7 @@ ref="FormTemplateDialog" type="detail" :visible.sync="formTemplateVisible" - :templateOid="this.resembleTemplateOid" + :templateOid="resembleTemplateOid" :rowOid="rowOid" title="鏌ョ湅璇︾粏淇℃伅" :codeClassifyOid="this.resembleCodeClassifyOid" @@ -70,11 +70,7 @@ type: { type: String, default: "add", - }, - form: { - type: Object, - default: () => ({}), - }, + } }, data() { return { @@ -82,8 +78,8 @@ activeName: "findlike", tableData: [], loading: false, - resembleTemplateOid: "78B8C7C5-A042-0B96-FE6D-65421451782A", - resembleCodeClassifyOid: "4524E801-6CC6-92E8-1AC3-2AB9604E8F96", + resembleTemplateOid: "", + resembleCodeClassifyOid: "", rowOid: '', defaultValue: {}, secVOList: [], @@ -142,8 +138,9 @@ }, openFormTemlpate(row) { - this.codetemplateoid = row.codetemplateoid; - this.rowOid = row.iod + this.resembleTemplateOid = row.codetemplateoid + this.resembleCodeClassifyOid = row.codeClassifyOid + this.rowOid = row.oid this.formTemplateVisible = true; }, getDefaultValueAndFormValues(form) { -- Gitblit v1.9.3