From ddd17a7643ca777f70389ae9eacb75b8dba6beab Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 19 六月 2023 18:07:03 +0800
Subject: [PATCH] 联调物品主数据剩余功能,处理相似项查询

---
 Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue b/Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue
index 42912d0..acb2ed6 100644
--- a/Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue
+++ b/Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue
@@ -517,7 +517,6 @@
             collapse: true,
             column: [],
           });
-          return
         }
         if (
           formItem.type === "combox" &&
@@ -597,7 +596,7 @@
       this.$set(this.option, "column", column);
       this.$set(this.option, "group", group);
       this.formIndex++;
-      if (this.type === 'add' || this.type === 'preview') {
+      if (this.type === 'add') {
         this.loading = false;
       }
       this.geDictData(dictKeys);
@@ -653,11 +652,11 @@
       if (type === "truefalse") {
         return [
           {
-            key: 'false',
+            key: false,
             value: "鍚�",
           },
           {
-            key: 'true',
+            key: true,
             value: "鏄�",
           },
         ];
@@ -701,7 +700,7 @@
     },
     // 鑾峰彇琛ㄥ崟璇︽儏鏁版嵁
     getFormDetail() {
-      if (this.type === 'add' || this.type === 'preview') return
+      if (this.type === 'add') return
       getFormDetail({ templateOid: this.templateOid, oid: this.rowOid }).then(
         (res) => {
           this.form = Object.assign(this.form, res.data.data[0])

--
Gitblit v1.9.3