From af5e92df80064c23b32df1cdce651a8bc5d224ec Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 05 十二月 2024 12:50:27 +0800
Subject: [PATCH] 修改整体表格样式

---
 north-glass-erp/northglass-erp/src/views/pp/productionBasicData/AddTeamGroup.vue |   77 +++++++++++++++++++++-----------------
 1 files changed, 43 insertions(+), 34 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/pp/productionBasicData/AddTeamGroup.vue b/north-glass-erp/northglass-erp/src/views/pp/productionBasicData/AddTeamGroup.vue
index 1feac71..655db06 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/productionBasicData/AddTeamGroup.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/productionBasicData/AddTeamGroup.vue
@@ -163,44 +163,44 @@
 </script>
 
 <template>
-  <div class="main-div-customer">
-    <vxe-grid
-        ref="xGrid"
-        class="mytable-scrollbar"
-        max-height="100%"
-        height="650px"
-        v-bind="gridOptions"
-        v-on="teamGridEvents"
-        @filter-change="filterChanged"
+  <div  style="width: 100%;height: 100%">
+    <div class="main-table">
+      <vxe-grid
+          ref="xGrid"
+          class="mytable-scrollbar"
+          height="100%"
+          v-bind="gridOptions"
+          v-on="teamGridEvents"
+          @filter-change="filterChanged"
 
-    >
+      >
 
-      <template #num1_filter="{ column, $panel }">
-        <div>
-          <div v-for="(option, index) in column.filters" :key="index">
-            <input v-model="option.data" type="type"
-                   @keyup.enter.native="$panel.confirmFilter()"
-                   @input="changeFilterEvent($event, option, $panel)"/>
+        <template #num1_filter="{ column, $panel }">
+          <div>
+            <div v-for="(option, index) in column.filters" :key="index">
+              <input v-model="option.data" type="type"
+                     @keyup.enter.native="$panel.confirmFilter()"
+                     @input="changeFilterEvent($event, option, $panel)"/>
+            </div>
           </div>
-        </div>
-      </template>
-      <template #basicCategory="{ row }">
-        <vxe-select v-model="row.basicCategory"
-                    clearable
-                    filterable
-                    placeholder="">
-          <vxe-option v-for="item in titleSelectJson.processType"
-                      :key="item.basic_name"
-                      :label="item.basic_name"
-                      :value="item.basic_name"/>
-        </vxe-select>
-      </template>
-      <template #basicCategory_default="{ row }">
-        <span>{{ row.basicCategory }}</span>
-      </template>
+        </template>
+        <template #basicCategory="{ row }">
+          <vxe-select v-model="row.basicCategory"
+                      clearable
+                      filterable
+                      placeholder="">
+            <vxe-option v-for="item in titleSelectJson.processType"
+                        :key="item.basic_name"
+                        :label="item.basic_name"
+                        :value="item.basic_name"/>
+          </vxe-select>
+        </template>
+        <template #basicCategory_default="{ row }">
+          <span>{{ row.basicCategory }}</span>
+        </template>
 
-    </vxe-grid>
-
+      </vxe-grid>
+    </div>
   </div>
 </template>
 
@@ -209,6 +209,15 @@
   width: 99%;
   height: 100%;
 }
+.head{
+  width: 100%;
+  height: 35px;
+}
+
+.main-table{
+  width: 100%;
+  height: calc(100% - 0px);
+}
 .vxe-grid {
   /* 绂佺敤娴忚鍣ㄩ粯璁ら�変腑 */
   -webkit-user-select: none;

--
Gitblit v1.8.0