From c6ea5c931c65e2512cbab8e424c1452486906277 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 12 八月 2026 10:37:38 +0800
Subject: [PATCH] dev_天津_意博凯信 1.供应商往来添加付款功能 2.客户往来添加回款功能
---
src/components/PIMTable/PIMTable.vue | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue
index 74615af..0045336 100644
--- a/src/components/PIMTable/PIMTable.vue
+++ b/src/components/PIMTable/PIMTable.vue
@@ -112,6 +112,10 @@
{{ formatters(scope.row[item.prop], item.formatData) }}
</el-tag>
</div>
+ <!-- 鏃堕棿绫诲瀷 -->
+ <div v-else-if="item.dataType === 'date'">
+ {{ scope.row[item.prop] ? dayjs(scope.row[item.prop]).format('YYYY-MM-DD') : '' }}
+ </div>
<!-- 鎸夐挳 -->
<div v-else-if="item.dataType == 'action'"
@click.stop>
@@ -204,6 +208,7 @@
import pagination from "./Pagination.vue";
import { computed, ref, inject, getCurrentInstance } from "vue";
import { ElMessage } from "element-plus";
+ import dayjs from "dayjs";
// 鑾峰彇鍏ㄥ眬鐨� uploadHeader
const { proxy } = getCurrentInstance();
--
Gitblit v1.9.3