From 4486457e02c39a14d20ea791403f28ec0d5e8103 Mon Sep 17 00:00:00 2001
From: ZN <zhang_12370@163.com>
Date: 星期六, 28 三月 2026 11:28:22 +0800
Subject: [PATCH] feat(procurementLedger): 添加历史采购价格参考功能
---
src/components/PIMTable/PIMTable.vue | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue
index c0a67a6..1fa1695 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,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