From 1390eec135de33236c025457d5b21008b67f33c8 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期日, 11 十月 2026 14:06:21 +0800
Subject: [PATCH] fix: 优化日期格式化显示逻辑
---
src/views/salesManagement/strategyControl/index.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/salesManagement/strategyControl/index.vue b/src/views/salesManagement/strategyControl/index.vue
index dbdae38..258ac56 100644
--- a/src/views/salesManagement/strategyControl/index.vue
+++ b/src/views/salesManagement/strategyControl/index.vue
@@ -63,7 +63,7 @@
</el-table-column>
<el-table-column prop="validPeriod" label="鏈夋晥鏈�" width="200">
<template #default="scope">
- {{ scope.row.startDate }} 鑷� {{ scope.row.endDate }}
+ {{ $d(scope.row.startDate) }} 鑷� {{ $d(scope.row.endDate) }}
</template>
</el-table-column>
<el-table-column prop="status" label="鐘舵��" width="80">
@@ -221,7 +221,7 @@
楼{{ scope.row.contractAmount.toLocaleString() }}
</template>
</el-table-column>
- <el-table-column prop="signDate" label="绛捐鏃ユ湡" width="120"/>
+ <el-table-column prop="signDate" label="绛捐鏃ユ湡" width="120" :formatter="$d" />
<el-table-column label="鎵ц杩涘害" width="150">
<template #default="scope">
<el-progress
@@ -310,7 +310,7 @@
<!-- 鍘嗗彶浠锋牸鍒楄〃 -->
<el-table :data="priceComparisonList" border stripe v-loading="compareLoading" style="margin-top: 20px;">
- <el-table-column prop="date" label="鏃ユ湡" width="120"/>
+ <el-table-column prop="date" label="鏃ユ湡" width="120" :formatter="$d" />
<el-table-column prop="productName" label="浜у搧鍚嶇О" width="200"/>
<el-table-column prop="specification" label="瑙勬牸" width="120"/>
<el-table-column prop="customerName" label="瀹㈡埛" width="180"/>
@@ -463,7 +463,7 @@
</el-tag>
</template>
</el-table-column>
- <el-table-column prop="orderDate" label="璁㈠崟鏃ユ湡" width="120"/>
+ <el-table-column prop="orderDate" label="璁㈠崟鏃ユ湡" width="120" :formatter="$d" />
</el-table>
<pagination
--
Gitblit v1.9.3