From ad2a32d607fb4ac1183ae9695d0ee15b239d0fc9 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 16 十月 2023 17:09:26 +0800
Subject: [PATCH] 主数据生命周期Bug

---
 Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
index 791d4d1..f558240 100644
--- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -52,7 +52,7 @@
                   </el-link>
                 </template>
               </el-table-column>
-              <el-table-column v-for="item in this.tableHeadFindData" v-if="!item.hidden && item.prop !== 'id'"
+              <el-table-column v-for="item in this.tableHeadFindData" v-if="!item.hidden && item.prop !== 'id' && item.prop !== 'lcstatus'"
                                :key="item.id"
                                :formatter="item.formatter"
                                :label="item.label" :prop="item.prop"
@@ -60,6 +60,13 @@
                                :sortable="item.sortable"
                                :width="item.width"
                                align="center">
+              </el-table-column>
+              <el-table-column  v-for="item in lcstatusArray" v-if="!item.hidden" label="鐢熷懡鍛ㄦ湡鍊�" prop="lcstatus"
+                                :show-overflow-tooltip="true" :sortable="item.sortable" :width="item.width"
+                                align="center">
+                <template slot-scope="scope">
+                  <span>{{ scope.row.lcstatus_text }}</span>
+                </template>
               </el-table-column>
             </el-table>
           </el-row>
@@ -220,6 +227,8 @@
       LinkList: [],
       isCodeArrayPushed: false, // 缂栫爜鏁扮粍娣诲姞鏍囪瘑鍙橀噺
       CodeArray: [],
+      lcstatusArray:[],
+      islcstatusPushed:false,
       // 鐘舵�佹悳绱�
       statusSelect: "all",
       // 鍏抽敭瀛楁煡璇�
@@ -375,7 +384,11 @@
         if (!this.isCodeArrayPushed) {
           this.CodeArray.push(newval.find(item => item.prop === 'id'))
           this.isCodeArrayPushed = true
-        }
+        };
+        if (!this.islcstatusPushed) {
+          this.lcstatusArray.push(newval.find(item => item.prop === 'lcstatus'))
+          this.islcstatusPushed = true
+        };
         // console.log('new',newval)
         this.WupinFindValue = ''
       },
@@ -750,7 +763,7 @@
     },
     // 鎺掑簭
     sortChange(val) {
-      console.log(val)
+      // console.log(val)
       this.isLoading = true;
       let order = "";
       if (val.order == "ascending") {

--
Gitblit v1.9.3