From 2993f2202d4acc47d7c65d0e40456c68c95d8cfb Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 02 八月 2023 11:30:02 +0800
Subject: [PATCH] 主数据表格错行-表头动态宽度-添加修改默认字段禁用

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

diff --git a/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue b/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue
index 3023328..ce30279 100644
--- a/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue
+++ b/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue
@@ -5,6 +5,7 @@
     <avue-form
       v-model="form"
       :option="option"
+      v-loading="loading"
       ref="form"
       :style="{ minHeight: loading ? '300px' : '' }"
       :key="updateIndex"
@@ -49,7 +50,7 @@
     // 榛樿绂佺敤鍏冪礌
     disabledProp: {
       type: Array,
-      default: () => ["id"],
+      default: () => ["id","lcstatus"],
     },
     templateOid: {
       type: String,
@@ -561,7 +562,7 @@
           maxlength: formItem.maxlength,
           filterable: true,
           referConfig:
-            formItem.type == "refer" 
+            formItem.type == "refer"
               ? {
                   title: formItem.text,
                   showField: formItem.showField || formItem.field,
@@ -603,7 +604,7 @@
       if (this.type === "add") {
         this.loading = false;
       }
-      
+
       this.geDictData(dictKeys);
       this.getFormDetail();
     },

--
Gitblit v1.9.3