From 504039db415ca1c04c114dba3d8edc551d34d2c7 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 14 九月 2023 15:11:48 +0800
Subject: [PATCH] 日期码段 回显

---
 Source/UBCS-WEB/src/components/FormTemplate/index.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue
index 2f714ce..04ea8ba 100644
--- a/Source/UBCS-WEB/src/components/FormTemplate/index.vue
+++ b/Source/UBCS-WEB/src/components/FormTemplate/index.vue
@@ -13,6 +13,7 @@
     <FormTemplate
       v-bind="$attrs"
       :type="type"
+      :TreeValue="TreeValue"
       :rowOid="rowOid"
       :templateOid="templateOid"
       v-if="dialogVisible"
@@ -91,6 +92,10 @@
       type: Boolean,
       default: false,
     },
+    TreeValue:{
+      type: String,
+      default: "",
+    },
     type: {
       type: String,
       default: "add",
@@ -142,7 +147,7 @@
         coderefersec: "refer",//寮曠敤鐮佹
         codeattrsec: "text",
         codelevelsec: "text",
-        codedatesec: "text"
+        codedatesec: "date"
       },
       selfColumnConfig: {
         function: {
@@ -291,7 +296,7 @@
             that.showCodeApply = true;
             that.activeName = "codeApply";
             that.$nextTick(() => {
-              that.$refs.CodeApply.templateRender(that.secVOList);
+              that.$refs.CodeApply.templateRender(that.secVOList,this.TreeValue);
             });
           } else {
             that.showCodeApply = false;
@@ -319,7 +324,7 @@
         }
         return item;
       });
-      this.$refs.CodeApply.templateRender(this.secVOList);
+      this.$refs.CodeApply.templateRender(this.secVOList,this.TreeValue);
     },
     resembleQuerySubmit() {
       this.activeName = "resembleQuery";

--
Gitblit v1.9.3