From 01b53033db11aa30ed6d408f6b5c8f27cd851b17 Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期五, 09 一月 2026 11:42:03 +0800
Subject: [PATCH] 1.基础数据-供应商黑名单,添加资质管理字段,可上传资质文件 2.采购管理-收货管理-添加入库数量输入和合格状态选择功能,实现采购异常记录的添加和更新接口 3.客户档案-分类功能,零售客户和进销商客户 4.添加采购审批页面,显示台账审批状态 5.固定资产核算界面,库存核算统计页面-移至军泰伟业

---
 src/components/PIMTable/PIMTable.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue
index c0a67a6..9dcd440 100644
--- a/src/components/PIMTable/PIMTable.vue
+++ b/src/components/PIMTable/PIMTable.vue
@@ -10,7 +10,7 @@
     :row-class-name="rowClassName"
     :row-style="rowStyle"
     :row-key="rowKey"
-    style="width: 100%"
+    :style="tableStyle"
     tooltip-effect="dark"
     :expand-row-keys="expandRowKeys"
     :show-summary="isShowSummary"
@@ -40,7 +40,7 @@
       :fixed="item.fixed"
       :label="item.label"
       :prop="item.prop"
-      show-overflow-tooltip
+      :show-overflow-tooltip="item.dataType !== 'action'"
       :align="item.align"
       :sortable="!!item.sortable"
       :type="item.type"
@@ -204,7 +204,6 @@
     </el-table-column>
   </el-table>
   <pagination
-    v-if="page.total > 0"
     :total="page.total"
     :layout="page.layout"
     :page="page.current"
@@ -313,6 +312,10 @@
     type: Number,
     default: 0,
   },
+  tableStyle: {
+    type: [String, Object],
+    default: () => ({ width: "100%" }),
+  },
 });
 
 // Data

--
Gitblit v1.9.3