From ea21bdf65a9967749ac9d7311b8e7b9e364b8a5c Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 26 六月 2025 11:35:28 +0800
Subject: [PATCH] 1.库存管理编辑弹框数据修改

---
 src/views/index.vue |   24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/src/views/index.vue b/src/views/index.vue
index 60dba1c..525a893 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -88,8 +88,8 @@
         <div class="card-header">
           <h3>閿�鍞暟鎹�</h3>
         </div>
-        <el-table 
-          :data="salesData" 
+        <el-table
+          :data="salesData"
           style="width: 100%"
           :header-cell-style="tableHeaderStyle"
         >
@@ -98,7 +98,7 @@
           <el-table-column prop="amount" label="閲戦" width="90"></el-table-column>
           <el-table-column prop="status" label="鐘舵��" width="70">
             <template #default="scope">
-              <el-tag 
+              <el-tag
                 :type="scope.row.status === '宸插畬鎴�' ? 'success' : 'warning'"
                 size="small"
               >
@@ -325,11 +325,12 @@
 }
 </script>
 
-<style scoped>
+<style scoped lang="scss">
 .dashboard {
   padding: 20px;
   background-color: #f5f7fa;
-  min-height: 100vh;
+  min-height: 91vh;
+  box-sizing: border-box;
 }
 
 /* 椤堕儴缁熻鍗$墖 */
@@ -507,7 +508,7 @@
 
 /* 琛ㄦ牸鏍峰紡璋冩暣 */
 .bottom-card.table {
-  min-width: 320px;
+  width: 100%;
 }
 
 .bottom-card.table .el-table {
@@ -518,7 +519,16 @@
 .bottom-card.table .el-table th {
   padding: 8px 0;
 }
-
+:deep(.el-scrollbar__view){
+  width: 100% !important;
+  
+}
+:deep(.el-table__header,){
+    width: 100% !important;
+  }
+:deep(.el-table__body,){
+    width: 100% !important;
+  }
 /* 鍝嶅簲寮忚璁� */
 @media (max-width: 1200px) {
   .bottom-section {

--
Gitblit v1.9.3