From 46e44fbbdd94f84cee339d03d4bd838a5ba8045f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 08 十二月 2025 15:18:03 +0800
Subject: [PATCH] 1.南洋电缆添加条件
---
src/views/procurementManagement/procurementReport/index.vue | 33 +++++++++++++++++++++------------
1 files changed, 21 insertions(+), 12 deletions(-)
diff --git a/src/views/procurementManagement/procurementReport/index.vue b/src/views/procurementManagement/procurementReport/index.vue
index a12b4ba..f2b2268 100644
--- a/src/views/procurementManagement/procurementReport/index.vue
+++ b/src/views/procurementManagement/procurementReport/index.vue
@@ -54,7 +54,7 @@
/>
</el-form-item>
<el-form-item label="渚涘簲鍟嗭細" v-if="activeReport === 'supplierSummary'">
- <el-select v-model="searchForm.supplierId" placeholder="璇烽�夋嫨渚涘簲鍟�" clearable style="width: 200px">
+ <el-select v-model="searchForm.supplierId" placeholder="璇烽�夋嫨渚涘簲鍟�" clearable style="width: 200px" filterable>
<el-option
v-for="supplier in supplierList"
:key="supplier.id"
@@ -112,9 +112,9 @@
</div>
</div>
- <el-table :data="orderSummaryData" border v-loading="loading" stripe>
+ <el-table :data="orderSummaryData" border v-loading="loading" stripe style="width: 100%">
<el-table-column label="璁㈠崟缂栧彿" prop="orderNo" width="180" fixed="left" />
- <el-table-column label="渚涘簲鍟嗗悕绉�" prop="supplierName" width="150" />
+ <el-table-column label="渚涘簲鍟嗗悕绉�" prop="supplierName" min-width="150" />
<el-table-column label="璁㈠崟鏃ユ湡" prop="orderDate" width="120" />
<el-table-column label="璁″垝浜ゆ湡" prop="plannedDelivery" width="120" />
<el-table-column label="瀹為檯浜ゆ湡" prop="actualDelivery" width="120" />
@@ -160,11 +160,11 @@
</div>
</div>
- <el-table :data="orderDetailData" border v-loading="loading" stripe>
+ <el-table :data="orderDetailData" border v-loading="loading" stripe style="width: 100%">
<el-table-column label="璁㈠崟缂栧彿" prop="orderNo" width="150" fixed="left" />
<el-table-column label="鍟嗗搧缂栫爜" prop="productCode" width="120" />
- <el-table-column label="鍟嗗搧鍚嶇О" prop="productName" width="200" />
- <el-table-column label="瑙勬牸鍨嬪彿" prop="specification" width="150" />
+ <el-table-column label="鍟嗗搧鍚嶇О" prop="productName" min-width="200" />
+ <el-table-column label="瑙勬牸鍨嬪彿" prop="specification" min-width="150" />
<el-table-column label="鍗曚綅" prop="unit" width="80" />
<el-table-column label="璁″垝鏁伴噺" prop="plannedQuantity" width="100" />
<el-table-column label="宸叉敹璐ф暟閲�" prop="receivedQuantity" width="120" />
@@ -204,11 +204,11 @@
</div>
</div>
- <el-table :data="businessSummaryData" border v-loading="loading" stripe>
+ <el-table :data="businessSummaryData" border v-loading="loading" stripe style="width: 100%">
<el-table-column label="鍟嗗搧绫诲埆" prop="category" width="150" fixed="left" />
<el-table-column label="鍟嗗搧缂栫爜" prop="productCode" width="120" />
- <el-table-column label="鍟嗗搧鍚嶇О" prop="productName" width="200" />
- <el-table-column label="瑙勬牸鍨嬪彿" prop="specification" width="150" />
+ <el-table-column label="鍟嗗搧鍚嶇О" prop="productName" min-width="200" />
+ <el-table-column label="瑙勬牸鍨嬪彿" prop="specification" min-width="150" />
<el-table-column label="閲囪喘鏁伴噺" prop="purchaseQuantity" width="120" />
<el-table-column label="閲囪喘閲戦" prop="purchaseAmount" width="120">
<template #default="{ row }">楼{{ row.purchaseAmount.toLocaleString() }}</template>
@@ -217,7 +217,7 @@
<template #default="{ row }">楼{{ row.avgPrice.toFixed(2) }}</template>
</el-table-column>
<el-table-column label="閲囪喘娆℃暟" prop="purchaseCount" width="100" />
- <el-table-column label="涓昏渚涘簲鍟�" prop="mainSupplier" width="150" />
+ <el-table-column label="涓昏渚涘簲鍟�" prop="mainSupplier" min-width="150" />
<el-table-column label="鏈�鍚庨噰璐棩鏈�" prop="lastPurchaseDate" width="120" />
</el-table>
</div>
@@ -242,9 +242,9 @@
</div>
</div>
- <el-table :data="supplierSummaryData" border v-loading="loading" stripe>
+ <el-table :data="supplierSummaryData" border v-loading="loading" stripe style="width: 100%">
<el-table-column label="渚涘簲鍟嗙紪鐮�" prop="supplierCode" width="120" fixed="left" />
- <el-table-column label="渚涘簲鍟嗗悕绉�" prop="supplierName" width="200" />
+ <el-table-column label="渚涘簲鍟嗗悕绉�" prop="supplierName" min-width="200" />
<el-table-column label="鑱旂郴浜�" prop="contactPerson" width="120" />
<el-table-column label="鑱旂郴鐢佃瘽" prop="phone" width="130" />
<el-table-column label="渚涜揣璁㈠崟鏁�" prop="orderCount" width="120" />
@@ -805,6 +805,15 @@
:deep(.el-table) {
border-radius: 8px;
overflow: hidden;
+ width: 100% !important;
+}
+
+:deep(.el-table__body-wrapper) {
+ width: 100% !important;
+}
+
+:deep(.el-table__header-wrapper) {
+ width: 100% !important;
}
:deep(.el-table th) {
--
Gitblit v1.9.3