From b0fb51d8d16b3c6a99e4ba4fcb0dbcb5c71df3da Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期三, 14 一月 2026 18:05:40 +0800
Subject: [PATCH] 添加审批通过数据过滤功能,审批通过的采购台账才能进行来票登记
---
src/views/productionManagement/productionReporting/index.vue | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/views/productionManagement/productionReporting/index.vue b/src/views/productionManagement/productionReporting/index.vue
index e80426a..b34b14e 100644
--- a/src/views/productionManagement/productionReporting/index.vue
+++ b/src/views/productionManagement/productionReporting/index.vue
@@ -246,6 +246,13 @@
label: "鐢熶骇鏃堕棿",
prop: "createTime",
width: 120,
+ formatData: params => {
+ const date = new Date(params);
+ return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(
+ 2,
+ "0"
+ )}-${String(date.getDate()).padStart(2, "0")}`;
+ },
},
{
dataType: "action",
--
Gitblit v1.9.3