From 4d8ba785800a8c478f55d93ae274fcf7ac76a3aa Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期六, 23 九月 2023 14:24:23 +0800
Subject: [PATCH] feat: 调整各个表格列默认显隐/可配置情况

---
 src/views/supplierManage/supplier/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/supplierManage/supplier/index.vue b/src/views/supplierManage/supplier/index.vue
index 07c775c..985fb9a 100644
--- a/src/views/supplierManage/supplier/index.vue
+++ b/src/views/supplierManage/supplier/index.vue
@@ -160,10 +160,10 @@
         totalCount: 0
       },
       supplierId: 0,
-      showCol:['渚涘簲鍟嗙紪鍙�','渚涘簲鍟嗗悕绉�','渚涘簲鍟嗙被鍨�','鎵�灞炶涓�','鑱旂郴浜�','鑱旂郴鐢佃瘽','鐘舵��','鍒涘缓鏃堕棿'],
+      showCol:['渚涘簲鍟嗙紪鍙�','渚涘簲鍟嗗悕绉�','渚涘簲鍟嗙被鍨�','鎵�灞炶涓�','鑱旂郴浜�','鑱旂郴鐢佃瘽','鐘舵��'],
       tableColumn: [
         { label: "渚涘簲鍟嗙紪鍙�", prop: "number", min: 190, isCommonClick: true },
-        { label: "渚涘簲鍟嗗悕绉�", prop: "name", min: 130 },
+        { label: "渚涘簲鍟嗗悕绉�", prop: "name", min: 130, default: true },
         { label: "渚涘簲鍟嗙被鍨�", prop: "supplierType", min: 130 },
         { label: "鎵�灞炶涓�", prop: "industry", min: 130 },
         { label: "鑱旂郴浜�", prop: "contact", min: 130 },
@@ -174,7 +174,7 @@
       showProductCol:['浜у搧缂栫爜','浜у搧鍚嶇О','浜у搧瑙勬牸','鍗曚綅','閲囪喘浠锋牸','渚涜揣鏃堕暱(澶�)','鐗╂祦鏃堕暱(澶�)'],
       productColumn:[
         { label: "浜у搧缂栫爜", prop: "number", min: 190 },
-        { label: "浜у搧鍚嶇О", prop: "name", min: 130 },
+        { label: "浜у搧鍚嶇О", prop: "name", min: 130, default: true },
         { label: "浜у搧瑙勬牸", prop: "specifications", min: 130 },
         { label: "鍗曚綅", prop: "unit", min: 130 },
         { label: "閲囪喘浠锋牸", prop: "purchasePrice", min: 130 },
@@ -193,7 +193,7 @@
       return  this.tableColumn.map(ele=>{
         return {
           ...ele,
-          isShowColumn:showCol.includes(ele.label)
+          isShowColumn: showCol.includes(ele.label)
         }
       })
     },

--
Gitblit v1.8.0