From 7b7accc4ce1c1ccfc7a006980e1d3e4d0fbc56e8 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 06 一月 2026 16:57:33 +0800
Subject: [PATCH] 双奇点 1.编辑采购台账时,删除产品时,弹出两个提示需修改下 2.采购台账添加附件操作按钮和页面

---
 src/components/PIMTable/PIMTable.vue |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue
index c0a67a6..12d73ad 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"
@@ -204,7 +204,7 @@
     </el-table-column>
   </el-table>
   <pagination
-    v-if="page.total > 0"
+		v-if="isShowPage"
     :total="page.total"
     :layout="page.layout"
     :page="page.current"
@@ -268,6 +268,10 @@
     type: Boolean,
     default: false,
   },
+	isShowPage: {
+    type: Boolean,
+    default: true,
+  },
   isShowSummary: {
     type: Boolean,
     default: false,
@@ -313,6 +317,10 @@
     type: Number,
     default: 0,
   },
+  tableStyle: {
+    type: [String, Object],
+    default: () => ({ width: "100%" }),
+  },
 });
 
 // Data

--
Gitblit v1.9.3