From ae5807029edabde0b1e1488c090bd830fccf75a7 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期一, 18 九月 2023 16:13:07 +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